public final class ChainedVariableNode extends VariableNode
equalsOperatorStart, isConst
typeNode, typeOperatorStart
definition, nameNode
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
ChainedVariableNode(IdentifierNode nameNode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IASDocComment |
getASDocComment()
Returns the raw
IASDocComment without any processing |
IMetaTagsNode |
getMetaTags()
Get the metadata tags of this node.
|
protected MetaTagsNode |
getMetaTagsNode() |
ModifiersSet |
getModifiers()
Get the modifiers of this variable.
|
ModifiersContainerNode |
getModifiersContainer() |
String |
getNamespace()
Returns the namespace that this member belongs to
|
INamespaceDecorationNode |
getNamespaceNode() |
boolean |
hasExplicitComment()
Determines if this node has an explicit comment.
|
boolean |
hasModifier(ASModifier modifier)
Is the given modifier present on this definition?
|
boolean |
isConst()
Returns if this variable is decorated with
const |
protected void |
setChildren(boolean fillInOffsets)
If this node has custom children (names, arguments, etc), shove them into
the list of children.
|
addChainedVariableNode, getDeclarationEnd, getInitialChildCount, getNodeID, getQualifiedName, getShortName, getSpanningStart, getVariableClassification, getVariableType, isImplicit
analyze, buildInnerString, createDecorationPart, ensureTypeNode, getAssignedValueNode, getDefinition, getEqualsOperatorEnd, getEqualsOperatorStart, getKeywordNode, getVariableTypeNode, hasEqualsOperator, init, setAssignedValue, setIsConst, setKeyword, setKeyword
buildBindableGetter, buildBindableSetter, fillinDefinition, getTypeName, getTypeNode, getTypeOperatorEnd, getTypeOperatorStart, hasExplicitType, hasTypeOperator, isAnyType, isVoidType, setType
addDecorationChildren, addModifier, fillInMetadata, fillInModifiers, fillInNamespaceAndModifiers, getDecorationPart, getMetaInfos, getName, getNameAbsoluteEnd, getNameAbsoluteStart, getNameEnd, getNameExpressionNode, getNameStart, getNodeStartForTooling, hasNamespace, normalize, setASDocComment, setDefinition, setMetaTags, setModifiersContainer, setNamespace
addChild, addChild, addChildInOrder, addChildPostNormalize, addTemporaryChild, getChild, getChildCount, optimizeChildren, removeAllChildren, removeChild, removeTemporaryChild, replaceChild, sortChildren, swapChildren
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, getStart, getSucceedingNode, getWorkspace, isTerminal, isTransparent, looselyContains, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, 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
getContainingFilePath, getMetaInfos, getName, getNameAbsoluteEnd, getNameAbsoluteStart, getNameEnd, getNameExpressionNode, getNameStart, getPackageName, hasNamespace
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getParent, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public ChainedVariableNode(IdentifierNode nameNode)
nameNode
- The identifier node specifying the name of the variable.protected void setChildren(boolean fillInOffsets)
NodeBase
setChildren
in class VariableNode
public IASDocComment getASDocComment()
BaseDefinitionNode
IASDocComment
without any processinggetASDocComment
in interface IDocumentableDefinitionNode
getASDocComment
in class BaseDefinitionNode
IASDocComment
or nullpublic boolean hasExplicitComment()
IDocumentableDefinitionNode
hasExplicitComment
in interface IDocumentableDefinitionNode
hasExplicitComment
in class BaseDefinitionNode
protected MetaTagsNode getMetaTagsNode()
getMetaTagsNode
in class BaseDefinitionNode
public IMetaTagsNode getMetaTags()
IDefinitionNode
getMetaTags
in interface IDefinitionNode
getMetaTags
in class BaseDefinitionNode
IMetaTagsNode
or nullpublic INamespaceDecorationNode getNamespaceNode()
getNamespaceNode
in class BaseDefinitionNode
public String getNamespace()
IDefinitionNode
getNamespace
in interface IDefinitionNode
getNamespace
in class BaseDefinitionNode
public ModifiersContainerNode getModifiersContainer()
getModifiersContainer
in class BaseDefinitionNode
public ModifiersSet getModifiers()
BaseDefinitionNode
getModifiers
in class BaseDefinitionNode
public boolean hasModifier(ASModifier modifier)
IDefinitionNode
ASModifier
for the list of modifiershasModifier
in interface IDefinitionNode
hasModifier
in class BaseDefinitionNode
public boolean isConst()
IVariableNode
const
isConst
in interface IVariableNode
isConst
in class BaseVariableNode
const
existsCopyright © 2016 The Apache Software Foundation. All rights reserved.