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

Side by Side Diff: frog/tokenizer.g.dart

Issue 8457007: Better runtime type checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged, and fix typo in member name 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 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 // Generated by ./scripts/tokenizer_gen.py. 4 // Generated by scripts/tokenizer_gen.py.
5 5
6 6
7 /** A generated file that extends the hand coded methods in TokenizerBase. */ 7 /** A generated file that extends the hand coded methods in TokenizerBase. */
8 class Tokenizer extends TokenizerBase { 8 class Tokenizer extends TokenizerBase {
9 9
10 Tokenizer(SourceFile source, bool skipWhitespace, [int index = 0]) 10 Tokenizer(SourceFile source, bool skipWhitespace, [int index = 0])
11 : super(source, skipWhitespace, index); 11 : super(source, skipWhitespace, index);
12 12
13 Token next() { 13 Token next() {
14 // keep track of our starting position 14 // keep track of our starting position
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 static bool isWhitespace(int c) { 388 static bool isWhitespace(int c) {
389 return (c == 32/*' '*/ || c == 9/*'\t'*/ || c == 10/*'\n'*/ || c == 13/*'\r' */); 389 return (c == 32/*' '*/ || c == 9/*'\t'*/ || c == 10/*'\n'*/ || c == 13/*'\r' */);
390 } 390 }
391 391
392 static bool isIdentifierPart(int c) { 392 static bool isIdentifierPart(int c) {
393 return (isIdentifierStart(c) || isDigit(c)); 393 return (isIdentifierStart(c) || isDigit(c));
394 } 394 }
395 395
396 396
397 } 397 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698