public class BlockNode extends ContainerNode implements IBlockNode
IContainerNode.ContainerTypeEMPTY_CONTAINERemptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
BlockNode()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
IASScope |
getScope()
Get the scope associated with this node as an IASScope
|
void |
replaceChild(NodeBase child,
NodeBase target)
Replaces the child with the given target.
|
addItem, addItemAfterNormalization, addTemporaryItem, buildInnerString, contains, getContainerType, getRemovedConditionalCompileNode, removeItem, removeTemporaryItem, setContainerType, setRemovedConditionalCompileNodeaddChild, addChild, addChildInOrder, addChildPostNormalize, addTemporaryChild, getChild, getChildCount, getInitialChildCount, normalize, optimizeChildren, removeAllChildren, removeChild, removeTemporaryChild, sortChildren, swapChildrenanalyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getASScope, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTerminal, isTransparent, looselyContains, runPostProcess, setChildren, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, 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, waitcontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic ASTNodeID getNodeID()
IASNodegetNodeID in interface IASNodegetNodeID in class ContainerNodepublic void replaceChild(NodeBase child, NodeBase target)
NodeBasereplaceChild in class TreeNodechild - the NodeBase to replacetarget - the NodeBase to replace the replacedpublic IASScope getScope()
Copyright © 2016 The Apache Software Foundation. All rights reserved.