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

Side by Side Diff: utils/css/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/archive/archive.dart ('k') | utils/css/tree.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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 int kind = getIdentifierKind(); 446 int kind = getIdentifierKind();
447 if (kind == TokenKind.IDENTIFIER) { 447 if (kind == TokenKind.IDENTIFIER) {
448 return _finishToken(TokenKind.IDENTIFIER); 448 return _finishToken(TokenKind.IDENTIFIER);
449 } else { 449 } else {
450 return _finishToken(kind); 450 return _finishToken(kind);
451 } 451 }
452 } 452 }
453 } 453 }
454 454
OLDNEW
« no previous file with comments | « utils/archive/archive.dart ('k') | utils/css/tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698