public class Comparison extends AbstractBooleanExpression
| Constructor and Description |
|---|
Comparison(ComparisonOperator equal,
StringLiteral leftOperand,
StringLiteral 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.
|
StringLiteral |
getLeftOperand()
Get the left-hand side operator of the comparison
|
ComparisonOperator |
getOperator()
Get the comparison operator
|
StringLiteral |
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, StringLiteral leftOperand, StringLiteral rightOperand)
public void acceptConcrete(BooleanExpressionVisitor visitor)
AbstractBooleanExpressionacceptConcrete in class AbstractBooleanExpressionvisitor - visitor to acceptpublic void dismissConcrete(BooleanExpressionVisitor visitor)
AbstractBooleanExpressiondismissConcrete in class AbstractBooleanExpressionvisitor - visitor to acceptpublic StringLiteral getLeftOperand()
public StringLiteral getRightOperand()
public ComparisonOperator getOperator()
Copyright © 2018–2019. All rights reserved.