Composer
public enum Composer
Responsible for composing results of FileParser
.
-
Performs final processing of discovered types:
- extends types with their corresponding extensions;
- replaces typealiases with actual types
- finds actual types for variables and enums raw values
filters out any private types and extensions
Declaration
Swift
public static func uniqueTypesAndFunctions(_ parserResult: FileParserResult, serial: Bool = false) -> (types: [Type], functions: [SourceryMethod], typealiases: [Typealias])
Parameters
parserResult
Result of parsing source code.
serial
Whether to process results serially instead of concurrently
Return Value
Final types and extensions of unknown types.