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

Side by Side Diff: bin/dartutils.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « bin/builtin.cc ('k') | bin/dartutils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "platform/globals.h" 10 #include "platform/globals.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static bool IsDartSchemeURL(const char* url_name); 70 static bool IsDartSchemeURL(const char* url_name);
71 static bool IsDartIOLibURL(const char* url_name); 71 static bool IsDartIOLibURL(const char* url_name);
72 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping, 72 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping,
73 Dart_Handle library, 73 Dart_Handle library,
74 const char* url_str); 74 const char* url_str);
75 static Dart_Handle ReadStringFromFile(const char* filename); 75 static Dart_Handle ReadStringFromFile(const char* filename);
76 static Dart_Handle LoadSource(CommandLineOptions* url_mapping, 76 static Dart_Handle LoadSource(CommandLineOptions* url_mapping,
77 Dart_Handle library, 77 Dart_Handle library,
78 Dart_Handle url, 78 Dart_Handle url,
79 Dart_LibraryTag tag, 79 Dart_LibraryTag tag,
80 const char* filename); 80 const char* filename,
81 Dart_Handle import_map);
81 static bool PostNull(Dart_Port port_id); 82 static bool PostNull(Dart_Port port_id);
82 static bool PostInt32(Dart_Port port_id, int32_t value); 83 static bool PostInt32(Dart_Port port_id, int32_t value);
83 84
84 static const char* kDartScheme; 85 static const char* kDartScheme;
85 static const char* kBuiltinLibURL; 86 static const char* kBuiltinLibURL;
86 static const char* kCoreLibURL; 87 static const char* kCoreLibURL;
87 static const char* kCoreImplLibURL; 88 static const char* kCoreImplLibURL;
88 static const char* kIOLibURL; 89 static const char* kIOLibURL;
89 90
90 static const char* kIdFieldName; 91 static const char* kIdFieldName;
91 92
92 private: 93 private:
93 static const char* GetCanonicalPath(const char* reference_dir, 94 static const char* GetCanonicalPath(const char* reference_dir,
94 const char* filename); 95 const char* filename);
95 96
96 DISALLOW_ALLOCATION(); 97 DISALLOW_ALLOCATION();
97 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); 98 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils);
98 }; 99 };
99 100
100 #endif // BIN_DARTUTILS_H_ 101 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « bin/builtin.cc ('k') | bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698