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

Unified Diff: frog/tokenizer.dart

Issue 8545003: Parser fix for lambdas (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/parser.dart ('k') | tests/co19/co19-frog.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tokenizer.dart
diff --git a/frog/tokenizer.dart b/frog/tokenizer.dart
index ef3b85a0b3aa8857ecb7fdff5a19e9efc5cb5394..45ecc5bb7ec5d2ef42d96f6aad11a5e133305ab0 100644
--- a/frog/tokenizer.dart
+++ b/frog/tokenizer.dart
@@ -3,6 +3,13 @@
// BSD-style license that can be found in the LICENSE file.
// Generated by scripts/tokenizer_gen.py.
+
+/**
+ */
+interface TokenSource {
+ Token next();
+}
+
class InterpStack {
InterpStack next, previous;
final int quote;
@@ -26,7 +33,7 @@ class InterpStack {
* The base class for our tokenizer. The hand coded parts are in this file, with
* the generated parts in the subclass Tokenizer.
*/
-class TokenizerBase extends TokenizerHelpers {
+class TokenizerBase extends TokenizerHelpers implements TokenSource {
final SourceFile _source;
final bool _skipWhitespace;
String _text;
« no previous file with comments | « frog/parser.dart ('k') | tests/co19/co19-frog.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698