Class ASTOperandBoolean
java.lang.Object
com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperand
com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperandBoolean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionASTOperandBoolean(Token token, int tokenPosition, boolean value) ASTOperandBoolean(Token token, int tokenPosition, Scope scope, String identifier) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods inherited from class com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperand
createFromOperand, createFromParsedTokenMethods inherited from class com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
genCode, getCodeGen, getNumber, getParent, getString, getToken, getTokenPosition, getValueType, returnType, setParent
-
Field Details
-
constantBool
private final boolean constantBool
-
-
Constructor Details
-
ASTOperandBoolean
-
ASTOperandBoolean
-
-
Method Details
-
getBoolean
public boolean getBoolean()- Overrides:
getBooleanin classAST
-
isConstant
public boolean isConstant()- Specified by:
isConstantin classAST
-
asOperand
-