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

Unified Diff: vm/scanner.h

Issue 8500006: Library prefix should be an identifier (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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 | « vm/parser.cc ('k') | vm/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/scanner.h
===================================================================
--- vm/scanner.h (revision 1719)
+++ vm/scanner.h (working copy)
@@ -79,6 +79,9 @@
// Allocated a private key which is used for name mangling.
static RawString* AllocatePrivateKey(const Library& library);
+ // Return true if str is an identifier.
+ static bool IsIdent(const String& str);
+
private:
struct ScanContext {
ScanContext* next;
« no previous file with comments | « vm/parser.cc ('k') | vm/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698