Exemplo n.º 1
0
                public override void Visit(UseStatementNode node)
                {
                    // We need to visit the initializer first so that it can't refer to variables
                    // introduced in the pattern.
                    Visit(node.Initializer);
                    Visit(node.Pattern);

                    _scope.Function !.PushUse(_scope.Block !, node);
                }
Exemplo n.º 2
0
                    public void PushUse(BlockScope scope, UseStatementNode use)
                    {
                        _uses.Push((GetDepth(scope.Node), use));

                        scope.Uses++;
                    }