public void VisitComprehensionExpression(ComprehensionExpression comp)
        {
            // Do not store scope counter because comprehensions contain only expressions.
            DecendScope();

            comp.Item.AcceptWalker(this);
            comp.Body.AcceptWalker(this);

            AscendScope();
        }
Beispiel #2
0
        public void VisitComprehensionExpression(ComprehensionExpression comp)
        {
            BitArray save = bits;
            bits = new BitArray(bits);

            comp.Body.AcceptWalker(this);
            comp.Item.AcceptWalker(this);

            bits = save;
        }