Mercurial > pub > Jint1
diff Jint.Runtime/VM/AbstractBox.cs @ 6:a6329b092499
Added scopes, function builder
author | cin |
---|---|
date | Wed, 30 Oct 2013 17:38:35 +0400 |
parents | cb13da6e3349 |
children |
line wrap: on
line diff
--- a/Jint.Runtime/VM/AbstractBox.cs Mon Oct 28 00:49:15 2013 +0400 +++ b/Jint.Runtime/VM/AbstractBox.cs Wed Oct 30 17:38:35 2013 +0400 @@ -1,23 +1,24 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Jint.Runtime.VM { - using OpCodes; - - abstract class AbstractBox { - - protected AbstractBox(Type type) { - holdingType = type; - } - - public readonly Type holdingType; - - public abstract void InvokeBinaryOperation(Codes code, int arg2, int dest, Frame frame); - public abstract void InvokeUnaryOperation(Codes code, int dest, Frame frame); - public abstract int InvokeCompareOperation(int arg2, Frame frame); - public abstract bool InvokeEqualityOperation(int arg2, Frame frame); - public abstract T Convert<T>(); - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Jint.Runtime.VM { + using OpCodes; + + abstract class AbstractBox { + + protected AbstractBox(Type type) { + holdingType = type; + } + + public readonly Type holdingType; + + public abstract void InvokeBinaryOperation(Codes code, int arg2, int dest, Frame frame); + public abstract void InvokeUnaryOperation(Codes code, int dest, Frame frame); + public abstract int InvokeCompareOperation(int arg2, Frame frame); + public abstract bool InvokeEqualityOperation(int arg2, Frame frame); + public abstract T Convert<T>(); + public abstract void CopyTo (Frame frame, int dest); + } +}