OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_TRANSFORMER_H_ | 5 #ifndef RUNTIME_VM_AST_TRANSFORMER_H_ |
6 #define VM_AST_TRANSFORMER_H_ | 6 #define RUNTIME_VM_AST_TRANSFORMER_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 class Thread; | 13 class Thread; |
14 | 14 |
15 // Translate an AstNode containing an expression (that itself contains one or | 15 // Translate an AstNode containing an expression (that itself contains one or |
16 // more awaits) into a sequential representation where subexpressions are | 16 // more awaits) into a sequential representation where subexpressions are |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 AstNode* result_; | 70 AstNode* result_; |
71 LocalScope* async_temp_scope_; | 71 LocalScope* async_temp_scope_; |
72 | 72 |
73 Thread* thread_; | 73 Thread* thread_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(AwaitTransformer); | 75 DISALLOW_COPY_AND_ASSIGN(AwaitTransformer); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace dart | 78 } // namespace dart |
79 | 79 |
80 #endif // VM_AST_TRANSFORMER_H_ | 80 #endif // RUNTIME_VM_AST_TRANSFORMER_H_ |
OLD | NEW |