| 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_PARSER_H_ | 5 #ifndef V8_PARSING_PARSER_H_ |
| 6 #define V8_PARSER_H_ | 6 #define V8_PARSING_PARSER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/ast.h" | 9 #include "src/ast/ast.h" |
| 10 #include "src/ast/scopes.h" |
| 10 #include "src/compiler.h" // TODO(titzer): remove this include dependency | 11 #include "src/compiler.h" // TODO(titzer): remove this include dependency |
| 12 #include "src/parsing/preparse-data.h" |
| 13 #include "src/parsing/preparse-data-format.h" |
| 14 #include "src/parsing/preparser.h" |
| 11 #include "src/pending-compilation-error-handler.h" | 15 #include "src/pending-compilation-error-handler.h" |
| 12 #include "src/preparse-data.h" | |
| 13 #include "src/preparse-data-format.h" | |
| 14 #include "src/preparser.h" | |
| 15 #include "src/scopes.h" | |
| 16 | 16 |
| 17 namespace v8 { | 17 namespace v8 { |
| 18 | 18 |
| 19 class ScriptCompiler; | 19 class ScriptCompiler; |
| 20 | 20 |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| 23 class Target; | 23 class Target; |
| 24 | 24 |
| 25 // A container for the inputs, configuration options, and outputs of parsing. | 25 // A container for the inputs, configuration options, and outputs of parsing. |
| (...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1402 | 1402 |
| 1403 | 1403 |
| 1404 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { | 1404 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { |
| 1405 return parser_->ParseDoExpression(ok); | 1405 return parser_->ParseDoExpression(ok); |
| 1406 } | 1406 } |
| 1407 | 1407 |
| 1408 | 1408 |
| 1409 } // namespace internal | 1409 } // namespace internal |
| 1410 } // namespace v8 | 1410 } // namespace v8 |
| 1411 | 1411 |
| 1412 #endif // V8_PARSER_H_ | 1412 #endif // V8_PARSING_PARSER_H_ |
| OLD | NEW |