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