Class AST
java.lang.Object
com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
- Direct Known Subclasses:
ASTOperand,ASTOperator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenCode(List<ExecutionContext.Instruction> list, Scope scope) booleandoublegetToken()intabstract booleanvoid
-
Field Details
-
valueType
-
token
-
tokenPosition
private final int tokenPosition -
parent
-
codeGen
-
-
Constructor Details
-
AST
-
-
Method Details
-
getParent
-
setParent
-
getValueType
-
getToken
-
getTokenPosition
public int getTokenPosition() -
getCodeGen
-
isConstant
public abstract boolean isConstant() -
asOperand
-
getString
-
getBoolean
public boolean getBoolean() -
getNumber
public double getNumber() -
returnType
-
genCode
-