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

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

Issue 154733003: Access to imports in the VM's runtime mirrors. Extend test coverage of the source mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: sync Created 6 years, 9 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 | « runtime/vm/object.cc ('k') | runtime/vm/parser.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 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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 void ParseTopLevelAccessor(TopLevel* top_level, intptr_t metadata_pos); 339 void ParseTopLevelAccessor(TopLevel* top_level, intptr_t metadata_pos);
340 RawArray* EvaluateMetadata(); 340 RawArray* EvaluateMetadata();
341 341
342 // Support for parsing libraries. 342 // Support for parsing libraries.
343 RawObject* CallLibraryTagHandler(Dart_LibraryTag tag, 343 RawObject* CallLibraryTagHandler(Dart_LibraryTag tag,
344 intptr_t token_pos, 344 intptr_t token_pos,
345 const String& url); 345 const String& url);
346 void ParseIdentList(GrowableObjectArray* names); 346 void ParseIdentList(GrowableObjectArray* names);
347 void ParseLibraryDefinition(); 347 void ParseLibraryDefinition();
348 void ParseLibraryName(); 348 void ParseLibraryName();
349 void ParseLibraryImportExport(); 349 void ParseLibraryImportExport(intptr_t metadata_pos);
350 void ParseLibraryPart(); 350 void ParseLibraryPart();
351 void ParsePartHeader(); 351 void ParsePartHeader();
352 void ParseLibraryNameObsoleteSyntax(); 352 void ParseLibraryNameObsoleteSyntax();
353 void ParseLibraryImportObsoleteSyntax(); 353 void ParseLibraryImportObsoleteSyntax();
354 void ParseLibraryIncludeObsoleteSyntax(); 354 void ParseLibraryIncludeObsoleteSyntax();
355 355
356 void ResolveTypeFromClass(const Class& cls, 356 void ResolveTypeFromClass(const Class& cls,
357 ClassFinalizer::FinalizationKind finalization, 357 ClassFinalizer::FinalizationKind finalization,
358 AbstractType* type); 358 AbstractType* type);
359 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); 359 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization);
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 intptr_t last_used_try_index_; 706 intptr_t last_used_try_index_;
707 707
708 bool unregister_pending_function_; 708 bool unregister_pending_function_;
709 709
710 DISALLOW_COPY_AND_ASSIGN(Parser); 710 DISALLOW_COPY_AND_ASSIGN(Parser);
711 }; 711 };
712 712
713 } // namespace dart 713 } // namespace dart
714 714
715 #endif // VM_PARSER_H_ 715 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698