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

Side by Side Diff: pkg/analyzer/lib/src/dart/scanner/scanner.dart

Issue 2795243002: fix fasta/analyzer KeywordToken.value() (Closed)
Patch Set: remove unused import Created 3 years, 8 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 | « no previous file | pkg/front_end/lib/src/fasta/scanner/token.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 analyzer.src.dart.scanner.scanner; 5 library analyzer.src.dart.scanner.scanner;
6 6
7 import 'package:analyzer/error/error.dart'; 7 import 'package:analyzer/error/error.dart';
8 import 'package:analyzer/error/listener.dart'; 8 import 'package:analyzer/error/listener.dart';
9 import 'package:analyzer/src/dart/error/syntactic_errors.dart'; 9 import 'package:analyzer/src/dart/error/syntactic_errors.dart';
10 import 'package:analyzer/src/dart/scanner/reader.dart'; 10 import 'package:analyzer/src/dart/scanner/reader.dart';
11 import 'package:analyzer/src/generated/source.dart'; 11 import 'package:analyzer/src/generated/source.dart';
12 import 'package:front_end/src/fasta/scanner.dart' as fasta; 12 import 'package:front_end/src/fasta/scanner.dart' as fasta;
13 import 'package:front_end/src/fasta/scanner/abstract_scanner.dart'
14 show fastaSupportsGenericMethodComments;
15 import 'package:front_end/src/fasta/scanner/precedence.dart' as fasta; 13 import 'package:front_end/src/fasta/scanner/precedence.dart' as fasta;
16 import 'package:front_end/src/scanner/errors.dart' show translateErrorToken; 14 import 'package:front_end/src/scanner/errors.dart' show translateErrorToken;
17 import 'package:front_end/src/scanner/scanner.dart' as fe; 15 import 'package:front_end/src/scanner/scanner.dart' as fe;
18 import 'package:front_end/src/scanner/token.dart' show Token; 16 import 'package:front_end/src/scanner/token.dart' show Token;
19 17
20 export 'package:analyzer/src/dart/error/syntactic_errors.dart'; 18 export 'package:analyzer/src/dart/error/syntactic_errors.dart';
21 export 'package:front_end/src/scanner/scanner.dart' show KeywordState; 19 export 'package:front_end/src/scanner/scanner.dart' show KeywordState;
22 20
23 /** 21 /**
24 * The class `Scanner` implements a scanner for Dart code. 22 * The class `Scanner` implements a scanner for Dart code.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 162 }
165 firstToken = token; 163 firstToken = token;
166 return firstToken; 164 return firstToken;
167 } 165 }
168 166
169 @override 167 @override
170 set preserveComments(bool preserveComments) { 168 set preserveComments(bool preserveComments) {
171 this._preserveComments = preserveComments; 169 this._preserveComments = preserveComments;
172 } 170 }
173 } 171 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/scanner/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698