public class MultipleContextDeclarationImpl extends DeclarationImpl implements IMultipleContextDeclaration
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
MultipleContextDeclarationImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getContextNames()
Return the assigned context names - the "parameter names".
|
IModelElement |
getContextType(String name)
Given a parameter name, return its type.
|
IModelReference |
getModelReference(String name) |
protected void |
initialiseFromAst() |
boolean |
isFullyResolved() |
void |
setContextType(String name,
IModelElement element) |
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 MultipleContextDeclarationImpl(org.antlr.runtime.Token token)
public List<String> getContextNames()
IMultipleContextDeclarationgetContextNames in interface IMultipleContextDeclarationpublic IModelElement getContextType(String name)
IMultipleContextDeclarationgetContextType in interface IMultipleContextDeclarationname - the parameter nameprotected void initialiseFromAst()
public IModelReference getModelReference(String name)
public void setContextType(String name, IModelElement element)
public boolean isFullyResolved()
Copyright © 2006-2013. All Rights Reserved.