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