-
Parses a given file into a Ledger
Throws
Exceptions from opening the fileDeclaration
Swift
public static func parse(contentOf path: URL) throws -> LedgerParameters
contentOfURL to parse Encoding has to be UTF-8
Return Value
Ledger with parsed content
-
Parses a given String into a Ledger
Declaration
Swift
public static func parse(string: String) -> LedgerParameters
stringString to parse
Return Value
Ledger with parsed content
View on GitHub
Install in Dash
Parser Enumeration Reference