Beispiel #1
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         ;
     }
     walker.PostWalk(this);
 }
Beispiel #2
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         _left.Walk(walker);
         _right.Walk(walker);
     }
     walker.PostWalk(this);
 }
Beispiel #3
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (Expression s in _items) {
             s.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Beispiel #4
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_expression != null) {
             _expression.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Beispiel #5
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         foreach (var preceeding in _preceeding) {
             preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Beispiel #6
0
 public override void Walk(JWalker walker)
 {
     if (ContextManager != null) {
         ContextManager.Walk(walker);
     }
     if (Variable != null) {
         Variable.Walk(walker);
     }
 }
Beispiel #7
0
 public override void Walk(JWalker walker)
 {
     if (walker.Walk(this)) {
         if (_preceeding != null) {
             _preceeding.Walk(walker);
         }
     }
     walker.PostWalk(this);
 }
Beispiel #8
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);
 }
Beispiel #9
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);
 }
Beispiel #10
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);
 }
Beispiel #11
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);
 }
Beispiel #12
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);
 }
Beispiel #13
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);
 }
Beispiel #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);
 }
Beispiel #15
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);
 }
Beispiel #16
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);
 }
Beispiel #17
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);
 }
Beispiel #18
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);
 }
Beispiel #19
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);
 }
Beispiel #20
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);
        }
Beispiel #21
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);
 }
Beispiel #22
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);
 }
Beispiel #23
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);
 }
Beispiel #24
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);
 }
Beispiel #25
0
 public abstract override void Walk(JWalker walker);
Beispiel #26
0
 public abstract void Walk(JWalker walker);
Beispiel #27
0
 public override void Walk(JWalker walker)
 {
     for (int i = _start; i <= _end; i++) {
         _suite.Statements[i].Walk(walker);
     }
 }
Beispiel #28
0
 public override void Walk(JWalker walker)
 {
     _node.Walk(walker);
 }
Beispiel #29
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);
 }
Beispiel #30
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);
 }