pub fn parse_query(input: &str) -> Result<ParseTree, GremlinParseError>Expand description
Parses a single Gremlin query (the grammar’s query entry rule) rather than
a ;-separated list. Use this when you know the input is exactly one
traversal or expression.
§Errors
Returns GremlinParseError if the input is not a valid single Gremlin query.