Class Variable
java.lang.Object
picasso.parser.language.ExpressionTreeNode
picasso.parser.language.expressions.Variable
- All Implemented Interfaces:
EvaluatableExpression
Represents a variable
- Author:
- Sara Sprenkle
-
Field Summary
FieldsFields inherited from class picasso.parser.language.ExpressionTreeNode
gelementsToValue
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
-
Constructor Details
-
Variable
-
-
Method Details
-
evaluate
Description copied from class:ExpressionTreeNode
Evaluate this expression, given x and y- Specified by:
evaluate
in interfaceEvaluatableExpression
- Specified by:
evaluate
in classExpressionTreeNode
- Parameters:
x
- the value of xy
- the value of y- Returns:
- the result of evaluating the expression for the given values of x and y
-
getName
-