Lines Matching refs:env

65     public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) {
66 vset = right.checkValue(env, ctx, vset, exp);
68 env.error(where, "array.index.required");
71 vset = index.checkValue(env, ctx, vset, exp);
72 index = convert(env, ctx, Type.tInt, index);
76 env.error(where, "not.array", right.type);
85 public Vset checkAmbigName(Environment env, Context ctx,
89 vset = right.checkAmbigName(env, ctx, vset, exp, this);
91 FieldExpression.reportFailedPackagePrefix(env, right);
102 env.error(where, "array.index.required");
105 return super.checkAmbigName(env, ctx, vset, exp, loc);
111 public Vset checkLHS(Environment env, Context ctx,
113 return checkValue(env, ctx, vset, exp);
119 public Vset checkAssignOp(Environment env, Context ctx,
121 return checkValue(env, ctx, vset, exp);
129 public FieldUpdater getAssigner(Environment env, Context ctx) {
136 public FieldUpdater getUpdater(Environment env, Context ctx) {
143 Type toType(Environment env, Context ctx) {
144 return toType(env, right.toType(env, ctx));
146 Type toType(Environment env, Type t) {
148 env.error(index.where, "array.dim.in.type");
156 public Expression inline(Environment env, Context ctx) {
161 right = right.inlineValue(env, ctx);
162 index = index.inlineValue(env, ctx);
165 public Expression inlineValue(Environment env, Context ctx) {
170 right = right.inlineValue(env, ctx);
171 index = index.inlineValue(env, ctx);
174 public Expression inlineLHS(Environment env, Context ctx) {
175 return inlineValue(env, ctx);
198 public int costInline(int thresh, Environment env, Context ctx) {
203 return 1 + right.costInline(thresh, env, ctx)
204 + index.costInline(thresh, env, ctx);
210 int codeLValue(Environment env, Context ctx, Assembler asm) {
215 right.codeValue(env, ctx, asm);
216 index.codeValue(env, ctx, asm);
219 void codeLoad(Environment env, Context ctx, Assembler asm) {
235 void codeStore(Environment env, Context ctx, Assembler asm) {
251 public void codeValue(Environment env, Context ctx, Assembler asm) {
252 codeLValue(env, ctx, asm);
253 codeLoad(env, ctx, asm);