| Index: compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java (revision 8308)
|
| +++ compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java (working copy)
|
| @@ -13,6 +13,7 @@
|
| import com.google.dart.compiler.common.HasSourceInfoSetter;
|
| import com.google.dart.compiler.common.SourceInfo;
|
| import com.google.dart.compiler.metrics.CompilerMetrics;
|
| +import com.google.dart.compiler.parser.DartScanner.Location;
|
| import com.google.dart.compiler.parser.DartScanner.State;
|
|
|
| import java.util.ArrayDeque;
|
| @@ -163,6 +164,11 @@
|
| }
|
|
|
| @Override
|
| + public Location peekTokenLocation(int n) {
|
| + return scanner.peekTokenLocation(n);
|
| + }
|
| +
|
| + @Override
|
| public String peekTokenString(int steps) {
|
| return scanner.peekTokenValue(steps);
|
| }
|
|
|