/external/javassist/src/main/javassist/compiler/ast/ |
D | ASTList.java | 24 public class ASTList extends ASTree { 25 private ASTree left; 28 public ASTList(ASTree _head, ASTList _tail) { in ASTList() 33 public ASTList(ASTree _head) { in ASTList() 38 public static ASTList make(ASTree e1, ASTree e2, ASTree e3) { in make() 42 public ASTree getLeft() { return left; } in getLeft() 44 public ASTree getRight() { return right; } in getRight() 46 public void setLeft(ASTree _left) { left = _left; } in setLeft() 48 public void setRight(ASTree _right) { in setRight() 55 public ASTree head() { return left; } in head() [all …]
|
D | CondExpr.java | 24 public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) { in CondExpr() 28 public ASTree condExpr() { return head(); } in condExpr() 30 public void setCond(ASTree t) { setHead(t); } in setCond() 32 public ASTree thenExpr() { return tail().head(); } in thenExpr() 34 public void setThen(ASTree t) { tail().setHead(t); } in setThen() 36 public ASTree elseExpr() { return tail().tail().head(); } in elseExpr() 38 public void setElse(ASTree t) { tail().tail().setHead(t); } in setElse()
|
D | Expr.java | 33 Expr(int op, ASTree _head, ASTList _tail) { in Expr() 38 Expr(int op, ASTree _head) { in Expr() 43 public static Expr make(int op, ASTree oprand1, ASTree oprand2) { in make() 47 public static Expr make(int op, ASTree oprand1) { in make() 55 public ASTree oprand1() { return getLeft(); } in oprand1() 57 public void setOprand1(ASTree expr) { in setOprand1() 61 public ASTree oprand2() { return getRight().getLeft(); } in oprand2() 63 public void setOprand2(ASTree expr) { in setOprand2()
|
D | Pair.java | 24 public class Pair extends ASTree { 25 protected ASTree left, right; 27 public Pair(ASTree _left, ASTree _right) { in Pair() 44 public ASTree getLeft() { return left; } in getLeft() 46 public ASTree getRight() { return right; } in getRight() 48 public void setLeft(ASTree _left) { left = _left; } in setLeft() 50 public void setRight(ASTree _right) { right = _right; } in setRight()
|
D | Stmnt.java | 27 public Stmnt(int op, ASTree _head, ASTList _tail) { in Stmnt() 32 public Stmnt(int op, ASTree _head) { in Stmnt() 41 public static Stmnt make(int op, ASTree oprand1, ASTree oprand2) { in make() 45 public static Stmnt make(int op, ASTree op1, ASTree op2, ASTree op3) { in make()
|
D | ASTree.java | 26 public abstract class ASTree implements Serializable { class 27 public ASTree getLeft() { return null; } in getLeft() 29 public ASTree getRight() { return null; } in getRight() 31 public void setLeft(ASTree _left) {} in setLeft() 33 public void setRight(ASTree _right) {} in setRight()
|
D | CastExpr.java | 28 public CastExpr(ASTList className, int dim, ASTree expr) { in CastExpr() 34 public CastExpr(int type, int dim, ASTree expr) { in CastExpr() 48 public ASTree getOprand() { return getRight().getLeft(); } in getOprand() 50 public void setOprand(ASTree t) { getRight().setLeft(t); } in setOprand()
|
D | AssignExpr.java | 28 private AssignExpr(int op, ASTree _head, ASTList _tail) { in AssignExpr() 32 public static AssignExpr makeAssign(int op, ASTree oprand1, in makeAssign() 33 ASTree oprand2) { in makeAssign()
|
D | BinExpr.java | 32 private BinExpr(int op, ASTree _head, ASTList _tail) { in BinExpr() 36 public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2) { in makeBin()
|
D | FieldDecl.java | 21 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() 29 public ASTree getInit() { return (ASTree)sublist(2).head(); } in getInit()
|
D | CallExpr.java | 28 private CallExpr(ASTree _head, ASTList _tail) { in CallExpr() 41 public static CallExpr makeCall(ASTree target, ASTree args) { in makeCall()
|
D | DoubleConst.java | 24 public class DoubleConst extends ASTree { 44 public ASTree compute(int op, ASTree right) { in compute()
|
D | IntConst.java | 24 public class IntConst extends ASTree { 44 public ASTree compute(int op, ASTree right) { in compute()
|
D | Declarator.java | 59 public Declarator make(Symbol sym, int dim, ASTree init) { in make() 84 public ASTree getInitializer() { in getInitializer() 114 ASTree h = name.head(); in astToClassName()
|
D | InstanceOfExpr.java | 24 public InstanceOfExpr(ASTList className, int dim, ASTree expr) { in InstanceOfExpr() 28 public InstanceOfExpr(int type, int dim, ASTree expr) { in InstanceOfExpr()
|
D | ArrayInit.java | 24 public ArrayInit(ASTree firstElement) { in ArrayInit()
|
/external/javassist/src/main/javassist/compiler/ |
D | TypeChecker.java | 159 ASTree init = expr.getInitializer(); in atNewArrayExpr() 166 ASTree sizeExpr = size.head(); in atNewArrayExpr() 182 ASTree h = list.head(); in atArrayInit() 195 ASTree s = size.head(); in atMultiNewArray() 214 ASTree left = expr.oprand1(); in atAssignExpr() 215 ASTree right = expr.oprand2(); in atAssignExpr() 238 Declarator d, ASTree right) in atVariableAssign() 255 ASTree right) throws CompileError in atArrayAssign() 267 protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) in atFieldAssign() 324 ASTree left = expr.oprand1(); in atBinExpr() [all …]
|
D | Parser.java | 77 ASTree expr = null; in parseField() 305 ASTree expr = parseParExpression(tbl); in parseIf() 324 ASTree expr = parseParExpression(tbl); in parseWhile() 337 ASTree expr = parseExpression(tbl); in parseDo() 349 ASTree expr2; in parseFor() 394 ASTree expr = parseParExpression(tbl); in parseSwitch() 457 ASTree expr = parseExpression(tbl); in parseSynchronized() 518 ASTree expr = parseExpression(tbl); in parseThrow() 640 ASTree init = null; in parseDeclarator() 653 private ASTree parseInitializer(SymbolTable tbl) throws CompileError { in parseInitializer() [all …]
|
D | NoFieldException.java | 18 import javassist.compiler.ast.ASTree; 22 private ASTree expr; 26 public NoFieldException(String name, ASTree e) { in NoFieldException() 38 public ASTree getExpr() { return expr; } in getExpr()
|
D | JvstTypeChecker.java | 68 protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) in atFieldAssign() 89 ASTree p = classname.head(); in atCastExpr() 141 ASTree method = expr.oprand1(); in atCallExpr() 173 ASTree left = args.head(); in isParamListName() 185 ASTree a = args.head(); in getMethodArgsLength() 205 ASTree a = args.head(); in atMethodArgs() 233 void compileInvokeSpecial(ASTree target, String classname, in compileInvokeSpecial()
|
D | CodeGen.java | 227 public void compileExpr(ASTree expr) throws CompileError { in compileExpr() 232 public boolean compileBooleanExpr(boolean branchIf, ASTree expr) in compileBooleanExpr() 239 public void doTypeCheck(ASTree expr) throws CompileError { in doTypeCheck() 306 ASTree expr = body.head(); in needsSuperCall() 309 ASTree target = ((Expr)expr).head(); in needsSuperCall() 328 ASTree expr = st.getLeft(); in atStmnt() 347 ASTree h = list.head(); in atStmnt() 380 ASTree expr = st.head(); in atIfStmnt() 418 ASTree expr = st.head(); in atWhileStmnt() 462 ASTree expr = p.head(); in atForStmnt() [all …]
|
D | Javac.java | 111 private ASTree init; 120 protected void setInit(ASTree i) { init = i; } in setInit() 122 protected ASTree getInitAST() { in getInitAST() 435 final ASTree texpr = p.parseExpression(stable); in recordProceed() 442 ASTree expr = new Member(m); in recordProceed() 454 ASTree expr = new Member(m); in recordProceed() 523 final ASTree texpr = p.parseExpression(stable); in recordSpecialProceed() 582 ASTree e = parseExpr(src, stable); in compileExpr() 589 public static ASTree parseExpr(String src, SymbolTable st) in parseExpr() 605 public void compileExpr(ASTree e) throws CompileError { in compileExpr()
|
D | JvstCodeGen.java | 122 protected void atFieldAssign(Expr expr, int op, ASTree left, in atFieldAssign() 123 ASTree right, boolean doDup) throws CompileError in atFieldAssign() 163 ASTree p = classname.head(); in atCastExpr() 230 ASTree method = expr.oprand1(); in atCallExpr() 273 private static void makeCflowName(StringBuffer sbuf, ASTree name) in makeCflowName() 299 ASTree left = args.head(); in isParamListName() 320 ASTree a = args.head(); in getMethodArgsLength() 340 ASTree a = args.head(); in atMethodArgs() 395 void compileInvokeSpecial(ASTree target, String classname, in compileInvokeSpecial() 413 ASTree result = st.getLeft(); in atReturnStmnt()
|
D | MemberCodeGen.java | 325 ASTree sizeExpr = size.head(); in atNewArrayExpr() 329 private void atNewArrayExpr2(int type, ASTree sizeExpr, in atNewArrayExpr2() 425 ASTree s = size.head(); in atMultiNewArray() 451 ASTree method = expr.oprand1(); in atCallExpr() 490 ASTree target = e.oprand1(); in atCallExpr() 718 ASTree a = args.head(); in atMethodArgs() 774 protected void atFieldAssign(Expr expr, int op, ASTree left, in atFieldAssign() 775 ASTree right, boolean doDup) throws CompileError in atFieldAssign() 852 protected void atFieldRead(ASTree expr) throws CompileError in atFieldRead() 861 ASTree cexpr = TypeChecker.getConstantFieldValue(f); in atFieldRead() [all …]
|
/external/javassist/src/main/javassist/ |
D | CtField.java | 22 import javassist.compiler.ast.ASTree; 130 protected ASTree getInitAST() { return null; } in getInitAST() 135 ASTree tree = getInitAST(); in getInit() 804 static Initializer byExpr(ASTree source) { in byExpr() 857 int getConstantValue2(ConstPool cp, CtClass type, ASTree tree) { in getConstantValue2() 897 ASTree t = Javac.parseExpr(expression, new SymbolTable()); in getConstantValue() 907 private ASTree expression; 909 PtreeInitializer(ASTree expr) { expression = expr; } in PtreeInitializer()
|