public interface IScopedNode extends IASNode
Note that only nodes that actually create a new scope implement this interface. Some nodes, like IBlockNode, may not generate a new scope, so they do not implement this.
UNKNOWN
Modifier and Type | Method and Description |
---|---|
void |
getAllImportNodes(Collection<IImportNode> imports)
Returns all the imports that are relevant in the current scope.
|
void |
getAllImports(Collection<String> imports)
Returns all the imports that are relevant in the current scope.
|
IASScope |
getScope()
Get the scope associated with this node as an IASScope
|
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
IASScope getScope()
void getAllImports(Collection<String> imports)
imports
- an array of Strings representing all the importsvoid getAllImportNodes(Collection<IImportNode> imports)
imports
- an array of IImportNode
representing all the
importsCopyright © 2016 The Apache Software Foundation. All rights reserved.