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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 void ParseFormalParameter(bool allow_explicit_default_value, | 379 void ParseFormalParameter(bool allow_explicit_default_value, |
380 bool evaluate_metadata, | 380 bool evaluate_metadata, |
381 ParamList* params); | 381 ParamList* params); |
382 void ParseFormalParameters(bool allow_explicit_default_values, | 382 void ParseFormalParameters(bool allow_explicit_default_values, |
383 bool evaluate_metadata, | 383 bool evaluate_metadata, |
384 ParamList* params); | 384 ParamList* params); |
385 void ParseFormalParameterList(bool allow_explicit_default_values, | 385 void ParseFormalParameterList(bool allow_explicit_default_values, |
386 bool evaluate_metadata, | 386 bool evaluate_metadata, |
387 ParamList* params); | 387 ParamList* params); |
388 void CheckFieldsInitialized(const Class& cls); | 388 void CheckFieldsInitialized(const Class& cls); |
389 void AddImplicitConstructor(const Class& cls); | 389 static void AddImplicitConstructor(const Class& cls); |
390 void CheckConstructors(ClassDesc* members); | 390 void CheckConstructors(ClassDesc* members); |
391 AstNode* ParseExternalInitializedField(const Field& field); | 391 AstNode* ParseExternalInitializedField(const Field& field); |
392 void ParseInitializedInstanceFields( | 392 void ParseInitializedInstanceFields( |
393 const Class& cls, | 393 const Class& cls, |
394 LocalVariable* receiver, | 394 LocalVariable* receiver, |
395 GrowableArray<Field*>* initialized_fields); | 395 GrowableArray<Field*>* initialized_fields); |
396 void CheckDuplicateFieldInit(intptr_t init_pos, | 396 void CheckDuplicateFieldInit(intptr_t init_pos, |
397 GrowableArray<Field*>* initialized_fields, | 397 GrowableArray<Field*>* initialized_fields, |
398 Field* field); | 398 Field* field); |
399 void GenerateSuperConstructorCall(const Class& cls, | 399 void GenerateSuperConstructorCall(const Class& cls, |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 intptr_t last_used_try_index_; | 720 intptr_t last_used_try_index_; |
721 | 721 |
722 bool unregister_pending_function_; | 722 bool unregister_pending_function_; |
723 | 723 |
724 DISALLOW_COPY_AND_ASSIGN(Parser); | 724 DISALLOW_COPY_AND_ASSIGN(Parser); |
725 }; | 725 }; |
726 | 726 |
727 } // namespace dart | 727 } // namespace dart |
728 | 728 |
729 #endif // VM_PARSER_H_ | 729 #endif // VM_PARSER_H_ |
OLD | NEW |