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

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

Issue 1383503002: Add Resolution and Parsing interfaces for computeType, ensureResolved and parseNode. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add TODOs. Created 5 years, 2 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/native/enqueue.dart ('k') | pkg/compiler/lib/src/native/ssa.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 native; 5 library native;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common/registry.dart' show 9 import '../common/registry.dart' show
10 Registry; 10 Registry;
11 import '../common/resolution.dart' show
12 Parsing,
13 Resolution;
11 import '../compiler.dart' show 14 import '../compiler.dart' show
12 Compiler; 15 Compiler;
13 import '../constants/values.dart'; 16 import '../constants/values.dart';
14 import '../dart_types.dart'; 17 import '../dart_types.dart';
15 import '../diagnostics/diagnostic_listener.dart'; 18 import '../diagnostics/diagnostic_listener.dart';
16 import '../diagnostics/messages.dart' show 19 import '../diagnostics/messages.dart' show
17 MessageKind; 20 MessageKind;
18 import '../diagnostics/spannable.dart' show 21 import '../diagnostics/spannable.dart' show
19 NO_LOCATION_SPANNABLE, 22 NO_LOCATION_SPANNABLE,
20 Spannable; 23 Spannable;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 String quotedName = cls.nativeTagInfo; 88 String quotedName = cls.nativeTagInfo;
86 return quotedName.substring(1, quotedName.length - 1).split(','); 89 return quotedName.substring(1, quotedName.length - 1).split(',');
87 } 90 }
88 91
89 List<String> nativeTagsOfClass(ClassElement cls) { 92 List<String> nativeTagsOfClass(ClassElement cls) {
90 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList(); 93 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList();
91 } 94 }
92 95
93 bool nativeTagsForcedNonLeaf(ClassElement cls) => 96 bool nativeTagsForcedNonLeaf(ClassElement cls) =>
94 nativeTagsOfClassRaw(cls).contains('!nonleaf'); 97 nativeTagsOfClassRaw(cls).contains('!nonleaf');
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/native/enqueue.dart ('k') | pkg/compiler/lib/src/native/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698