#include "src/ast/ast-function-literal-id-reindexer.h"
#include "src/ast/ast.h"
namespace v8 {
namespace internal {
AstFunctionLiteralIdReindexer::AstFunctionLiteralIdReindexer(size_t stack_limit,
int delta)
: … { … }
AstFunctionLiteralIdReindexer::~AstFunctionLiteralIdReindexer() = default;
void AstFunctionLiteralIdReindexer::Reindex(Expression* pattern) { … }
void AstFunctionLiteralIdReindexer::VisitFunctionLiteral(FunctionLiteral* lit) { … }
void AstFunctionLiteralIdReindexer::VisitCall(Call* expr) { … }
void AstFunctionLiteralIdReindexer::VisitClassLiteral(ClassLiteral* expr) { … }
#ifdef DEBUG
namespace {
class AstFunctionLiteralIdReindexChecker final
: public AstTraversalVisitor<AstFunctionLiteralIdReindexChecker> { … };
}
void AstFunctionLiteralIdReindexer::CheckVisited(Expression* expr) { … }
#endif
}
}