| 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 bool is_const, | 689 bool is_const, |
| 690 const TypeArguments& type_arguments); | 690 const TypeArguments& type_arguments); |
| 691 AstNode* ParseNewOperator(Token::Kind op_kind); | 691 AstNode* ParseNewOperator(Token::Kind op_kind); |
| 692 | 692 |
| 693 // An implicit argument, if non-null, is prepended to the returned list. | 693 // An implicit argument, if non-null, is prepended to the returned list. |
| 694 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments, | 694 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments, |
| 695 bool require_const); | 695 bool require_const); |
| 696 AstNode* ParseStaticCall(const Class& cls, | 696 AstNode* ParseStaticCall(const Class& cls, |
| 697 const String& method_name, | 697 const String& method_name, |
| 698 intptr_t ident_pos); | 698 intptr_t ident_pos); |
| 699 AstNode* ParseInstanceCall(AstNode* receiver, const String& method_name); | 699 AstNode* ParseInstanceCall(AstNode* receiver, |
| 700 const String& method_name, |
| 701 intptr_t ident_pos); |
| 700 AstNode* ParseClosureCall(AstNode* closure); | 702 AstNode* ParseClosureCall(AstNode* closure); |
| 701 AstNode* GenerateStaticFieldLookup(const Field& field, | 703 AstNode* GenerateStaticFieldLookup(const Field& field, |
| 702 intptr_t ident_pos); | 704 intptr_t ident_pos); |
| 703 AstNode* ParseStaticFieldAccess(const Class& cls, | 705 AstNode* ParseStaticFieldAccess(const Class& cls, |
| 704 const String& field_name, | 706 const String& field_name, |
| 705 intptr_t ident_pos, | 707 intptr_t ident_pos, |
| 706 bool consume_cascades); | 708 bool consume_cascades); |
| 707 | 709 |
| 708 LocalVariable* LookupLocalScope(const String& ident); | 710 LocalVariable* LookupLocalScope(const String& ident); |
| 709 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); | 711 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 | 855 |
| 854 // Indentation of parser trace. | 856 // Indentation of parser trace. |
| 855 intptr_t trace_indent_; | 857 intptr_t trace_indent_; |
| 856 | 858 |
| 857 DISALLOW_COPY_AND_ASSIGN(Parser); | 859 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 858 }; | 860 }; |
| 859 | 861 |
| 860 } // namespace dart | 862 } // namespace dart |
| 861 | 863 |
| 862 #endif // VM_PARSER_H_ | 864 #endif // VM_PARSER_H_ |
| OLD | NEW |