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

Unified Diff: vm/parser.h

Issue 9359009: Implement support for specifying string interopolation style variable substitution in the import ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 8 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: vm/parser.h
===================================================================
--- vm/parser.h (revision 3975)
+++ vm/parser.h (working copy)
@@ -209,7 +209,8 @@
// Support for parsing libraries.
Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag,
intptr_t token_pos,
- const String& url);
+ const String& url,
+ const Array& import_map);
void ParseLibraryDefinition();
void ParseLibraryName();
void ParseLibraryImport();
@@ -350,6 +351,7 @@
AstNode* ParsePostfixExpr();
AstNode* ParsePrimary();
AstNode* ParseStringLiteral();
+ String* ParseImportStringLiteral();
AstNode* ParseCompoundLiteral();
AstNode* ParseListLiteral(intptr_t type_pos,
bool is_const,
@@ -391,7 +393,8 @@
AstNode* ResolveIdentInLibraryScope(const Library& lib,
const QualIdent& qual_ident,
bool resolve_locally);
- AstNode* ResolveVarOrField(intptr_t ident_pos, const String &ident);
+ AstNode* ResolveVarOrField(intptr_t ident_pos, const String& ident);
+ RawString* ResolveImportVar(intptr_t ident_pos, const String& ident);
AstNode* OptimizeBinaryOpNode(intptr_t op_pos,
Token::Kind binary_op,
AstNode* lhs,

Powered by Google App Engine
This is Rietveld 408576698