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

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

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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 '../common.dart'; 7 import '../common.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../elements/resolution_types.dart'; 9 import '../elements/resolution_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 /// 323 ///
324 /// For instance: 324 /// For instance:
325 /// 325 ///
326 /// m(receiver) { 326 /// m(receiver) {
327 /// receiver.foo(null, 42); 327 /// receiver.foo(null, 42);
328 /// } 328 /// }
329 /// 329 ///
330 R visitDynamicPropertyInvoke( 330 R visitDynamicPropertyInvoke(
331 Send node, Node receiver, NodeList arguments, Selector selector, A arg); 331 Send node, Node receiver, NodeList arguments, Selector selector, A arg);
332 332
333 /// Conditinal invocation of the property defined by [selector] on [receiver] 333 /// Conditional invocation of the property defined by [selector] on [receiver]
334 /// with [arguments], if [receiver] is not null. 334 /// with [arguments], if [receiver] is not null.
335 /// 335 ///
336 /// For instance: 336 /// For instance:
337 /// 337 ///
338 /// m(receiver) { 338 /// m(receiver) {
339 /// receiver?.foo(null, 42); 339 /// receiver?.foo(null, 42);
340 /// } 340 /// }
341 /// 341 ///
342 R visitIfNotNullDynamicPropertyInvoke( 342 R visitIfNotNullDynamicPropertyInvoke(
343 Send node, Node receiver, NodeList arguments, Selector selector, A arg); 343 Send node, Node receiver, NodeList arguments, Selector selector, A arg);
(...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 /// 2194 ///
2195 /// For instance: 2195 /// For instance:
2196 /// 2196 ///
2197 /// import 'foo.dart' as p; 2197 /// import 'foo.dart' as p;
2198 /// 2198 ///
2199 /// m() => p ??= 42; 2199 /// m() => p ??= 42;
2200 /// 2200 ///
2201 R errorInvalidSetIfNull(Send node, ErroneousElement error, Node rhs, A arg); 2201 R errorInvalidSetIfNull(Send node, ErroneousElement error, Node rhs, A arg);
2202 2202
2203 /// If-null assignment expression of [rhs] to the class type literal 2203 /// If-null assignment expression of [rhs] to the class type literal
2204 /// [contant]. That is, [rhs] is only evaluated and assigned, if the value 2204 /// [constant]. That is, [rhs] is only evaluated and assigned, if the value
2205 /// is of the [constant] is `null`. The behavior is thus equivalent to a type 2205 /// is of the [constant] is `null`. The behavior is thus equivalent to a type
2206 /// literal access. 2206 /// literal access.
2207 /// 2207 ///
2208 /// For instance: 2208 /// For instance:
2209 /// 2209 ///
2210 /// class C {} 2210 /// class C {}
2211 /// m(rhs) => C ??= rhs; 2211 /// m(rhs) => C ??= rhs;
2212 /// 2212 ///
2213 R visitClassTypeLiteralSetIfNull( 2213 R visitClassTypeLiteralSetIfNull(
2214 Send node, ConstantExpression constant, Node rhs, A arg); 2214 Send node, ConstantExpression constant, Node rhs, A arg);
(...skipping 2496 matching lines...) Expand 10 before | Expand all | Expand 10 after
4711 /// 4711 ///
4712 /// For instance `this._(42)` in: 4712 /// For instance `this._(42)` in:
4713 /// 4713 ///
4714 /// class C { 4714 /// class C {
4715 /// C() : this._(42); 4715 /// C() : this._(42);
4716 /// } 4716 /// }
4717 /// 4717 ///
4718 R errorUnresolvedThisConstructorInvoke( 4718 R errorUnresolvedThisConstructorInvoke(
4719 Send node, Element element, NodeList arguments, Selector selector, A arg); 4719 Send node, Element element, NodeList arguments, Selector selector, A arg);
4720 } 4720 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/mirrors_used.dart ('k') | pkg/dart_messages/lib/generated/shared_messages.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698