Instance Property (Default implementation)swift-protobuf 1.29.0SwiftProtobufPluginLibrary
supportedEditionRange
CodeGenerator.swift:175var supportedEditionRange: ClosedRange<Google_Protobuf_Edition> { get }
var supportedEditionRange: ClosedRange<Google_Protobuf_Edition> { get }
s26SwiftProtobufPluginLibrary13CodeGeneratorPAAE21supportedEditionRangeSNy0aB007Google_b1_H0OAGSLAAyHCg_Gvp
What are these?84FG
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 ClosedRange<Bound> where Bound : Comparable
An interval from a lower bound up to, and including, an upper bound.
enum Google_Protobuf_Edition
The full set of known editions.
var supportedEditionRange: ClosedRange<Google_Protobuf_Edition> { get }
The Protobuf Edition range that this generator can handle. Attempting to generate for an Edition outside this range will cause protoc to error.
static func main()
Runs as a protocol buffer compiler plugin; reading the generation request off stdin and sending the response on stdout.
var copyrightLine: String? { get }
var customOptionExtensions: [any AnyMessageExtension] { get }
var projectURL: String? { 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()