Class ASTOperatorFunctionCall
java.lang.Object
com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperator
com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperatorFunctionCall
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionASTOperatorFunctionCall(ValueType returnType, String functionName, int tokenPosition) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfromParsedFunction(int argumentCount, CompileContext compileContext) booleanMethods inherited from class com.hypixel.hytale.server.npc.util.expression.compile.ast.ASTOperator
addArgument, fromParsedOperator, genCode, getArgumentsMethods inherited from class com.hypixel.hytale.server.npc.util.expression.compile.ast.AST
asOperand, getBoolean, getCodeGen, getNumber, getParent, getString, getToken, getTokenPosition, getValueType, returnType, setParent
-
Field Details
-
functionName
-
-
Constructor Details
-
ASTOperatorFunctionCall
-
-
Method Details
-
isConstant
public boolean isConstant()- Specified by:
isConstantin classAST
-
fromParsedFunction
public static void fromParsedFunction(int argumentCount, @Nonnull CompileContext compileContext) throws ParseException - Throws:
ParseException
-