public class ConditionalNode extends BaseStatementNode implements IConditionalNode
| Modifier and Type | Field and Description |
|---|---|
protected ExpressionNodeBase |
conditionalNode
The conditional node of this statement
|
contentsNodeemptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
ConditionalNode(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
|
IExpressionNode |
getConditionalExpressionNode()
Returns the
IExpressionNode that contains the conditional
expression within this conditional |
ExpressionNodeBase |
getConditionalNode() |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
void |
setConditionalExpression(ExpressionNodeBase conditionalNode) |
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 ExpressionNodeBase conditionalNode
public ConditionalNode(IASToken keyword)
public ASTNodeID getNodeID()
IASNodepublic int getChildCount()
IASNodegetChildCount in interface IASNodegetChildCount in class NodeBasepublic IASNode getChild(int i)
IASNodepublic IExpressionNode getConditionalExpressionNode()
IConditionalNodeIExpressionNode that contains the conditional
expression within this conditionalgetConditionalExpressionNode in interface IConditionalNodeIExpressionNode or nullpublic void setConditionalExpression(ExpressionNodeBase conditionalNode)
public ExpressionNodeBase getConditionalNode()
Copyright © 2016 The Apache Software Foundation. All rights reserved.