Appearance
AstKind Enum
Describes the kind of node represented in the expression abstract syntax tree (AST).
Namespace: JASE.Expressions
Assembly: JASE.Expressions.dll
Underlying Type int
Fields
| Name | Value | Description |
|---|---|---|
Unknown | 0 | The node type is unknown or has not been classified. |
BinaryOp | 1 | A binary operator node (e.g. a + b, x && y). |
FunctionCall | 2 | A function call expression (e.g. max(a, b)). |
Identifier | 3 | An identifier node such as a variable or symbol name. |
Literal | 4 | A literal value (e.g. number, string, boolean, null). |
MemberAccess | 5 | A member access expression (e.g. obj.Property or obj.Method). |
Ternary | 6 | A ternary conditional expression (e.g. cond ? trueExpr : falseExpr). |
UnaryOp | 7 | A unary operator node (e.g. !flag, -value). |
Invocation | 8 | A general invocation node (e.g. target(args)) that may not map cleanly to a named function symbol. |
ListLiteral | 9 | A bracketed list literal (e.g. [1, 2, 3]). |