| 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 RUNTIME_VM_PARSER_H_ | 5 #ifndef RUNTIME_VM_PARSER_H_ |
| 6 #define RUNTIME_VM_PARSER_H_ | 6 #define RUNTIME_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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 void ParseLibraryDefinition(const Object& tl_owner); | 533 void ParseLibraryDefinition(const Object& tl_owner); |
| 534 void ParseLibraryName(); | 534 void ParseLibraryName(); |
| 535 void ParseLibraryImportExport(const Object& tl_owner, | 535 void ParseLibraryImportExport(const Object& tl_owner, |
| 536 TokenPosition metadata_pos); | 536 TokenPosition metadata_pos); |
| 537 void ParseLibraryPart(); | 537 void ParseLibraryPart(); |
| 538 void ParsePartHeader(); | 538 void ParsePartHeader(); |
| 539 void ParseLibraryNameObsoleteSyntax(); | 539 void ParseLibraryNameObsoleteSyntax(); |
| 540 void ParseLibraryImportObsoleteSyntax(); | 540 void ParseLibraryImportObsoleteSyntax(); |
| 541 void ParseLibraryIncludeObsoleteSyntax(); | 541 void ParseLibraryIncludeObsoleteSyntax(); |
| 542 | 542 |
| 543 void ResolveSignature(const Function& signature); | 543 void ResolveSignatureTypeParameters(const Function& signature); |
| 544 void ResolveType(AbstractType* type); | 544 void ResolveTypeParameters(AbstractType* type); |
| 545 RawAbstractType* CanonicalizeType(const AbstractType& type); | 545 RawAbstractType* CanonicalizeType(const AbstractType& type); |
| 546 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, | 546 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, |
| 547 bool allow_deferred_type = false, | 547 bool allow_deferred_type = false, |
| 548 bool consume_unresolved_prefix = true); | 548 bool consume_unresolved_prefix = true); |
| 549 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, | 549 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, |
| 550 bool allow_deferred_type, | 550 bool allow_deferred_type, |
| 551 bool consume_unresolved_prefix, | 551 bool consume_unresolved_prefix, |
| 552 LibraryPrefix* prefix); | 552 LibraryPrefix* prefix); |
| 553 RawType* ParseFunctionType(const AbstractType& result_type, | 553 RawType* ParseFunctionType(const AbstractType& result_type, |
| 554 ClassFinalizer::FinalizationKind finalization); | 554 ClassFinalizer::FinalizationKind finalization); |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1028 | 1028 |
| 1029 intptr_t recursion_counter_; | 1029 intptr_t recursion_counter_; |
| 1030 friend class RecursionChecker; | 1030 friend class RecursionChecker; |
| 1031 | 1031 |
| 1032 DISALLOW_COPY_AND_ASSIGN(Parser); | 1032 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 1033 }; | 1033 }; |
| 1034 | 1034 |
| 1035 } // namespace dart | 1035 } // namespace dart |
| 1036 | 1036 |
| 1037 #endif // RUNTIME_VM_PARSER_H_ | 1037 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |