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

Side by Side Diff: pkg/compiler/lib/src/elements/entities.dart

Issue 2804993002: Extract ResolutionWorldBuilderBase from ElementResolutionWorldBuilder (Closed)
Patch Set: Fix. Created 3 years, 8 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/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/js_backend/mirrors_data.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 library entities; 5 library entities;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 8
9 /// Abstract interface for entities. 9 /// Abstract interface for entities.
10 /// 10 ///
(...skipping 23 matching lines...) Expand all
34 /// and/or Dart-in-JS classes. 34 /// and/or Dart-in-JS classes.
35 abstract class ClassEntity extends Entity { 35 abstract class ClassEntity extends Entity {
36 /// If this is a normal class, the enclosing library for this class. If this 36 /// If this is a normal class, the enclosing library for this class. If this
37 /// is a closure class, the enclosing class of the closure for which it was 37 /// is a closure class, the enclosing class of the closure for which it was
38 /// created. 38 /// created.
39 LibraryEntity get library; 39 LibraryEntity get library;
40 40
41 /// Whether this is a synthesized class for a closurized method or local 41 /// Whether this is a synthesized class for a closurized method or local
42 /// function. 42 /// function.
43 bool get isClosure; 43 bool get isClosure;
44
45 /// Whether this is an abstract class.
46 bool get isAbstract;
44 } 47 }
45 48
46 abstract class TypeVariableEntity extends Entity { 49 abstract class TypeVariableEntity extends Entity {
47 /// The class or generic method that declared this type variable. 50 /// The class or generic method that declared this type variable.
48 Entity get typeDeclaration; 51 Entity get typeDeclaration;
49 52
50 /// The index of this type variable in the type variables of its 53 /// The index of this type variable in the type variables of its
51 /// [typeDeclaration]. 54 /// [typeDeclaration].
52 int get index; 55 int get index;
53 } 56 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 Entity get executableContext; 147 Entity get executableContext;
145 148
146 /// The outermost member that contains this element. 149 /// The outermost member that contains this element.
147 /// 150 ///
148 /// For top level, static or instance members, the member context is the 151 /// For top level, static or instance members, the member context is the
149 /// element itself. For parameters, local variables and nested closures, the 152 /// element itself. For parameters, local variables and nested closures, the
150 /// member context is the top level, static or instance member in which it is 153 /// member context is the top level, static or instance member in which it is
151 /// defined. 154 /// defined.
152 MemberEntity get memberContext; 155 MemberEntity get memberContext;
153 } 156 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/js_backend/mirrors_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698