Home
last modified time | relevance | path

Searched refs:annotations_ (Results 1 – 17 of 17) sorted by relevance

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_json_generator.cc267 if (ttype->annotations_.size() > 0) { in write_type_spec()
270 for (auto & annotation : ttype->annotations_) { in write_type_spec()
460 if (ttypedef->annotations_.size() > 0) { in generate_typedef()
463 for (auto & annotation : ttypedef->annotations_) { in generate_typedef()
569 if (tenum->annotations_.size() > 0) { in generate_enum()
572 for (auto & annotation : tenum->annotations_) { in generate_enum()
610 if (tstruct->annotations_.size() > 0) { in generate_struct()
613 for (auto & annotation : tstruct->annotations_) { in generate_struct()
652 if (tservice->annotations_.size() > 0) { in generate_service()
655 for (auto & annotation : tservice->annotations_) { in generate_service()
[all …]
Dt_xml_generator.cc391 generate_annotations(ttypedef->annotations_); in generate_typedef()
535 generate_annotations(val->annotations_); in generate_enum()
539 generate_annotations(tenum->annotations_); in generate_enum()
565 generate_annotations(tstruct->annotations_); in generate_struct()
596 generate_annotations(field->annotations_); in generate_field()
628 generate_annotations(tservice->annotations_); in generate_service()
665 generate_annotations(tfunc->annotations_); in generate_function()
Dt_netstd_generator.cc823 bool is_final = tstruct->annotations_.find("final") != tstruct->annotations_.end(); in generate_netstd_struct_definition()
1030 bool is_final = tstruct->annotations_.find("final") != tstruct->annotations_.end(); in generate_netstd_wcffault()
1942 auto iter = func->annotations_.find("deprecated"); in generate_deprecation_attribute()
1943 if( func->annotations_.end() != iter) { in generate_deprecation_attribute()
2344 …bool is_deprecated = (tfunction->annotations_.end() != tfunction->annotations_.find("deprecated")); in generate_process_function_async()
Dt_java_generator.cc559 bool is_deprecated = this->is_deprecated(tenum->annotations_); in generate_enum()
593 if (this->is_deprecated((*c_iter)->annotations_)) { in generate_enum()
907 bool is_final = (tstruct->annotations_.find("final") != tstruct->annotations_.end()); in generate_java_union()
908 bool is_deprecated = this->is_deprecated(tstruct->annotations_); in generate_java_union()
1055 bool is_deprecated = this->is_deprecated(field->annotations_); in generate_union_getters_and_setters()
1536 bool is_final = (tstruct->annotations_.find("final") != tstruct->annotations_.end()); in generate_java_struct_definition()
1537 bool is_deprecated = this->is_deprecated(tstruct->annotations_); in generate_java_struct_definition()
2438 bool is_deprecated = this->is_deprecated(field->annotations_); in generate_java_bean_boilerplate()
2999 if (field->annotations_.size() == 0) { in generate_metadata_for_field_annotations()
3011 for (auto& annotation : field->annotations_) { in generate_metadata_for_field_annotations()
Dt_cpp_generator.cc293 (ttype->annotations_.find("cpp.customostream") != ttype->annotations_.end()); in has_custom_ostream()
1219 if (tstruct->annotations_.find("final") == tstruct->annotations_.end()) { in generate_struct_declaration()
1359 if (tstruct->annotations_.find("final") == tstruct->annotations_.end()) { in generate_struct_definition()
4402 std::map<string, std::vector<string>>::iterator it = ttype->annotations_.find("cpp.type"); in type_name()
4403 if (it != ttype->annotations_.end() && !it->second.empty()) { in type_name()
Dt_javame_generator.cc666 bool is_final = (tstruct->annotations_.find("final") != tstruct->annotations_.end()); in generate_java_union()
1006 bool is_final = (tstruct->annotations_.find("final") != tstruct->annotations_.end()); in generate_java_struct_definition()
Dgo_validator_generator.cc65 = parser.parse_field(field->get_type(), field->annotations_); in generate_struct_validator()
Dt_kotlin_generator.cc582 if (field->annotations_.size() == 0) { in generate_metadata_for_field_annotations()
587 for (auto& annotation : field->annotations_) { in generate_metadata_for_field_annotations()
Dt_delphi_generator.cc1640 bool is_final = (tstruct->annotations_.find("final") != tstruct->annotations_.end()); in generate_delphi_struct_definition()
3241 auto iter = tfunction->annotations_.find("deprecated"); in function_signature()
3242 if( tfunction->annotations_.end() != iter && !iter->second.empty()) { in function_signature()
Dt_py_generator.cc284 …std::map<std::string, std::vector<std::string>>::iterator it = ttype->annotations_.find("python.im… in is_immutable()
286 if (it == ttype->annotations_.end()) { in is_immutable()
Dt_go_generator.cc125 if (tfield->annotations_.count("cpp.ref") != 0) { in is_pointer_field()
1279 std::map<string, std::vector<string>>::iterator it = (*m_iter)->annotations_.find("go.tag"); in generate_go_struct_definition()
1280 if (it != (*m_iter)->annotations_.end()) { in generate_go_struct_definition()
Dt_swift_generator.cc241 …if (tfield->annotations_.find("swift.nullable") != tfield->annotations_.end() && tfield->get_req()… in field_is_optional()
/thrift-3.4.0/compiler/cpp/src/thrift/
Dthrifty.yy303 g_program->set_namespace_annotations($2, $4->annotations_);
437 $$->annotations_ = $4->annotations_;
450 $$->annotations_ = $6->annotations_;
493 $$->annotations_ = $3->annotations_;
644 $$->annotations_ = $7->annotations_;
698 $$->annotations_ = $6->annotations_;
712 $$->annotations_ = $9->annotations_;
768 $$->annotations_ = $9->annotations_;
848 $$->annotations_ = $11->annotations_;
1161 $$->annotations_ = $2->annotations_;
[all …]
/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_enum_value.h43 std::map<std::string, std::vector<std::string>> annotations_; variable
Dt_function.h84 std::map<std::string, std::vector<std::string>> annotations_; variable
Dt_type.h86 std::map<std::string, std::vector<std::string>> annotations_; variable
Dt_field.h109 std::map<std::string, std::vector<std::string>> annotations_; variable