4
|
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 void InvokeCompareOperation(int arg2, int dest, Frame frame);
|
|
20 public abstract void InvokeEqualityOperation(int arg2, int dest, Frame frame);
|
|
21 }
|
|
22 }
|