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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java

Issue 51043010: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename to getFirstToken(). Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Scanner.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java
index c8619571bbd1313f58a82584761062a9578c4758..696d19775630ea6f2202687a864933e1f5a33e8d 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/IncrementalScanner.java
@@ -66,6 +66,7 @@ public class IncrementalScanner extends Scanner {
*
* @return the first token in the range of new tokens
*/
+ @Override
public Token getFirstToken() {
return firstToken;
}
@@ -172,7 +173,7 @@ public class IncrementalScanner extends Scanner {
// tokens (because the end tokens have not been copied when we're copying the begin tokens).
// TODO(brianwilkerson) Update the lineInfo.
//
- return firstToken();
+ return super.getFirstToken();
}
private Token copyAndAdvance(Token originalToken, int delta) {
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Scanner.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698