Home
last modified time | relevance | path

Searched refs:is_struct (Results 1 – 25 of 35) sorted by relevance

12

/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_type.h55 virtual bool is_struct() const { return false; } in is_struct() function
Dt_struct.h114 bool is_struct() const override { return !is_xception_; } in is_struct() function
Dt_scope.h133 } else if (ttype->is_struct()) { in resolve_const_value()
/thrift-3.4.0/compiler/cpp/tests/ocaml/
Dt_ocaml_generator_tests.cc51 else if (def->is_struct()) program.add_struct(static_cast<t_struct*>(def)); in gen_program()
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_cl_generator.cc307 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
308 out << (type->is_struct() ? "(make-instance '" : "(make-exception '") << in render_const_value()
500 } else if (t->is_struct() || t->is_xception()) { in typespec()
549 if (ttype->is_struct() || ttype->is_xception()) in type_name()
Dt_erl_generator.cc622 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
711 if (type->is_struct() || type->is_xception()) { in render_default_value()
749 } else if (type->is_struct() || type->is_xception()) { in render_member_type()
848 if (type->is_struct() || type->is_xception() || type->is_map() || type->is_set() in has_default_value()
1177 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
1222 } else if (type->is_struct() || type->is_xception()) { in render_type_term()
Dt_php_generator.cc681 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
786 } else if (t->is_struct() || t->is_xception() || t->is_enum()) { in generate_php_type_spec()
957 if ((*m_iter)->get_value() != nullptr && !(t->is_struct() || t->is_xception())) { in generate_php_struct_definition()
976 if ((*m_iter)->get_value() != nullptr && (t->is_struct() || t->is_xception())) { in generate_php_struct_definition()
1198 } else if (type->is_struct()) { in generate_php_struct_writer()
1818 } else if (atype->is_struct() || atype->is_xception()) { in generate_service_rest()
2122 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
2383 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
2711 } else if (type->is_struct() || type->is_xception()) { in declare_field()
2752 if (type->is_struct()) { in argument_list()
[all …]
Dt_perl_generator.cc357 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
493 if ((*m_iter)->get_value() != nullptr && !(t->is_struct() || t->is_xception())) { in generate_perl_struct_definition()
504 if ((*m_iter)->get_value() != nullptr && (t->is_struct() || t->is_xception())) { in generate_perl_struct_definition()
1207 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
1391 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
1590 } else if (type->is_struct() || type->is_xception()) { in declare_field()
1675 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_st_generator.cc400 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
809 } else if (t->is_struct() || t->is_xception()) { in write_val()
829 } else if (t->is_struct() || t->is_xception()) { in read_val()
1011 if (ttype->is_struct() || ttype->is_xception()) { in type_name()
1046 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_js_generator.cc738 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
909 if ((*m_iter)->get_value() != nullptr && !(t->is_struct() || t->is_xception())) { in generate_js_struct_definition()
934 if ((*m_iter)->get_value() != nullptr && (t->is_struct() || t->is_xception())) { in generate_js_struct_definition()
963 if (t->is_struct()) { in generate_js_struct_definition()
980 if (etype->is_struct()) { in generate_js_struct_definition()
2241 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
2420 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
2618 } else if (type->is_struct() || type->is_xception()) { in declare_field()
2709 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
2758 } else if (type->is_enum() || type->is_struct() || type->is_xception()) { in ts_get_type()
Dt_json_generator.cc248 if (ttype->is_struct() || ttype->is_xception() || ttype->is_container() || ttype->is_enum()) { in write_type_spec_object()
278 if (ttype->is_struct() || ttype->is_xception() || ttype->is_enum()) { in write_type_spec()
785 if (ttype->is_struct()) { in get_type_name()
Dt_c_glib_generator.cc555 return ttype->is_container() || ttype->is_struct() || ttype->is_xception(); in is_complex_type()
732 } else if (type->is_struct()) { in type_to_enum()
968 } else if (type->is_struct() || type->is_container()) { in declare_field()
1009 if (type->is_struct() || type->is_xception()) { in generate_const_initializer()
2506 } else if (arg_type->is_struct()) { in generate_service_processor()
2549 } else if (return_type->is_struct()) { in generate_service_processor()
2979 } else if (member_type->is_struct() || member_type->is_xception()) { in generate_object()
3064 } else if (member_type->is_struct() || member_type->is_xception()) { in generate_object()
3157 } else if (t->is_struct()) { in generate_object()
3284 } else if (t->is_struct() || t->is_xception()) { in generate_object()
[all …]
Dt_lua_generator.cc283 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
816 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
971 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
1161 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_netstd_generator.cc117 … return ttype->is_container() || ttype->is_struct() || ttype->is_xception() || ttype->is_string(); in type_can_be_null()
376 if (type->is_struct() || type->is_xception()) in print_const_def_value()
485 else if (type->is_struct() || type->is_xception()) in print_const_value()
580 if (ttype->is_struct() || ttype->is_xception()) in collect_extensions_types()
2556 if (type->is_struct() || type->is_xception()) in generate_deserialize_field()
2769 if (type->is_struct() || type->is_xception()) in generate_serialize_field()
3315 if (ttype->is_container() || ttype->is_struct() || ttype->is_xception()) { in nullable_value_access()
3328 return ttype->is_struct() || ttype->is_container(); in force_member_nullable()
3443 else if (is_union_enabled() && ttype->is_struct() && static_cast<t_struct*>(ttype)->is_union()) in get_deep_copy_method_call()
3541 else if (ttype->is_struct()) in initialize_field()
[all …]
Dt_ocaml_generator.cc395 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
519 if (type->is_struct() || type->is_xception()) { in struct_member_copy_of()
1327 if (type->is_struct() || type->is_xception()) { in generate_deserialize_type()
1465 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
1714 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
1757 } else if (type->is_struct() || type->is_xception()) { in render_ocaml_type()
Dt_go_generator.cc115 if (type->is_map() || type->is_set() || type->is_list() || type->is_struct() in type_need_reference()
130 if (type->is_struct() || type->is_xception()) { in is_pointer_field()
166 } else if (type->is_struct() || type->is_xception()) { in is_pointer_field()
1059 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
2087 if ((*f_iter)->get_returntype()->is_struct()) { in generate_service_client()
2476 } else if (the_type2->is_struct()) { in generate_service_remote()
3038 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
3299 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
3527 if (ttype->is_struct() || ttype->is_xception()) { in generate_go_equals()
3870 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
[all …]
Dt_rb_generator.cc456 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
734 if (field_type->is_struct() || field_type->is_xception()) { in generate_field_data()
1139 if (ttype->is_struct() || ttype->is_xception() || ttype->is_enum()) { in type_name()
1185 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_markdown_generator.cc267 } else if ((*o_iter)->is_struct() && (*o_iter)->is_union()) { in generate_program_toc_row()
731 } else if (ttype->is_struct()) { in print_type()
809 } else if (truetype->is_struct() || truetype->is_xception()) { in print_const_value()
Dt_haxe_generator.cc216 if (ttype->is_container() || ttype->is_struct() || ttype->is_xception() || ttype->is_string()) { in type_can_be_null()
513 …bool complex = type->is_struct() || type->is_xception() || type->is_map() || type->is_list() || ty… in print_const_value()
578 } else if (type->is_struct() || type->is_xception()) { in render_const_value()
1436 } else if (type->is_struct() || type->is_xception()) { in get_haxe_type_string()
1487 if (type->is_struct()) { in generate_field_value_meta_data()
2211 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
2397 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
2835 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_dart_generator.cc252 return ttype->is_container() || ttype->is_struct() || ttype->is_xception() in type_can_be_null()
595 } else if (type->is_struct() || type->is_xception()) { in print_const_value()
1345 } else if (type->is_struct() || type->is_xception()) { in get_dart_type_string()
1798 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
1979 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
2308 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_d_generator.cc566 if (type->is_struct() || type->is_xception()) { in render_const_value()
699 if (ttype->is_struct() && isArg) { in render_type_name()
Dt_xsd_generator.cc328 if (ttype->is_struct() || ttype->is_xception()) { in type_name()
Dt_rs_generator.cc739 } else if (ttype->is_struct() || ttype->is_xception()) { in render_const_value()
1015 } else if (tstruct->is_struct()) { in generate_struct()
1562 } else if (ttype->is_enum() || ttype->is_struct() || ttype->is_xception()) { in render_type_sync_write()
1947 } else if (ttype->is_enum() || ttype->is_struct() || ttype->is_xception()) { in render_type_sync_read()
3043 } else if (ttype->is_struct() || ttype->is_xception()) { in to_rust_type()
3100 } else if (ttype->is_struct() || ttype->is_xception()) { in to_rust_field_type_enum()
3139 } else if (ttype->is_enum() || ttype->is_struct() || ttype->is_xception()) { in opt_in_req_out_value()
Dt_javame_generator.cc233 return ttype->is_container() || ttype->is_struct() || ttype->is_xception() || ttype->is_string() in type_can_be_null()
455 } else if (type->is_struct() || type->is_xception()) { in print_const_value()
1276 if (field->get_type()->is_struct() || field->get_type()->is_xception()) { in generate_java_struct_compare_to()
1779 } else if (type->is_struct() || type->is_xception()) { in get_java_type_string()
1827 if (type->is_struct() || type->is_xception()) { in generate_field_value_meta_data()
2404 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
2596 if (type->is_struct() || type->is_xception()) { in generate_serialize_field()
2962 } else if (type->is_struct() || type->is_xception()) { in type_to_enum()
Dt_java_generator.cc378 return ttype->is_container() || ttype->is_struct() || ttype->is_xception() || ttype->is_string() in type_can_be_null()
702 } else if (type->is_struct() || type->is_xception()) { in print_const_value()
1832 if (t->is_struct()) { in generate_java_struct_parcelable()
1840 if (((t_list*)t)->get_elem_type()->get_true_type()->is_struct()) { in generate_java_struct_parcelable()
1931 if (t->is_struct()) { in generate_java_struct_parcelable()
1939 if (list->get_elem_type()->get_true_type()->is_struct()) { in generate_java_struct_parcelable()
2253 if (type->is_struct() && !((t_struct*)type)->is_union()) { in generate_java_validator()
2949 } else if (type->is_struct() || type->is_xception()) { in get_java_type_string()
3030 if (ttype->is_struct() || ttype->is_xception()) { in generate_field_value_meta_data()
4109 if (type->is_struct() || type->is_xception()) { in generate_deserialize_field()
[all …]

12