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);
 }
Esempio n. 2
0
 public override bool Walk(TryStatement node) => TryExceptHandler.HandleTryExcept(node);
 public override bool Walk(TryStatement node)
 {
     TryExceptHandler.HandleTryExcept(node);
     return(base.Walk(node));
 }
        public override async Task <bool> WalkAsync(TryStatement node, CancellationToken cancellationToken = default)
        {
            await TryExceptHandler.HandleTryExceptAsync(node, cancellationToken);

            return(await base.WalkAsync(node, cancellationToken));
        }