| Package | Description |
|---|---|
| com.sk89q.worldedit.expression | |
| com.sk89q.worldedit.expression.parser | |
| com.sk89q.worldedit.expression.runtime |
| Modifier and Type | Method and Description |
|---|---|
RValue |
Expression.getVariable(String name,
boolean create) |
| Modifier and Type | Class and Description |
|---|---|
class |
UnboundVariable |
| Modifier and Type | Method and Description |
|---|---|
RValue |
UnboundVariable.bind(Expression expression,
boolean isLValue) |
static RValue |
Parser.parse(List<Token> tokens,
Expression expression) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LValue
A value that can be used on the left side of an assignment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Break
A break or continue statement.
|
class |
Conditional
An if/else statement or a ternary operator.
|
class |
Constant
A constant.
|
class |
For
A Java/C-style for loop.
|
class |
Function
Wrapper for a Java method and its arguments (other Nodes)
|
class |
LValueFunction
Wrapper for a pair of Java methods and their arguments (other Nodes), forming an LValue
|
class |
Node
A node in the execution tree of an expression.
|
class |
Return
A return statement.
|
class |
Sequence
A sequence of operations, usually separated by semicolons in the input stream.
|
class |
SimpleFor
A simple-style for loop.
|
class |
Switch
A switch/case construct.
|
class |
Variable
A variable.
|
class |
While
A while loop.
|
| Modifier and Type | Method and Description |
|---|---|
RValue |
Conditional.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
While.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
For.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Function.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
RValue.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Sequence.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
SimpleFor.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Node.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Return.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Switch.bindVariables(Expression expression,
boolean preferLValue) |
RValue |
Conditional.optimize() |
RValue |
While.optimize() |
RValue |
For.optimize() |
RValue |
Function.optimize() |
RValue |
RValue.optimize() |
RValue |
Sequence.optimize() |
RValue |
SimpleFor.optimize() |
RValue |
Node.optimize() |
RValue |
Switch.optimize() |
| Modifier and Type | Method and Description |
|---|---|
static double |
Operators.aadd(LValue lhs,
RValue rhs) |
static double |
Functions.abs(RValue x) |
static double |
Functions.acos(RValue x) |
static double |
Operators.add(RValue lhs,
RValue rhs) |
static double |
Operators.adiv(LValue lhs,
RValue rhs) |
static double |
Operators.aexp(LValue lhs,
RValue rhs) |
static double |
Operators.amod(LValue lhs,
RValue rhs) |
static double |
Operators.amul(LValue lhs,
RValue rhs) |
static double |
Operators.and(RValue lhs,
RValue rhs) |
static double |
Functions.asin(RValue x) |
static double |
Operators.ass(LValue lhs,
RValue rhs) |
static double |
Operators.asub(LValue lhs,
RValue rhs) |
static double |
Functions.atan(RValue x) |
static double |
Functions.atan2(RValue y,
RValue x) |
static double |
Functions.cbrt(RValue x) |
static double |
Functions.ceil(RValue x) |
static double |
Functions.closest(RValue x,
RValue y,
RValue z,
RValue index,
RValue count,
RValue stride) |
static double |
Functions.cos(RValue x) |
static double |
Functions.cosh(RValue x) |
static double |
Operators.div(RValue lhs,
RValue rhs) |
static double |
Operators.equ(RValue lhs,
RValue rhs) |
static double |
Functions.exp(RValue x) |
static double |
Operators.fac(RValue x) |
static double |
Functions.floor(RValue x) |
static double |
Functions.gclosest(RValue x,
RValue y,
RValue z,
RValue index,
RValue count,
RValue stride) |
static double |
Operators.geq(RValue lhs,
RValue rhs) |
static Function |
Functions.getFunction(int position,
String name,
RValue... args) |
static Function |
Operators.getOperator(int position,
String name,
RValue argument) |
static Function |
Operators.getOperator(int position,
String name,
RValue lhs,
RValue rhs) |
static double |
Functions.gmegabuf(RValue index) |
static double |
Functions.gmegabuf(RValue index,
double value) |
static double |
Operators.gth(RValue lhs,
RValue rhs) |
static double |
Operators.inv(RValue x) |
static double |
Operators.leq(RValue lhs,
RValue rhs) |
static double |
Functions.ln(RValue x) |
static double |
Functions.log(RValue x) |
static double |
Functions.log10(RValue x) |
static double |
Operators.lth(RValue lhs,
RValue rhs) |
static double |
Functions.max(RValue a,
RValue b) |
static double |
Functions.max(RValue a,
RValue b,
RValue c) |
static double |
Functions.megabuf(RValue index) |
static double |
Functions.megabuf(RValue index,
double value) |
static double |
Functions.min(RValue a,
RValue b) |
static double |
Functions.min(RValue a,
RValue b,
RValue c) |
static double |
Operators.mod(RValue lhs,
RValue rhs) |
static double |
Operators.mul(RValue lhs,
RValue rhs) |
static double |
Operators.near(RValue lhs,
RValue rhs) |
static double |
Operators.neg(RValue x) |
static double |
Operators.neq(RValue lhs,
RValue rhs) |
static double |
Operators.not(RValue x) |
static double |
Operators.or(RValue lhs,
RValue rhs) |
static double |
Operators.pow(RValue lhs,
RValue rhs) |
static double |
Functions.query(RValue x,
RValue y,
RValue z,
RValue type,
RValue data) |
static double |
Functions.queryAbs(RValue x,
RValue y,
RValue z,
RValue type,
RValue data) |
static double |
Functions.queryRel(RValue x,
RValue y,
RValue z,
RValue type,
RValue data) |
static double |
Functions.randint(RValue max) |
static double |
Functions.rint(RValue x) |
static double |
Functions.rotate(LValue x,
LValue y,
RValue angle) |
static double |
Functions.round(RValue x) |
static double |
Operators.shl(RValue lhs,
RValue rhs) |
static double |
Operators.shr(RValue lhs,
RValue rhs) |
static double |
Functions.sin(RValue x) |
static double |
Functions.sinh(RValue x) |
static double |
Functions.sqrt(RValue x) |
static double |
Operators.sub(RValue lhs,
RValue rhs) |
static double |
Functions.tan(RValue x) |
static double |
Functions.tanh(RValue x) |
| Constructor and Description |
|---|
Conditional(int position,
RValue condition,
RValue truePart,
RValue falsePart) |
For(int position,
RValue init,
RValue condition,
RValue increment,
RValue body) |
Return(int position,
RValue value) |
Sequence(int position,
RValue... sequence) |
SimpleFor(int position,
LValue counter,
RValue first,
RValue last,
RValue body) |
Switch(int position,
RValue parameter,
List<Double> values,
List<RValue> caseStatements,
RValue defaultCase) |
While(int position,
RValue condition,
RValue body,
boolean footChecked) |
| Constructor and Description |
|---|
Switch(int position,
RValue parameter,
List<Double> values,
List<RValue> caseStatements,
RValue defaultCase) |
Copyright © 2010-2014. All Rights Reserved.