2. The language¶
- 2.1. Lexical Structure
- 2.2. Values and Data Types
- 2.3. Statements
- 2.3.1. Visibility Block
- 2.3.2. Control Flow Statements
- 2.3.3. Ranged Loops
- 2.3.4. break
- 2.3.5. continue
- 2.3.6. return
- 2.3.7. yield
- 2.3.8. Finally statement
- 2.3.9. Local variables declaration
- 2.3.10. Function declaration
- 2.3.11. try/recover
- 2.3.12. panic
- 2.3.13. global variables
- 2.3.14. enum
- 2.3.15. Expression statement
- 2.4. Expressions
- 2.5. Temporary types
- 2.6. Built-in Functions
- 2.7. Clone
- 2.8. Unsafe
- 2.9. implicit
- 2.10. Table
- 2.11. Array
- 2.12. Function
- 2.13. Modules
- 2.14. Block
- 2.15. Lambda
- 2.16. Struct
- 2.17. Tuple
- 2.18. Variant
- 2.19. Class
- 2.20. Constants, Enumerations, Global variables
- 2.21. Bitfield
- 2.22. Comprehension
- 2.23. Iterator
- 2.24. Generator
- 2.25. Finalizer
- 2.26. String Builder
- 2.27. Generic Programming
- 2.28. Macros
- 2.28.1. Compilation passes
- 2.28.2. Invoking macros
- 2.28.3. AstFunctionAnnotation
- 2.28.4. AstBlockAnnotation
- 2.28.5. AstStructureAnnotation
- 2.28.6. AstEnumerationAnnotation
- 2.28.7. AstVariantMacro
- 2.28.8. AstReaderMacro
- 2.28.9. AstCallMacro
- 2.28.10. AstPassMacro
- 2.28.11. AstTypeInfoMacro
- 2.28.12. AstForLoopMacro
- 2.28.13. AstCaptureMacro
- 2.28.14. AstCommentReader
- 2.28.15. AstSimulateMacro
- 2.28.16. AstVisitor
- 2.29. Reification
- 2.30. Pattern matching
- 2.30.1. Enumeration Matching
- 2.30.2. Matching Variants
- 2.30.3. Declaring Variables in Pattern Matching
- 2.30.4. Matching Structs
- 2.30.5. Using Guards
- 2.30.6. Tuple Matching
- 2.30.7. Matching Static Arrays
- 2.30.8. Dynamic Array Matching
- 2.30.9. Match Expressions
- 2.30.10. Matching with || Expression
- 2.30.11. [match_as_is] Structure Annotation
- 2.30.12. [match_copy] Structure Annotation
- 2.30.13. Static Matching
- 2.30.14. match_type
- 2.30.15. Multi-Match