// 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. #include "src/parsing/rewriter.h" #include <optional> #include "src/ast/ast.h" #include "src/ast/scopes.h" #include "src/logging/runtime-call-stats-scope.h" #include "src/objects/objects-inl.h" #include "src/parsing/parse-info.h" #include "src/parsing/parser.h" #include "src/zone/zone-list-inl.h" // Use this macro when `replacement_` or other data produced by Visit() is used // in a non-trivial way (needs to be valid) after calling Visit(). #define VISIT_AND_RETURN_IF_STACK_OVERFLOW … namespace v8internal // namespace v8::internal