Index: src/scanner.h |
diff --git a/src/scanner.h b/src/scanner.h |
index 2979082e3f152623527df8a69a4b2d177f592323..7d8b2ab4f222a428559b340f0cac1d16c872f714 100644 |
--- a/src/scanner.h |
+++ b/src/scanner.h |
@@ -21,6 +21,8 @@ namespace v8 { |
namespace internal { |
+class AstString; |
+class AstValueFactory; |
class ParserRecorder; |
@@ -376,9 +378,8 @@ class Scanner { |
return next_.literal_chars->is_contextual_keyword(keyword); |
} |
- Handle<String> AllocateNextLiteralString(Isolate* isolate, |
- PretenureFlag tenured); |
- Handle<String> AllocateInternalizedString(Isolate* isolate); |
+ const AstString* CurrentSymbol(AstValueFactory* ast_value_factory); |
+ const AstString* NextSymbol(AstValueFactory* ast_value_factory); |
double DoubleValue(); |
bool UnescapedLiteralMatches(const char* data, int length) { |