public class TerminalNode extends BaseStatementNode implements ITerminalNode
ITerminalNode.TerminalKind| Modifier and Type | Field and Description |
|---|---|
protected ITerminalNode.TerminalKind |
kind
The type of terminal node this represents.
|
contentsNodeemptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
TerminalNode(IASToken token)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IASNode |
getChild(int i)
Get a particular child of this node
|
int |
getChildCount()
Get the number of children
|
ITerminalNode.TerminalKind |
getKind()
Represents the kind of the terminal condition
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
getContentsNode, getStatementContentsNode, initBlockNodeisTerminalanalyze, buildInnerString, 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, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, normalize, replaceChild, runPostProcess, setChildren, 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, waitgetStatementContentsNodecontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartprotected ITerminalNode.TerminalKind kind
public TerminalNode(IASToken token)
token - The token representing the else,
default, or finally keyword.public ASTNodeID getNodeID()
IASNodepublic int getChildCount()
IASNodegetChildCount in interface IASNodegetChildCount in class NodeBasepublic IASNode getChild(int i)
IASNodepublic ITerminalNode.TerminalKind getKind()
ITerminalNodegetKind in interface ITerminalNodeITerminalNode.TerminalKindCopyright © 2016 The Apache Software Foundation. All rights reserved.