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

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

Issue 1313893004: Move isPrivateName and isPublicName to Name. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 '../compiler.dart' show 7 import '../compiler.dart' show
8 Compiler, 8 Compiler;
9 isPrivateName;
10 import '../constants/constructors.dart'; 9 import '../constants/constructors.dart';
11 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
12 import '../dart_types.dart'; 11 import '../dart_types.dart';
13 import '../diagnostics/diagnostic_listener.dart'; 12 import '../diagnostics/diagnostic_listener.dart';
14 import '../diagnostics/messages.dart' show 13 import '../diagnostics/messages.dart' show
15 MessageKind; 14 MessageKind;
16 import '../diagnostics/source_span.dart' show 15 import '../diagnostics/source_span.dart' show
17 SourceSpan; 16 SourceSpan;
18 import '../diagnostics/spannable.dart' show 17 import '../diagnostics/spannable.dart' show
19 Spannable; 18 Spannable;
20 import '../resolution/scope.dart' show 19 import '../resolution/scope.dart' show
21 Scope; 20 Scope;
22 import '../resolution/tree_elements.dart' show 21 import '../resolution/tree_elements.dart' show
23 TreeElements; 22 TreeElements;
24 import '../ordered_typeset.dart' show OrderedTypeSet; 23 import '../ordered_typeset.dart' show OrderedTypeSet;
25 import '../scanner/scannerlib.dart' show 24 import '../scanner/scannerlib.dart' show
26 Token, 25 Token,
27 isUserDefinableOperator, 26 isUserDefinableOperator,
28 isMinusOperator; 27 isMinusOperator;
29 import '../script.dart'; 28 import '../script.dart';
30 import '../tree/tree.dart'; 29 import '../tree/tree.dart';
30 import '../util/characters.dart' show $_;
31 import '../util/util.dart'; 31 import '../util/util.dart';
32 32
33 import 'visitor.dart' show ElementVisitor; 33 import 'visitor.dart' show ElementVisitor;
34 34
35 part 'names.dart'; 35 part 'names.dart';
36 36
37 const int STATE_NOT_STARTED = 0; 37 const int STATE_NOT_STARTED = 0;
38 const int STATE_STARTED = 1; 38 const int STATE_STARTED = 1;
39 const int STATE_DONE = 2; 39 const int STATE_DONE = 2;
40 40
(...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 bool get isDeclaredByField; 1653 bool get isDeclaredByField;
1654 1654
1655 /// Returns `true` if this member is abstract. 1655 /// Returns `true` if this member is abstract.
1656 bool get isAbstract; 1656 bool get isAbstract;
1657 1657
1658 /// If abstract, [implementation] points to the overridden concrete member, 1658 /// If abstract, [implementation] points to the overridden concrete member,
1659 /// if any. Otherwise [implementation] points to the member itself. 1659 /// if any. Otherwise [implementation] points to the member itself.
1660 Member get implementation; 1660 Member get implementation;
1661 } 1661 }
1662 1662
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