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