6
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5
|
|
6 namespace Jint.Runtime.VM {
|
|
7 using OpCodes;
|
|
8
|
|
9 abstract class AbstractBox {
|
|
10
|
|
11 protected AbstractBox(Type type) {
|
|
12 holdingType = type;
|
|
13 }
|
|
14
|
|
15 public readonly Type holdingType;
|
|
16
|
|
17 public abstract void InvokeBinaryOperation(Codes code, int arg2, int dest, Frame frame);
|
|
18 public abstract void InvokeUnaryOperation(Codes code, int dest, Frame frame);
|
|
19 public abstract int InvokeCompareOperation(int arg2, Frame frame);
|
|
20 public abstract bool InvokeEqualityOperation(int arg2, Frame frame);
|
|
21 public abstract T Convert<T>();
|
|
22 public abstract void CopyTo (Frame frame, int dest);
|
|
23 }
|
|
24 }
|