public class Extends extends InheritanceSpecification
supertypes| Constructor and Description |
|---|
Extends(ExtList children)
Constructor for the transformation of COMPOST ASTs to KeY.
|
Extends(TypeReference supertype)
Extends.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getChildAt, getChildCount, getLastElement, getSupertypes, getTypeReferenceAt, getTypeReferenceCountcompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPositionpublic Extends(TypeReference supertype)
supertype - a type reference.public Extends(ExtList children)
children - the children of this AST element as KeY classes. May
include:
several TypeReference (as references to the supertypes)
a Commentpublic 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.