| java.lang.Object javassist.compiler.ast.ASTree javassist.compiler.ast.ASTList
All known Subclasses: javassist.compiler.ast.MethodDecl, javassist.compiler.ast.ArrayInit, javassist.compiler.ast.FieldDecl, javassist.compiler.ast.Expr, javassist.compiler.ast.NewExpr, javassist.compiler.ast.Stmnt, javassist.compiler.ast.Declarator, javassist.compiler.ast.CondExpr, javassist.compiler.ast.CastExpr,
ASTList | public class ASTList extends ASTree (Code) | | A linked list.
The right subtree must be an ASTList object or null.
|
head | public ASTree head()(Code) | | Returns the car part of the list.
|
length | public int length()(Code) | | Returns the number of the elements in this list.
|
sublist | public ASTList sublist(int nth)(Code) | | Returns a sub list of the list. The sub list begins with the
n-th element of the list.
Parameters: nth - zero or more than zero. |
subst | public boolean subst(ASTree newObj, ASTree oldObj)(Code) | | Substitutes newObj for oldObj in the
list.
|
tail | public ASTList tail()(Code) | | Returns the cdr part of the list.
|
|
|