Mercurial > pub > Jint1
comparison Jint.Runtime/VM2/Box.cs @ 2:4aed85a1f558
implemented simple vm2
author | cin |
---|---|
date | Fri, 25 Oct 2013 15:52:16 +0400 |
parents | 033ebe7432d5 |
children |
comparison
equal
deleted
inserted
replaced
1:033ebe7432d5 | 2:4aed85a1f558 |
---|---|
7 public class Box | 7 public class Box |
8 { | 8 { |
9 public Operation[] impl; | 9 public Operation[] impl; |
10 public object value; | 10 public object value; |
11 | 11 |
12 public Box(object boxValue,Operation[] opImpl) { | |
13 value = boxValue; | |
14 impl = opImpl; | |
15 } | |
16 | |
12 public Type HoldingType { | 17 public Type HoldingType { |
13 get { | 18 get { |
14 return value == null ? null : value.GetType (); | 19 return value == null ? null : value.GetType (); |
15 } | 20 } |
16 } | 21 } |