public abstract class TypeOperator extends Operator implements TypeReferenceContainer
| Modifier and Type | Field and Description |
|---|---|
protected TypeReference |
typeReference
Type reference.
|
| Constructor and Description |
|---|
TypeOperator() |
TypeOperator(Expression[] arguments,
TypeReference typeref) |
TypeOperator(Expression unaryChild,
TypeReference typeref) |
TypeOperator(ExtList children)
Constructor for the transformation of COMPOST ASTs to KeY.
|
TypeOperator(ExtList children,
PositionInfo pi)
Constructor for the transformation of COMPOST ASTs to KeY.
|
| Modifier and Type | Method and Description |
|---|---|
KeYJavaType |
getKeYJavaType(Services javaServ) |
KeYJavaType |
getKeYJavaType(Services javaServ,
ExecutionContext ec)
returns the
KeYJavaType of an expression |
TypeReference |
getTypeReference()
Get type reference.
|
TypeReference |
getTypeReferenceAt(int index) |
int |
getTypeReferenceCount()
Get the number of type references in this container.
|
getArguments, getArity, getChildAt, getChildCount, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getNotation, getPrecedence, hashCode, isLeftAssociative, isToBeParenthesized, precedes, reuseSignaturecompatibleBlockSize, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, prettyPrint, prettyPrintMaingetEndPosition, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChildAt, getChildCountgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPosition, prettyPrint, visitprotected final TypeReference typeReference
public TypeOperator(ExtList children)
children - the children of this AST element as KeY classes.
May contain:
a TypeReference (the referred type)
2 of Expression (the first Expression as left hand
side, the second as right hand side),
Commentspublic TypeOperator(ExtList children, PositionInfo pi)
children - the children of this AST element as KeY classes.
May contain:
a TypeReference (the referred type)
2 of Expression (the first Expression as left hand
side, the second as right hand side),
Commentspublic TypeOperator(Expression unaryChild, TypeReference typeref)
public TypeOperator(Expression[] arguments, TypeReference typeref)
public TypeOperator()
public int getTypeReferenceCount()
getTypeReferenceCount in interface TypeReferenceContainerpublic TypeReference getTypeReferenceAt(int index)
getTypeReferenceAt in interface TypeReferenceContainerpublic TypeReference getTypeReference()
public KeYJavaType getKeYJavaType(Services javaServ, ExecutionContext ec)
ExpressionKeYJavaType of an expressiongetKeYJavaType in interface ExpressiongetKeYJavaType in class Operatorpublic KeYJavaType getKeYJavaType(Services javaServ)