[−][src]Module haru::ast::ast
Provides abstract syntax trees for language blocks.
Structs
ArrayExpr | Array literals |
BinExpr | Binary expressions |
BlockStatement | Block statement |
BreakStatement | Break statement |
CallExpr | Call expressions |
CaseStatement | Case statement |
CondExpr | Conditional expressions |
ContinueStatement | Continue statements |
ExprStatement | Expression statement |
FloatLiteral | Float literal |
ForInStatement | For..in statements |
ForStatement | For statements |
FunctionDefinition | Function expression |
FunctionStatement | Function definition statement |
Identifier | Identifier node |
IfStatement | If statements |
IntLiteral | Integer literal |
MemExpr | Member expressions |
RaiseStatement | Exception raise statement |
RecordDefinition | Record expression |
RecordStatement | Record definition statement |
ReturnStatement | Return statement |
StrLiteral | String literal |
TryStatement | Try statement |
UnaryExpr | Unary expressions |
UseStatement | Module use statement |
WhileStatement | While statements |
Enums
BinOp | Binary operators |
CallExprArm | Call expression arm (for internal usage) |
CodeGenError | Code generation result |
UnaryOp | Unary operations |
Traits
AST | Generic abstract syntax tree |
Type Definitions
CodeGenResult | |
Span | Span of the AST node, represented by a tuple of (from, to) indexes |