public class XMLLiteralNode extends BaseLiteralContainerNode
ILiteralNode.LiteralTypebaseTypeNode, contentsNodeflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
|
XMLLiteralNode()
Constructor.
|
protected |
XMLLiteralNode(XMLLiteralNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected XMLLiteralNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
ILiteralNode.LiteralType |
getLiteralType()
Returns the
ILiteralNode.LiteralType that this node represents |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
String |
getText()
This method is for debugging and testing purposes only.
|
boolean |
isDynamicExpression(ICompilerProject project)
Does this expression evaluate to a dynamic value
|
ITypeDefinition |
resolveType(ICompilerProject project)
The type of the result of this expression.
|
appendLiteralToken, getBaseTypeNode, getChild, getChildCount, getContentsNode, getValue, getValue, isTerminal, setChildrencomputeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolve, 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, resolvecontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNodegetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic XMLLiteralNode()
protected XMLLiteralNode(XMLLiteralNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodepublic ITypeDefinition resolveType(ICompilerProject project)
IExpressionNoderesolveType in interface IExpressionNoderesolveType in class ExpressionNodeBaseproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type this expression results in.protected XMLLiteralNode 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 final String getText()
Copyright © 2016 The Apache Software Foundation. All rights reserved.