func model()

in Sources/MockoloFramework/Parsers/SwiftSyntaxExtensions.swift [704:717]


    func model(with acl: String, declKind: NominalTypeDeclKind, overrides: [String: String]?, processed: Bool) -> Model {
        let type = overrides?[self.name.text].map {
            SwiftType(kind: .nominal(.init(name: $0)))
        } ?? SwiftType(typeSyntax: self.initializer.value)

        return TypeAliasModel(name: self.name.text,
                              type: type,
                              acl: acl,
                              offset: self.offset,
                              length: self.length,
                              modelDescription: self.description,
                              useDescription: true,
                              processed: processed)
    }