Searched refs:CamelCaseToUnderScore (Results 1 – 3 of 3) sorted by relevance
827 s << util::CamelCaseToUnderScore(def->name_) << ": Arc<" << def->name_ << "Data>,"; in GenRustStructDeclarations()1063 auto complement_root_accessor = util::CamelCaseToUnderScore(complement_root->name_); in GenRustAccessStructImpls()1074 auto root_accessor = util::CamelCaseToUnderScore(root->name_); in GenRustAccessStructImpls()1095 s << " match &self." << util::CamelCaseToUnderScore(name_) << ".child {"; in GenRustAccessStructImpls()1113 auto accessor_name = util::CamelCaseToUnderScore(def->name_); in GenRustAccessStructImpls()1117 …s << "let " << accessor_name << " = match &" << util::CamelCaseToUnderScore(prev->name_) << ".chil… in GenRustAccessStructImpls()1127 s << util::CamelCaseToUnderScore(def->name_) << ","; in GenRustAccessStructImpls()1146 … s << " &self." << util::CamelCaseToUnderScore(def->name_) << ".as_ref()." << field->GetName(); in GenRustAccessStructImpls()1150 … s << " self." << util::CamelCaseToUnderScore(def->name_) << ".as_ref()." << field->GetName(); in GenRustAccessStructImpls()1163 s << def->name_ << "Packet::new(self." << util::CamelCaseToUnderScore(root->name_) << ")"; in GenRustAccessStructImpls()[all …]
43 s << "#include \"" << include_ << util::CamelCaseToUnderScore(GetTypeName()) << ".h\"\n"; in GenInclude()47 …s << "#include \"" << include_ << util::CamelCaseToUnderScore(GetTypeName()) << "_pybind11_type_ca… in GenPyBind11Include()
63 inline std::string CamelCaseToUnderScore(std::string value) { in CamelCaseToUnderScore() function