| 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 "vm/ast.h" | 10 #include "vm/ast.h" |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 static bool IsAssignableExpr(AstNode* expr); | 584 static bool IsAssignableExpr(AstNode* expr); |
| 585 | 585 |
| 586 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, | 586 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, |
| 587 AstNode* node, | 587 AstNode* node, |
| 588 LocalScope* scope); | 588 LocalScope* scope); |
| 589 | 589 |
| 590 SequenceNode* MakeImplicitConstructor(const Function& func); | 590 SequenceNode* MakeImplicitConstructor(const Function& func); |
| 591 AstNode* MakeStaticCall(const String& cls_name, | 591 AstNode* MakeStaticCall(const String& cls_name, |
| 592 const String& func_name, | 592 const String& func_name, |
| 593 ArgumentListNode* arguments); | 593 ArgumentListNode* arguments); |
| 594 String& Interpolate(ArrayNode* values); | 594 String& Interpolate(const GrowableArray<AstNode*>& values); |
| 595 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); | 595 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); |
| 596 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); | 596 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); |
| 597 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, | 597 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, |
| 598 const Class& cls, | 598 const Class& cls, |
| 599 const String& function_name); | 599 const String& function_name); |
| 600 | 600 |
| 601 void CheckOperatorArity(const MemberDesc& member); | 601 void CheckOperatorArity(const MemberDesc& member); |
| 602 | 602 |
| 603 const LocalVariable* GetIncrementTempLocal(); | 603 const LocalVariable* GetIncrementTempLocal(); |
| 604 void EnsureExpressionTemp(); | 604 void EnsureExpressionTemp(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 // code at all points in the try block where an exit from the block is | 648 // code at all points in the try block where an exit from the block is |
| 649 // done using 'return', 'break' or 'continue' statements. | 649 // done using 'return', 'break' or 'continue' statements. |
| 650 TryBlocks* try_blocks_list_; | 650 TryBlocks* try_blocks_list_; |
| 651 | 651 |
| 652 DISALLOW_COPY_AND_ASSIGN(Parser); | 652 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 653 }; | 653 }; |
| 654 | 654 |
| 655 } // namespace dart | 655 } // namespace dart |
| 656 | 656 |
| 657 #endif // VM_PARSER_H_ | 657 #endif // VM_PARSER_H_ |
| OLD | NEW |