Parse CLEAR GRAPH statement
(tokens: &[Token])
| 2800 | |
| 2801 | /// Parse CLEAR GRAPH statement |
| 2802 | fn clear_graph_statement(tokens: &[Token]) -> IResult<&[Token], ClearGraphStatement> { |
| 2803 | map( |
| 2804 | tuple(( |
| 2805 | expect_token(Token::Clear), |
| 2806 | expect_token(Token::Graph), |
| 2807 | opt(catalog_path), |
| 2808 | )), |
| 2809 | |(_, _, graph_path)| ClearGraphStatement { |
| 2810 | graph_path, |
| 2811 | location: Location::default(), |
| 2812 | }, |
| 2813 | )(tokens) |
| 2814 | } |
| 2815 | |
| 2816 | /// Parse CREATE GRAPH TYPE statement |
| 2817 | fn create_graph_type_statement(tokens: &[Token]) -> IResult<&[Token], CreateGraphTypeStatement> { |
nothing calls this directly
no test coverage detected