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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 V(BinaryOperation) \ | 113 V(BinaryOperation) \ |
114 V(CompareOperation) \ | 114 V(CompareOperation) \ |
115 V(ThisFunction) | 115 V(ThisFunction) |
116 | 116 |
117 #define AST_NODE_LIST(V) \ | 117 #define AST_NODE_LIST(V) \ |
118 DECLARATION_NODE_LIST(V) \ | 118 DECLARATION_NODE_LIST(V) \ |
119 MODULE_NODE_LIST(V) \ | 119 MODULE_NODE_LIST(V) \ |
120 STATEMENT_NODE_LIST(V) \ | 120 STATEMENT_NODE_LIST(V) \ |
121 EXPRESSION_NODE_LIST(V) | 121 EXPRESSION_NODE_LIST(V) |
122 | 122 |
| 123 #ifdef WIN32 |
| 124 #undef Yield |
| 125 #endif |
| 126 |
123 // Forward declarations | 127 // Forward declarations |
124 class AstConstructionVisitor; | 128 class AstConstructionVisitor; |
125 template<class> class AstNodeFactory; | 129 template<class> class AstNodeFactory; |
126 class AstVisitor; | 130 class AstVisitor; |
127 class Declaration; | 131 class Declaration; |
128 class Module; | 132 class Module; |
129 class BreakableStatement; | 133 class BreakableStatement; |
130 class Expression; | 134 class Expression; |
131 class IterationStatement; | 135 class IterationStatement; |
132 class MaterializedLiteral; | 136 class MaterializedLiteral; |
(...skipping 2877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3010 private: | 3014 private: |
3011 Isolate* isolate_; | 3015 Isolate* isolate_; |
3012 Zone* zone_; | 3016 Zone* zone_; |
3013 Visitor visitor_; | 3017 Visitor visitor_; |
3014 }; | 3018 }; |
3015 | 3019 |
3016 | 3020 |
3017 } } // namespace v8::internal | 3021 } } // namespace v8::internal |
3018 | 3022 |
3019 #endif // V8_AST_H_ | 3023 #endif // V8_AST_H_ |
OLD | NEW |