abstract class AST
Class AST. Provides ast functionality for the Hytale server.
java.lang.Object > AST
Field Summary
parent
private
AST
parent
Field parent.
Method Detail
AST
public
public
AST
(@Nonnull final ValueType valueType, @Nonnull final Token token, final int tokenPosition)
Method AST.
- Parameters:
@Nonnull final ValueTypevalueType@Nonnull final Tokentokenfinal inttokenPosition
getTokenPosition
public
int
getTokenPosition
()
Method getTokenPosition.
getCodeGen
public
ExecutionContext.Instruction>
getCodeGen
()
Method getCodeGen.
asOperand
public
ExecutionContext.Operand
asOperand
()
Method asOperand.
getString
public
String
getString
()
Method getString.
getBoolean
public
boolean
getBoolean
()
Method getBoolean.
getNumber
public
double
getNumber
()
Method getNumber.