| 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_AST_H_ | 5 #ifndef VM_AST_H_ |
| 6 #define VM_AST_H_ | 6 #define VM_AST_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 ASSERT(arguments_ != NULL); | 1371 ASSERT(arguments_ != NULL); |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 const Function& function() const { return function_; } | 1374 const Function& function() const { return function_; } |
| 1375 ArgumentListNode* arguments() const { return arguments_; } | 1375 ArgumentListNode* arguments() const { return arguments_; } |
| 1376 | 1376 |
| 1377 virtual void VisitChildren(AstNodeVisitor* visitor) const { | 1377 virtual void VisitChildren(AstNodeVisitor* visitor) const { |
| 1378 arguments()->Visit(visitor); | 1378 arguments()->Visit(visitor); |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 virtual AstNode* MakeAssignmentNode(AstNode* rhs); |
| 1382 |
| 1381 DECLARE_COMMON_NODE_FUNCTIONS(StaticCallNode); | 1383 DECLARE_COMMON_NODE_FUNCTIONS(StaticCallNode); |
| 1382 | 1384 |
| 1383 private: | 1385 private: |
| 1384 const Function& function_; | 1386 const Function& function_; |
| 1385 ArgumentListNode* arguments_; | 1387 ArgumentListNode* arguments_; |
| 1386 | 1388 |
| 1387 DISALLOW_IMPLICIT_CONSTRUCTORS(StaticCallNode); | 1389 DISALLOW_IMPLICIT_CONSTRUCTORS(StaticCallNode); |
| 1388 }; | 1390 }; |
| 1389 | 1391 |
| 1390 | 1392 |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 const LocalVariable& context_var_; | 1689 const LocalVariable& context_var_; |
| 1688 | 1690 |
| 1689 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 1691 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 1690 }; | 1692 }; |
| 1691 | 1693 |
| 1692 } // namespace dart | 1694 } // namespace dart |
| 1693 | 1695 |
| 1694 #undef DECLARE_COMMON_NODE_FUNCTIONS | 1696 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 1695 | 1697 |
| 1696 #endif // VM_AST_H_ | 1698 #endif // VM_AST_H_ |
| OLD | NEW |