Instance Property (Default implementation)swift-protobuf 1.29.0SwiftProtobufPluginLibrary
copyrightLine
CodeGenerator.swift:183var copyrightLine: String? { get }
var copyrightLine: String? { get }
s26SwiftProtobufPluginLibrary13CodeGeneratorPAAE13copyrightLineSSSgvp
What are these?91S81
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
protocol CodeGenerator
A protocol that generator should conform to then get easy support for being a protocol buffer compiler pluign.
@frozen struct String
A Unicode string value that is a collection of characters.
var copyrightLine: String? { get }
If provided and printHelp
isn’t provide, this value will be including in default output for the --help
output.
static func main()
Runs as a protocol buffer compiler plugin; reading the generation request off stdin and sending the response on stdout.
var customOptionExtensions: [any AnyMessageExtension] { get }
var projectURL: String? { get }
var supportedEditionRange: ClosedRange<Google_Protobuf_Edition> { get }
var version: String? { get }
func main(_ args: [String]?)
Runs as a protocol buffer compiler plugin based on the given arguments or falls back to CommandLine.arguments
.
func printHelp()