AjTalk.Language.Interpreter.PushContext C# (CSharp) Метод

PushContext() публичный Метод

public PushContext ( ExecutionContext newcontext ) : void
newcontext ExecutionContext
Результат void
        public void PushContext(ExecutionContext newcontext)
        {
            newcontext.Sender = this.context;
            this.context = newcontext;
        }

Usage Example

Пример #1
0
 public object ExecuteInInterpreter(Interpreter interpreter, IObject self, object[] args)
 {
     interpreter.PushContext(new ExecutionContext(interpreter.Machine, self, this, args));
     return interpreter;
 }
All Usage Examples Of AjTalk.Language.Interpreter::PushContext