Yaproq
public final class Yaproq
Undocumented
-
Undocumented
Declaration
Swift
public var configuration: Configuration
-
Undocumented
Declaration
Swift
public private(set) var templates: [String : Template] { get }
-
Undocumented
Declaration
Swift
public init(configuration: Configuration = .init())
-
Undocumented
Declaration
Swift
public func loadTemplate(named name: String) throws -> Template
-
Undocumented
Declaration
Swift
public func loadTemplate(at filePath: String) throws -> Template
-
Undocumented
Declaration
Swift
public func renderTemplate(named name: String, in context: [String : Encodable] = .init()) throws -> String
-
Undocumented
Declaration
Swift
public func renderTemplate(at filePath: String, in context: [String : Encodable] = .init()) throws -> String
-
Undocumented
Declaration
Swift
public func renderTemplate(_ template: Template, in context: [String : Encodable] = .init()) throws -> String
-
Undocumented
See moreDeclaration
Swift
public struct Configuration