/external/javassist/src/main/javassist/compiler/ast/ |
D | ASTList.java | 25 public class ASTList extends ASTree { 28 private ASTree left; 31 public ASTList(ASTree _head, ASTList _tail) { in ASTList() 36 public ASTList(ASTree _head) { in ASTList() 41 public static ASTList make(ASTree e1, ASTree e2, ASTree e3) { in make() 46 public ASTree getLeft() { return left; } in getLeft() 49 public ASTree getRight() { return right; } in getRight() 52 public void setLeft(ASTree _left) { left = _left; } in setLeft() 55 public void setRight(ASTree _right) { in setRight() 62 public ASTree head() { return left; } in head() [all …]
|
D | CondExpr.java | 28 public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) { in CondExpr() 32 public ASTree condExpr() { return head(); } in condExpr() 34 public void setCond(ASTree t) { setHead(t); } in setCond() 36 public ASTree thenExpr() { return tail().head(); } in thenExpr() 38 public void setThen(ASTree t) { tail().setHead(t); } in setThen() 40 public ASTree elseExpr() { return tail().tail().head(); } in elseExpr() 42 public void setElse(ASTree t) { tail().tail().setHead(t); } in setElse()
|
D | Expr.java | 36 Expr(int op, ASTree _head, ASTList _tail) { in Expr() 41 Expr(int op, ASTree _head) { in Expr() 46 public static Expr make(int op, ASTree oprand1, ASTree oprand2) { in make() 50 public static Expr make(int op, ASTree oprand1) { in make() 58 public ASTree oprand1() { return getLeft(); } in oprand1() 60 public void setOprand1(ASTree expr) { in setOprand1() 64 public ASTree oprand2() { return getRight().getLeft(); } in oprand2() 66 public void setOprand2(ASTree expr) { in setOprand2()
|
D | Pair.java | 25 public class Pair extends ASTree { 28 protected ASTree left, right; 30 public Pair(ASTree _left, ASTree _right) { in Pair() 50 public ASTree getLeft() { return left; } in getLeft() 53 public ASTree getRight() { return right; } in getRight() 56 public void setLeft(ASTree _left) { left = _left; } in setLeft() 59 public void setRight(ASTree _right) { right = _right; } in setRight()
|
D | Stmnt.java | 30 public Stmnt(int op, ASTree _head, ASTList _tail) { in Stmnt() 35 public Stmnt(int op, ASTree _head) { in Stmnt() 44 public static Stmnt make(int op, ASTree oprand1, ASTree oprand2) { in make() 48 public static Stmnt make(int op, ASTree op1, ASTree op2, ASTree op3) { in make()
|
D | ASTree.java | 28 public abstract class ASTree implements Serializable { class 32 public ASTree getLeft() { return null; } in getLeft() 34 public ASTree getRight() { return null; } in getRight() 36 public void setLeft(ASTree _left) {} in setLeft() 38 public void setRight(ASTree _right) {} in setRight()
|
D | CastExpr.java | 31 public CastExpr(ASTList className, int dim, ASTree expr) { in CastExpr() 37 public CastExpr(int type, int dim, ASTree expr) { in CastExpr() 51 public ASTree getOprand() { return getRight().getLeft(); } in getOprand() 53 public void setOprand(ASTree t) { getRight().setLeft(t); } in setOprand()
|
D | BinExpr.java | 36 private BinExpr(int op, ASTree _head, ASTList _tail) { in BinExpr() 40 public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2) { in makeBin()
|
D | AssignExpr.java | 32 private AssignExpr(int op, ASTree _head, ASTList _tail) { in AssignExpr() 36 public static AssignExpr makeAssign(int op, ASTree oprand1, in makeAssign() 37 ASTree oprand2) { in makeAssign()
|
D | CallExpr.java | 31 private CallExpr(ASTree _head, ASTList _tail) { in CallExpr() 44 public static CallExpr makeCall(ASTree target, ASTree args) { in makeCall()
|
D | DoubleConst.java | 25 public class DoubleConst extends ASTree { 49 public ASTree compute(int op, ASTree right) { in compute()
|
D | IntConst.java | 25 public class IntConst extends ASTree { 49 public ASTree compute(int op, ASTree right) { in compute()
|
D | Declarator.java | 62 public Declarator make(Symbol sym, int dim, ASTree init) { in make() 87 public ASTree getInitializer() { in getInitializer() 118 ASTree h = name.head(); in astToClassName()
|
D | FieldDecl.java | 25 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() 33 public ASTree getInit() { return sublist(2).head(); } in getInit()
|
D | InstanceOfExpr.java | 28 public InstanceOfExpr(ASTList className, int dim, ASTree expr) { in InstanceOfExpr() 32 public InstanceOfExpr(int type, int dim, ASTree expr) { in InstanceOfExpr()
|
D | ArrayInit.java | 28 public ArrayInit(ASTree firstElement) { in ArrayInit()
|
/external/javassist/src/main/javassist/compiler/ |
D | TypeChecker.java | 28 import javassist.compiler.ast.ASTree; 182 ASTree init = expr.getInitializer(); in atNewArrayExpr() 189 ASTree sizeExpr = size.head(); in atNewArrayExpr() 206 ASTree h = list.head(); in atArrayInit() 220 ASTree s = size.head(); in atMultiNewArray() 240 ASTree left = expr.oprand1(); in atAssignExpr() 241 ASTree right = expr.oprand2(); in atAssignExpr() 264 Declarator d, ASTree right) in atVariableAssign() 281 ASTree right) throws CompileError in atArrayAssign() 293 protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) in atFieldAssign() [all …]
|
D | Parser.java | 20 import javassist.compiler.ast.ASTree; 98 ASTree expr = null; in parseField() 323 ASTree expr = parseParExpression(tbl); in parseIf() 342 ASTree expr = parseParExpression(tbl); in parseWhile() 355 ASTree expr = parseExpression(tbl); in parseDo() 367 ASTree expr2; in parseFor() 412 ASTree expr = parseParExpression(tbl); in parseSwitch() 475 ASTree expr = parseExpression(tbl); in parseSynchronized() 536 ASTree expr = parseExpression(tbl); in parseThrow() 658 ASTree init = null; in parseDeclarator() [all …]
|
D | NoFieldException.java | 19 import javassist.compiler.ast.ASTree; 25 private ASTree expr; 29 public NoFieldException(String name, ASTree e) { in NoFieldException() 41 public ASTree getExpr() { return expr; } in getExpr()
|
D | JvstTypeChecker.java | 24 import javassist.compiler.ast.ASTree; 80 protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) in atFieldAssign() 102 ASTree p = classname.head(); in atCastExpr() 155 ASTree method = expr.oprand1(); in atCallExpr() 187 ASTree left = args.head(); in isParamListName() 199 ASTree a = args.head(); in getMethodArgsLength() 220 ASTree a = args.head(); in atMethodArgs() 248 void compileInvokeSpecial(ASTree target, String classname, in compileInvokeSpecial()
|
D | CodeGen.java | 26 import javassist.compiler.ast.ASTree; 252 public void compileExpr(ASTree expr) throws CompileError { in compileExpr() 257 public boolean compileBooleanExpr(boolean branchIf, ASTree expr) in compileBooleanExpr() 264 public void doTypeCheck(ASTree expr) throws CompileError { in doTypeCheck() 336 ASTree expr = body.head(); in needsSuperCall() 339 ASTree target = ((Expr)expr).head(); in needsSuperCall() 359 ASTree expr = st.getLeft(); in atStmnt() 378 ASTree h = list.head(); in atStmnt() 411 ASTree expr = st.head(); in atIfStmnt() 455 ASTree expr = st.head(); in atWhileStmnt() [all …]
|
D | Javac.java | 35 import javassist.compiler.ast.ASTree; 118 private ASTree init; 127 protected void setInit(ASTree i) { init = i; } in setInit() 130 protected ASTree getInitAST() { in getInitAST() 441 final ASTree texpr = p.parseExpression(stable); in recordProceed() 449 ASTree expr = new Member(m); in recordProceed() 462 ASTree expr = new Member(m); in recordProceed() 534 final ASTree texpr = p.parseExpression(stable); in recordSpecialProceed() 592 ASTree e = parseExpr(src, stable); in compileExpr() 599 public static ASTree parseExpr(String src, SymbolTable st) in parseExpr() [all …]
|
D | JvstCodeGen.java | 26 import javassist.compiler.ast.ASTree; 138 protected void atFieldAssign(Expr expr, int op, ASTree left, in atFieldAssign() 139 ASTree right, boolean doDup) throws CompileError in atFieldAssign() 180 ASTree p = classname.head(); in atCastExpr() 248 ASTree method = expr.oprand1(); in atCallExpr() 291 private static void makeCflowName(StringBuffer sbuf, ASTree name) in makeCflowName() 317 ASTree left = args.head(); in isParamListName() 338 ASTree a = args.head(); in getMethodArgsLength() 359 ASTree a = args.head(); in atMethodArgs() 414 void compileInvokeSpecial(ASTree target, int methodIndex, in compileInvokeSpecial() [all …]
|
D | MemberCodeGen.java | 37 import javassist.compiler.ast.ASTree; 355 ASTree sizeExpr = size.head(); in atNewArrayExpr() 359 private void atNewArrayExpr2(int type, ASTree sizeExpr, in atNewArrayExpr2() 457 ASTree s = size.head(); in atMultiNewArray() 484 ASTree method = expr.oprand1(); in atCallExpr() 522 ASTree target = e.oprand1(); in atCallExpr() 763 ASTree a = args.head(); in atMethodArgs() 820 protected void atFieldAssign(Expr expr, int op, ASTree left, in atFieldAssign() 821 ASTree right, boolean doDup) throws CompileError in atFieldAssign() 900 protected void atFieldRead(ASTree expr) throws CompileError in atFieldRead() [all …]
|
/external/javassist/src/main/javassist/ |
D | CtField.java | 33 import javassist.compiler.ast.ASTree; 139 protected ASTree getInitAST() { return null; } in getInitAST() 143 ASTree tree = getInitAST(); in getInit() 849 static Initializer byExpr(ASTree source) { in byExpr() 904 int getConstantValue2(ConstPool cp, CtClass type, ASTree tree) { in getConstantValue2() 946 ASTree t = Javac.parseExpr(expression, new SymbolTable()); in getConstantValue() 956 private ASTree expression; 958 PtreeInitializer(ASTree expr) { expression = expr; } in PtreeInitializer()
|