public class Positive extends Operator
| Constructor and Description | 
|---|
Positive(Expression expr)
Positive. 
 | 
Positive(ExtList children)
Positive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getArity()
Get arity. 
 | 
KeYJavaType | 
getKeYJavaType(Services services,
              ExecutionContext ec)
returns the  
KeYJavaType of an expression | 
int | 
getNotation()
Get notation. 
 | 
int | 
getPrecedence()
Get precedence. 
 | 
boolean | 
isLeftAssociative()
Checks if this operator is left or right associative. 
 | 
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 
 | 
getArguments, getChildAt, getChildCount, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, getLastElement, isToBeParenthesized, precedes, reuseSignaturecompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrintMaingetEndPosition, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getPositionInfo, getRelativePosition, getStartPositionpublic Positive(Expression expr)
expr - the Expressionpublic Positive(ExtList children)
children - an ExtList with all children of this nodepublic int getArity()
public int getPrecedence()
getPrecedence in class Operatorpublic int getNotation()
getNotation in class Operatorpublic boolean isLeftAssociative()
isLeftAssociative in class Operatortrue, if the operator is left associative,
        false otherwise.public void visit(Visitor v)
v - the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.public KeYJavaType getKeYJavaType(Services services, ExecutionContext ec)
ExpressionKeYJavaType of an expressiongetKeYJavaType in interface ExpressiongetKeYJavaType in class Operator