public class Comparison extends AbstractBooleanExpression
| Constructor and Description |
|---|
Comparison(ComparisonOperator equal,
ValueExpression leftOperand,
ValueExpression rightOperand) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptConcrete(BooleanExpressionVisitor visitor)
Sub-classes must override this method so that the visitor knows the type of
the visited class at compile time.
|
void |
dismissConcrete(BooleanExpressionVisitor visitor)
Sub-classes must override this method so that the visitor knows the type of
the visited class at compile time.
|
ValueExpression |
getLeftOperand()
Get the left-hand side operator of the comparison
|
ComparisonOperator |
getOperator()
Get the comparison operator
|
ValueExpression |
getRightOperand()
Get the right-hand side operator of the comparison
|
acceptaddChild, getChild, getChildren, getParent, getRoot, isChild, isFirstSibling, isRootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, getChild, getChildren, getParent, getRoot, isChild, isFirstSibling, isRootpublic Comparison(ComparisonOperator equal, ValueExpression leftOperand, ValueExpression rightOperand)
public void acceptConcrete(BooleanExpressionVisitor visitor)
AbstractBooleanExpressionacceptConcrete in class AbstractBooleanExpressionvisitor - visitor to acceptpublic void dismissConcrete(BooleanExpressionVisitor visitor)
AbstractBooleanExpressiondismissConcrete in class AbstractBooleanExpressionvisitor - visitor to acceptpublic ValueExpression getLeftOperand()
public ValueExpression getRightOperand()
public ComparisonOperator getOperator()
Copyright © 2018–2019. All rights reserved.