Searched refs:con (Results 1 – 3 of 3) sorted by relevance
122 void generate_constant(t_const* con);543 void t_json_generator::generate_constant(t_const* con) { in generate_constant() argument546 write_key_and_string("name", con->get_name()); in generate_constant()547 write_key_and_string("typeId", get_type_name(con->get_type())); in generate_constant()548 write_type_spec_object("type", con->get_type()); in generate_constant()550 if (con->has_doc()) { in generate_constant()551 write_key_and_string("doc", con->get_doc()); in generate_constant()555 write_const_value(con->get_value()); in generate_constant()
147 void generate_constant(t_const* con);455 void t_xml_generator::generate_constant(t_const* con) { in generate_constant() argument457 write_attribute("name", con->get_name()); in generate_constant()458 write_doc(con); in generate_constant()459 write_type(con->get_type()); in generate_constant()460 write_const_value(con->get_value()); in generate_constant()
1392 string con = tmp("_con"); in generate_deserialize_container() local1405 indent(out) << "let " << con << " = Hashtbl.create " << size << " in" << endl; in generate_deserialize_container()1416 indent(out) << "Hashtbl.add " << con << " _k _v" << endl; in generate_deserialize_container()1419 indent(out) << "done; iprot#readMapEnd; " << con << ")"; in generate_deserialize_container()1423 indent(out) << "let " << con << " = Hashtbl.create " << size << " in" << endl; in generate_deserialize_container()1427 indent(out) << "Hashtbl.add " << con << " "; in generate_deserialize_container()1431 indent(out) << "done; iprot#readSetEnd; " << con << ")"; in generate_deserialize_container()1436 indent(out) << "let " << con << " = (Array.to_list (Array.init " << size << " (fun _ -> "; in generate_deserialize_container()1440 indent(out) << "iprot#readListEnd; " << con << ")"; in generate_deserialize_container()