/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | ParserActions.java | 83 void defineField(long where, ClassDefinition c, argument
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | AddExpression.java | 41 public AddExpression(long where, Expression left, Expression right) { argument 42 super(ADD, where, left, right); 68 return new IntExpression(where, a + b); 71 return new LongExpression(where, a + b); 74 return new FloatExpression(where, a + b); 77 return new DoubleExpression(where, a + b); 80 return new StringExpression(where, a + b); 94 return new StringExpression(where, buffer.toString()); 178 right = new StringExpression(right.where, "null"); 180 left = new StringExpression(left.where, "nul [all...] |
H A D | AndExpression.java | 43 public AndExpression(long where, Expression left, Expression right) { argument 44 super(AND, where, left, right); 78 return new BooleanExpression(where, a && b); 90 return new CommaExpression(where, left, right).simplify();
|
H A D | BinaryAssignExpression.java | 44 BinaryAssignExpression(int op, long where, Expression left, Expression right) { argument 45 super(op, where, left.type, left, right);
|
H A D | BooleanExpression.java | 46 public BooleanExpression(long where, boolean value) { argument 47 super(BOOLEANVAL, where, Type.tBoolean); 105 asm.add(where, opc_goto, lbl); 109 asm.add(where, opc_ldc, new Integer(value ? 1 : 0));
|
H A D | CatchStatement.java | 51 public CatchStatement(long where, Expression texpr, IdentifierToken id, Statement body) { argument 52 super(CATCH, where); 60 public CatchStatement(long where, Expression texpr, Identifier id, Statement body) { argument 61 super(CATCH, where); 77 env.error(where, "local.redefined", id); 83 env.error(where, "catch.not.throwable", type); 88 env.error(where, "catch.not.throwable", def); 92 field = new LocalMember(where, ctx.field.getClassDefinition(), mod, type, id); 98 env.error(where, "class.not.found", e.name, opNames[op]); 149 asm.add(where, opc_astor [all...] |
H A D | CommaExpression.java | 42 public CommaExpression(long where, Expression left, Expression right) { argument 43 super(COMMA, where, (right != null) ? right.type : Type.tVoid, left, right);
|
H A D | CompoundStatement.java | 46 public CompoundStatement(long where, Statement args[]) { argument 47 super(STAT, where); 52 args[i] = new CompoundStatement(where, new Statement[0]);
|
H A D | ConditionalExpression.java | 46 public ConditionalExpression(long where, Expression cond, Expression left, Expression right) { argument 47 super(COND, where, Type.tError, left, right); 148 cond = new NotExpression(where, cond); 199 asm.add(where, opc_goto, l2); 210 asm.add(where, opc_goto, l2);
|
H A D | ConvertExpression.java | 43 public ConvertExpression(long where, Type type, Expression right) { argument 44 super(CONVERT, where, type, right); 65 case TC_BYTE: return new ByteExpression(right.where, (byte)value); 66 case TC_CHAR: return new CharExpression(right.where, (char)value); 67 case TC_SHORT: return new ShortExpression(right.where, (short)value); 68 case TC_INT: return new IntExpression(right.where, (int)value); 69 case TC_LONG: return new LongExpression(right.where, (long)value); 70 case TC_FLOAT: return new FloatExpression(right.where, (float)value); 71 case TC_DOUBLE: return new DoubleExpression(right.where, (double)value); 78 case TC_BYTE: return new ByteExpression(right.where, (byt [all...] |
H A D | DeclarationStatement.java | 47 public DeclarationStatement(long where, int mod, Expression type, Statement args[]) { argument 48 super(DECLARATION, where); 59 env.error(where, "invalid.decl"); 64 env.error(where, "declaration.with.label", labels[0]);
|
H A D | DoStatement.java | 47 public DoStatement(long where, Statement body, Expression cond) { argument 48 super(DO, where);
|
H A D | ExprExpression.java | 44 public ExprExpression(long where, Expression right) { argument 45 super(EXPR, where, right.type, right);
|
H A D | ExpressionStatement.java | 45 public ExpressionStatement(long where, Expression expr) { argument 46 super(EXPRESSION, where);
|
H A D | FieldUpdater.java | 53 private long where; field in class:FieldUpdater 78 public FieldUpdater(long where, MemberDefinition field, argument 80 this.where = where; 106 return new FieldUpdater(where, field, base.copyInline(ctx), getter, setter); 135 asm.add(where, opc_dup); 138 asm.add(where, opc_dup_x1); 141 asm.add(where, opc_dup_x2); 149 asm.add(where, opc_dup2); 152 asm.add(where, opc_dup2_x [all...] |
H A D | FinallyStatement.java | 54 public FinallyStatement(long where, Statement body, Statement finalbody) { argument 55 super(FINALLY, where); 63 // public FinallyStatement(long where, Statement init, Statement body, int junk) { 64 // this(where, body, null); 82 long where = init.getWhere(); 93 env.error(where, "invalid.decl"); 97 tryExpr = new IdentifierExpression(where, field); 101 env.error(where, "invalid.expr"); 110 env.error(where, "invalid.method.invoke", type); 127 env.error(where, "clas [all...] |
H A D | ForStatement.java | 49 public ForStatement(long where, Statement init, Expression cond, Expression inc, Statement body) { argument 50 super(FOR, where); 102 return new CompoundStatement(where, body).inline(env, ctx); 168 asm.add(where, opc_goto, l2); 184 asm.add(where, opc_goto, l1);
|
H A D | IfStatement.java | 48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { argument 49 super(IF, where); 129 return eliminate(env, new ExpressionStatement(where, cond).inline(env, ctx)); 132 cond = new NotExpression(cond.where, cond).inlineValue(env, ctx); 133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); 178 asm.add(true, where, opc_goto, l2);
|
H A D | IncDecExpression.java | 45 public IncDecExpression(int op, long where, Expression right) { argument 46 super(op, where, right.type, right); 58 env.error(where, "invalid.arg.type", right.type, opNames[op]); 115 asm.add(where, opc_ldc, new Integer(1)); 116 asm.add(where, inc ? opc_iadd : opc_isub); 117 asm.add(where, opc_i2b); 120 asm.add(where, opc_ldc, new Integer(1)); 121 asm.add(where, inc ? opc_iadd : opc_isub); 122 asm.add(where, opc_i2s); 125 asm.add(where, opc_ld [all...] |
H A D | InstanceOfExpression.java | 44 public InstanceOfExpression(long where, Expression left, Expression right) { argument 45 super(INSTANCEOF, where, Type.tBoolean, left, right); 53 right = new TypeExpression(right.where, right.toType(env, ctx)); 61 env.error(right.where, "invalid.arg.type", right.type, opNames[op]); 66 env.error(where, "invalid.instanceof", left.type, right.type); 69 env.error(where, "class.not.found", e.name, opNames[op]); 111 asm.add(where, opc_instanceof, env.getClassDeclaration(right.type)); 113 asm.add(where, opc_instanceof, right.type); 118 asm.add(where, whenTrue ? opc_ifne : opc_ifeq, lbl, whenTrue);
|
H A D | NotExpression.java | 43 public NotExpression(long where, Expression right) { argument 44 super(NOT, where, Type.tBoolean, right); 81 return new BooleanExpression(where, !a); 114 return new NotEqualExpression(where, bin.left, bin.right); 116 return new EqualExpression(where, bin.left, bin.right); 118 return new GreaterOrEqualExpression(where, bin.left, bin.right); 120 return new GreaterExpression(where, bin.left, bin.right); 122 return new LessOrEqualExpression(where, bin.left, bin.right); 124 return new LessExpression(where, bin.left, bin.right); 142 asm.add(where, opc_ld [all...] |
H A D | OrExpression.java | 43 public OrExpression(long where, Expression left, Expression right) { argument 44 super(OR, where, left, right); 78 return new BooleanExpression(where, a || b); 96 return new CommaExpression(where, left, right).simplify();
|
H A D | ReturnStatement.java | 46 public ReturnStatement(long where, Expression expr) { argument 47 super(RETURN, where); 63 env.error(where, "return.inside.static.initializer"); 70 env.error(where, "return.with.value.constr", ctx.field); 72 env.error(where, "return.with.value", ctx.field); 78 env.error(where, "return.without.value", ctx.field); 147 new ExpressionStatement(where, e), 148 new InlineReturnStatement(where, null) 150 return new CompoundStatement(where, body); 152 return new InlineReturnStatement(where, [all...] |
H A D | SwitchStatement.java | 48 public SwitchStatement(long where, Expression expr, Statement args[]) { argument 49 super(SWITCH, where); 85 env.error(s.where, "duplicate.label", Ivalue); 100 env.error(s.where, "switch.overflow", 122 env.error(s.where, "const.expr.required"); 127 env.error(s.where, "duplicate.default"); 215 asm.add(where, opc_tableswitch, sw); 225 sw.addTableCase(((IntegerExpression)e).value, s.where); 230 sw.addTableDefault(s.where);
|
H A D | SynchronizedStatement.java | 50 public SynchronizedStatement(long where, Expression expr, Statement body) { argument 51 super(SYNCHRONIZED, where); 65 env.error(expr.where, "synchronized.null"); 126 LocalMember f1 = new LocalMember(where, clazz, 0, Type.tObject, null); 127 LocalMember f2 = new LocalMember(where, clazz, 0, Type.tInt, null); 137 asm.add(where, opc_astore, num1); 138 asm.add(where, opc_aload, num1); 139 asm.add(where, opc_monitorenter); 143 asm.add(where, opc_try, td); 147 asm.add(where, opc_no [all...] |