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

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

Issue 2746043004: remove unused KeywordToken import (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | 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 fasta.scanner.abstract_scanner; 5 library fasta.scanner.abstract_scanner;
6 6
7 import 'dart:collection' show ListMixin; 7 import 'dart:collection' show ListMixin;
8 8
9 import 'dart:typed_data' show Uint16List, Uint32List; 9 import 'dart:typed_data' show Uint16List, Uint32List;
10 10
11 import '../scanner.dart' 11 import '../scanner.dart'
12 show ErrorToken, Scanner, buildUnexpectedCharacterToken; 12 show ErrorToken, Scanner, buildUnexpectedCharacterToken;
13 13
14 import 'error_token.dart' show UnmatchedToken, UnterminatedToken; 14 import 'error_token.dart' show UnmatchedToken, UnterminatedToken;
15 15
16 import 'keyword.dart' show KeywordState, Keyword; 16 import 'keyword.dart' show KeywordState, Keyword;
17 17
18 import 'precedence.dart'; 18 import 'precedence.dart';
19 19
20 import 'token.dart' show BeginGroupToken, KeywordToken, SymbolToken, Token; 20 import 'token.dart' show BeginGroupToken, SymbolToken, Token;
21 21
22 import 'token_constants.dart'; 22 import 'token_constants.dart';
23 23
24 import 'characters.dart'; 24 import 'characters.dart';
25 25
26 abstract class AbstractScanner implements Scanner { 26 abstract class AbstractScanner implements Scanner {
27 final bool includeComments; 27 final bool includeComments;
28 28
29 /** 29 /**
30 * The string offset for the next token that will be created. 30 * The string offset for the next token that will be created.
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 switchToUint32(newLength); 1241 switchToUint32(newLength);
1242 } 1242 }
1243 } 1243 }
1244 1244
1245 void switchToUint32(int newLength) { 1245 void switchToUint32(int newLength) {
1246 final newArray = new Uint32List(newLength); 1246 final newArray = new Uint32List(newLength);
1247 newArray.setRange(0, arrayLength, array); 1247 newArray.setRange(0, arrayLength, array);
1248 array = newArray; 1248 array = newArray;
1249 } 1249 }
1250 } 1250 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698