Home
last modified time | relevance | path

Searched refs:leading_comments (Results 1 – 22 of 22) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
DLocation.php94 protected $leading_comments = null; variable in Google\\Protobuf\\Internal\\SourceCodeInfo\\Location
327 return isset($this->leading_comments) ? $this->leading_comments : '';
332 return isset($this->leading_comments);
337 unset($this->leading_comments);
385 $this->leading_comments = $var;
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_doc_comment.cc50 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyImpl()
51 location.trailing_comments : location.leading_comments; in WriteDocCommentBodyImpl()
/third_party/grpc/src/compiler/
Druby_generator.cc172 std::string leading_comments = GetRubyComments(file, true); in GetServices() local
173 if (!leading_comments.empty()) { in GetServices()
175 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dphp_generator.cc180 std::string leading_comments = GetPHPComments(file, "//"); in GenerateFile() local
181 if (!leading_comments.empty()) { in GenerateFile()
183 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Dcsharp_generator.cc57 std::string comments = location.leading_comments.empty() in GenerateDocCommentBodyImpl()
59 : location.leading_comments; in GenerateDocCommentBodyImpl()
795 std::string leading_comments = GetCsharpComments(file, true); in GetServices() local
796 if (!leading_comments.empty()) { in GetServices()
798 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dnode_generator.cc256 std::string leading_comments = GetNodeComments(file, true); in GenerateFile() local
257 if (!leading_comments.empty()) { in GenerateFile()
259 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Dgenerator_helpers.h194 ? location.leading_comments in GetComment()
225 Split(location.leading_comments, '\n', out); in GetComment()
Dcpp_generator.cc105 std::string leading_comments = file->GetLeadingComments("//"); in GetHeaderPrologue() local
106 if (!leading_comments.empty()) { in GetHeaderPrologue()
108 printer->PrintRaw(leading_comments.c_str()); in GetHeaderPrologue()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_doc_comment.cc107 std::string comments = location.leading_comments.empty() in WriteDocCommentBodyForLocation()
109 : location.leading_comments; in WriteDocCommentBodyForLocation()
/third_party/flatbuffers/grpc/src/compiler/
Dcpp_generator.cc123 grpc::string leading_comments = file->GetLeadingComments("//"); in GetHeaderPrologue() local
124 if (!leading_comments.empty()) { in GetHeaderPrologue()
126 printer->Print(leading_comments.c_str()); in GetHeaderPrologue()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc939 const string& comments = location.leading_comments.empty() in BuildCommentsString()
941 : location.leading_comments; in BuildCommentsString()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc1601 string comments = location.leading_comments.empty() ? in GenerateDocCommentBodyForLocation()
1602 location.trailing_comments : location.leading_comments; in GenerateDocCommentBodyForLocation()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h155 std::string leading_comments; member
Ddescriptor.cc2403 if (!source_loc_.leading_comments.empty()) { in AddPreComment()
2404 *output += FormatComment(source_loc_.leading_comments); in AddPreComment()
2980 out_location->leading_comments = loc->leading_comments(); in GetSourceLocation()
Ddescriptor.pb.h6017 const std::string& leading_comments() const;
6024 void set_allocated_leading_comments(std::string* leading_comments);
12378 inline const std::string& SourceCodeInfo_Location::leading_comments() const { in leading_comments() function
12429 inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) { in set_allocated_leading_comments() argument
12430 if (leading_comments != nullptr) { in set_allocated_leading_comments()
12435 …_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments, in set_allocated_leading_comments()
Ddescriptor.proto879 optional string leading_comments = 3; field
/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto617 optional string leading_comments = 3; field
/third_party/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto617 optional string leading_comments = 3; field
/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Ddescriptor.proto617 optional string leading_comments = 3; field
/third_party/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2688 iter->second->leading_comments()); in HasSpanWithComment()
/third_party/grpc/third_party/upb/benchmarks/
Ddescriptor_sv.proto860 optional string leading_comments = 3 [ctype = STRING_PIECE]; field
Ddescriptor.proto875 optional string leading_comments = 3; field