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

Side by Side Diff: pkg/kernel/lib/ast.dart

Issue 2669303002: Support for modular mixin resolution. (Closed)
Patch Set: Fix a bug Created 3 years, 10 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
« no previous file with comments | « pkg/kernel/lib/analyzer/loader.dart ('k') | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 /// ----------------------------------------------------------------------- 5 /// -----------------------------------------------------------------------
6 /// ERROR HANDLING 6 /// ERROR HANDLING
7 /// ----------------------------------------------------------------------- 7 /// -----------------------------------------------------------------------
8 /// 8 ///
9 /// As a rule of thumb, errors that can be detected statically are handled by 9 /// As a rule of thumb, errors that can be detected statically are handled by
10 /// the frontend, typically by translating the erroneous code into a 'throw' or 10 /// the frontend, typically by translating the erroneous code into a 'throw' or
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 Type, 267 Type,
268 268
269 /// All instance members of the class are present. 269 /// All instance members of the class are present.
270 /// 270 ///
271 /// All supertypes of this class are at [Hierarchy] level or higher. 271 /// All supertypes of this class are at [Hierarchy] level or higher.
272 /// 272 ///
273 /// This level exists so supertypes of a fully loaded class contain all the 273 /// This level exists so supertypes of a fully loaded class contain all the
274 /// members needed to detect override constraints. 274 /// members needed to detect override constraints.
275 Hierarchy, 275 Hierarchy,
276 276
277 /// All instance members of the class have their body loaded, and their
278 /// annotations are present.
279 ///
280 /// All supertypes of this class are at [Hierarchy] level or higher.
281 ///
282 /// If this class is a mixin application, then its mixin is loaded at [Mixin]
283 /// level or higher.
284 ///
285 /// This level exists so the contents of a mixin can be cloned into a
286 /// mixin application.
287 Mixin,
288
277 /// All members of the class are fully loaded and are in the correct order. 289 /// All members of the class are fully loaded and are in the correct order.
278 /// 290 ///
279 /// Annotations are present on classes and members. 291 /// Annotations are present on classes and members.
280 /// 292 ///
281 /// All supertypes of this class are at [Hierarchy] level or higher, 293 /// All supertypes of this class are at [Hierarchy] level or higher,
282 /// not necessarily at [Body] level. 294 /// not necessarily at [Body] level.
283 Body, 295 Body,
284 } 296 }
285 297
286 /// Declaration of a regular class or a mixin application. 298 /// Declaration of a regular class or a mixin application.
(...skipping 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 } 3680 }
3669 } 3681 }
3670 } 3682 }
3671 3683
3672 class Source { 3684 class Source {
3673 final List<int> lineStarts; 3685 final List<int> lineStarts;
3674 final String source; 3686 final String source;
3675 3687
3676 Source(this.lineStarts, this.source); 3688 Source(this.lineStarts, this.source);
3677 } 3689 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/analyzer/loader.dart ('k') | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698