|  | 
| uint64_t | get_value () const | 
|  | 
| bool | is_unsigned () const | 
|  | 
| bool | is_comptime_known () override | 
|  | 
| virtual bool | is_lvalue () | 
|  | 
| virtual void | set_lvalue (bool is_lvalue) | 
|  | 
| vector< ASTBase * > | get_children () const override | 
|  | Get a ordered list of child nodes.  More... 
 | 
|  | 
| bool | is_expr () const override | 
|  | 
| bool | is_stmt () const override | 
|  | 
|  | ASTBase (ASTNodeType node_type, TokenizedSourceFile *src, int bp) | 
|  | 
| ASTNodeType | get_node_type () const | 
|  | 
| void | set_node_type (ASTNodeType node_type) | 
|  | 
| int | get_bp () const | 
|  | 
| Context * | ctx () | 
|  | 
| str | repr (const str &prefix="-") const | 
|  | AST tree string representation.  More... 
 | 
|  | 
| virtual str | terminal_token () const | 
|  | Which terminal token is expected immediately after this node.  More... 
 | 
|  | 
|  | SourceTraceable (TokenizedSourceFile *src) | 
|  | 
| uint32_t | start () const | 
|  | 
| uint32_t | end () const | 
|  | 
| void | set_start (uint32_t val) | 
|  | 
| void | set_end (uint32_t val) | 
|  | 
| TokenizedSourceFile * | src () const | 
|  | 
| virtual Type * | get_type () const | 
|  | 
| virtual void | set_type (Type *type) | 
|  | 
|  | 
| static IntegerLiteral * | Create (TokenizedSourceFile *src, uint64_t val, bool is_unsigned=false) | 
|  | 
| static IntegerLiteral * | CreateIntegerLiteral (TokenizedSourceFile *src, uint64_t val, size_t bit_size, bool is_unsigned) | 
|  | 
| static BoolLiteral * | CreateBoolLiteral (TokenizedSourceFile *src, bool val) | 
|  | 
| static FloatLiteral * | CreateFloatLiteral (TokenizedSourceFile *src, double val, size_t bit_size) | 
|  | 
| static StringLiteral * | CreateStringLiteral (TokenizedSourceFile *src, str val) | 
|  | 
| static CharLiteral * | CreateCharLiteral (TokenizedSourceFile *src, uint8_t val) | 
|  | 
| static ArrayLiteral * | CreateArrayLiteral (TokenizedSourceFile *src, Type *element_type, vector< Literal * > elements={}) | 
|  | 
| static NullPointerLiteral * | CreateNullPointerLiteral (TokenizedSourceFile *src, Type *element_type) | 
|  | 
|  | 
| static umap< ASTNodeType, str > | ASTTypeNames | 
|  | string representation of ASTNodeType  More... 
 | 
|  | 
| static umap< ASTNodeType, int > | OpPrecedence | 
|  | operator precedence of tokens  More... 
 | 
|  | 
| bool | _is_lvalue = false | 
|  | 
Definition at line 60 of file expr.h.
 
The documentation for this class was generated from the following files:
- /home/tjy/repos/tan/include/ast/expr.h
- /home/tjy/repos/tan/src/ast/expr.cpp