Example #1
0
 def marshal(self, visitor: serializable.Visitor) -> None:
     visitor.begin(self)
     super().marshal(visitor)
     visitor.scalar(Shape, self, 'element_type')
     visitor.end(self)
Example #2
0
 def marshal(self, visitor: serializable.Visitor) -> None:
     visitor.begin(self)
     super().marshal(visitor)
     visitor.primitive(str, self, 'name')
     visitor.end(self)
Example #3
0
 def marshal(self, visitor: serializable.Visitor) -> None:
     visitor.begin(self)
     super().marshal(visitor)
     visitor.primitive(NativeTypes, self, 'data_type')
     visitor.end(self)
Example #4
0
 def marshal(self, visitor: serializable.Visitor) -> None:
     visitor.begin(self)
     super().marshal(visitor)
     visitor.primitive(str, self, 'property_order')
     visitor.primitive(Shape, self, 'property_shape')
     visitor.end(self)