Searched refs:ASTList (Results 1 - 25 of 31) sorted by relevance

12

/external/javassist/src/main/javassist/compiler/ast/
H A DASTList.java22 * The right subtree must be an ASTList object or null.
24 public class ASTList extends ASTree { class in inherits:ASTree
26 private ASTList right;
28 public ASTList(ASTree _head, ASTList _tail) { method in class:ASTList
33 public ASTList(ASTree _head) { method in class:ASTList
38 public static ASTList make(ASTree e1, ASTree e2, ASTree e3) {
39 return new ASTList(e1, new ASTList(e2, new ASTList(e
[all...]
H A DNewExpr.java24 public class NewExpr extends ASTList implements TokenId {
28 public NewExpr(ASTList className, ASTList args) {
29 super(className, new ASTList(args));
34 public NewExpr(int type, ASTList arraySize, ArrayInit init) {
35 super(null, new ASTList(arraySize));
42 public static NewExpr makeObjectArray(ASTList className,
43 ASTList arraySize, ArrayInit init) {
58 public ASTList getClassName() { return (ASTList)getLef
[all...]
H A DMethodDecl.java20 public class MethodDecl extends ASTList {
23 public MethodDecl(ASTree _head, ASTList _tail) {
32 public ASTList getModifiers() { return (ASTList)getLeft(); }
36 public ASTList getParams() { return (ASTList)sublist(2).head(); }
38 public ASTList getThrows() { return (ASTList)sublist(3).head(); }
H A DFieldDecl.java20 public class FieldDecl extends ASTList {
21 public FieldDecl(ASTree _head, ASTList _tail) {
25 public ASTList getModifiers() { return (ASTList)getLeft(); }
H A DCastExpr.java24 public class CastExpr extends ASTList implements TokenId {
28 public CastExpr(ASTList className, int dim, ASTree expr) {
29 super(className, new ASTList(expr));
35 super(null, new ASTList(expr));
46 public ASTList getClassName() { return (ASTList)getLeft(); }
H A DStmnt.java24 public class Stmnt extends ASTList implements TokenId {
27 public Stmnt(int op, ASTree _head, ASTList _tail) {
42 return new Stmnt(op, oprand1, new ASTList(oprand2));
46 return new Stmnt(op, op1, new ASTList(op2, new ASTList(op3)));
H A DArrayInit.java23 public class ArrayInit extends ASTList {
H A DAssignExpr.java28 private AssignExpr(int op, ASTree _head, ASTList _tail) {
34 return new AssignExpr(op, oprand1, new ASTList(oprand2));
H A DBinExpr.java32 private BinExpr(int op, ASTree _head, ASTList _tail) {
37 return new BinExpr(op, oprand1, new ASTList(oprand2));
H A DCondExpr.java23 public class CondExpr extends ASTList {
25 super(cond, new ASTList(thenp, new ASTList(elsep)));
H A DCallExpr.java28 private CallExpr(ASTree _head, ASTList _tail) {
42 return new CallExpr(target, new ASTList(args));
H A DDeclarator.java24 public class Declarator extends ASTList implements TokenId {
38 public Declarator(ASTList className, int dim) {
85 ASTList t = tail();
102 public static String astToClassName(ASTList name, char sep) {
111 private static void astToClassName(StringBuffer sbuf, ASTList name,
117 else if (h instanceof ASTList)
118 astToClassName(sbuf, (ASTList)h, sep);
H A DInstanceOfExpr.java24 public InstanceOfExpr(ASTList className, int dim, ASTree expr) {
H A DExpr.java24 public class Expr extends ASTList implements TokenId {
33 Expr(int op, ASTree _head, ASTList _tail) {
44 return new Expr(op, oprand1, new ASTList(oprand2));
H A DVisitor.java26 public void atASTList(ASTList n) throws CompileError {}
/external/javassist/src/main/javassist/compiler/
H A DProceedHandler.java19 import javassist.compiler.ast.ASTList;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError;
29 void setReturnType(JvstTypeChecker c, ASTList args) throws CompileError;
H A DParser.java32 public ASTList parseMember(SymbolTable tbl) throws CompileError {
33 ASTList mem = parseMember1(tbl);
42 public ASTList parseMember1(SymbolTable tbl) throws CompileError {
43 ASTList mods = parseMemberMods();
74 private FieldDecl parseField(SymbolTable tbl, ASTList mods,
85 return new FieldDecl(mods, new ASTList(d, new ASTList(expr)));
104 ASTList mods, Declarator d)
110 ASTList parms = null;
113 parms = ASTList
[all...]
H A DJvstTypeChecker.java87 ASTList classname = expr.getClassName();
147 (ASTList)expr.oprand2());
151 atCflow((ASTList)expr.oprand2());
161 protected void atCflow(ASTList cname) throws CompileError {
170 public boolean isParamListName(ASTList args) {
181 public int getMethodArgsLength(ASTList args) {
199 public void atMethodArgs(ASTList args, int[] types, int[] dims,
235 ASTList args)
H A DMemberCodeGen.java194 ASTList catchList = (ASTList)st.getRight().getLeft();
297 ASTList args = expr.getArguments();
312 ASTList size = expr.getArraySize();
313 ASTList classname = expr.getClassName();
388 ASTList list = init;
419 protected void atMultiNewArray(int type, ASTList classname, ASTList size)
452 ASTList args = (ASTList)exp
[all...]
H A DTypeChecker.java130 protected String resolveClassName(ASTList name) throws CompileError {
147 ASTList args = expr.getArguments();
157 ASTList size = expr.getArraySize();
158 ASTList classname = expr.getClassName();
180 ASTList list = init;
189 protected void atMultiNewArray(int type, ASTList classname, ASTList size)
378 ASTList sbufClass = ASTList.make(new Symbol("java"),
491 new ASTList(ar
[all...]
/external/javassist/src/main/javassist/expr/
H A DCast.java21 import javassist.compiler.ast.ASTList;
144 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
158 public void setReturnType(JvstTypeChecker c, ASTList args)
H A DInstanceof.java21 import javassist.compiler.ast.ASTList;
148 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
162 public void setReturnType(JvstTypeChecker c, ASTList args)
H A DFieldAccess.java21 import javassist.compiler.ast.ASTList;
236 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
262 public void setReturnType(JvstTypeChecker c, ASTList args)
284 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
314 public void setReturnType(JvstTypeChecker c, ASTList args)
H A DNewExpr.java21 import javassist.compiler.ast.ASTList;
229 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
240 public void setReturnType(JvstTypeChecker c, ASTList args)
/external/clang/tools/clang-check/
H A DClangCheck.cpp56 static cl::opt<bool> ASTList(
134 if (ASTList)

Completed in 805 milliseconds

12