| 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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, | 677 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, |
| 678 bool test_only); | 678 bool test_only); |
| 679 void CaptureInstantiator(); | 679 void CaptureInstantiator(); |
| 680 AstNode* LoadReceiver(TokenPosition token_pos); | 680 AstNode* LoadReceiver(TokenPosition token_pos); |
| 681 AstNode* LoadFieldIfUnresolved(AstNode* node); | 681 AstNode* LoadFieldIfUnresolved(AstNode* node); |
| 682 AstNode* LoadClosure(PrimaryNode* primary); | 682 AstNode* LoadClosure(PrimaryNode* primary); |
| 683 InstanceGetterNode* CallGetter(TokenPosition token_pos, | 683 InstanceGetterNode* CallGetter(TokenPosition token_pos, |
| 684 AstNode* object, | 684 AstNode* object, |
| 685 const String& name); | 685 const String& name); |
| 686 | 686 |
| 687 AstNode* ParseAssertStatement(); | 687 AstNode* ParseAssertStatement(bool is_const = false); |
| 688 AstNode* ParseJump(String* label_name); | 688 AstNode* ParseJump(String* label_name); |
| 689 AstNode* ParseIfStatement(String* label_name); | 689 AstNode* ParseIfStatement(String* label_name); |
| 690 AstNode* ParseWhileStatement(String* label_name); | 690 AstNode* ParseWhileStatement(String* label_name); |
| 691 AstNode* ParseDoWhileStatement(String* label_name); | 691 AstNode* ParseDoWhileStatement(String* label_name); |
| 692 AstNode* ParseForStatement(String* label_name); | 692 AstNode* ParseForStatement(String* label_name); |
| 693 AstNode* ParseAwaitForStatement(String* label_name); | 693 AstNode* ParseAwaitForStatement(String* label_name); |
| 694 AstNode* ParseForInStatement(TokenPosition forin_pos, SourceLabel* label); | 694 AstNode* ParseForInStatement(TokenPosition forin_pos, SourceLabel* label); |
| 695 RawClass* CheckCaseExpressions(const GrowableArray<LiteralNode*>& values); | 695 RawClass* CheckCaseExpressions(const GrowableArray<LiteralNode*>& values); |
| 696 CaseNode* ParseCaseClause(LocalVariable* switch_expr_value, | 696 CaseNode* ParseCaseClause(LocalVariable* switch_expr_value, |
| 697 GrowableArray<LiteralNode*>* case_expr_values, | 697 GrowableArray<LiteralNode*>* case_expr_values, |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 | 984 |
| 985 intptr_t recursion_counter_; | 985 intptr_t recursion_counter_; |
| 986 friend class RecursionChecker; | 986 friend class RecursionChecker; |
| 987 | 987 |
| 988 DISALLOW_COPY_AND_ASSIGN(Parser); | 988 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 989 }; | 989 }; |
| 990 | 990 |
| 991 } // namespace dart | 991 } // namespace dart |
| 992 | 992 |
| 993 #endif // VM_PARSER_H_ | 993 #endif // VM_PARSER_H_ |
| OLD | NEW |