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 "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 void ParseLibraryNameObsoleteSyntax(); | 351 void ParseLibraryNameObsoleteSyntax(); |
352 void ParseLibraryImportObsoleteSyntax(); | 352 void ParseLibraryImportObsoleteSyntax(); |
353 void ParseLibraryIncludeObsoleteSyntax(); | 353 void ParseLibraryIncludeObsoleteSyntax(); |
354 | 354 |
355 void ResolveTypeFromClass(const Class& cls, | 355 void ResolveTypeFromClass(const Class& cls, |
356 ClassFinalizer::FinalizationKind finalization, | 356 ClassFinalizer::FinalizationKind finalization, |
357 AbstractType* type); | 357 AbstractType* type); |
358 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); | 358 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); |
359 void ParseTypeParameters(const Class& cls); | 359 void ParseTypeParameters(const Class& cls); |
360 RawAbstractTypeArguments* ParseTypeArguments( | 360 RawAbstractTypeArguments* ParseTypeArguments( |
361 Error* malformed_error, | |
362 ClassFinalizer::FinalizationKind finalization); | 361 ClassFinalizer::FinalizationKind finalization); |
363 void ParseQualIdent(QualIdent* qual_ident); | 362 void ParseQualIdent(QualIdent* qual_ident); |
364 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method); | 363 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method); |
365 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field); | 364 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field); |
366 void ParseClassMemberDefinition(ClassDesc* members, | 365 void ParseClassMemberDefinition(ClassDesc* members, |
367 intptr_t metadata_pos); | 366 intptr_t metadata_pos); |
368 void ParseFormalParameter(bool allow_explicit_default_value, | 367 void ParseFormalParameter(bool allow_explicit_default_value, |
369 ParamList* params); | 368 ParamList* params); |
370 void ParseFormalParameters(bool allow_explicit_default_values, | 369 void ParseFormalParameters(bool allow_explicit_default_values, |
371 ParamList* params); | 370 ParamList* params); |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 // code at all points in the try block where an exit from the block is | 685 // code at all points in the try block where an exit from the block is |
687 // done using 'return', 'break' or 'continue' statements. | 686 // done using 'return', 'break' or 'continue' statements. |
688 TryBlocks* try_blocks_list_; | 687 TryBlocks* try_blocks_list_; |
689 | 688 |
690 DISALLOW_COPY_AND_ASSIGN(Parser); | 689 DISALLOW_COPY_AND_ASSIGN(Parser); |
691 }; | 690 }; |
692 | 691 |
693 } // namespace dart | 692 } // namespace dart |
694 | 693 |
695 #endif // VM_PARSER_H_ | 694 #endif // VM_PARSER_H_ |
OLD | NEW |