view Jint.Runtime/VM/AbstractBox.cs @ 5:cb13da6e3349

simple loop test
author cin
date Mon, 28 Oct 2013 00:49:15 +0400
parents 1ae5b10f7a10
children a6329b092499
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>();
    }
}