| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 V(BinaryOperation) \ | 116 V(BinaryOperation) \ |
| 117 V(CompareOperation) \ | 117 V(CompareOperation) \ |
| 118 V(ThisFunction) | 118 V(ThisFunction) |
| 119 | 119 |
| 120 #define AST_NODE_LIST(V) \ | 120 #define AST_NODE_LIST(V) \ |
| 121 DECLARATION_NODE_LIST(V) \ | 121 DECLARATION_NODE_LIST(V) \ |
| 122 MODULE_NODE_LIST(V) \ | 122 MODULE_NODE_LIST(V) \ |
| 123 STATEMENT_NODE_LIST(V) \ | 123 STATEMENT_NODE_LIST(V) \ |
| 124 EXPRESSION_NODE_LIST(V) | 124 EXPRESSION_NODE_LIST(V) |
| 125 | 125 |
| 126 #ifdef WIN32 | |
| 127 #undef Yield | |
| 128 #endif | |
| 129 | |
| 130 // Forward declarations | 126 // Forward declarations |
| 131 class AstConstructionVisitor; | 127 class AstConstructionVisitor; |
| 132 template<class> class AstNodeFactory; | 128 template<class> class AstNodeFactory; |
| 133 class AstVisitor; | 129 class AstVisitor; |
| 134 class Declaration; | 130 class Declaration; |
| 135 class Module; | 131 class Module; |
| 136 class BreakableStatement; | 132 class BreakableStatement; |
| 137 class Expression; | 133 class Expression; |
| 138 class IterationStatement; | 134 class IterationStatement; |
| 139 class MaterializedLiteral; | 135 class MaterializedLiteral; |
| (...skipping 3103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3243 private: | 3239 private: |
| 3244 Isolate* isolate_; | 3240 Isolate* isolate_; |
| 3245 Zone* zone_; | 3241 Zone* zone_; |
| 3246 Visitor visitor_; | 3242 Visitor visitor_; |
| 3247 }; | 3243 }; |
| 3248 | 3244 |
| 3249 | 3245 |
| 3250 } } // namespace v8::internal | 3246 } } // namespace v8::internal |
| 3251 | 3247 |
| 3252 #endif // V8_AST_H_ | 3248 #endif // V8_AST_H_ |
| OLD | NEW |