×
思维导图备注
Nim v1.4 Manual
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
Effect system
Donate
来源:nim-lang.org
浏览
529
扫码
分享
2020-10-18 17:39:54
Effect system
Effect system
Exception tracking
Tag tracking
Effects pragma
当前内容版权归
nim-lang.org
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
nim-lang.org
.
上一篇:
下一篇:
版本
Nim v2.0 Manual
Nim 2.0 Standard Library
Nim v2.0 中文手册
Nim v1.4 Manual
Nim 1.2 语言手册
Nim v0.20 开发手册
Nim 官方教程 v0.20.0
Authors
About this document
Definitions
Lexical Analysis
Encoding
Indentation
Comments
Multiline comments
Identifiers & Keywords
Identifier equality
String literals
Triple quoted string literals
Raw string literals
Generalized raw string literals
Character literals
Numerical constants
Operators
Other tokens
Syntax
Associativity
Precedence
Grammar
Order of evaluation
Constants and Constant Expressions
Restrictions on Compile-Time Execution
Types
Ordinal types
Pre-defined integer types
Subrange types
Pre-defined floating point types
Boolean type
Character type
Enumeration types
String type
cstring type
Structured types
Array and sequence types
Open arrays
Varargs
Unchecked arrays
Tuples and object types
Object construction
Object variants
Set type
Reference and pointer types
Mixing GC’ed memory with ptr
Procedural type
Distinct type
Auto type
Type relations
Type equality
Type equality modulo type distinction
Subtype relation
Convertible relation
Assignment compatibility
Overloading resolution
Overloading based on ‘var T’ / ‘out T’
Lazy type resolution for untyped
Varargs matching
Statements and expressions
Statement list expression
Discard statement
Void context
Var statement
Let statement
Tuple unpacking
Const section
Static statement/expression
If statement
Case statement
When statement
When nimvm statement
Return statement
Yield statement
Block statement
Break statement
While statement
Continue statement
Assembler statement
Using statement
If expression
When expression
Case expression
Block expression
Table constructor
Type conversions
Type casts
The addr operator
The unsafeAddr operator
Procedures
Export marker
Method call syntax
Properties
Command invocation syntax
Closures
Anonymous Procs
Func
Nonoverloadable builtins
Var parameters
Var return type
NRVO
Overloading of the subscript operator
Methods
Multi-methods
Inhibit dynamic method resolution via procCall
Iterators and the for statement
Implicit items/pairs invocations
First class iterators
Converters
Type sections
Exception handling
Try statement
Try expression
Except clauses
Custom exceptions
Defer statement
Raise statement
Exception hierarchy
Imported exceptions
Effect system
Exception tracking
Tag tracking
Effects pragma
Generics
Is operator
Type Classes
Implicit generics
Generic inference restrictions
Symbol lookup in generics
Mixin statement
Bind statement
Templates
Typed vs untyped parameters
Passing a code block to a template
Varargs of untyped
Symbol binding in templates
Identifier construction
Lookup rules for template parameters
Hygiene in templates
Limitations of the method call syntax
Macros
Debug Example
BindSym
Case-Of Macro
For loop macro
Special Types
static[T]
typedesc[T]
typeof operator
Modules
Scope rules
Compiler Messages
Pragmas
deprecated pragma
noSideEffect pragma
compileTime pragma
noReturn pragma
acyclic pragma
final pragma
shallow pragma
pure pragma
asmNoStackFrame pragma
error pragma
fatal pragma
warning pragma
hint pragma
line pragma
linearScanEnd pragma
computedGoto pragma
immediate pragma
compilation option pragmas
push and pop pragmas
register pragma
global pragma
Disabling certain messages
used pragma
experimental pragma
Implementation Specific Pragmas
Bitsize pragma
Align pragma
Volatile pragma
NoDecl pragma
Header pragma
IncompleteStruct pragma
Compile pragma
Link pragma
PassC pragma
LocalPassc pragma
PassL pragma
Emit pragma
ImportCpp pragma
ImportJs pragma
ImportObjC pragma
CodegenDecl pragma
InjectStmt pragma
compile time define pragmas
User-defined pragmas
pragma pragma
Custom annotations
Macro pragmas
Foreign function interface
Importc pragma
Exportc pragma
Extern pragma
Bycopy pragma
Byref pragma
Varargs pragma
Union pragma
Packed pragma
Dynlib pragma for import
Dynlib pragma for export
Threads
Thread pragma
GC safety
Threadvar pragma
Threads and exceptions
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度