Contents
Class ExecutionContext.Operand
java.lang.Object
com.hypixel.hytale.server.npc.util.expression.ExecutionContext.Operand
- Enclosing class:
ExecutionContext
Typed operands/arguments/stack elements.
Operands are used as cells of stack machine when evaluating an expression instruction list. An operand should be able to hold any available type of an expression to eliminate the need to switch cells to a new type while (intermediate) results are pushed onto the stack.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
string
-
number
public double number -
bool
public boolean bool -
numberArray
@Nullable public double[] numberArray -
stringArray
-
boolArray
@Nullable public boolean[] boolArray
-
-
Constructor Details
-
Operand
public Operand()
-
-
Method Details
-
set
-
set
-
set
-
set
-
set
-
set
-
setEmptyArray
-
toString
-