Home
last modified time | relevance | path

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

12

/external/javassist/src/main/javassist/compiler/ast/
DASTList.java24 public class ASTList extends ASTree { class
26 private ASTList right;
28 public ASTList(ASTree _head, ASTList _tail) { in ASTList() method in ASTList
33 public ASTList(ASTree _head) { in ASTList() method in ASTList
38 public static ASTList make(ASTree e1, ASTree e2, ASTree e3) { in make()
39 return new ASTList(e1, new ASTList(e2, new ASTList(e3))); in make()
49 right = (ASTList)_right; in setRight()
64 public ASTList tail() { return right; } in tail()
66 public void setTail(ASTList _tail) { in setTail()
77 ASTList list = this; in toString()
[all …]
DNewExpr.java24 public class NewExpr extends ASTList implements TokenId {
28 public NewExpr(ASTList className, ASTList args) { in NewExpr()
29 super(className, new ASTList(args)); in NewExpr()
34 public NewExpr(int type, ASTList arraySize, ArrayInit init) { in NewExpr()
35 super(null, new ASTList(arraySize)); in NewExpr()
42 public static NewExpr makeObjectArray(ASTList className, in makeObjectArray()
43 ASTList arraySize, ArrayInit init) { in makeObjectArray()
58 public ASTList getClassName() { return (ASTList)getLeft(); } in getClassName()
60 public ASTList getArguments() { return (ASTList)getRight().getLeft(); } in getArguments()
62 public ASTList getArraySize() { return getArguments(); } in getArraySize()
DMethodDecl.java20 public class MethodDecl extends ASTList {
23 public MethodDecl(ASTree _head, ASTList _tail) { in MethodDecl()
32 public ASTList getModifiers() { return (ASTList)getLeft(); } in getModifiers()
36 public ASTList getParams() { return (ASTList)sublist(2).head(); } in getParams()
38 public ASTList getThrows() { return (ASTList)sublist(3).head(); } in getThrows()
DCastExpr.java24 public class CastExpr extends ASTList implements TokenId {
28 public CastExpr(ASTList className, int dim, ASTree expr) { in CastExpr()
29 super(className, new ASTList(expr)); in CastExpr()
35 super(null, new ASTList(expr)); in CastExpr()
46 public ASTList getClassName() { return (ASTList)getLeft(); } in getClassName()
DDeclarator.java24 public class Declarator extends ASTList implements TokenId {
38 public Declarator(ASTList className, int dim) { in Declarator()
85 ASTList t = tail(); in getInitializer()
102 public static String astToClassName(ASTList name, char sep) { in astToClassName()
111 private static void astToClassName(StringBuffer sbuf, ASTList name, in astToClassName()
117 else if (h instanceof ASTList) in astToClassName()
118 astToClassName(sbuf, (ASTList)h, sep); in astToClassName()
DStmnt.java24 public class Stmnt extends ASTList implements TokenId {
27 public Stmnt(int op, ASTree _head, ASTList _tail) { in Stmnt()
42 return new Stmnt(op, oprand1, new ASTList(oprand2)); in make()
46 return new Stmnt(op, op1, new ASTList(op2, new ASTList(op3))); in make()
DFieldDecl.java20 public class FieldDecl extends ASTList {
21 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl()
25 public ASTList getModifiers() { return (ASTList)getLeft(); } in getModifiers()
DCondExpr.java23 public class CondExpr extends ASTList {
25 super(cond, new ASTList(thenp, new ASTList(elsep))); in CondExpr()
DExpr.java24 public class Expr extends ASTList implements TokenId {
33 Expr(int op, ASTree _head, ASTList _tail) { in Expr()
44 return new Expr(op, oprand1, new ASTList(oprand2)); in make()
DAssignExpr.java28 private AssignExpr(int op, ASTree _head, ASTList _tail) { in AssignExpr()
34 return new AssignExpr(op, oprand1, new ASTList(oprand2)); in makeAssign()
DBinExpr.java32 private BinExpr(int op, ASTree _head, ASTList _tail) { in BinExpr()
37 return new BinExpr(op, oprand1, new ASTList(oprand2)); in makeBin()
DCallExpr.java28 private CallExpr(ASTree _head, ASTList _tail) { in CallExpr()
42 return new CallExpr(target, new ASTList(args)); in makeCall()
/external/javassist/src/main/javassist/compiler/
DParser.java32 public ASTList parseMember(SymbolTable tbl) throws CompileError { in parseMember()
33 ASTList mem = parseMember1(tbl); in parseMember()
42 public ASTList parseMember1(SymbolTable tbl) throws CompileError { in parseMember1()
43 ASTList mods = parseMemberMods(); in parseMember1()
74 private FieldDecl parseField(SymbolTable tbl, ASTList mods, in parseField()
85 return new FieldDecl(mods, new ASTList(d, new ASTList(expr))); in parseField()
104 ASTList mods, Declarator d) in parseMethod1()
110 ASTList parms = null; in parseMethod1()
113 parms = ASTList.append(parms, parseFormalParam(tbl)); in parseMethod1()
126 ASTList throwsList = null; in parseMethod1()
[all …]
DJvstTypeChecker.java87 ASTList classname = expr.getClassName(); in atCastExpr()
147 (ASTList)expr.oprand2()); in atCallExpr()
151 atCflow((ASTList)expr.oprand2()); in atCallExpr()
161 protected void atCflow(ASTList cname) throws CompileError { in atCflow()
170 public boolean isParamListName(ASTList args) { in isParamListName()
181 public int getMethodArgsLength(ASTList args) { in getMethodArgsLength()
199 public void atMethodArgs(ASTList args, int[] types, int[] dims, in atMethodArgs()
235 ASTList args) in compileInvokeSpecial()
DProceedHandler.java19 import javassist.compiler.ast.ASTList;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError; in doit()
29 void setReturnType(JvstTypeChecker c, ASTList args) throws CompileError; in setReturnType()
DMemberCodeGen.java194 ASTList catchList = (ASTList)st.getRight().getLeft(); in atTryStmnt()
297 ASTList args = expr.getArguments(); in atNewExpr()
312 ASTList size = expr.getArraySize(); in atNewArrayExpr()
313 ASTList classname = expr.getClassName(); in atNewArrayExpr()
388 ASTList list = init; in atNewArrayExpr2()
419 protected void atMultiNewArray(int type, ASTList classname, ASTList size) in atMultiNewArray()
452 ASTList args = (ASTList)expr.oprand2(); in atCallExpr()
538 ASTList args, boolean isStatic, boolean isSpecial, in atMethodCallCore()
710 public int getMethodArgsLength(ASTList args) { in getMethodArgsLength()
711 return ASTList.length(args); in getMethodArgsLength()
[all …]
DTypeChecker.java130 protected String resolveClassName(ASTList name) throws CompileError { in resolveClassName()
147 ASTList args = expr.getArguments(); in atNewExpr()
157 ASTList size = expr.getArraySize(); in atNewArrayExpr()
158 ASTList classname = expr.getClassName(); in atNewArrayExpr()
180 ASTList list = init; in atArrayInit()
189 protected void atMultiNewArray(int type, ASTList classname, ASTList size) in atMultiNewArray()
378 ASTList sbufClass = ASTList.make(new Symbol("java"), in atPlusExpr()
491 new ASTList(arg)); in makeAppendCall()
629 ASTList args = (ASTList)expr.oprand2(); in atCallExpr()
695 String mname, ASTList args) in atMethodCallCore()
[all …]
DJavac.java89 ASTList mem = p.parseMember1(stable); in compile()
439 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordProceed()
451 public void setReturnType(JvstTypeChecker check, ASTList args) in recordProceed()
483 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordStaticProceed()
493 public void setReturnType(JvstTypeChecker check, ASTList args) in recordStaticProceed()
529 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordSpecialProceed()
535 public void setReturnType(JvstTypeChecker c, ASTList args) in recordSpecialProceed()
DJvstCodeGen.java161 ASTList classname = expr.getClassName(); in atCastExpr()
234 procHandler.doit(this, bytecode, (ASTList)expr.oprand2()); in atCallExpr()
238 atCflow((ASTList)expr.oprand2()); in atCallExpr()
248 protected void atCflow(ASTList cname) throws CompileError { in atCflow()
296 public boolean isParamListName(ASTList args) { in isParamListName()
316 public int getMethodArgsLength(ASTList args) { in getMethodArgsLength()
334 public void atMethodArgs(ASTList args, int[] types, int[] dims, in atMethodArgs()
397 ASTList args) in compileInvokeSpecial()
/external/javassist/src/main/javassist/expr/
DFieldAccess.java21 import javassist.compiler.ast.ASTList;
236 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
262 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
284 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
314 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
DInstanceof.java21 import javassist.compiler.ast.ASTList;
148 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
162 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
DCast.java21 import javassist.compiler.ast.ASTList;
144 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
158 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
DNewExpr.java21 import javassist.compiler.ast.ASTList;
229 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
240 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
DNewArray.java21 import javassist.compiler.ast.ASTList;
252 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
276 public void setReturnType(JvstTypeChecker c, ASTList args) in setReturnType()
/external/clang/tools/clang-check/
DClangCheck.cpp61 ASTList("ast-list", cl::desc(Options->getOptionHelpText(options::OPT_ast_list)), variable
139 if (ASTList) in newASTConsumer()

12