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

Unified Diff: frog/tokenizer.g.dart

Issue 10115005: Static members are not visible in subclasses (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/tokenizer.dart ('k') | lib/dartdoc/block_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tokenizer.g.dart
===================================================================
--- frog/tokenizer.g.dart (revision 6697)
+++ frog/tokenizer.g.dart (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Generated by scripts/tokenizer_gen.py.
@@ -225,9 +225,9 @@
return _finishToken(TokenKind.BIT_NOT);
}
default:
- if (isIdentifierStart(ch)) {
+ if (TokenizerHelpers.isIdentifierStart(ch)) {
return this.finishIdentifier(ch);
- } else if (isDigit(ch)) {
+ } else if (TokenizerHelpers.isDigit(ch)) {
return this.finishNumber();
} else {
return _errorToken();
@@ -397,7 +397,7 @@
/** Static helper methods. */
class TokenizerHelpers {
-
+
static bool isIdentifierStart(int c) {
return ((c >= 97/*a*/ && c <= 122/*z*/) || (c >= 65/*A*/ && c <= 90/*Z*/) || c == 95/*_*/);
}
« no previous file with comments | « frog/tokenizer.dart ('k') | lib/dartdoc/block_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698