diff Jint.Runtime/VM/OperationDelegates.cs @ 3:aced2ae9957f

temp commit, new virtual machine concept (strongly typed version of VM2).
author cin
date Sun, 27 Oct 2013 17:23:25 +0400
parents
children 1ae5b10f7a10
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Jint.Runtime/VM/OperationDelegates.cs	Sun Oct 27 17:23:25 2013 +0400
@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Jint.Runtime.VM {
+    public delegate T BinaryOperation<T>(T arg1, T arg2);
+    public delegate T UnaryOperation<T>(T arg);
+    public delegate int CompareOperation<T>(T arg1, T arg2);
+    public delegate bool EqualsOperation<T>(T arg1, T arg2);
+}