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: Location
InvalidRegexCapture(Location)
Tuple Fields of InvalidRegexCapture
0: Location
QueryError(QueryError)
Tuple Fields of QueryError
0: QueryError
UnexpectedEOF(Location)
Tuple Fields of UnexpectedEOF
0: Location
Trait Implementations
Performs the conversion.