Chromium Code Reviews| Index: src/scanner.h |
| diff --git a/src/scanner.h b/src/scanner.h |
| index 037da5b1739a302cbdda71ce50e82a3055c0d712..e8b2de0ccf362ff450b9d248129d5f9a0fb453c2 100644 |
| --- a/src/scanner.h |
| +++ b/src/scanner.h |
| @@ -22,6 +22,8 @@ namespace internal { |
| class ParserRecorder; |
| +class ParserSymbol; |
| +class ParserSymbolTable; |
| // Returns the value (0 .. 15) of a hexadecimal character c. |
| @@ -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); |
| + ParserSymbol* CurrentString(ParserSymbolTable* symbol_table); |
|
rossberg
2014/05/08 12:52:08
CurrentSymbol?
marja
2014/06/03 08:48:20
Done.
|
| + ParserSymbol* NextString(ParserSymbolTable* symbol_table); |
|
rossberg
2014/05/08 12:52:08
NextSymbol?
marja
2014/06/03 08:48:20
Done.
|
| double DoubleValue(); |
| bool UnescapedLiteralMatches(const char* data, int length) { |