Class BinaryOperator
- java.lang.Object
-
- picasso.parser.language.ExpressionTreeNode
-
- picasso.parser.language.expressions.BinaryOperator
-
- All Implemented Interfaces:
EvaluatableExpression
public abstract class BinaryOperator extends ExpressionTreeNode
Represents an operator that has two identifiers.
-
-
Field Summary
Fields Modifier and Type Field Description protected ExpressionTreeNodeleftprotected ExpressionTreeNoderight
-
Constructor Summary
Constructors Constructor Description BinaryOperator(ExpressionTreeNode left, ExpressionTreeNode right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringtoString()Returns the string representation of the operator in the format ": " -
Methods inherited from class picasso.parser.language.ExpressionTreeNode
evaluate
-
-
-
-
Field Detail
-
left
protected ExpressionTreeNode left
-
right
protected ExpressionTreeNode right
-
-
Constructor Detail
-
BinaryOperator
public BinaryOperator(ExpressionTreeNode left, ExpressionTreeNode right)
- Parameters:
left- the left expressionright- the right expression
-
-