Crystal Programming Language v1.6 Documentation
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
Tutorials
来源 1
浏览
122
扫码
打印
2023-08-04 21:25:53
上一篇:
下一篇:
发布点评
Welcome
Manuals
The Shards Command
Using the Compiler
Guides
Testing
Writing Shards
Hosting on GitLab
Hosting on GitHub
Performance
Coding style
Database
Connection
Connection pool
Transactions
Continuous Integration
CircleCI
GitHub Actions
Static Linking
Crystal for Rubyists
Metaprogramming Help
Concurrency
Tutorials
Getting started
A Command Line Application
An HTTP Server
Language introduction
Methods
Hello World
Math
Strings
Control Flow
Variables
Specification
Local variables
Macros
Macro methods
Fresh variables
Hooks
Assignment
Control expressions
if
if var
if var.is_a?(…)
Ternary if
As a suffix
As an expression
if var.responds_to?(…)
if var.nil?
if !
case
until
&&
||
unless
Truthy and falsey values
while
next
break
Low-level primitives
instance_sizeof
offsetof
Uninitialized variable declaration
pointerof
sizeof
Types and methods
Classes and methods
Methods and instance variables
finalize
Union types
Splats and tuples
Default parameter values and named arguments
Method arguments
Visibility
new, initialize and allocate
Class methods
Overloading
Type restrictions
Inheritance
Virtual and abstract types
Type inference
Operators
Class variables
Return types
Structs
Constants
Blocks and Procs
Proc literal
Block forwarding
Capturing blocks
Closures
Everything is an object
Generics
Modules
Enums
alias
The Program
Literals
Char
Range
String
Hash
Nil
Tuple
NamedTuple
Array
Bool
Proc
Command
Regex
Symbol
Floats
Integers
Type autocasting
Annotations
Built-in annotations
Compile-time flags
Cross-compilation
Platform Support
Requiring files
About this guide
Type reflection
as?
typeof
is_a?
as
responds_to?
nil?
Type grammar
C bindings
alias
struct
enum
Constants
lib
Variables
type
union
fun
out
to_unsafe
Callbacks
Documenting code
Comments
Exception handling
Unsafe code
暂无相关搜索结果!
本文档使用
全库网
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度