| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |