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

Side by Side Diff: utils/template/tokenizer_base.dart

Issue 10915231: Changed interfaces to abstract classes in utils. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « utils/pub/version_solver.dart ('k') | utils/tests/string_encoding/dunit.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) 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 // Generated by scripts/tokenizer_gen.py. 4 // Generated by scripts/tokenizer_gen.py.
5 5
6 6
7 interface TokenSource { 7 abstract class TokenSource {
8 Token next(); 8 Token next();
9 } 9 }
10 10
11 class InterpStack { 11 class InterpStack {
12 InterpStack next, previous; 12 InterpStack next, previous;
13 final int quote; 13 final int quote;
14 final bool isMultiline; 14 final bool isMultiline;
15 int depth; 15 int depth;
16 16
17 InterpStack(this.previous, this.quote, this.isMultiline): depth = -1; 17 InterpStack(this.previous, this.quote, this.isMultiline): depth = -1;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 } 456 }
457 int kind = getIdentifierKind(); 457 int kind = getIdentifierKind();
458 if (kind == TokenKind.IDENTIFIER) { 458 if (kind == TokenKind.IDENTIFIER) {
459 return _finishToken(TokenKind.IDENTIFIER); 459 return _finishToken(TokenKind.IDENTIFIER);
460 } else { 460 } else {
461 return _finishToken(kind); 461 return _finishToken(kind);
462 } 462 }
463 } 463 }
464 } 464 }
465 465
OLDNEW
« no previous file with comments | « utils/pub/version_solver.dart ('k') | utils/tests/string_encoding/dunit.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698