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
파일: Method.cs 프로젝트: ajlopez/AjTalk
 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