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

Unified Diff: frog/tokenizer.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 | « no previous file | frog/tokenizer.g.dart » ('j') | frog/tokenizer.g.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tokenizer.dart
===================================================================
--- frog/tokenizer.dart (revision 6666)
+++ frog/tokenizer.dart (working copy)
@@ -167,7 +167,7 @@
void eatDigits() {
while (_index < _text.length) {
- if (isDigit(_text.charCodeAt(_index))) {
+ if (TokenizerHelpers.isDigit(_text.charCodeAt(_index))) {
_index++;
} else {
return;
@@ -230,7 +230,7 @@
if (_peekChar() == 46/*.*/) {
// Handle the case of 1.toString().
_nextChar();
- if (isDigit(_peekChar())) {
+ if (TokenizerHelpers.isDigit(_peekChar())) {
eatDigits();
return finishNumberExtra(TokenKind.DOUBLE);
} else {
@@ -248,7 +248,7 @@
_maybeEatChar(43/*+*/);
eatDigits();
}
- if (_peekChar() != 0 && isIdentifierStart(_peekChar())) {
+ if (_peekChar() != 0 && TokenizerHelpers.isIdentifierStart(_peekChar())) {
_nextChar();
return _errorToken("illegal character in number");
}
@@ -443,7 +443,7 @@
}
Token finishDot() {
- if (isDigit(_peekChar())) {
+ if (TokenizerHelpers.isDigit(_peekChar())) {
eatDigits();
return finishNumberExtra(TokenKind.DOUBLE);
} else {
@@ -459,14 +459,14 @@
@"illegal character after $ in string interpolation");
}
while (_index < _text.length) {
- if (!isInterpIdentifierPart(_text.charCodeAt(_index++))) {
+ if (!TokenizerHelpers.isInterpIdentifierPart(_text.charCodeAt(_index++))) {
_index--;
break;
}
}
} else {
while (_index < _text.length) {
- if (!isIdentifierPart(_text.charCodeAt(_index++))) {
+ if (!TokenizerHelpers.isIdentifierPart(_text.charCodeAt(_index++))) {
_index--;
break;
}
« no previous file with comments | « no previous file | frog/tokenizer.g.dart » ('j') | frog/tokenizer.g.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698