module T::Props::GeneratedCodeValidation

def self.validate_serialize_clause(clause)

def self.validate_serialize_clause(clause)
lause.type)
 else_body = clause.children
y>.nil?
 condition.type)
condition.children
 receiver.type)
 method)

issing_from_serialize(%<prop>) if strict
 if_body.type)
on, if_strict_body, if_strict_else = if_body.children
var, :strict), if_strict_condition)
d, if_strict_body.type)
r, on_strict_method, on_strict_arg = if_strict_body.children
 on_strict_receiver)
uired_prop_missing_from_serialize, on_strict_method)
, on_strict_arg.type)
 if_strict_else)
rm>] = ...
 else_body.type)
_key, h_val = else_body.children
r, :h), receiver)
method)
h_key.type)
de_effects(h_val, whitelisted_methods_for_serialize)