Interface | Description |
---|---|
ExpressionEnvironment |
Represents a way to access blocks in a world.
|
LValue |
A value that can be used on the left side of an assignment.
|
RValue |
A value that can be used on the right side of an assignment.
|
Class | Description |
---|---|
Break |
A break or continue statement.
|
Conditional |
An if/else statement or a ternary operator.
|
Constant |
A constant.
|
For |
A Java/C-style for loop.
|
Function |
Wrapper for a Java method and its arguments (other Nodes).
|
Functions |
Contains all functions that can be used in expressions.
|
LValueFunction |
Wrapper for a pair of Java methods and their arguments (other Nodes),
forming an LValue.
|
Node |
A node in the execution tree of an expression.
|
Operators |
Contains all unary and binary operators.
|
Return |
A return statement.
|
Sequence |
A sequence of operations, usually separated by semicolons in the
input stream.
|
SimpleFor |
A simple-style for loop.
|
Switch |
A switch/case construct.
|
Variable |
A variable.
|
While |
A while loop.
|
Exception | Description |
---|---|
BreakException |
Thrown when a break or continue is encountered.
|
EvaluationException |
Thrown when there's a problem during expression evaluation.
|
ReturnException |
Thrown when a return statement is encountered.
|
Annotation Type | Description |
---|---|
Function.Dynamic |
Add this annotation on functions that don't always return the same value
for the same inputs and on functions with side-effects.
|