public class QualifiedNamespaceExpressionNode extends FullNameNode implements INamespaceDecorationNode
INamespaceDecorationNode.NamespaceDecorationKind
IIdentifierNode.IdentifierType
IOperatorNode.ExpressionType, IOperatorNode.OperatorType
leftOperandNode, rightOperandNode
operatorStart
flags
emptyNodeArray, parent
UNKNOWN
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, toMemberAccessExpressionNode
computeNamespaceReference, getDisplayString, getMName, getOperator, getOperatorText, isDynamicExpression, isMemberReference, isSuper, resolve, resolveType, setStemAsPackage, stemIsPackage
create, fillInOffsets, getChild, getChildCount, getExpressionType, getLeftOperandNode, getRightOperandNode, isOperatingOnArray, resolveAssignmentType, resolveLogicalType, setChildren, setLeftOperandNode
getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, isTerminal
copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, setHasParenthesis
analyze, 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, 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
getIdentifierType, getName
copyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveType
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
getLeftOperandNode, getRightOperandNode
getExpressionType, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart
public 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()
IASNode
getNodeID
in interface IASNode
getNodeID
in class FullNameNode
public IASNode getParent()
IASNode
public void setParent(NodeBase parent)
NodeBase
protected QualifiedNamespaceExpressionNode copy()
ExpressionNodeBase
copy
in class FullNameNode
public IDefinitionNode getDecoratedDefinitionNode()
IDecoration
IDecoration
getDecoratedDefinitionNode
in interface IDecoration
IDefinitionNode
representing the parentpublic INamespaceDecorationNode.NamespaceDecorationKind getNamespaceDecorationKind()
INamespaceDecorationNode
getNamespaceDecorationKind
in interface INamespaceDecorationNode
public void setDecorationTarget(IDefinitionNode decoratingParent)
public boolean isExpressionQualifier()
INamespaceDecorationNode
isExpressionQualifier
in interface INamespaceDecorationNode
Copyright © 2016 The Apache Software Foundation. All rights reserved.