Class ASTOperator
java.lang.Object
com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperator
- Direct Known Subclasses:
ASTOperatorBinary,ASTOperatorFunctionCall,ASTOperatorTuple,ASTOperatorUnary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(AST argument) static voidfromParsedOperator(Parser.ParsedToken operand, CompileContext compileContext) genCode(List<ExecutionContext.Instruction> list, Scope scope) Methods inherited from class com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
asOperand, getBoolean, getCodeGen, getNumber, getParent, getString, getToken, getTokenPosition, getValueType, isConstant, returnType, setParent
-
Field Details
-
arguments
-
-
Constructor Details
-
ASTOperator
-
-
Method Details
-
addArgument
-
getArguments
-
genCode
-
fromParsedOperator
public static void fromParsedOperator(@Nonnull Parser.ParsedToken operand, @Nonnull CompileContext compileContext) throws ParseException - Throws:
ParseException
-