Member predicate IfNode::getStmtList
Gets the index
th StmtList
that is a child of the AstNode
that this print node represents.
label
is used for pretty-printing a label in the parent-child relation in the ast-viewer.
The StmtListNode
class and the getChild
predicate uses getStmtList
to define a parent-child relation with labels.
index
must be 0 or positive.
StmtList getStmtList(int index, string label)