OLD | NEW |
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 fasta.target_implementation; | 5 library fasta.target_implementation; |
6 | 6 |
7 import 'package:kernel/target/vm.dart' show VmTarget; | 7 import 'package:kernel/target/vm.dart' show VmTarget; |
8 | 8 |
9 import 'builder/builder.dart' show Builder, ClassBuilder, LibraryBuilder; | 9 import 'builder/builder.dart' show Builder, ClassBuilder, LibraryBuilder; |
10 | 10 |
11 import 'parser/dart_vm_native.dart' as vm show skipNativeClause; | 11 import 'parser/dart_vm_native.dart' as vm show skipNativeClause; |
12 | 12 |
13 import 'scanner/token.dart' show Token; | 13 import '../scanner/token.dart' show Token; |
14 | 14 |
15 import 'loader.dart' show Loader; | 15 import 'loader.dart' show Loader; |
16 | 16 |
17 import 'quote.dart' show unescapeString; | 17 import 'quote.dart' show unescapeString; |
18 | 18 |
19 import 'target.dart' show Target; | 19 import 'target.dart' show Target; |
20 | 20 |
21 import 'ticker.dart' show Ticker; | 21 import 'ticker.dart' show Ticker; |
22 | 22 |
23 import 'translate_uri.dart' show TranslateUri; | 23 import 'translate_uri.dart' show TranslateUri; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 85 } |
86 | 86 |
87 Token skipNativeClause(Token token) => vm.skipNativeClause(token); | 87 Token skipNativeClause(Token token) => vm.skipNativeClause(token); |
88 | 88 |
89 String extractNativeMethodName(Token token) => | 89 String extractNativeMethodName(Token token) => |
90 unescapeString(token.next.lexeme); | 90 unescapeString(token.next.lexeme); |
91 | 91 |
92 void addSourceInformation( | 92 void addSourceInformation( |
93 Uri uri, List<int> lineStarts, List<int> sourceCode); | 93 Uri uri, List<int> lineStarts, List<int> sourceCode); |
94 } | 94 } |
OLD | NEW |