public abstract class SingleContextDeclarationImpl extends DeclarationImpl implements ISingleContextDeclaration
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
SingleContextDeclarationImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAdditionalParametersFullyResolved() |
List<String> |
getAdditionalParameterNames()
Get the list of additional parameters available.
|
IModelElement |
getAdditionalParameterType(String parameterName)
Given an additional parameter name, return its resolved type.
|
IModelReference |
getAdditionalParameterTypeReference(String parameterName) |
IModelElement |
getContext()
Get the referenced model element
|
IModelReference |
getModelReference() |
protected void |
initialiseAdditionalParametersFromAst() |
protected boolean |
isOldContextFormat() |
void |
setAdditionalParameterType(String parameterName,
IModelElement type) |
void |
setContext(IModelElement context) |
getIdaccept, doIndent, dump, getColumn, getLine, getUserData, initialisePositionFromChild, setColumn, setLine, setUserDatadupNode, getCharPositionInLine, getChildIndex, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdaccept, dump, getColumn, getLine, getUserData, setUserDatapublic SingleContextDeclarationImpl(org.antlr.runtime.Token token)
public boolean areAdditionalParametersFullyResolved()
protected void initialiseAdditionalParametersFromAst()
public List<String> getAdditionalParameterNames()
ISingleContextDeclarationgetAdditionalParameterNames in interface ISingleContextDeclarationpublic IModelElement getAdditionalParameterType(String parameterName)
ISingleContextDeclarationgetAdditionalParameterType in interface ISingleContextDeclarationpublic IModelReference getAdditionalParameterTypeReference(String parameterName)
public IModelElement getContext()
ISingleContextDeclarationgetContext in interface ISingleContextDeclarationpublic IModelReference getModelReference()
protected boolean isOldContextFormat()
public void setAdditionalParameterType(String parameterName, IModelElement type)
public void setContext(IModelElement context)
Copyright © 2006-2013. All Rights Reserved.