Represents the kind of a node in the AST.
Values
EField(e:Expr, field:String, kind:EFieldKind)
Field access on e.field
.
If kind
is null, it is equal to Normal.
EParenthesis(e:Expr)
Parentheses (e)
.
EObjectDecl(fields:Array<ObjectField>)
An object declaration.
EArrayDecl(values:Array<Expr>)
An array declaration [el]
.
EFunction(kind:Null<FunctionKind>, f:Function)
A function declaration.
EIf(econd:Expr, eif:Expr, eelse:Null<Expr>)
An if (econd) eif
or if (econd) eif else eelse
expression.
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)
Used internally to provide completion.
ECheckType(e:Expr, t:ComplexType)
A (e:t)
expression.
EMeta(s:MetadataEntry, e:Expr)
A @m e
expression.
EIs(e:Expr, t:ComplexType)
An expr is Type
expression.