| 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 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 NativeFunction native_c_function_; // Actual non-Dart implementation. | 1585 NativeFunction native_c_function_; // Actual non-Dart implementation. |
| 1586 LocalScope* scope_; | 1586 LocalScope* scope_; |
| 1587 const bool is_bootstrap_native_; // Is a bootstrap native method. | 1587 const bool is_bootstrap_native_; // Is a bootstrap native method. |
| 1588 | 1588 |
| 1589 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeBodyNode); | 1589 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeBodyNode); |
| 1590 }; | 1590 }; |
| 1591 | 1591 |
| 1592 | 1592 |
| 1593 class CatchClauseNode : public AstNode { | 1593 class CatchClauseNode : public AstNode { |
| 1594 public: | 1594 public: |
| 1595 static const int kInvalidTryIndex = -1; | 1595 static const intptr_t kInvalidTryIndex = -1; |
| 1596 | 1596 |
| 1597 CatchClauseNode(intptr_t token_pos, | 1597 CatchClauseNode(intptr_t token_pos, |
| 1598 SequenceNode* catch_block, | 1598 SequenceNode* catch_block, |
| 1599 const Array& handler_types, | 1599 const Array& handler_types, |
| 1600 const LocalVariable* context_var, | 1600 const LocalVariable* context_var, |
| 1601 const LocalVariable* exception_var, | 1601 const LocalVariable* exception_var, |
| 1602 const LocalVariable* stacktrace_var, | 1602 const LocalVariable* stacktrace_var, |
| 1603 intptr_t catch_handler_index, | 1603 intptr_t catch_handler_index, |
| 1604 bool needs_stacktrace) | 1604 bool needs_stacktrace) |
| 1605 : AstNode(token_pos), | 1605 : AstNode(token_pos), |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 const intptr_t try_index_; | 1753 const intptr_t try_index_; |
| 1754 | 1754 |
| 1755 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 1755 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 1756 }; | 1756 }; |
| 1757 | 1757 |
| 1758 } // namespace dart | 1758 } // namespace dart |
| 1759 | 1759 |
| 1760 #undef DECLARE_COMMON_NODE_FUNCTIONS | 1760 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 1761 | 1761 |
| 1762 #endif // VM_AST_H_ | 1762 #endif // VM_AST_H_ |
| OLD | NEW |