public class RKeYMetaConstructType extends TypeReference implements KeYRecoderExtension
NamedModelElement.LexicalOrderProgramElement.TreeStructureSourceElement.Position| Modifier and Type | Field and Description |
|---|---|
protected Expression |
child
Child
|
protected String |
myname |
private static long |
serialVersionUID |
dimensions, name, parent, prefix, typeArgumentscommentsfactoryLEXICAL_ORDERSTRUCTURAL_EQUALITY, STRUCTURAL_HASH_CODE| Modifier | Constructor and Description |
|---|---|
|
RKeYMetaConstructType() |
protected |
RKeYMetaConstructType(RKeYMetaConstructType proto) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SourceVisitor v) |
TypeReference |
deepClone() |
Expression |
getChild()
Get child.
|
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.
|
int |
getChildPositionCode(ProgramElement child0) |
Expression |
getExpressionAt(int index) |
int |
getExpressionCount()
Get the number of expression in this container.
|
int |
getIndexOfChild(int posCode)
Deprecated.
|
int |
getIndexOfChild(ProgramElement pe) |
String |
getName0() |
int |
getRoleOfChild(int i) |
void |
setChild(Expression expression)
Set child.
|
void |
setName(String s)
sets a String myname of this meta construct like 'unwind-loop'
|
getASTParent, getDimensions, getFirstElement, getIdentifier, getName, getPackageReference, getParent, getReferencePrefix, getReferenceSuffix, getTypeArguments, getTypeReferenceAt, getTypeReferenceCount, makeParentRoleValid, replaceChild, setDimensions, setIdentifier, setParent, setReferencePrefix, setReferenceSuffix, setTypeArgumentsmakeAllParentRolesValid, validateAllgetComments, setComments, validategetEndPosition, getFactory, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeAllParentRolesValid, validateAllgetComments, setCommentsgetEndPosition, getFactory, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSourcevalidateprivate static final long serialVersionUID
protected Expression child
protected String myname
protected RKeYMetaConstructType(RKeYMetaConstructType proto)
public RKeYMetaConstructType()
public int getChildCount()
getChildCount in interface NonTerminalProgramElementgetChildCount in class TypeReferencepublic ProgramElement getChildAt(int index)
getChildAt in interface NonTerminalProgramElementgetChildAt in class TypeReferenceindex - an index into this node's "virtual" child arrayArrayIndexOutOfBoundsException - if index is out
of boundspublic int getChildPositionCode(ProgramElement child0)
getChildPositionCode in interface NonTerminalProgramElementgetChildPositionCode in class TypeReferencepublic int getIndexOfChild(ProgramElement pe)
getIndexOfChild in interface NonTerminalProgramElementgetIndexOfChild in class JavaNonTerminalProgramElement@Deprecated public int getIndexOfChild(int posCode)
getIndexOfChild in interface NonTerminalProgramElementgetIndexOfChild in class JavaNonTerminalProgramElementpublic int getRoleOfChild(int i)
getRoleOfChild in interface NonTerminalProgramElementgetRoleOfChild in class JavaNonTerminalProgramElementpublic void setName(String s)
s - the Stringpublic String getName0()
public Expression getChild()
public void setChild(Expression expression)
expression - a expression.public int getExpressionCount()
getExpressionCount in interface ExpressionContainergetExpressionCount in class TypeReferencepublic Expression getExpressionAt(int index)
getExpressionAt in interface ExpressionContainergetExpressionAt in class TypeReferencepublic void accept(SourceVisitor v)
accept in interface SourceElementaccept in class TypeReferencepublic TypeReference deepClone()
deepClone in interface SourceElementdeepClone in class TypeReference