public class UseNamespaceNode extends FixedChildrenNode implements IUseNamespaceNode
| Modifier and Type | Field and Description |
|---|---|
protected INamespaceDecorationNode |
namespaceNode
Package to import
|
emptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
UseNamespaceNode(ExpressionNodeBase namespace)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyze(EnumSet<PostProcessStep> set,
ASScope scope,
Collection<ICompilerProblem> problems) |
IASNode |
getChild(int i)
Get a particular child of this node
|
int |
getChildCount()
Get the number of children
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
String |
getTargetNamespace()
Get the name of the namespace definition we are importing
|
INamespaceDecorationNode |
getTargetNamespaceNode()
Returns the expression underlying this use node
|
protected void |
setChildren(boolean fillInOffsets)
If this node has custom children (names, arguments, etc), shove them into
the list of children.
|
void |
setTargetNamespace(ExpressionNodeBase namespace) |
isTerminalbuildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getASScope, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, normalize, replaceChild, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verifygetColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartprotected INamespaceDecorationNode namespaceNode
public UseNamespaceNode(ExpressionNodeBase namespace)
namespace - The expression node representing the namespace being used.public ASTNodeID getNodeID()
IASNodepublic int getChildCount()
IASNodegetChildCount in interface IASNodegetChildCount in class NodeBasepublic IASNode getChild(int i)
IASNodeprotected void setChildren(boolean fillInOffsets)
NodeBasesetChildren in class NodeBaseprotected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems)
public INamespaceDecorationNode getTargetNamespaceNode()
IUseNamespaceNodegetTargetNamespaceNode in interface IUseNamespaceNodeIExpressionNode for this namespacepublic String getTargetNamespace()
IUseNamespaceNodegetTargetNamespace in interface IUseNamespaceNodepublic void setTargetNamespace(ExpressionNodeBase namespace)
Copyright © 2016 The Apache Software Foundation. All rights reserved.