class

Proto::Generator::FileGenerator

Inherits Proto::Generator::MessageStructure < Proto::Generator::FieldNaming < Reference < Object

Constructors

new(file : Bootstrap::FileDescriptorProto, index : TypeIndex, type_resolver : TypeNameResolver | Nil = nil)
Source

Instance methods

generate

Generate and return the Crystal source code.

Source
output_name

Return the output file name for the given proto file.

Source