protected AnalysisWalker(ExpressionEval eval) { Eval = eval; ImportHandler = new ImportHandler(this); AssignmentHandler = new AssignmentHandler(this); LoopHandler = new LoopHandler(this); ConditionalHandler = new ConditionalHandler(this); WithHandler = new WithHandler(this); TryExceptHandler = new TryExceptHandler(this); NonLocalHandler = new NonLocalHandler(this); }
public override bool Walk(WithStatement node) { WithHandler.HandleWith(node); // HandleWith does not walk the body. return(base.Walk(node)); }
public override bool Walk(WithStatement node) { WithHandler.HandleWith(node); return(base.Walk(node)); }
public override async Task <bool> WalkAsync(WithStatement node, CancellationToken cancellationToken = default) { await WithHandler.HandleWithAsync(node, cancellationToken); return(await base.WalkAsync(node, cancellationToken)); }