Lines Matching refs:stmt
33 void VisitBlock(Block* stmt);
34 void VisitTryCatchStatement(TryCatchStatement* stmt);
35 void VisitWithStatement(WithStatement* stmt);
77 void Rewriter::VisitBlock(Block* stmt) {
78 if (stmt->scope() != nullptr)
79 stmt->scope()->ReplaceOuterScope(param_scope_);
81 VisitStatements(stmt->statements());
85 void Rewriter::VisitTryCatchStatement(TryCatchStatement* stmt) {
86 Visit(stmt->try_block());
87 stmt->scope()->ReplaceOuterScope(param_scope_);
91 void Rewriter::VisitWithStatement(WithStatement* stmt) {
92 Visit(stmt->expression());
93 stmt->scope()->ReplaceOuterScope(param_scope_);