// Copyright 2018 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_PARSING_PREPARSER_LOGGER_H_#define V8_PARSING_PREPARSER_LOGGER_H_namespacev8{namespaceinternal{classPreParserLoggerfinal{public:PreParserLogger():end_(-1),num_parameters_(-1),num_inner_functions_(-1){}voidLogFunction(intend,intnum_parameters,intnum_inner_functions){end_=end;num_parameters_=num_parameters;num_inner_functions_=num_inner_functions;}intend()const{returnend_;}intnum_parameters()const{returnnum_parameters_;}intnum_inner_functions()const{returnnum_inner_functions_;}private:intend_;// For function entries.intnum_parameters_;intnum_inner_functions_;};}// namespace internal}// namespace v8.#endif // V8_PARSING_PREPARSER_LOGGER_H_