pub enum RecurFunctionParseError {
InvalidProjectionArgumentNumber(String),
InvalidCompositionFunctionsCount(String),
InvalidPrimitiveBaseArgumentsCount(String),
InvalidPrimitiveStepArgumentsCount(String),
InvalidArgumentsCount(String),
FunctionExpected(String),
IntegerExpected(String),
IdentifierExpected(String),
ParseIntError(ParseIntError),
UndefinedIdentifier(String),
IdentifierAlreadyExists(String),
UndefinedRule(String),
}Expand description
Errors which can apear when parsing.
Variants§
InvalidProjectionArgumentNumber(String)
Error which signals that argument number in projection function is invalid.
InvalidCompositionFunctionsCount(String)
Error which signals about invalid number of functions in composition function.
InvalidPrimitiveBaseArgumentsCount(String)
Error which signals that base function in primitive function has invalid arguments count.
InvalidPrimitiveStepArgumentsCount(String)
Error which signals that step function in primitive function has invalid arguments count.
InvalidArgumentsCount(String)
Error which signals that function has invalid arguments count.
FunctionExpected(String)
Error which signals that function was expected, but not found.
IntegerExpected(String)
Error which signals that integer was expected, but not found.
IdentifierExpected(String)
Error which signals that identifier was expected, but not found.
ParseIntError(ParseIntError)
Error which signals that string cannot be converted to u32.
UndefinedIdentifier(String)
Error which signals that identifier is undefined.
IdentifierAlreadyExists(String)
Error which signals that identifier already exists.
UndefinedRule(String)
Error which signals that rule is undefined.