#include "src/ast/source-range-ast-visitor.h"
#include "src/ast/ast-source-ranges.h"
namespace v8 {
namespace internal {
SourceRangeAstVisitor::SourceRangeAstVisitor(uintptr_t stack_limit,
Expression* root,
SourceRangeMap* source_range_map)
: … { … }
void SourceRangeAstVisitor::VisitBlock(Block* stmt) { … }
void SourceRangeAstVisitor::VisitSwitchStatement(SwitchStatement* stmt) { … }
void SourceRangeAstVisitor::VisitFunctionLiteral(FunctionLiteral* expr) { … }
void SourceRangeAstVisitor::VisitTryCatchStatement(TryCatchStatement* stmt) { … }
void SourceRangeAstVisitor::VisitTryFinallyStatement(
TryFinallyStatement* stmt) { … }
bool SourceRangeAstVisitor::VisitNode(AstNode* node) { … }
void SourceRangeAstVisitor::MaybeRemoveContinuationRange(
Statement* last_statement) { … }
void SourceRangeAstVisitor::MaybeRemoveLastContinuationRange(
ZonePtrList<Statement>* statements) { … }
namespace {
Statement* FindLastNonSyntheticStatement(ZonePtrList<Statement>* statements) { … }
}
void SourceRangeAstVisitor::MaybeRemoveContinuationRangeOfAsyncReturn(
TryCatchStatement* try_catch_stmt) { … }
}
}