Enum tree_sitter_graph::ParseError [−][src]
pub enum ParseError {
ExpectedToken(&'static str, Location),
ExpectedVariable(Location),
InvalidRegex(String, Location),
InvalidRegexCapture(Location),
QueryError(QueryError),
UndefinedCapture(String, Location),
UnexpectedCharacter(char, &'static str, Location),
UnexpectedEOF(Location),
UnexpectedKeyword(String, Location),
UnexpectedLiteral(String, Location),
}Expand description
An error that can occur while parsing a graph DSL file
Variants
ExpectedVariable(Location)Tuple Fields of ExpectedVariable
0: LocationInvalidRegexCapture(Location)Tuple Fields of InvalidRegexCapture
0: LocationQueryError(QueryError)Tuple Fields of QueryError
0: QueryErrorUnexpectedEOF(Location)Tuple Fields of UnexpectedEOF
0: LocationTrait Implementations
Performs the conversion.