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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart

Issue 11536004: Remove all warnings from dart2js and add a test to prevent introduction of new. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of scanner_implementation; 5 part of scanner_implementation;
6 6
7 abstract 7 abstract
8 class ArrayBasedScanner<S extends SourceString> extends AbstractScanner<S> { 8 class ArrayBasedScanner<S extends SourceString> extends AbstractScanner<S> {
9 int get charOffset => byteOffset + extraCharOffset; 9 int get charOffset => byteOffset + extraCharOffset;
10 final Token tokens; 10 final Token tokens;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 appendByteStringToken(COMMENT_INFO, value); 172 appendByteStringToken(COMMENT_INFO, value);
173 } 173 }
174 174
175 void discardOpenLt() { 175 void discardOpenLt() {
176 while (!groupingStack.isEmpty 176 while (!groupingStack.isEmpty
177 && identical(groupingStack.head.kind, LT_TOKEN)) { 177 && identical(groupingStack.head.kind, LT_TOKEN)) {
178 groupingStack = groupingStack.tail; 178 groupingStack = groupingStack.tail;
179 } 179 }
180 } 180 }
181 181
182 // TODO(ahe): make class abstract instead of adding an abstract method. 182 void unmatchedBeginGroup(BeginGroupToken begin);
183 peek();
184 } 183 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698