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

Side by Side Diff: runtime/vm/parser.h

Issue 10386107: Implement spawnUri from dart:isolate. This function allows us to (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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
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 VM_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void ParseClassDefinition(const GrowableObjectArray& pending_classes); 258 void ParseClassDefinition(const GrowableObjectArray& pending_classes);
259 void ParseInterfaceDefinition(const GrowableObjectArray& pending_classes); 259 void ParseInterfaceDefinition(const GrowableObjectArray& pending_classes);
260 void ParseFunctionTypeAlias(const GrowableObjectArray& pending_classes); 260 void ParseFunctionTypeAlias(const GrowableObjectArray& pending_classes);
261 void ParseTopLevelVariable(TopLevel* top_level); 261 void ParseTopLevelVariable(TopLevel* top_level);
262 void ParseTopLevelFunction(TopLevel* top_level); 262 void ParseTopLevelFunction(TopLevel* top_level);
263 void ParseTopLevelAccessor(TopLevel* top_level); 263 void ParseTopLevelAccessor(TopLevel* top_level);
264 264
265 // Support for parsing libraries. 265 // Support for parsing libraries.
266 Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag, 266 Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag,
267 intptr_t token_pos, 267 intptr_t token_pos,
268 const String& url, 268 const String& url);
269 const Array& import_map);
270 void ParseLibraryDefinition(); 269 void ParseLibraryDefinition();
271 void ParseLibraryName(); 270 void ParseLibraryName();
272 void ParseLibraryImport(); 271 void ParseLibraryImport();
273 void ParseLibraryInclude(); 272 void ParseLibraryInclude();
274 void ParseLibraryResource(); 273 void ParseLibraryResource();
275 274
276 void ResolveTypeFromClass(const Class& cls, 275 void ResolveTypeFromClass(const Class& cls,
277 ClassFinalizer::FinalizationKind finalization, 276 ClassFinalizer::FinalizationKind finalization,
278 AbstractType* type); 277 AbstractType* type);
279 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); 278 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization);
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 519
521 // Allocate temporary only once per function. 520 // Allocate temporary only once per function.
522 LocalVariable* expression_temp_; 521 LocalVariable* expression_temp_;
523 522
524 DISALLOW_COPY_AND_ASSIGN(Parser); 523 DISALLOW_COPY_AND_ASSIGN(Parser);
525 }; 524 };
526 525
527 } // namespace dart 526 } // namespace dart
528 527
529 #endif // VM_PARSER_H_ 528 #endif // VM_PARSER_H_
OLDNEW
« runtime/lib/isolate.cc ('K') | « runtime/vm/object_store.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698