annotate Jint.Runtime/VM/AbstractBox.cs @ 4:1ae5b10f7a10

Code cleanup, minor refactoring
author cin
date Sun, 27 Oct 2013 21:20:59 +0400
parents
children cb13da6e3349
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
1 using System;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
2 using System.Collections.Generic;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
3 using System.Linq;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
4 using System.Text;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
5
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
6 namespace Jint.Runtime.VM {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
7 using OpCodes;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
8
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
9 abstract class AbstractBox {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
10
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
11 protected AbstractBox(Type type) {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
12 holdingType = type;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
13 }
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
14
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
15 public readonly Type holdingType;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
16
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
17 public abstract void InvokeBinaryOperation(Codes code, int arg2, int dest, Frame frame);
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
18 public abstract void InvokeUnaryOperation(Codes code, int dest, Frame frame);
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
19 public abstract void InvokeCompareOperation(int arg2, int dest, Frame frame);
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
20 public abstract void InvokeEqualityOperation(int arg2, int dest, Frame frame);
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
21 }
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
22 }