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

Unified Diff: src/scanner.h

Issue 5188009: Merge preparser Scanner with main JavaScript scanner. (Closed)
Patch Set: Address review. Fix thinko in keyword matcher. Created 10 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 | « src/prescanner.h ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index daf39219839117ff596f1b9bd46054e8f667e599..acb9b47bd99cf9c3f848d4fdf7d74a3dc05da6b8 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -108,11 +108,13 @@ class V8JavaScriptScanner : public JavaScriptScanner {
Token::Value NextCheckStack();
// Initialize the Scanner to scan source.
- void Initialize(Handle<String> source);
+ void Initialize(Handle<String> source, int literal_flags = kAllLiterals);
void Initialize(Handle<String> source,
- unibrow::CharacterStream* stream);
+ unibrow::CharacterStream* stream,
+ int literal_flags = kAllLiterals);
void Initialize(Handle<String> source,
- int start_position, int end_position);
+ int start_position, int end_position,
+ int literal_flags = kAllLiterals);
protected:
StreamInitializer stream_initializer_;
« no previous file with comments | « src/prescanner.h ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698