Crystal Programming Language Reference(202003)
首页
白天
夜间
小程序
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
enum
来源 Crystal
浏览
1
扫码
打印
2026-10-24 00:44:39
未登录游客仅可阅读
80%
章节,请您
登录
再阅读
上一篇:
下一篇:
发布点评
Introduction
Using the compiler
The shards command
Overview and Examples
Hello World!
HTTP Server
Command Line Application
Syntax and semantics
Comments
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
while
break
next
until
&&
||
Requiring files
Types and methods
Everything is an object
The Program
Classes and methods
new, initialize and allocate
Methods and instance variables
Type inference
Union types
Overloading
Default 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
Macros
Macro methods
Hooks
Fresh variables
Annotations
Built-in annotations
Low-level primitives
pointerof
sizeof
instance_sizeof
offsetof
Uninitialized variable declaration
Compile-time flags
Cross-compilation
C bindings
lib
fun
out
to_unsafe
struct
union
enum
Variables
Constants
type
alias
Callbacks
Unsafe code
Conventions
Coding style
Documenting code
Database
Connection
Connection pool
Transactions
Guides
Performance
Concurrency
Testing
Writing Shards
Hosting on GitHub
Hosting on GitLab
Continuous Integration
Using Travis CI
Using CircleCI
暂无相关搜索结果!
本文档使用
WanXiangYunDang
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
微信小程序阅读
微信扫一扫,知识掌上学
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度