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

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: Created 6 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
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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 void ParseTopLevelAccessor(TopLevel* top_level, intptr_t metadata_pos); 341 void ParseTopLevelAccessor(TopLevel* top_level, intptr_t metadata_pos);
342 RawArray* EvaluateMetadata(); 342 RawArray* EvaluateMetadata();
343 343
344 // Support for parsing libraries. 344 // Support for parsing libraries.
345 RawObject* CallLibraryTagHandler(Dart_LibraryTag tag, 345 RawObject* CallLibraryTagHandler(Dart_LibraryTag tag,
346 intptr_t token_pos, 346 intptr_t token_pos,
347 const String& url); 347 const String& url);
348 void ParseIdentList(GrowableObjectArray* names); 348 void ParseIdentList(GrowableObjectArray* names);
349 void ParseLibraryDefinition(); 349 void ParseLibraryDefinition();
350 void ParseLibraryName(); 350 void ParseLibraryName();
351 void ParseLibraryImportExport(); 351 void ParseLibraryImportExport(intptr_t metadata_pos);
352 void ParseLibraryPart(); 352 void ParseLibraryPart();
353 void ParsePartHeader(); 353 void ParsePartHeader();
354 void ParseLibraryNameObsoleteSyntax(); 354 void ParseLibraryNameObsoleteSyntax();
355 void ParseLibraryImportObsoleteSyntax(); 355 void ParseLibraryImportObsoleteSyntax();
356 void ParseLibraryIncludeObsoleteSyntax(); 356 void ParseLibraryIncludeObsoleteSyntax();
357 357
358 void ResolveTypeFromClass(const Class& cls, 358 void ResolveTypeFromClass(const Class& cls,
359 ClassFinalizer::FinalizationKind finalization, 359 ClassFinalizer::FinalizationKind finalization,
360 AbstractType* type); 360 AbstractType* type);
361 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); 361 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization);
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 intptr_t last_used_try_index_; 714 intptr_t last_used_try_index_;
715 715
716 bool unregister_pending_function_; 716 bool unregister_pending_function_;
717 717
718 DISALLOW_COPY_AND_ASSIGN(Parser); 718 DISALLOW_COPY_AND_ASSIGN(Parser);
719 }; 719 };
720 720
721 } // namespace dart 721 } // namespace dart
722 722
723 #endif // VM_PARSER_H_ 723 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | sdk/lib/mirrors/mirrors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698