parse

Function parse 

Source
pub fn parse(source: &str) -> Result<JsValue, JsError>
Expand description

Parse a Beancount source string.

Returns a ParseResult with the parsed ledger and any errors.