# Is this node annotated to be made serializable?
private fun is_serialize: Bool do return false
+ # Is this node annotated to not be made serializable?
+ private fun is_noserialize: Bool do return false
+
private fun accept_precise_type_visitor(v: PreciseTypeVisitor) do visit_all(v)
end
return get_annotations("serialize").not_empty or
get_annotations("auto_serializable").not_empty
end
+
+ redef fun is_noserialize do
+ return get_annotations("noserialize").not_empty
+ end
end
# TODO add annotations on attributes (volatile, sensitive or do_not_serialize?)