SwiftCompilerOutputParser
Parser for the Swift compiler JSON output mode.
SwiftCompilerOutputParser.swift:100final class SwiftCompilerOutputParser
Citizens in Build
Conformances
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
Type members
init(targetName: String, delegate: SwiftCompilerOutputParserDelegate
) Initializes the parser with a delegate to notify of parsing events.
Instance members
var delegate: SwiftCompilerOutputParserDelegate?
Delegate to notify of parsing events.
let targetName: String
Name of the target the compiler is compiling.
func jsonMessageStreamingParser(JSONMessageStreamingParser<SwiftCompilerOutputParser>, didFailWith: Error
) func jsonMessageStreamingParser(JSONMessageStreamingParser<SwiftCompilerOutputParser>, didParse: SwiftCompilerMessage
) func jsonMessageStreamingParser(JSONMessageStreamingParser<SwiftCompilerOutputParser>, didParseRawText: String
) func parse<C>(bytes: C
) Parse the next bytes of the Swift compiler JSON output.