SwiftenumCoreAICompiler

enum CoreAICompiler.Compiler.Module

Members 7

  1. funcstatic readDetailedMetadata(from: Foundation.Data) -> CoreAICompiler.ProgramMetadata
  2. funcstatic readMetadata(from: Foundation.Data) -> CoreAICompiler.ProgramMetadata
  3. casecase bytecode(Foundation.Data)
  4. casecase text(String)
  5. funcdata(version: Int) -> Foundation.Data
  6. funcwrite(to: Foundation.URL, version: Int) throws -> ()
  7. funcwrite(to: Foundation.URL) throws -> ()
enum CoreAICompiler.Compiler.Module {
    case text(Swift.String)
    case bytecode(Foundation.Data)

    func data(version: Swift.Int) -> Foundation.Data
    func write(to: Foundation.URL, version: Swift.Int) throws
    func write(to: Foundation.URL) throws

    static func readMetadata(from: Foundation.Data) -> CoreAICompiler.ProgramMetadata
    static func readDetailedMetadata(from: Foundation.Data) -> CoreAICompiler.ProgramMetadata
}