1.1 --- a/micropython/program.py Sat Oct 10 01:52:27 2009 +0200
1.2 +++ b/micropython/program.py Sat Oct 10 03:09:29 2009 +0200
1.3 @@ -36,6 +36,19 @@
1.4 item.location = location + i
1.5 return self.code
1.6
1.7 +class DataValue:
1.8 +
1.9 + "A representation of a raw program value."
1.10 +
1.11 + def __init__(self, context, ref):
1.12 + self.context = context
1.13 + self.ref = ref
1.14 +
1.15 + def __repr__(self):
1.16 + return "%r, %r" % (
1.17 + self.context, self.ref
1.18 + )
1.19 +
1.20 class DataObject:
1.21
1.22 "A representation of a raw program data object."