| 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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 TokenPosition token_pos); | 798 TokenPosition token_pos); |
| 799 AstNode* ParseNewOperator(Token::Kind op_kind); | 799 AstNode* ParseNewOperator(Token::Kind op_kind); |
| 800 void ParseConstructorClosurization(Function* constructor, | 800 void ParseConstructorClosurization(Function* constructor, |
| 801 TypeArguments* type_arguments); | 801 TypeArguments* type_arguments); |
| 802 | 802 |
| 803 // An implicit argument, if non-null, is prepended to the returned list. | 803 // An implicit argument, if non-null, is prepended to the returned list. |
| 804 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments, | 804 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments, |
| 805 bool require_const); | 805 bool require_const); |
| 806 AstNode* ParseStaticCall(const Class& cls, | 806 AstNode* ParseStaticCall(const Class& cls, |
| 807 const String& method_name, | 807 const String& method_name, |
| 808 TokenPosition ident_pos); | 808 TokenPosition ident_pos, |
| 809 const LibraryPrefix* prefix = NULL); |
| 809 AstNode* ParseInstanceCall(AstNode* receiver, | 810 AstNode* ParseInstanceCall(AstNode* receiver, |
| 810 const String& method_name, | 811 const String& method_name, |
| 811 TokenPosition ident_pos, | 812 TokenPosition ident_pos, |
| 812 bool is_conditional); | 813 bool is_conditional); |
| 813 AstNode* ParseClosureCall(AstNode* closure); | 814 AstNode* ParseClosureCall(AstNode* closure); |
| 814 AstNode* GenerateStaticFieldLookup(const Field& field, | 815 AstNode* GenerateStaticFieldLookup(const Field& field, |
| 815 TokenPosition ident_pos); | 816 TokenPosition ident_pos); |
| 816 AstNode* GenerateStaticFieldAccess(const Class& cls, | 817 AstNode* GenerateStaticFieldAccess(const Class& cls, |
| 817 const String& field_name, | 818 const String& field_name, |
| 818 TokenPosition ident_pos); | 819 TokenPosition ident_pos); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 | 974 |
| 974 intptr_t recursion_counter_; | 975 intptr_t recursion_counter_; |
| 975 friend class RecursionChecker; | 976 friend class RecursionChecker; |
| 976 | 977 |
| 977 DISALLOW_COPY_AND_ASSIGN(Parser); | 978 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 978 }; | 979 }; |
| 979 | 980 |
| 980 } // namespace dart | 981 } // namespace dart |
| 981 | 982 |
| 982 #endif // RUNTIME_VM_PARSER_H_ | 983 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |