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

Side by Side Diff: pkg/front_end/lib/src/fasta/target_implementation.dart

Issue 2890523002: merge fasta.Token into analyzer.Token (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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/unhandled_listener.dart ('k') | pkg/front_end/lib/src/scanner/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698