Mercurial > pub > Jint1
diff Jint.Runtime/VM/OpCodes/AbstractOp.cs @ 7:17543aa3aced
sync
author | cin |
---|---|
date | Tue, 29 Oct 2013 07:04:33 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Jint.Runtime/VM/OpCodes/AbstractOp.cs Tue Oct 29 07:04:33 2013 +0400 @@ -0,0 +1,20 @@ +using System; + +namespace Jint.Runtime.VM.OpCodes { + abstract class AbstractOp: IInstruction { + + protected IInstruction m_next; + + public IInstruction Chain(IInstruction next) { + m_next = next; + return next; + } + + #region IInstruction implementation + + abstract public IInstruction Invoke (Frame frame); + + #endregion + } +} +