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

Unified Diff: include/dart_api.h

Issue 10911025: Get rid of support for string interpolation in #import strings. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « bin/main.cc ('k') | tests/vm/dart/import_map_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/dart_api.h
===================================================================
--- include/dart_api.h (revision 11672)
+++ include/dart_api.h (working copy)
@@ -2470,31 +2470,6 @@
DART_EXPORT Dart_Handle Dart_SetLibraryTagHandler(
Dart_LibraryTagHandler handler);
-/**
- * Sets the import map for the current isolate.
- *
- * The import map is a List of Strings, representing a set of (name,
- * value) pairs. The import map is used during the resolution of #
- * directives in source files to implement string interpolation.
- *
- * For example, if a source file imports:
- *
- * #import('${foo}/dart.html');
- *
- * And the import map is:
- *
- * [ "foo", "/home/user" ]
- *
- * Then the import would resolve to:
- *
- * #import('/home/user/dart.html');
- *
- * \param import_map A List of Strings interpreted as a String to
- * String mapping.
- * \return If no error occurs, the import map is set for the isolate.
- * Otherwise an error handle is returned.
- */
-DART_EXPORT Dart_Handle Dart_SetImportMap(Dart_Handle import_map);
/**
* Loads the root script for the current isolate.
« no previous file with comments | « bin/main.cc ('k') | tests/vm/dart/import_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698