public override void PostWalk(ListComprehension node) { base.PostWalk(node); PopScope(); if (node.Scope.NeedsLocalsDictionary) { _currentScope.NeedsLocalsDictionary = true; } }
// ListComp public override bool Walk(ListComprehension node) { BitArray save = _bits; _bits = new BitArray(_bits); foreach (ComprehensionIterator iter in node.Iterators) { iter.Walk(this); } node.Item.Walk(this); _bits = save; return(false); }
internal ListComp(ListComprehension comp) : this() { _elt = Convert(comp.Item); _generators = Convert(comp.Iterators); }
public override bool Walk(ListComprehension node) { node.Parent = _currentScope; return base.Walk(node); }
// ListComprehension public override bool Walk(ListComprehension node) { node.Parent = _currentScope; return(base.Walk(node)); }
public override void PostWalk(ListComprehension node) { CommonPostWalk(node); }
public override bool Walk(ListComprehension node) { CommonWalk(node); return true; }
// ListComprehension public bool Walk(ListComprehension node) { return Process(node); }
public void PostWalk(ListComprehension node) { PostProcess(node); }
public override bool Walk(ListComprehension node) { WalkComprehensionIterators(node); node.Item.Walk(this); return(false); }
// ListComp public override bool Walk(ListComprehension node) { BitArray save = _bits; _bits = new BitArray(_bits); foreach (ComprehensionIterator iter in node.Iterators) { iter.Walk(this); } node.Item.Walk(this); _bits = save; return false; }
public virtual void PostWalk(ListComprehension node) { }
// ListComprehension public virtual bool Walk(ListComprehension node) { return true; }
public string Visit(PyAst.ListComprehension node) => throw CreateNotImplementedEx();