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

Unified Diff: runtime/vm/scanner.h

Issue 316253003: Scanner cleanups: use isolates to allocate handles and zone objects (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months 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 | runtime/vm/scanner.cc » ('j') | runtime/vm/scanner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scanner.h
===================================================================
--- runtime/vm/scanner.h (revision 37052)
+++ runtime/vm/scanner.h (working copy)
@@ -18,6 +18,7 @@
class Array;
class Library;
class RawString;
+class ScanContext;
class String;
// A call to Scan() scans the source one token at at time.
@@ -87,15 +88,10 @@
const String** value);
private:
+ friend class ScanContext;
+
static const int kNumLowercaseChars = 26;
- struct ScanContext {
- ScanContext* next;
- char string_delimiter;
- bool string_is_multiline;
- int brace_level;
- };
-
struct KeywordTable {
Token::Kind kind;
const char* keyword_chars;
« no previous file with comments | « no previous file | runtime/vm/scanner.cc » ('j') | runtime/vm/scanner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698