public class RuntimeNameExpressionNode extends ExpressionNodeBase
public::[name]
Modifier and Type | Field and Description |
---|---|
protected ExpressionNodeBase |
nameNode
The runtime name
|
flags
emptyNodeArray, parent
UNKNOWN
Modifier | Constructor and Description |
---|---|
|
RuntimeNameExpressionNode(ExpressionNodeBase nameNode)
Constructor.
|
protected |
RuntimeNameExpressionNode(RuntimeNameExpressionNode other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected RuntimeNameExpressionNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
IASNode |
getChild(int i)
Get a particular child of this node
|
int |
getChildCount()
Get the number of children
|
ExpressionNodeBase |
getNameExpression()
Returns the name expression found within this runtime name expression
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
boolean |
isDynamicExpression(ICompilerProject project)
Does this expression evaluate to a dynamic value
|
protected void |
setChildren(boolean fillInOffsets)
If this node has custom children (names, arguments, etc), shove them into
the list of children.
|
computeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolve, resolveType, setHasParenthesis
isTerminal
analyze, buildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
protected ExpressionNodeBase nameNode
public RuntimeNameExpressionNode(ExpressionNodeBase nameNode)
nameNode
- The node representing the runtime name.protected RuntimeNameExpressionNode(RuntimeNameExpressionNode other)
other
- The node to copy.public ASTNodeID getNodeID()
IASNode
public int getChildCount()
IASNode
getChildCount
in interface IASNode
getChildCount
in class NodeBase
public IASNode getChild(int i)
IASNode
protected void setChildren(boolean fillInOffsets)
NodeBase
setChildren
in class NodeBase
protected RuntimeNameExpressionNode copy()
ExpressionNodeBase
copy
in class ExpressionNodeBase
public boolean isDynamicExpression(ICompilerProject project)
IExpressionNode
isDynamicExpression
in interface IExpressionNode
isDynamicExpression
in class ExpressionNodeBase
project
- The ICompilerProject
to use to do lookups.true
if we evaluate to something dynamicpublic ExpressionNodeBase getNameExpression()
Copyright © 2016 The Apache Software Foundation. All rights reserved.