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

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

Issue 2860753005: Make elements/names.dart its own library (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
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/elements/modelx.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 elements; 5 library elements;
6 6
7 import 'package:front_end/src/fasta/parser/async_modifier.dart' 7 import 'package:front_end/src/fasta/parser/async_modifier.dart'
8 show AsyncModifier; 8 show AsyncModifier;
9 9
10 import '../common.dart'; 10 import '../common.dart';
11 import '../common/resolution.dart' show Resolution; 11 import '../common/resolution.dart' show Resolution;
12 import '../constants/constructors.dart'; 12 import '../constants/constructors.dart';
13 import '../constants/expressions.dart'; 13 import '../constants/expressions.dart';
14 import '../common_elements.dart' show CommonElements; 14 import '../common_elements.dart' show CommonElements;
15 import '../ordered_typeset.dart' show OrderedTypeSet; 15 import '../ordered_typeset.dart' show OrderedTypeSet;
16 import '../resolution/scope.dart' show Scope; 16 import '../resolution/scope.dart' show Scope;
17 import '../resolution/tree_elements.dart' show TreeElements; 17 import '../resolution/tree_elements.dart' show TreeElements;
18 import '../script.dart'; 18 import '../script.dart';
19 import 'package:front_end/src/fasta/scanner.dart' 19 import 'package:front_end/src/fasta/scanner.dart'
20 show Token, isUserDefinableOperator, isMinusOperator; 20 show Token, isUserDefinableOperator, isMinusOperator;
21 import '../tree/tree.dart' hide AsyncModifier; 21 import '../tree/tree.dart' hide AsyncModifier;
22 import '../universe/call_structure.dart'; 22 import '../universe/call_structure.dart';
23 import 'package:front_end/src/fasta/scanner/characters.dart' show $_;
24 import '../util/util.dart'; 23 import '../util/util.dart';
25 import '../world.dart' show ClosedWorld; 24 import '../world.dart' show ClosedWorld;
26 import 'entities.dart'; 25 import 'entities.dart';
26 import 'names.dart';
27 import 'resolution_types.dart'; 27 import 'resolution_types.dart';
28 import 'types.dart'; 28 import 'types.dart';
29 import 'visitor.dart' show ElementVisitor; 29 import 'visitor.dart' show ElementVisitor;
30 30
31 part 'names.dart';
32
33 const int STATE_NOT_STARTED = 0; 31 const int STATE_NOT_STARTED = 0;
34 const int STATE_STARTED = 1; 32 const int STATE_STARTED = 1;
35 const int STATE_DONE = 2; 33 const int STATE_DONE = 2;
36 34
37 class ElementCategory { 35 class ElementCategory {
38 /** 36 /**
39 * Represents things that we don't expect to find when looking in a 37 * Represents things that we don't expect to find when looking in a
40 * scope. 38 * scope.
41 */ 39 */
42 static const int NONE = 0; 40 static const int NONE = 0;
(...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 /// by a field. 2032 /// by a field.
2035 bool get isDeclaredByField; 2033 bool get isDeclaredByField;
2036 2034
2037 /// Returns `true` if this member is abstract. 2035 /// Returns `true` if this member is abstract.
2038 bool get isAbstract; 2036 bool get isAbstract;
2039 2037
2040 /// If abstract, [implementation] points to the overridden concrete member, 2038 /// If abstract, [implementation] points to the overridden concrete member,
2041 /// if any. Otherwise [implementation] points to the member itself. 2039 /// if any. Otherwise [implementation] points to the member itself.
2042 Member get implementation; 2040 Member get implementation;
2043 } 2041 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698