Represents the kind of a node in the AST.
Values
EParenthesis(e:Expr)
Parentheses (e).
EObjectDecl(fields:Array<{field:String, expr:Expr}>)
An object declaration.
EArrayDecl(values:Array<Expr>)
An array declaration [el].
EUnop(op:Unop, postFix:Bool, e:Expr)
An unary operator op on e:
e++ (op = OpIncrement, postFix = true) e-- (op = OpDecrement, postFix = true) ++e (op = OpIncrement, postFix = false) --e (op = OpDecrement, postFix = false) -e (op = OpNeg, postFix = false) !e (op = OpNot, postFix = false) ~e (op = OpNegBits, postFix = false)
EWhile(econd:Expr, e:Expr, normalWhile:Bool)
Represents a while expression.
When normalWhile is true it is while (...).
When normalWhile is false it is do {...} while (...).
ESwitch(e:Expr, cases:Array<Case>, edef:Null<Expr>)
Represents a switch expression with related cases and an optional.
default case if edef != null.
EBreak
A break expression.
EContinue
A continue expression.
ECast(e:Expr, t:Null<ComplexType>)
A cast e or cast (e, m) expression.
EDisplayNew(t:TypePath)
Internally used to provide completion.
ECheckType(e:Expr, t:ComplexType)
A (e:t) expression.
EMeta(s:MetadataEntry, e:Expr)
A @m e expression.