view Jint.Runtime/VM/AbstractBox.cs @ 8:5b2302d3ac4f default tip

Слияние
author cin
date Wed, 30 Oct 2013 20:44:42 +0400
parents a6329b092499
children
line wrap: on
line source

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);
    }
}