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

Side by Side Diff: pkg/compiler/lib/src/resolution/members.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
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 dart2js.resolution.members; 5 library dart2js.resolution.members;
6 6
7 import '../common/names.dart' show 7 import '../common/names.dart' show
8 Selectors; 8 Selectors;
9 import '../compiler.dart' show 9 import '../compiler.dart' show
10 Compiler, 10 Compiler;
11 isPrivateName;
12 import '../constants/constructors.dart' show 11 import '../constants/constructors.dart' show
13 RedirectingFactoryConstantConstructor; 12 RedirectingFactoryConstantConstructor;
14 import '../constants/expressions.dart'; 13 import '../constants/expressions.dart';
15 import '../constants/values.dart'; 14 import '../constants/values.dart';
16 import '../core_types.dart'; 15 import '../core_types.dart';
17 import '../dart_types.dart'; 16 import '../dart_types.dart';
18 import '../diagnostics/invariant.dart' show 17 import '../diagnostics/invariant.dart' show
19 invariant; 18 invariant;
20 import '../diagnostics/messages.dart' show 19 import '../diagnostics/messages.dart' show
21 MessageKind; 20 MessageKind;
(...skipping 4623 matching lines...) Expand 10 before | Expand all | Expand 10 after
4645 } 4644 }
4646 return const NoneResult(); 4645 return const NoneResult();
4647 } 4646 }
4648 } 4647 }
4649 4648
4650 /// Looks up [name] in [scope] and unwraps the result. 4649 /// Looks up [name] in [scope] and unwraps the result.
4651 Element lookupInScope(Compiler compiler, Node node, 4650 Element lookupInScope(Compiler compiler, Node node,
4652 Scope scope, String name) { 4651 Scope scope, String name) {
4653 return Elements.unwrap(scope.lookup(name), compiler, node); 4652 return Elements.unwrap(scope.lookup(name), compiler, node);
4654 } 4653 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/constructors.dart ('k') | pkg/compiler/lib/src/resolution/registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698