|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
net.christopherschultz.evaluator | |
net.christopherschultz.evaluator.parser |
Uses of Expression in net.christopherschultz.evaluator |
---|
Subclasses of Expression in net.christopherschultz.evaluator | |
---|---|
class |
ArrayReferenceExpression
An expression describing an array reference. |
class |
BinaryOperatorExpression
An expression to describe expressions with binary operators. |
class |
ConstantExpression
An Expression which represents a fixed value (a constant). |
class |
FunctionCallExpression
An Expression representing a function call. |
class |
IdentifierExpression
An Expression which represents an identifier. |
class |
NegatedExpression
An Expression to perform a logical negation (i.e. |
class |
UnaryMinusExpression
An Expression to perform an arithmetic sign inversion (unary minus) of a sub-expression. |
Methods in net.christopherschultz.evaluator that return Expression | |
---|---|
Expression |
ArrayReferenceExpression.getArrayExpression()
Gets the expression that will evaluate to an array. |
Expression |
FunctionCallExpression.getFunctionExpression()
Gets the expression which will evaluate to the function to be called by this FunctionCallExpression. |
Expression |
ArrayReferenceExpression.getIndexExpression()
Gets the expression that will evaluate to an index into the array. |
Expression |
BinaryOperatorExpression.getLeftExpression()
Gets the expression which is the left-hand operand of this binary operator. |
Expression |
Expression.getParent()
|
Expression |
BinaryOperatorExpression.getRightExpression()
Gets the expression which is the right-hand operand of this binary operator. |
Expression |
UnaryMinusExpression.getSubExpression()
Gets the Expression which is being sign inverted by this one. |
Expression |
NegatedExpression.getSubExpression()
Gets the Expression which is being negated by this one. |
Methods in net.christopherschultz.evaluator with parameters of type Expression | |
---|---|
protected void |
Expression.setParent(Expression parent)
|
Constructors in net.christopherschultz.evaluator with parameters of type Expression | |
---|---|
ArrayReferenceExpression(Expression arrayExp,
Expression indexExp)
Creates a new ArrayReferenceExpression from the specified array and index expressions. |
|
BinaryOperatorExpression(Expression left,
String operator,
Expression right)
Creates a new BinaryOperatorExpression with the specified sub expressions and operator. |
|
FunctionCallExpression(Expression functionExp,
List arguments)
Creates a new FunctionCallExpression where the function to call is determined at evaluation time. |
|
NegatedExpression(Expression subExpression)
Creates a new NegatedExpression with the given sub-expression. |
|
UnaryMinusExpression(Expression subExpression)
Creates a new UnaryMinusExpression with the given sub-expression. |
Uses of Expression in net.christopherschultz.evaluator.parser |
---|
Methods in net.christopherschultz.evaluator.parser that return Expression | |
---|---|
Expression |
ExpressionParser.parse(String expression)
Parses the given string expression into a tree of evaluatable Expression objects. |
static Expression |
ExpressionParser.parseExpression(String expression)
A convenience method to create a new ExpressionParser and return an Expression object for that expression. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |