public class FoldedExpressionNode extends ExpressionNodeBase implements IExpressionNode
flags
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
FoldedExpressionNode(IASNode rootNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int offset) |
protected ExpressionNodeBase |
copy() |
int |
getAbsoluteEnd() |
int |
getAbsoluteStart() |
IASNode |
getAncestorOfType(Class<? extends IASNode> nodeType) |
IASNode |
getChild(int i) |
int |
getChildCount() |
int |
getColumn() |
IASNode |
getContainingNode(int offset) |
IScopedNode |
getContainingScope() |
int |
getEnd() |
IFileSpecification |
getFileSpecification() |
int |
getLine() |
ASTNodeID |
getNodeID() |
String |
getPackageName() |
IASNode |
getParent() |
int |
getSpanningStart() |
int |
getStart() |
IASNode |
getSucceedingNode(int offset) |
IASNode |
getUnderLyingNode() |
boolean |
isTerminal() |
computeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isDynamicExpression, isPackageReference, normalize, resolve, resolveType, setHasParenthesis
analyze, buildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getContainingFilePath, getFileScope, getInnerString, getNodeKind, getScopeNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setChildren, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verify
getEndColumn, getEndLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveType
getEndColumn, getEndLine, getSourcePath
public FoldedExpressionNode(IASNode rootNode)
public int getStart()
getStart
in interface ISourceLocation
getStart
in class NodeBase
public int getEnd()
getEnd
in interface ISourceLocation
getEnd
in class NodeBase
public int getLine()
getLine
in interface ISourceLocation
getLine
in class SourceLocation
public int getColumn()
getColumn
in interface ISourceLocation
getColumn
in class SourceLocation
public int getAbsoluteStart()
getAbsoluteStart
in interface ISourceLocation
getAbsoluteStart
in class NodeBase
public int getAbsoluteEnd()
getAbsoluteEnd
in interface ISourceLocation
getAbsoluteEnd
in class NodeBase
public boolean contains(int offset)
public IASNode getAncestorOfType(Class<? extends IASNode> nodeType)
getAncestorOfType
in interface IASNode
getAncestorOfType
in class NodeBase
public IASNode getChild(int i)
public int getChildCount()
getChildCount
in interface IASNode
getChildCount
in class NodeBase
public IASNode getContainingNode(int offset)
getContainingNode
in interface IASNode
getContainingNode
in class NodeBase
public IScopedNode getContainingScope()
getContainingScope
in interface IASNode
getContainingScope
in class NodeBase
public String getPackageName()
getPackageName
in interface IASNode
getPackageName
in class NodeBase
public IASNode getParent()
public IFileSpecification getFileSpecification()
getFileSpecification
in interface IASNode
getFileSpecification
in class NodeBase
public int getSpanningStart()
getSpanningStart
in interface IASNode
getSpanningStart
in class NodeBase
public IASNode getSucceedingNode(int offset)
getSucceedingNode
in interface IASNode
getSucceedingNode
in class NodeBase
public boolean isTerminal()
isTerminal
in interface IASNode
isTerminal
in class FixedChildrenNode
public IASNode getUnderLyingNode()
protected ExpressionNodeBase copy()
copy
in class ExpressionNodeBase
Copyright © 2016 The Apache Software Foundation. All rights reserved.