Exemplo n.º 1
0
        override public void Prepass(PrepassState state)
        {
            DisplayName = Name;

            Expression.Prepass(state);
            state.EnterScope();

            state.Bind(Name);
            Name = state.Rename(Name);

            Recipient.Prepass(state);
            state.ExitScope();
        }
Exemplo n.º 2
0
        override public void Prepass(PrepassState state)
        {
            DisplayName         = Name;
            DisplayArgumentName = ArgumentName;

            state.EnterScope();

            state.Bind(Name);
            Name = state.Rename(Name);

            state.EnterScope();
            state.Bind(ArgumentName);
            ArgumentName = state.Rename(ArgumentName);

            Body.Prepass(state);

            state.ExitScope();

            Recipient.Prepass(state);

            state.ExitScope();
        }