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

Unified Diff: lib/compiler/implementation/js_backend/namer.dart

Issue 10970038: Convert raw strings in compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/js_backend/namer.dart
===================================================================
--- lib/compiler/implementation/js_backend/namer.dart (revision 12782)
+++ lib/compiler/implementation/js_backend/namer.dart (working copy)
@@ -30,12 +30,12 @@
shortPrivateNameOwners = new Map<String, LibraryElement>(),
constantNames = new Map<Constant, String>();
- final String CURRENT_ISOLATE = @'$';
+ final String CURRENT_ISOLATE = r'$';
final String ISOLATE = 'Isolate';
- final String ISOLATE_PROPERTIES = @"$isolateProperties";
+ final String ISOLATE_PROPERTIES = r"$isolateProperties";
/** Some closures must contain their name. The name is stored in
* [STATIC_CLOSURE_NAME_NAME]. */
- final String STATIC_CLOSURE_NAME_NAME = @'$name';
+ final String STATIC_CLOSURE_NAME_NAME = r'$name';
static const SourceString CLOSURE_INVOCATION_NAME =
Compiler.CALL_OPERATOR_NAME;
@@ -131,7 +131,7 @@
StringBuffer buffer = new StringBuffer();
List<SourceString> names = selector.getOrderedNamedArguments();
for (SourceString argumentName in names) {
- buffer.add(@'$');
+ buffer.add(r'$');
argumentName.printOn(buffer);
}
return '${privateName(lib, name)}\$${selector.argumentCount}$buffer';
« no previous file with comments | « lib/compiler/implementation/js_backend/emitter.dart ('k') | lib/compiler/implementation/lib/interceptors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698