Esempio n. 1
0
        public override bool Walk(ForStatement node)
        {
            _stack.EnterDeclared();
            AddVarSymbolRecursive(node.Left);
            node.List?.Walk(this);
            node.Body?.Walk(this);
            _stack.ExitDeclaredAndMerge();

            _stack.EnterDeclared();
            node.Else?.Walk(this);
            _stack.ExitDeclaredAndMerge();

            return(false);
        }