public class LessThan extends ComparativeOperator
Constructor and Description |
---|
LessThan(Expression lhs,
Expression rhs)
Less than.
|
LessThan(ExtList children)
Less than.
|
Modifier and Type | Method and Description |
---|---|
int |
getPrecedence()
Get precedence.
|
void |
prettyPrint(PrettyPrinter p)
Pretty printing the source element.
|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
getArity, getKeYJavaType, getKeYJavaType, getNotation
getArguments, getChildAt, getChildCount, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, getLastElement, isLeftAssociative, isToBeParenthesized, precedes, reuseSignature
compatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildren
getComments, hashCode, prettyPrintMain
getEndPosition, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getComments, match
equalsModRenaming, getEndPosition, getPositionInfo, getRelativePosition, getStartPosition
public LessThan(ExtList children)
children
- an ExtList with all children of this node
the first children in list will be the one on the left
side, the second the one on the right side.public LessThan(Expression lhs, Expression rhs)
lhs
- the expression that is checked to be less than rhsrhs
- the expression that is checked to be greater than lhspublic int getPrecedence()
getPrecedence
in class Operator
public void visit(Visitor v)
v
- the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElement
prettyPrint
in interface SourceElement
prettyPrint
in class JavaProgramElement
p
- a pretty printer.java.io.IOException
- occasionally thrown.