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:ExpressionTreeNodeEvaluate this expression, given x and y- Specified by:
evaluatein interfaceEvaluatableExpression- Specified by:
evaluatein 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
-