public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         _expression.Walk(walker);
         _annotation?.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #2
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         _preceding?.Walk(walker);
         _nested?.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #3
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         _left.Walk(walker);
         _right.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #4
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_expression != null) {
             _expression.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #5
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         foreach (Expression s in _items) {
             s.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #6
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         foreach (var preceeding in _preceeding) {
             preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #7
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_test != null) {
             _test.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #8
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_preceeding != null) {
             _preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #9
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         foreach (Expression e in _left) {
             e.Walk(walker);
         }
         _right.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #10
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_statements != null) {
             foreach (Statement s in _statements) {
                 s.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #11
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         foreach (var decorator in _decorators) {
             if (decorator != null) {
                 decorator.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #12
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_expressions != null) {
             foreach (Expression expression in _expressions) {
                 expression.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #13
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (Items != null) {
             foreach (Expression e in Items) {
                 e.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #14
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_annotation != null) {
             _annotation.Walk(walker);
         }
         if (_defaultValue != null) {
             _defaultValue.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #15
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_target != null) {
             _target.Walk(walker);
         }
         if (_index != null) {
             _index.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #16
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_tuple != null) {
             _tuple.Walk(walker);
         }
         if (_defaultValue != null) {
             _defaultValue.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_left != null) {
             _left.Walk(walker);
         }
         if (_right != null) {
             _right.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #18
0
        public override void Walk(PythonWalker walker) {
            if (walker.Walk(this)) {
                foreach (var item in _items) {
                    item.Walk(walker);
                }

                if (_body != null) {
                    _body.Walk(walker);
                }
            }
            walker.PostWalk(this);
        }
Exemple #19
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_target != null) {
             _target.Walk(walker);
         }
         if (_args != null) {
             foreach (Arg arg in _args) {
                 arg.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #20
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_tests != null) {
             foreach (IfStatementTest test in _tests) {
                 test.Walk(walker);
             }
         }
         if (_else != null) {
             _else.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #21
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_item != null) {
             _item.Walk(walker);
         }
         if (_iterators != null) {
             foreach (ComprehensionIterator ci in _iterators) {
                 ci.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_expressions != null)
         {
             foreach (Expression expression in _expressions)
             {
                 expression.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #23
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_sliceStart != null) {
             _sliceStart.Walk(walker);
         }
         if (_sliceStop != null) {
             _sliceStop.Walk(walker);
         }
         if (_sliceStep != null) {
             _sliceStep.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (Items != null)
         {
             foreach (Expression e in Items)
             {
                 e.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #25
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_testExpr != null) {
             _testExpr.Walk(walker);
         }
         if (_trueExpr != null) {
             _trueExpr.Walk(walker);
         }
         if (_falseExpr != null) {
             _falseExpr.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #26
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_items != null)
         {
             foreach (SliceExpression s in _items)
             {
                 s.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #27
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_type != null) {
             _type.Walk(walker);
         }
         if (_value != null) {
             _value.Walk(walker);
         }
         if (_traceback != null) {
             _traceback.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #28
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_code != null) {
             _code.Walk(walker);
         }
         if (_locals != null) {
             _locals.Walk(walker);
         }
         if (_globals != null) {
             _globals.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #29
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_statements != null)
         {
             foreach (Statement s in _statements)
             {
                 s.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #30
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         foreach (var decorator in _decorators)
         {
             if (decorator != null)
             {
                 decorator.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #31
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         Body?.Walk(walker);
         foreach (TryStatementHandler handler in _handlers.MaybeEnumerate())
         {
             handler.Walk(walker);
         }
         Else?.Walk(walker);
         Finally?.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #32
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_tuple != null)
         {
             _tuple.Walk(walker);
         }
         if (_defaultValue != null)
         {
             _defaultValue.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #33
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         NameExpression?.Walk(walker);
         foreach (var p in _parameters.MaybeEnumerate())
         {
             p.Walk(walker);
         }
         Decorators?.Walk(walker);
         _body?.Walk(walker);
         ReturnAnnotation?.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #34
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_target != null)
         {
             _target.Walk(walker);
         }
         if (_index != null)
         {
             _index.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_test != null)
         {
             _test.Walk(walker);
         }
         if (_body != null)
         {
             _body.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #36
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_test != null)
         {
             _test.Walk(walker);
         }
         if (_message != null)
         {
             _message.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #37
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_annotation != null)
         {
             _annotation.Walk(walker);
         }
         if (_defaultValue != null)
         {
             _defaultValue.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #38
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_left != null)
         {
             _left.Walk(walker);
         }
         if (_right != null)
         {
             _right.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #39
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_lhs != null)
         {
             _lhs.Walk(walker);
         }
         if (_list != null)
         {
             _list.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #40
0
        public override void Walk(PythonWalker walker)
        {
            if (walker.Walk(this))
            {
                foreach (var item in _items)
                {
                    item.Walk(walker);
                }

                if (_body != null)
                {
                    _body.Walk(walker);
                }
            }
            walker.PostWalk(this);
        }
Exemple #41
0
        public override void Walk(PythonWalker walker)
        {
            if (walker.Walk(this))
            {
                if (_tests != null)
                {
                    foreach (IfStatementTest test in _tests)
                    {
                        test.Walk(walker);
                    }
                }

                _else?.Walk(walker);
            }
            walker.PostWalk(this);
        }
Exemple #42
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_left != null) {
             _left.Walk(walker);
         }
         if (_list != null) {
             _list.Walk(walker);
         }
         if (_body != null) {
             _body.Walk(walker);
         }
         if (_else != null) {
             _else.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #43
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_target != null)
         {
             _target.Walk(walker);
         }
         if (_args != null)
         {
             foreach (Arg arg in _args)
             {
                 arg.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #44
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_item != null)
         {
             _item.Walk(walker);
         }
         if (_iterators != null)
         {
             foreach (ComprehensionIterator ci in _iterators)
             {
                 ci.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #45
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_type != null)
         {
             _type.Walk(walker);
         }
         if (_value != null)
         {
             _value.Walk(walker);
         }
         if (_traceback != null)
         {
             _traceback.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_testExpr != null)
         {
             _testExpr.Walk(walker);
         }
         if (_trueExpr != null)
         {
             _trueExpr.Walk(walker);
         }
         if (_falseExpr != null)
         {
             _falseExpr.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #47
0
 public override void Walk(PythonWalker walker) {
     if (walker.Walk(this)) {
         if (_body != null) {
             _body.Walk(walker);
         }
         if (_handlers != null) {
             foreach (TryStatementHandler handler in _handlers) {
                 handler.Walk(walker);
             }
         }
         if (_else != null) {
             _else.Walk(walker);
         }
         if (_finally != null) {
             _finally.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_sliceStart != null)
         {
             _sliceStart.Walk(walker);
         }
         if (_sliceStop != null)
         {
             _sliceStop.Walk(walker);
         }
         if (_sliceStep != null)
         {
             _sliceStep.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #49
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_code != null)
         {
             _code.Walk(walker);
         }
         if (_locals != null)
         {
             _locals.Walk(walker);
         }
         if (_globals != null)
         {
             _globals.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_decorators != null)
         {
             _decorators.Walk(walker);
         }
         if (_bases != null)
         {
             foreach (var b in _bases)
             {
                 b.Walk(walker);
             }
         }
         if (_body != null)
         {
             _body.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #51
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_parameters != null)
         {
             foreach (Parameter p in _parameters)
             {
                 p.Walk(walker);
             }
         }
         if (_decorators != null)
         {
             _decorators.Walk(walker);
         }
         if (_body != null)
         {
             _body.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #52
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this))
     {
         if (_left != null)
         {
             _left.Walk(walker);
         }
         if (_list != null)
         {
             _list.Walk(walker);
         }
         if (_body != null)
         {
             _body.Walk(walker);
         }
         if (_else != null)
         {
             _else.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #53
0
 public override void Walk(PythonWalker walker) {
     if (ContextManager != null) {
         ContextManager.Walk(walker);
     }
     if (Variable != null) {
         Variable.Walk(walker);
     }
 }
Exemple #54
0
 public override void Walk(PythonWalker walker)
 {
     if (walker.Walk(this)) {
         _expr.Walk(walker);
     }
 }
Exemple #55
0
 public override void Walk(PythonWalker walker)
 {
     ContextManager?.Walk(walker);
     Variable?.Walk(walker);
 }
Exemple #56
0
 public abstract void Walk(PythonWalker walker);
Exemple #57
0
 public abstract override void Walk(PythonWalker walker);
Exemple #58
0
 public abstract override void Walk(PythonWalker walker);
Exemple #59
0
 public abstract void Walk(PythonWalker walker);