| 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_PARSER_H_ | 5 #ifndef RUNTIME_VM_PARSER_H_ |
| 6 #define RUNTIME_VM_PARSER_H_ | 6 #define RUNTIME_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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 void AddCatchParamsToScope(CatchParamDesc* exception_param, | 687 void AddCatchParamsToScope(CatchParamDesc* exception_param, |
| 688 CatchParamDesc* stack_trace_param, | 688 CatchParamDesc* stack_trace_param, |
| 689 LocalScope* scope); | 689 LocalScope* scope); |
| 690 void SetupExceptionVariables(LocalScope* try_scope, | 690 void SetupExceptionVariables(LocalScope* try_scope, |
| 691 bool is_async, | 691 bool is_async, |
| 692 LocalVariable** context_var, | 692 LocalVariable** context_var, |
| 693 LocalVariable** exception_var, | 693 LocalVariable** exception_var, |
| 694 LocalVariable** stack_trace_var, | 694 LocalVariable** stack_trace_var, |
| 695 LocalVariable** saved_exception_var, | 695 LocalVariable** saved_exception_var, |
| 696 LocalVariable** saved_stack_trace_var); | 696 LocalVariable** saved_stack_trace_var); |
| 697 void SaveExceptionAndStacktrace(SequenceNode* statements, | 697 void SaveExceptionAndStackTrace(SequenceNode* statements, |
| 698 LocalVariable* exception_var, | 698 LocalVariable* exception_var, |
| 699 LocalVariable* stack_trace_var, | 699 LocalVariable* stack_trace_var, |
| 700 LocalVariable* saved_exception_var, | 700 LocalVariable* saved_exception_var, |
| 701 LocalVariable* saved_stack_trace_var); | 701 LocalVariable* saved_stack_trace_var); |
| 702 // Parse all the catch clause of a try. | 702 // Parse all the catch clause of a try. |
| 703 SequenceNode* ParseCatchClauses(TokenPosition handler_pos, | 703 SequenceNode* ParseCatchClauses(TokenPosition handler_pos, |
| 704 bool is_async, | 704 bool is_async, |
| 705 LocalVariable* exception_var, | 705 LocalVariable* exception_var, |
| 706 LocalVariable* stack_trace_var, | 706 LocalVariable* stack_trace_var, |
| 707 LocalVariable* rethrow_exception_var, | 707 LocalVariable* rethrow_exception_var, |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 | 973 |
| 974 intptr_t recursion_counter_; | 974 intptr_t recursion_counter_; |
| 975 friend class RecursionChecker; | 975 friend class RecursionChecker; |
| 976 | 976 |
| 977 DISALLOW_COPY_AND_ASSIGN(Parser); | 977 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 978 }; | 978 }; |
| 979 | 979 |
| 980 } // namespace dart | 980 } // namespace dart |
| 981 | 981 |
| 982 #endif // RUNTIME_VM_PARSER_H_ | 982 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |