Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: pkg/compiler/lib/src/resolution/semantic_visitor.dart

Issue 1149403009: Refactoring resolution of local access and unqualified access of statics (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix after rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.semantics_visitor; 5 library dart2js.semantics_visitor;
6 6
7 import '../constants/expressions.dart'; 7 import '../constants/expressions.dart';
8 import '../dart2jslib.dart' show invariant, MessageKind; 8 import '../dart2jslib.dart' show invariant, MessageKind;
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 /// return o(null, 42); 280 /// return o(null, 42);
281 /// } 281 /// }
282 /// 282 ///
283 R visitLocalFunctionInvoke( 283 R visitLocalFunctionInvoke(
284 Send node, 284 Send node,
285 LocalFunctionElement function, 285 LocalFunctionElement function,
286 NodeList arguments, 286 NodeList arguments,
287 CallStructure callStructure, 287 CallStructure callStructure,
288 A arg); 288 A arg);
289 289
290 /// Invocation of the local [function] with incompatible [arguments].
291 ///
292 /// For instance:
293 /// m() {
294 /// o(a) {}
295 /// return o(null, 42);
296 /// }
297 ///
298 R visitLocalFunctionIncompatibleInvoke(
299 Send node,
300 LocalFunctionElement function,
301 NodeList arguments,
302 CallStructure callStructure,
303 A arg);
304
290 /// Getter call on [receiver] of the property defined by [selector]. 305 /// Getter call on [receiver] of the property defined by [selector].
291 /// 306 ///
292 /// For instance 307 /// For instance
293 /// m(receiver) => receiver.foo; 308 /// m(receiver) => receiver.foo;
294 /// 309 ///
295 R visitDynamicPropertyGet( 310 R visitDynamicPropertyGet(
296 Send node, 311 Send node,
297 Node receiver, 312 Node receiver,
298 Selector selector, 313 Selector selector,
299 A arg); 314 A arg);
(...skipping 4305 matching lines...) Expand 10 before | Expand all | Expand 10 after
4605 /// C() : this._(42); 4620 /// C() : this._(42);
4606 /// } 4621 /// }
4607 /// 4622 ///
4608 R errorUnresolvedThisConstructorInvoke( 4623 R errorUnresolvedThisConstructorInvoke(
4609 Send node, 4624 Send node,
4610 Element element, 4625 Element element,
4611 NodeList arguments, 4626 NodeList arguments,
4612 Selector selector, 4627 Selector selector,
4613 A arg); 4628 A arg);
4614 } 4629 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution_common.dart ('k') | pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698