com.ibm.adt.ovf.ext.punit.ast
Class AbstractASTNodeList
java.lang.Object
com.ibm.adt.ovf.ext.punit.ast.ASTNode
com.ibm.adt.ovf.ext.punit.ast.AbstractASTNodeList
public abstract class AbstractASTNodeList
- extends ASTNode
Methods inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode |
accept, accept, accept, accept, acceptAll, equals, getChildren, getFollowingAdjuncts, getLeftIToken, getNextAst, getParent, getPrecedingAdjuncts, getRightIToken, hashCode, setParent, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AbstractASTNodeList
public AbstractASTNodeList(IToken leftIToken,
IToken rightIToken,
boolean leftRecursive)
AbstractASTNodeList
public AbstractASTNodeList(ASTNode element,
boolean leftRecursive)
size
public int size()
getElementAt
public ASTNode getElementAt(int i)
getArrayList
public java.util.ArrayList getArrayList()
add
public void add(ASTNode element)
getAllChildren
public java.util.ArrayList getAllChildren()
- Make a copy of the list and return it. Note that we obtain the local list by
invoking getArrayList so as to make sure that the list we return is in proper order.
- Specified by:
getAllChildren
in class ASTNode
© Copyright 2008 IBM Corp. 2008 All Rights Reserved