automata/ical/parser
Types
pub type ParseError {
UnexpectedEnd(line: Int)
MismatchedBlock(begin: String, end: String, line: Int)
MalformedProperty(line: Int, raw: String)
MalformedParameter(line: Int, raw: String)
EmptyInputError
}
Constructors
-
UnexpectedEnd(line: Int) -
MismatchedBlock(begin: String, end: String, line: Int) -
MalformedProperty(line: Int, raw: String) -
MalformedParameter(line: Int, raw: String) -
EmptyInputError
Values
pub fn parse(
input: String,
) -> Result(ast.RawCalendar, ParseError)