1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2008 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 9 #ifndef GOOGLE_PROTOBUF_COMPILER_CSHARP_DOC_COMMENT_H__ 10 #define GOOGLE_PROTOBUF_COMPILER_CSHARP_DOC_COMMENT_H__ 11 12 #include "google/protobuf/compiler/csharp/csharp_options.h" 13 #include "google/protobuf/descriptor.h" 14 #include "google/protobuf/io/printer.h" 15 16 namespace google { 17 namespace protobuf { 18 namespace compiler { 19 namespace csharp { 20 void WriteMessageDocComment(io::Printer* printer, const Options* options, 21 const Descriptor* message); 22 void WritePropertyDocComment(io::Printer* printer, const Options* options, 23 const FieldDescriptor* field); 24 void WriteEnumDocComment(io::Printer* printer, const Options* options, 25 const EnumDescriptor* enumDescriptor); 26 void WriteEnumValueDocComment(io::Printer* printer, const Options* options, 27 const EnumValueDescriptor* value); 28 void WriteMethodDocComment(io::Printer* printer, const Options* options, 29 const MethodDescriptor* method); 30 } // namespace csharp 31 } // namespace compiler 32 } // namespace protobuf 33 } // namespace google 34 #endif // GOOGLE_PROTOBUF_COMPILER_CSHARP_DOC_COMMENT_H__ 35