public class DoWhileLoopNode extends WhileLoopNode
IWhileLoopNode.WhileLoopKind
conditionalNode
contentsNode
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
DoWhileLoopNode(IASToken keyword)
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
|
IWhileLoopNode.WhileLoopKind |
getKind()
Returns the kind of the while loop
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
getConditionalExpressionNode, getConditionalNode, setConditionalExpression
getContentsNode, getStatementContentsNode, initBlockNode
isTerminal
analyze, 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, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConditionalExpressionNode
getStatementContentsNode
contains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public DoWhileLoopNode(IASToken keyword)
public ASTNodeID getNodeID()
IASNode
getNodeID
in interface IASNode
getNodeID
in class WhileLoopNode
public int getChildCount()
IASNode
getChildCount
in interface IASNode
getChildCount
in class ConditionalNode
public IASNode getChild(int i)
IASNode
getChild
in interface IASNode
getChild
in class ConditionalNode
i
- the child's indexpublic IWhileLoopNode.WhileLoopKind getKind()
IWhileLoopNode
getKind
in interface IWhileLoopNode
getKind
in class WhileLoopNode
IWhileLoopNode.WhileLoopKind
Copyright © 2016 The Apache Software Foundation. All rights reserved.