| 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_PARSING_PREPARSER_H | 5 #ifndef V8_PARSING_PREPARSER_H |
| 6 #define V8_PARSING_PREPARSER_H | 6 #define V8_PARSING_PREPARSER_H |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/hashmap.h" | 10 #include "src/base/hashmap.h" |
| 11 #include "src/messages.h" | 11 #include "src/messages.h" |
| 12 #include "src/parsing/expression-classifier.h" | 12 #include "src/parsing/expression-classifier.h" |
| 13 #include "src/parsing/func-name-inferrer.h" | 13 #include "src/parsing/func-name-inferrer.h" |
| 14 #include "src/parsing/parser-base.h" | 14 #include "src/parsing/parser-base.h" |
| 15 #include "src/parsing/scanner.h" | 15 #include "src/parsing/scanner.h" |
| 16 #include "src/parsing/token.h" | 16 #include "src/parsing/token.h" |
| 17 | 17 |
| 18 namespace v8 { | 18 namespace v8 { |
| 19 namespace internal { | 19 namespace internal { |
| 20 | 20 |
| (...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 const PreParserFormalParameters& parameters, FunctionKind kind, | 1254 const PreParserFormalParameters& parameters, FunctionKind kind, |
| 1255 FunctionLiteral::FunctionType function_type, bool* ok) { | 1255 FunctionLiteral::FunctionType function_type, bool* ok) { |
| 1256 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters, | 1256 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters, |
| 1257 kind, function_type, ok); | 1257 kind, function_type, ok); |
| 1258 } | 1258 } |
| 1259 | 1259 |
| 1260 } // namespace internal | 1260 } // namespace internal |
| 1261 } // namespace v8 | 1261 } // namespace v8 |
| 1262 | 1262 |
| 1263 #endif // V8_PARSING_PREPARSER_H | 1263 #endif // V8_PARSING_PREPARSER_H |
| OLD | NEW |