×
思维导图备注
Crystal Programming Language v1.12 Documentation
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
Guides
Github
来源:Crystal
浏览
109
扫码
分享
2024-07-06 23:00:59
Guides
Guides
Read these guides to get the best out of Crystal.
当前内容版权归
Crystal
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
Crystal
.
上一篇:
下一篇:
版本
Crystal Programming Language v1.14 Documentation
Crystal Programming Language v1.13 Documentation
Crystal Programming Language v1.12 Documentation
Crystal Programming Language v1.11 Documentation
Crystal Programming Language v1.10 Documentation
Crystal Programming Language v1.9 Documentation
Crystal Programming Language v1.8 Documentation
Crystal Programming Language v1.7 Documentation
Crystal Programming Language v1.6 Documentation
Crystal Programming Language v1.5 Documentation
Crystal Programming Language v1.4 Reference
Crystal Programming Language v1.3 Reference
Crystal Programming Language v1.2 Reference
Crystal Programming Language Reference(202107)
Crystal Programming Language Reference(202003)
Welcome
Specification
About this guide
The Program
Comments
Documenting code
Literals
Nil
Bool
Integers
Floats
Char
String
Symbol
Array
Hash
Range
Regex
Tuple
NamedTuple
Proc
Command
Assignment
Local variables
Control expressions
Truthy and falsey values
if
As a suffix
As an expression
Ternary if
if var
if var.is_a?(…)
if var.responds_to?(…)
if var.nil?
if !
unless
case
select
while
break
next
until
&&
||
Requiring files
Types and methods
Everything is an object
Classes and methods
new, initialize and allocate
Methods and instance variables
Type inference
Union types
Overloading
Default parameter values and named arguments
Splats and tuples
Type restrictions
Return types
Method arguments
Operators
Visibility
Inheritance
Virtual and abstract types
Class methods
Class variables
finalize
Modules
Generics
Structs
Constants
Enums
Blocks and Procs
Capturing blocks
Proc literal
Block forwarding
Closures
alias
Exception handling
Type grammar
Type reflection
is_a?
nil?
responds_to?
as
as?
typeof
Type autocasting
Macros
Macro methods
Hooks
Fresh variables
Annotations
Built-in annotations
Low-level primitives
pointerof
sizeof
instance_sizeof
alignof
instance_alignof
offsetof
Uninitialized variable declaration
asm
Compile-time flags
Cross-compilation
C bindings
lib
fun
out
to_unsafe
struct
union
enum
Variables
Constants
type
alias
Callbacks
Unsafe code
Guides
Performance
Concurrency
Testing
Writing Shards
Hosting on GitHub
Hosting on GitLab
Continuous Integration
GitHub Actions
CircleCI
Static Linking
Crystal for Rubyists
Metaprogramming Help
Database
Connection
Connection pool
Transactions
Coding style
Tutorials
Getting started
An HTTP Server
A Command Line Application
Language introduction
Hello World
Variables
Math
Strings
Control Flow
Methods
Manuals
Using the Compiler
The Shards Command
Required libraries
Platform Support
Release Policy
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度