Exemple #1
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         ;
     }
     walker.PostWalk(this);
 }
Exemple #2
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_expression != null) {
             _expression.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #3
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (var preceeding in _preceeding) {
             preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #4
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_preceeding != null) {
             _preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #5
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (Expression s in _items) {
             s.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #6
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (Expression e in _left) {
             e.Walk(walker);
         }
         _right.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #7
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (Items != null) {
             foreach (Expression e in Items) {
                 e.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #8
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_expressions != null) {
             foreach (Expression expression in _expressions) {
                 expression.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #9
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (var decorator in _decorators) {
             if (decorator != null) {
                 decorator.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #10
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_test != null) {
             _test.Walk(walker);
         }
         if (_message != null) {
             _message.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #11
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_test != null) {
             _test.Walk(walker);
         }
         if (_body != null) {
             _body.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #12
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_tuple != null) {
             _tuple.Walk(walker);
         }
         if (_defaultValue != null) {
             _defaultValue.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #13
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_left != null) {
             _left.Walk(walker);
         }
         if (_right != null) {
             _right.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #14
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_lhs != null) {
             _lhs.Walk(walker);
         }
         if (_list != null) {
             _list.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Exemple #15
0
 public override void Walk(JWalker 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(JWalker 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 #17
0
 public override void Walk(JWalker 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 #18
0
        public override void Walk(JWalker 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 #19
0
 public override void Walk(JWalker 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 #20
0
 public override void Walk(JWalker 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 #21
0
 public override void Walk(JWalker 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 #22
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_statements != null) {
             foreach (Statement s in _statements) {
                 s.Walk(walker);
             }
         }
     }
     walker.PostWalk(this);
 }
Exemple #23
0
 public override void Walk(JWalker 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 #24
0
 public override void Walk(JWalker 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);
 }
Exemple #25
0
 public override void Walk(JWalker 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(JWalker walker)
        {
            if (walker.Walk(this)) {
                foreach (var item in _items) {
                    item.Walk(walker);
                }

                if (_body != null) {
                    _body.Walk(walker);
                }
            }
            walker.PostWalk(this);
        }
Exemple #27
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         _left.Walk(walker);
         _right.Walk(walker);
     }
     walker.PostWalk(this);
 }
Exemple #28
0
 public override void Walk(JWalker 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 #29
0
 public override void Walk(JWalker 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);
 }