Function beancount_parser::parse
source · pub fn parse<D: Decimal>(input: &str) -> Result<BeancountFile<D>, Error>Expand description
Parse the input beancount file and return an instance of BeancountFile on success
It is generic over the Decimal type D.
See the root crate documentation for an example.
Errors
Returns an Error in case of invalid beancount syntax found.