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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 bool allow_void, | 556 bool allow_void, |
557 ClassFinalizer::FinalizationKind finalization); | 557 ClassFinalizer::FinalizationKind finalization); |
558 void ParseTypeParameters(bool parameterizing_class); | 558 void ParseTypeParameters(bool parameterizing_class); |
559 RawTypeArguments* ParseTypeArguments( | 559 RawTypeArguments* ParseTypeArguments( |
560 ClassFinalizer::FinalizationKind finalization); | 560 ClassFinalizer::FinalizationKind finalization); |
561 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method); | 561 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method); |
562 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field); | 562 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field); |
563 void CheckMemberNameConflict(ClassDesc* members, MemberDesc* member); | 563 void CheckMemberNameConflict(ClassDesc* members, MemberDesc* member); |
564 void ParseClassMemberDefinition(ClassDesc* members, | 564 void ParseClassMemberDefinition(ClassDesc* members, |
565 TokenPosition metadata_pos); | 565 TokenPosition metadata_pos); |
566 void CheckFinalInitializationConflicts(const ClassDesc* class_desc, | |
567 const MemberDesc* member); | |
568 void ParseParameterType(ParamList* params); | 566 void ParseParameterType(ParamList* params); |
569 void ParseFormalParameter(bool allow_explicit_default_value, | 567 void ParseFormalParameter(bool allow_explicit_default_value, |
570 bool evaluate_metadata, | 568 bool evaluate_metadata, |
571 ParamList* params); | 569 ParamList* params); |
572 void ParseFormalParameters(bool use_function_type_syntax, | 570 void ParseFormalParameters(bool use_function_type_syntax, |
573 bool allow_explicit_default_values, | 571 bool allow_explicit_default_values, |
574 bool evaluate_metadata, | 572 bool evaluate_metadata, |
575 ParamList* params); | 573 ParamList* params); |
576 void ParseFormalParameterList(bool use_function_type_syntax, | 574 void ParseFormalParameterList(bool use_function_type_syntax, |
577 bool allow_explicit_default_values, | 575 bool allow_explicit_default_values, |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 | 1026 |
1029 intptr_t recursion_counter_; | 1027 intptr_t recursion_counter_; |
1030 friend class RecursionChecker; | 1028 friend class RecursionChecker; |
1031 | 1029 |
1032 DISALLOW_COPY_AND_ASSIGN(Parser); | 1030 DISALLOW_COPY_AND_ASSIGN(Parser); |
1033 }; | 1031 }; |
1034 | 1032 |
1035 } // namespace dart | 1033 } // namespace dart |
1036 | 1034 |
1037 #endif // RUNTIME_VM_PARSER_H_ | 1035 #endif // RUNTIME_VM_PARSER_H_ |
OLD | NEW |