Represents the kind of a node in the AST.
Values
EParenthesis(e:Expr)
Parentheses (e)
.
EObjectDecl(fields:Array<ObjectField>)
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)
EFunction(kind:Null<FunctionKind>, f:Function)
A function declaration.
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.
EDisplay(e:Expr, displayKind:DisplayKind)
Internally used to provide completion.
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.