public class Instanceof extends TypeOperator
typeReference| Constructor and Description | 
|---|
Instanceof(Expression unaryChild,
          TypeReference typeref)  | 
Instanceof(ExtList children)
Instanceof. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getArity()
Get arity. 
 | 
ProgramElement | 
getChildAt(int index)
Returns the child at the specified index in this node's "virtual"
      child array 
 | 
int | 
getChildCount()
Returns the number of children of this node. 
 | 
KeYJavaType | 
getKeYJavaType(Services javaServ)  | 
KeYJavaType | 
getKeYJavaType(Services javaServ,
              ExecutionContext ec)
returns the  
KeYJavaType of an expression | 
SourceElement | 
getLastElement()
Finds the source element that occurs last in the source. 
 | 
int | 
getNotation()
Get notation. 
 | 
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 
 | 
getTypeReference, getTypeReferenceAt, getTypeReferenceCountgetArguments, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, isLeftAssociative, 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, getFirstElement, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPositionpublic Instanceof(ExtList children)
children - an ExtList with all children of this node
      the first children in list will be the expression on the left
      side, the second the one on the  right side a type reference.public Instanceof(Expression unaryChild, TypeReference typeref)
public int getChildCount()
getChildCount in interface NonTerminalProgramElementgetChildCount in class Operatorpublic SourceElement getLastElement()
JavaSourceElementgetLastElement in interface SourceElementgetLastElement in class OperatorJavaSourceElement.toSource(), 
JavaSourceElement.getEndPosition()public ProgramElement getChildAt(int index)
getChildAt in interface NonTerminalProgramElementgetChildAt in class Operatorindex - an index into this node's "virtual" child arrayjava.lang.ArrayIndexOutOfBoundsException - if index is out
                 of boundspublic int getArity()
public int getPrecedence()
getPrecedence in class Operatorpublic int getNotation()
getNotation in class Operatorpublic 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 javaServ)
getKeYJavaType in class TypeOperatorpublic KeYJavaType getKeYJavaType(Services javaServ, ExecutionContext ec)
ExpressionKeYJavaType of an expressiongetKeYJavaType in interface ExpressiongetKeYJavaType in class TypeOperator