ExprDef

hscript.ExprDef (Enum)

Constructors

EConst

EConst(c: Anonymous)

Parameters:

Name Type
c Anonymous

EIdent

EIdent(v: String)

Parameters:

Name Type
v String

EVar

EVar(n: String, ?t: Anonymous, ?e: Null<hscript.Expr>)

Parameters:

Name Type
n String
?t Anonymous
?e Null<hscript.Expr>

EParent

EParent(e: hscript.Expr)

Parameters:

Name Type
e hscript.Expr

EBlock

EBlock(e: Array<hscript.Expr>)

Parameters:

Name Type
e Array<hscript.Expr>

EField

EField(e: hscript.Expr, f: String)

Parameters:

Name Type
e hscript.Expr
f String

EBinop

EBinop(op: String, e1: hscript.Expr, e2: hscript.Expr)

Parameters:

Name Type
op String
e1 hscript.Expr
e2 hscript.Expr

EUnop

EUnop(op: String, prefix: Bool, e: hscript.Expr)

Parameters:

Name Type
op String
prefix Bool
e hscript.Expr

ECall

ECall(e: hscript.Expr, params: Array<hscript.Expr>)

Parameters:

Name Type
e hscript.Expr
params Array<hscript.Expr>

EIf

EIf(cond: hscript.Expr, e1: hscript.Expr, ?e2: Null<hscript.Expr>)

Parameters:

Name Type
cond hscript.Expr
e1 hscript.Expr
?e2 Null<hscript.Expr>

EWhile

EWhile(cond: hscript.Expr, e: hscript.Expr)

Parameters:

Name Type
cond hscript.Expr
e hscript.Expr

EFor

EFor(v: String, it: hscript.Expr, e: hscript.Expr)

Parameters:

Name Type
v String
it hscript.Expr
e hscript.Expr

EBreak

EBreak

EContinue

EContinue

EFunction

EFunction(args: Array<hscript.Argument>, e: hscript.Expr, ?name: String, ?ret: Anonymous)

Parameters:

Name Type
args Array<hscript.Argument>
e hscript.Expr
?name String
?ret Anonymous

EReturn

EReturn(?e: Null<hscript.Expr>)

Parameters:

Name Type
?e Null<hscript.Expr>

EArray

EArray(e: hscript.Expr, index: hscript.Expr)

Parameters:

Name Type
e hscript.Expr
index hscript.Expr

EArrayDecl

EArrayDecl(e: Array<hscript.Expr>)

Parameters:

Name Type
e Array<hscript.Expr>

ENew

ENew(cl: String, params: Array<hscript.Expr>)

Parameters:

Name Type
cl String
params Array<hscript.Expr>

EThrow

EThrow(e: hscript.Expr)

Parameters:

Name Type
e hscript.Expr

ETry

ETry(e: hscript.Expr, v: String, t: Null<Anonymous>, ecatch: hscript.Expr)

Parameters:

Name Type
e hscript.Expr
v String
t Null
ecatch hscript.Expr

EObject

EObject(fl: Array<AnonStruct>)

Parameters:

Name Type
fl Array

ETernary

ETernary(cond: hscript.Expr, e1: hscript.Expr, e2: hscript.Expr)

Parameters:

Name Type
cond hscript.Expr
e1 hscript.Expr
e2 hscript.Expr

ESwitch

ESwitch(e: hscript.Expr, cases: Array<AnonStruct>, ?defaultExpr: Null<hscript.Expr>)

Parameters:

Name Type
e hscript.Expr
cases Array
?defaultExpr Null<hscript.Expr>

EDoWhile

EDoWhile(cond: hscript.Expr, e: hscript.Expr)

Parameters:

Name Type
cond hscript.Expr
e hscript.Expr

EMeta

EMeta(name: String, args: Array<hscript.Expr>, e: hscript.Expr)

Parameters:

Name Type
name String
args Array<hscript.Expr>
e hscript.Expr

ECheckType

ECheckType(e: hscript.Expr, t: Anonymous)

Parameters:

Name Type
e hscript.Expr
t Anonymous