diff options
author | Jon Skeet <jonskeet@google.com> | 2015-06-05 20:44:05 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-06-05 20:44:05 +0100 |
commit | f52426827e4d5e8da7d205af538799740b5199b9 (patch) | |
tree | e8ae6e5e8b392a92e4d65a3e6a1a40bfd228aeab /src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h | |
parent | 8fe039a69a11764e981f59d8b61119565ad70c58 (diff) | |
download | protobuf-f52426827e4d5e8da7d205af538799740b5199b9.tar.gz protobuf-f52426827e4d5e8da7d205af538799740b5199b9.tar.bz2 protobuf-f52426827e4d5e8da7d205af538799740b5199b9.zip |
First stab at new proto3-only code generator
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h b/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h index 68c3d6c9..92f265c5 100644 --- a/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h +++ b/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h @@ -41,17 +41,15 @@ namespace protobuf { namespace compiler { namespace csharp { -class Writer; - +// TODO(jonskeet): Refactor repeated field support; all the implementations are *really* similar. We +// should probably have a RepeatedFieldGeneratorBase. class RepeatedEnumFieldGenerator : public FieldGeneratorBase { public: RepeatedEnumFieldGenerator(const FieldDescriptor* descriptor, int fieldOrdinal); ~RepeatedEnumFieldGenerator(); virtual void GenerateMembers(io::Printer* printer); - virtual void GenerateBuilderMembers(io::Printer* printer); virtual void GenerateMergingCode(io::Printer* printer); - virtual void GenerateBuildingCode(io::Printer* printer); virtual void GenerateParsingCode(io::Printer* printer); virtual void GenerateSerializationCode(io::Printer* printer); virtual void GenerateSerializedSizeCode(io::Printer* printer); |