Lines Matching defs:expr
291 public void atNewExpr(NewExpr expr) throws CompileError {
292 if (expr.isArray())
293 atNewArrayExpr(expr);
295 CtClass clazz = resolver.lookupClassByName(expr.getClassName());
297 ASTList args = expr.getArguments();
310 public void atNewArrayExpr(NewExpr expr) throws CompileError {
311 int type = expr.getArrayType();
312 ASTList size = expr.getArraySize();
313 ASTList classname = expr.getClassName();
314 ArrayInit init = expr.getInitializer();
448 public void atCallExpr(CallExpr expr) throws CompileError {
451 ASTree method = expr.oprand1();
452 ASTList args = (ASTList)expr.oprand2();
457 MemberResolver.Method cached = expr.getMethod();
774 protected void atFieldAssign(Expr expr, int op, ASTree left,
799 atAssignCore(expr, op, right, fType, fDim, cname);
852 protected void atFieldRead(ASTree expr) throws CompileError
854 CtField f = fieldAccess(expr, true);
856 atArrayLength(expr);
870 private void atArrayLength(ASTree expr) throws CompileError {
981 ASTree oprand, Expr expr, boolean doDup)
999 atPlusPlusCore(dup_code, doDup, token, isPost, expr);
1007 protected CtField fieldAccess(ASTree expr, boolean acceptLength)
1010 if (expr instanceof Member) {
1011 String name = ((Member)expr).get();
1018 throw new NoFieldException(name, expr);
1032 else if (expr instanceof Expr) {
1033 Expr e = (Expr)expr;
1058 return null; // expr is an array length.
1079 f = resolver.lookupFieldByJvmName2(cname, fname, expr);