ProvidesDeprecationComment
Protocol that all the Descriptors conform to provide deprecation comments
protocol ProvidesDeprecationComment
Browse conforming typesProtocol that all the Descriptors conform to provide deprecation comments
protocol ProvidesDeprecationComment
s26SwiftProtobufPluginLibrary26ProvidesDeprecationCommentP
What are these?9F8MT
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
func deprecationComment(commentPrefix: String) -> String
Returns the deprecation comment to be used.
protocol SimpleProvidesDeprecationComment : ProvidesDeprecationComment
Protocol that a Descriptor can confirm to when only the Type controls depecation.
protocol TypeOrFileProvidesDeprecationComment : ProvidesDeprecationComment
Protocol that a Descriptor can confirm to when the Type or the File controls depecation.
protocol ProvidesSourceCodeLocation
Protocol that all the Descriptors conform to for original .proto file location lookup.
func protoSourceCommentsWithDeprecation(commentPrefix: String = "///", leadingDetachedPrefix: String? = nil) -> String
Helper to get the protoSourceComments combined with any depectation comment.