1<% 2p_name = property.snake_case 3p_type = property.cppTypeParam(interface.name) 4 5def p_value(): 6 if property.defaultValue == None: 7 return "{}" 8 9 value = str(property.defaultValue) 10 enum_prefix = "" 11 if property.is_enum(): 12 enum_prefix = f"{p_type}::" 13 14 return f" = {enum_prefix}{value}" 15 16%>\ 17 ${p_type} ${p_name}_${p_value()}; 18