Uses of Class
javassist.compiler.ast.ASTree

Packages that use ASTree
javassist The Javassist Core API. 
javassist.compiler   
javassist.compiler.ast   
 

Uses of ASTree in javassist
 

Methods in javassist that return ASTree
protected  ASTree CtField.getInitAST()
           
 

Uses of ASTree in javassist.compiler
 

Methods in javassist.compiler that return ASTree
static ASTree TypeChecker.getConstantFieldValue(CtField f)
           
 ASTree NoFieldException.getExpr()
           
protected  ASTree Javac.CtFieldWithInit.getInitAST()
           
static ASTree Javac.parseExpr(java.lang.String src, SymbolTable st)
          Parsers an expression.
 ASTree Parser.parseExpression(SymbolTable tbl)
           
 

Methods in javassist.compiler with parameters of type ASTree
protected  void CodeGen.arrayAccess(ASTree array, ASTree index)
           
 void CodeGen.atArrayRead(ASTree array, ASTree index)
           
 void TypeChecker.atArrayRead(ASTree array, ASTree index)
           
protected  void CodeGen.atAssignCore(Expr expr, int op, ASTree right, int type, int dim, java.lang.String cname)
           
protected  void TypeChecker.atFieldAssign(Expr expr, int op, ASTree left, ASTree right)
           
protected  void JvstTypeChecker.atFieldAssign(Expr expr, int op, ASTree left, ASTree right)
           
protected  void JvstCodeGen.atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)
           
protected  void MemberCodeGen.atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)
           
protected abstract  void CodeGen.atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)
           
protected  void TypeChecker.atFieldPlusPlus(ASTree oprand)
           
protected  void MemberCodeGen.atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup)
           
protected abstract  void CodeGen.atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup)
           
protected  void MemberCodeGen.atFieldRead(ASTree expr)
           
protected abstract  void CodeGen.atFieldRead(ASTree expr)
           
protected  void CodeGen.atReturnStmnt2(ASTree result)
           
 boolean CodeGen.compileBooleanExpr(boolean branchIf, ASTree expr)
           
 void Javac.compileExpr(ASTree e)
          Compiles an exression.
 void CodeGen.compileExpr(ASTree expr)
           
 void CodeGen.doTypeCheck(ASTree expr)
           
protected  CtField TypeChecker.fieldAccess(ASTree expr)
           
protected  CtField MemberCodeGen.fieldAccess(ASTree expr, boolean acceptLength)
           
 CtField MemberResolver.lookupFieldByJvmName2(java.lang.String jvmClassName, Symbol fieldSym, ASTree expr)
          Only used by fieldAccess() in MemberCodeGen and TypeChecker.
protected  void Javac.CtFieldWithInit.setInit(ASTree i)
           
 

Constructors in javassist.compiler with parameters of type ASTree
NoFieldException(java.lang.String name, ASTree e)
           
 

Uses of ASTree in javassist.compiler.ast
 

Subclasses of ASTree in javassist.compiler.ast
 class ArrayInit
          Array initializer such as { 1, 2, 3 }.
 class AssignExpr
          Assignment expression.
 class ASTList
          A linked list.
 class BinExpr
          Binary expression.
 class CallExpr
          Method call expression.
 class CastExpr
          Cast expression.
 class CondExpr
          Conditional expression.
 class Declarator
          Variable declarator.
 class DoubleConst
          Double constant.
 class Expr
          Expression.
 class FieldDecl
           
 class InstanceOfExpr
          Instanceof expression.
 class IntConst
          Integer constant.
 class Keyword
          Keyword.
 class Member
          Member name.
 class MethodDecl
           
 class NewExpr
          New Expression.
 class Pair
          A node of a a binary tree.
 class Stmnt
          Statement.
 class StringL
          String literal.
 class Symbol
          Identifier.
 class Variable
          Variable.
 

Fields in javassist.compiler.ast declared as ASTree
protected  ASTree Pair.left
           
protected  ASTree Pair.right
           
 

Methods in javassist.compiler.ast that return ASTree
 ASTree IntConst.compute(int op, ASTree right)
           
 ASTree DoubleConst.compute(int op, ASTree right)
           
 ASTree CondExpr.condExpr()
           
 ASTree CondExpr.elseExpr()
           
 ASTree FieldDecl.getInit()
           
 ASTree Declarator.getInitializer()
           
 ASTree ASTree.getLeft()
           
 ASTree ASTList.getLeft()
           
 ASTree Pair.getLeft()
           
 ASTree CastExpr.getOprand()
           
 ASTree ASTree.getRight()
           
 ASTree ASTList.getRight()
           
 ASTree Pair.getRight()
           
 ASTree ASTList.head()
          Returns the car part of the list.
 ASTree Expr.oprand1()
           
 ASTree Expr.oprand2()
           
 ASTree CondExpr.thenExpr()
           
 

Methods in javassist.compiler.ast with parameters of type ASTree
static ASTList ASTList.append(ASTList a, ASTree b)
          Appends an object to a list.
 ASTree IntConst.compute(int op, ASTree right)
           
 ASTree DoubleConst.compute(int op, ASTree right)
           
static ASTList ASTList.make(ASTree e1, ASTree e2, ASTree e3)
           
static Expr Expr.make(int op, ASTree oprand1)
           
static Expr Expr.make(int op, ASTree oprand1, ASTree oprand2)
           
static Stmnt Stmnt.make(int op, ASTree oprand1, ASTree oprand2)
           
static Stmnt Stmnt.make(int op, ASTree op1, ASTree op2, ASTree op3)
           
 Declarator Declarator.make(Symbol sym, int dim, ASTree init)
           
static AssignExpr AssignExpr.makeAssign(int op, ASTree oprand1, ASTree oprand2)
           
static BinExpr BinExpr.makeBin(int op, ASTree oprand1, ASTree oprand2)
           
static CallExpr CallExpr.makeCall(ASTree target, ASTree args)
           
 void CondExpr.setCond(ASTree t)
           
 void CondExpr.setElse(ASTree t)
           
 void ASTList.setHead(ASTree _head)
           
 void ASTree.setLeft(ASTree _left)
           
 void ASTList.setLeft(ASTree _left)
           
 void Pair.setLeft(ASTree _left)
           
 void CastExpr.setOprand(ASTree t)
           
 void Expr.setOprand1(ASTree expr)
           
 void Expr.setOprand2(ASTree expr)
           
 void ASTree.setRight(ASTree _right)
           
 void ASTList.setRight(ASTree _right)
           
 void Pair.setRight(ASTree _right)
           
 void CondExpr.setThen(ASTree t)
           
 boolean ASTList.subst(ASTree newObj, ASTree oldObj)
          Substitutes newObj for oldObj in the list.
 

Constructors in javassist.compiler.ast with parameters of type ASTree
ArrayInit(ASTree firstElement)
           
ASTList(ASTree _head)
           
ASTList(ASTree _head, ASTList _tail)
           
CastExpr(ASTList className, int dim, ASTree expr)
           
CastExpr(int type, int dim, ASTree expr)
           
CondExpr(ASTree cond, ASTree thenp, ASTree elsep)
           
FieldDecl(ASTree _head, ASTList _tail)
           
InstanceOfExpr(ASTList className, int dim, ASTree expr)
           
InstanceOfExpr(int type, int dim, ASTree expr)
           
MethodDecl(ASTree _head, ASTList _tail)
           
Pair(ASTree _left, ASTree _right)
           
Stmnt(int op, ASTree _head)
           
Stmnt(int op, ASTree _head, ASTList _tail)
           
 



Copyright © 2011. All Rights Reserved.