OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_PREPARSER_H | 5 #ifndef V8_PREPARSER_H |
6 #define V8_PREPARSER_H | 6 #define V8_PREPARSER_H |
7 | 7 |
8 #include "func-name-inferrer.h" | 8 #include "src/func-name-inferrer.h" |
9 #include "hashmap.h" | 9 #include "src/hashmap.h" |
10 #include "scopes.h" | 10 #include "src/scopes.h" |
11 #include "token.h" | 11 #include "src/token.h" |
12 #include "scanner.h" | 12 #include "src/scanner.h" |
13 #include "v8.h" | 13 #include "src/v8.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 // Common base class shared between parser and pre-parser. Traits encapsulate | 18 // Common base class shared between parser and pre-parser. Traits encapsulate |
19 // the differences between Parser and PreParser: | 19 // the differences between Parser and PreParser: |
20 | 20 |
21 // - Return types: For example, Parser functions return Expression* and | 21 // - Return types: For example, Parser functions return Expression* and |
22 // PreParser functions return PreParserExpression. | 22 // PreParser functions return PreParserExpression. |
23 | 23 |
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2165 "accessor_get_set"); | 2165 "accessor_get_set"); |
2166 } | 2166 } |
2167 *ok = false; | 2167 *ok = false; |
2168 } | 2168 } |
2169 } | 2169 } |
2170 | 2170 |
2171 | 2171 |
2172 } } // v8::internal | 2172 } } // v8::internal |
2173 | 2173 |
2174 #endif // V8_PREPARSER_H | 2174 #endif // V8_PREPARSER_H |
OLD | NEW |