Parse FROM clause: FROM graph_expression [match_statement] (, graph_expression [match_statement])
(tokens: &[Token])
| 1005 | |
| 1006 | /// Parse FROM clause: FROM graph_expression [match_statement] (, graph_expression [match_statement])* |
| 1007 | fn from_clause(tokens: &[Token]) -> IResult<&[Token], FromClause> { |
| 1008 | map( |
| 1009 | tuple(( |
| 1010 | expect_token(Token::From), |
| 1011 | separated_list1(expect_token(Token::Comma), from_graph_expression), |
| 1012 | )), |
| 1013 | |(_, graph_expressions)| FromClause { |
| 1014 | graph_expressions, |
| 1015 | location: Location::default(), |
| 1016 | }, |
| 1017 | )(tokens) |
| 1018 | } |
| 1019 | |
| 1020 | /// Parse FROM graph expression: graph_expression [match_statement] OR just match_statement |
| 1021 | /// |
nothing calls this directly
no test coverage detected