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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |