public class QualifiedNamespaceExpressionNode extends FullNameNode implements INamespaceDecorationNode
INamespaceDecorationNode.NamespaceDecorationKindIIdentifierNode.IdentifierTypeIOperatorNode.ExpressionType, IOperatorNode.OperatorTypeleftOperandNode, rightOperandNodeoperatorStartflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
|
QualifiedNamespaceExpressionNode(ExpressionNodeBase left,
IASToken operator,
ExpressionNodeBase right)
Constructor.
|
|
QualifiedNamespaceExpressionNode(MemberAccessExpressionNode child)
Copy constructor.
|
protected |
QualifiedNamespaceExpressionNode(QualifiedNamespaceExpressionNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected QualifiedNamespaceExpressionNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
IDefinitionNode |
getDecoratedDefinitionNode()
Returns the parent that is being decorated by this
IDecoration |
INamespaceDecorationNode.NamespaceDecorationKind |
getNamespaceDecorationKind()
Returns the type of namespace decoration kind this item represents
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
IASNode |
getParent()
Get the parent of this node
|
boolean |
isExpressionQualifier()
Is this namespace a qualifier in an expression
such as 'ns' in:
ns::foo;
|
void |
setDecorationTarget(IDefinitionNode decoratingParent) |
void |
setParent(NodeBase parent)
Set the parent node.
|
buildInnerString, computeSimpleReference, getIdentifierType, getName, setRightOperandNode, toMemberAccessExpressionNodecomputeNamespaceReference, getDisplayString, getMName, getOperator, getOperatorText, isDynamicExpression, isMemberReference, isSuper, resolve, resolveType, setStemAsPackage, stemIsPackagecreate, fillInOffsets, getChild, getChildCount, getExpressionType, getLeftOperandNode, getRightOperandNode, isOperatingOnArray, resolveAssignmentType, resolveLogicalType, setChildren, setLeftOperandNodegetOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, isTerminalcopyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, setHasParenthesisanalyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, 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, waitgetIdentifierType, getNamecopyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveTypecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartgetLeftOperandNode, getRightOperandNodegetExpressionType, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStartpublic QualifiedNamespaceExpressionNode(ExpressionNodeBase left, IASToken operator, ExpressionNodeBase right)
left - The expression to the left of the operator.operator - The token representing the operator.right - The expressoin to the right of the operator.public QualifiedNamespaceExpressionNode(MemberAccessExpressionNode child)
child - The node to copy.protected QualifiedNamespaceExpressionNode(QualifiedNamespaceExpressionNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodegetNodeID in interface IASNodegetNodeID in class FullNameNodepublic IASNode getParent()
IASNodepublic void setParent(NodeBase parent)
NodeBaseprotected QualifiedNamespaceExpressionNode copy()
ExpressionNodeBasecopy in class FullNameNodepublic IDefinitionNode getDecoratedDefinitionNode()
IDecorationIDecorationgetDecoratedDefinitionNode in interface IDecorationIDefinitionNode representing the parentpublic INamespaceDecorationNode.NamespaceDecorationKind getNamespaceDecorationKind()
INamespaceDecorationNodegetNamespaceDecorationKind in interface INamespaceDecorationNodepublic void setDecorationTarget(IDefinitionNode decoratingParent)
public boolean isExpressionQualifier()
INamespaceDecorationNodeisExpressionQualifier in interface INamespaceDecorationNodeCopyright © 2016 The Apache Software Foundation. All rights reserved.