annotation.proto 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. syntax = "proto3";
  2. package qtprotobufnamespace.annotationtest;
  3. //test annotation
  4. message AnnotatedMessage1 {
  5. sint32 testField = 1;
  6. }
  7. /*test annotation*/
  8. message AnnotatedMessage2 {
  9. sint32 testField = 1;
  10. }
  11. /*
  12. * test annotation
  13. */
  14. message AnnotatedMessage3 {
  15. sint32 testField = 1;
  16. }
  17. /*
  18. test annotation
  19. */
  20. message AnnotatedMessage4 {
  21. sint32 testField = 1;
  22. }
  23. //! \brief test annotation
  24. message AnnotatedMessage5 {
  25. sint32 testField = 1;
  26. }
  27. //* \brief test annotation
  28. message AnnotatedMessage6 {
  29. sint32 testField = 1;
  30. }
  31. /*!
  32. * \brief test annotation
  33. */
  34. message AnnotatedMessage7 {
  35. sint32 testField = 1;
  36. }
  37. /**
  38. * \brief test annotation
  39. */
  40. message AnnotatedMessage8 {
  41. sint32 testField = 1;
  42. }
  43. /*
  44. * test annotation
  45. * test annotation secondline
  46. */
  47. message AnnotatedMessage9 {
  48. sint32 testField = 1;
  49. }
  50. message AnnotatedMessage10 {
  51. //Field annotation
  52. sint32 testField = 1;
  53. }
  54. message AnnotatedMessage11 {
  55. /*Field annotation*/
  56. sint32 testField = 1;
  57. }
  58. message AnnotatedMessage12 {
  59. //! Field annotation
  60. sint32 testField = 1;
  61. }
  62. message AnnotatedMessage13 {
  63. //* Field annotation
  64. sint32 testField = 1;
  65. }
  66. message AnnotatedMessage14 {
  67. //* Field annotation
  68. sint32 testField = 1;
  69. }
  70. message AnnotatedMessage15 {
  71. /*
  72. * Field annotation
  73. */
  74. sint32 testField = 1;
  75. }
  76. message AnnotatedMessage16 {
  77. /*
  78. * Field annotation
  79. * Field annotation secondline
  80. */
  81. sint32 testField = 1;
  82. }
  83. message AnnotatedMessage17 {
  84. /*!
  85. * \brief Field annotation
  86. */
  87. sint32 testField = 1;
  88. }
  89. message AnnotatedMessage18 {
  90. /**
  91. * \brief Field annotation
  92. */
  93. sint32 testField = 1;
  94. }