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

Unified Diff: runtime/vm/scanner.h

Issue 149643007: Small cleanup: move all library private key code to Library class (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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
Index: runtime/vm/scanner.h
===================================================================
--- runtime/vm/scanner.h (revision 32509)
+++ runtime/vm/scanner.h (working copy)
@@ -44,12 +44,6 @@
// Dummy token index reflecting an unknown source position.
static const intptr_t kNoSourcePos = 0;
- // Character used to indicate a private identifier.
- static const char kPrivateIdentifierStart = '_';
-
- // Character used to separate the private identifier from the key.
- static const char kPrivateKeySeparator = '@';
-
typedef ZoneGrowableArray<TokenDescriptor> GrowableTokenStream;
// Initializes scanner to scan string source.
@@ -80,9 +74,6 @@
static void InitOnce();
- // 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);
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698