Skip to content

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 ​

NameValueDescription
Unknown0The node type is unknown or has not been classified.
BinaryOp1A binary operator node (e.g. a + b, x && y).
FunctionCall2A function call expression (e.g. max(a, b)).
Identifier3An identifier node such as a variable or symbol name.
Literal4A literal value (e.g. number, string, boolean, null).
MemberAccess5A member access expression (e.g. obj.Property or obj.Method).
Ternary6A ternary conditional expression (e.g. cond ? trueExpr : falseExpr).
UnaryOp7A unary operator node (e.g. !flag, -value).
Invocation8A general invocation node (e.g. target(args)) that may not map cleanly to a named function symbol.
ListLiteral9A bracketed list literal (e.g. [1, 2, 3]).