| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_TYPING_H_ | 5 #ifndef V8_TYPING_H_ |
| 6 #define V8_TYPING_H_ | 6 #define V8_TYPING_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/ast.h" | 9 #include "src/ast.h" |
| 10 #include "src/effects.h" | 10 #include "src/effects.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void VisitDeclarations(ZoneList<Declaration*>* declarations) override; | 69 void VisitDeclarations(ZoneList<Declaration*>* declarations) override; |
| 70 void VisitStatements(ZoneList<Statement*>* statements) override; | 70 void VisitStatements(ZoneList<Statement*>* statements) override; |
| 71 | 71 |
| 72 #define DECLARE_VISIT(type) virtual void Visit##type(type* node) override; | 72 #define DECLARE_VISIT(type) virtual void Visit##type(type* node) override; |
| 73 AST_NODE_LIST(DECLARE_VISIT) | 73 AST_NODE_LIST(DECLARE_VISIT) |
| 74 #undef DECLARE_VISIT | 74 #undef DECLARE_VISIT |
| 75 | 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(AstTyper); | 76 DISALLOW_COPY_AND_ASSIGN(AstTyper); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } } // namespace v8::internal | 79 } // namespace internal |
| 80 } // namespace v8 |
| 80 | 81 |
| 81 #endif // V8_TYPING_H_ | 82 #endif // V8_TYPING_H_ |
| OLD | NEW |