+class OpaqueValueExtractor(ValueExtractor):
+ '''Value extractor that also understands opaque values.
+
+ Normally opaque values can't be retraced, unless they are being extracted
+ in the context of handles.'''
+
+ def visit_opaque(self, opaque, lvalue, rvalue):
+ print ' %s = static_cast<%s>((%s).blob());' % (lvalue, opaque, rvalue)
+