public class VectorLiteralNode extends BaseLiteralContainerNode
ILiteralNode.LiteralTypebaseTypeNode, contentsNodeflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
|
VectorLiteralNode()
Constructor.
|
protected |
VectorLiteralNode(VectorLiteralNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected VectorLiteralNode |
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 |
getCollectionTypeNode() |
ILiteralNode.LiteralType |
getLiteralType()
Returns the
ILiteralNode.LiteralType that this node represents |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
boolean |
isDynamicExpression(ICompilerProject project)
Does this expression evaluate to a dynamic value
|
IDefinition |
resolve(ICompilerProject project)
If this expression is statically known to refer to a definition return a
reference to that definition.
|
protected void |
setChildren(boolean fillInOffsets)
If this node has custom children (names, arguments, etc), shove them into
the list of children.
|
void |
setCollectionTypeNode(ExpressionNodeBase collectionType) |
appendLiteralToken, getBaseTypeNode, getContentsNode, getValue, getValue, isTerminalcomputeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolveType, setHasParenthesisanalyze, 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, 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, waitcopyForInitializer, hasParenthesis, resolveTypecontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNodegetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic VectorLiteralNode()
protected VectorLiteralNode(VectorLiteralNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodepublic int getChildCount()
IASNodegetChildCount in interface IASNodegetChildCount in class BaseLiteralContainerNodepublic IASNode getChild(int i)
IASNodegetChild in interface IASNodegetChild in class BaseLiteralContainerNodei - the child's indexprotected void setChildren(boolean fillInOffsets)
NodeBasesetChildren in class BaseLiteralContainerNodepublic IDefinition resolve(ICompilerProject project)
IExpressionNoderesolve in interface IExpressionNoderesolve in class ExpressionNodeBaseproject - The ICompilerProject to use to do lookups.IDefinition this expression refers to.protected VectorLiteralNode copy()
ExpressionNodeBasecopy in class ExpressionNodeBasepublic boolean isDynamicExpression(ICompilerProject project)
IExpressionNodeisDynamicExpression in interface IExpressionNodeisDynamicExpression in class ExpressionNodeBaseproject - The ICompilerProject to use to do lookups.true if we evaluate to something dynamicpublic ILiteralNode.LiteralType getLiteralType()
ILiteralNodeILiteralNode.LiteralType that this node representspublic ExpressionNodeBase getCollectionTypeNode()
public void setCollectionTypeNode(ExpressionNodeBase collectionType)
Copyright © 2016 The Apache Software Foundation. All rights reserved.