| 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 RUNTIME_VM_AST_H_ | 5 #ifndef RUNTIME_VM_AST_H_ |
| 6 #define RUNTIME_VM_AST_H_ | 6 #define RUNTIME_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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 names_(Array::ZoneHandle()) {} | 293 names_(Array::ZoneHandle()) {} |
| 294 | 294 |
| 295 ArgumentListNode(TokenPosition token_pos, const TypeArguments& type_arguments) | 295 ArgumentListNode(TokenPosition token_pos, const TypeArguments& type_arguments) |
| 296 : AstNode(token_pos), | 296 : AstNode(token_pos), |
| 297 type_args_var_(NULL), | 297 type_args_var_(NULL), |
| 298 type_arguments_(type_arguments), | 298 type_arguments_(type_arguments), |
| 299 type_args_len_(type_arguments.Length()), | 299 type_args_len_(type_arguments.Length()), |
| 300 nodes_(4), | 300 nodes_(4), |
| 301 names_(Array::ZoneHandle()) { | 301 names_(Array::ZoneHandle()) { |
| 302 ASSERT(type_arguments_.IsZoneHandle()); | 302 ASSERT(type_arguments_.IsZoneHandle()); |
| 303 ASSERT(type_arguments_.IsNull() || type_arguments_.IsCanonical()); |
| 303 } | 304 } |
| 304 | 305 |
| 305 ArgumentListNode(TokenPosition token_pos, | 306 ArgumentListNode(TokenPosition token_pos, |
| 306 LocalVariable* type_args_var, | 307 LocalVariable* type_args_var, |
| 307 intptr_t type_args_len) | 308 intptr_t type_args_len) |
| 308 : AstNode(token_pos), | 309 : AstNode(token_pos), |
| 309 type_args_var_(type_args_var), | 310 type_args_var_(type_args_var), |
| 310 type_arguments_(TypeArguments::ZoneHandle()), | 311 type_arguments_(TypeArguments::ZoneHandle()), |
| 311 type_args_len_(type_args_len), | 312 type_args_len_(type_args_len), |
| 312 nodes_(4), | 313 nodes_(4), |
| (...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2012 const intptr_t try_index_; | 2013 const intptr_t try_index_; |
| 2013 | 2014 |
| 2014 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 2015 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 2015 }; | 2016 }; |
| 2016 | 2017 |
| 2017 } // namespace dart | 2018 } // namespace dart |
| 2018 | 2019 |
| 2019 #undef DECLARE_COMMON_NODE_FUNCTIONS | 2020 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 2020 | 2021 |
| 2021 #endif // RUNTIME_VM_AST_H_ | 2022 #endif // RUNTIME_VM_AST_H_ |
| OLD | NEW |