// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_PARSER_H_ #define V8_PARSER_H_ #include "src/allocation.h" #include "src/ast.h" #include "src/compiler.h" // TODO(titzer): remove this include dependency #include "src/pending-compilation-error-handler.h" #include "src/preparse-data.h" #include "src/preparse-data-format.h" #include "src/preparser.h" #include "src/scopes.h" namespace v8 { class ScriptCompiler; namespace internal { class Target; // A container for the inputs, configuration options, and outputs of parsing. class ParseInfo { public: explicit ParseInfo(Zone* zone); ParseInfo(Zone* zone, Handle function); ParseInfo(Zone* zone, Handle