Parse TRUNCATE GRAPH statement
(tokens: &[Token])
| 2785 | |
| 2786 | /// Parse TRUNCATE GRAPH statement |
| 2787 | fn truncate_graph_statement(tokens: &[Token]) -> IResult<&[Token], TruncateGraphStatement> { |
| 2788 | map( |
| 2789 | tuple(( |
| 2790 | expect_token(Token::Truncate), |
| 2791 | expect_token(Token::Graph), |
| 2792 | catalog_path, |
| 2793 | )), |
| 2794 | |(_, _, graph_path)| TruncateGraphStatement { |
| 2795 | graph_path, |
| 2796 | location: Location::default(), |
| 2797 | }, |
| 2798 | )(tokens) |
| 2799 | } |
| 2800 | |
| 2801 | /// Parse CLEAR GRAPH statement |
| 2802 | fn clear_graph_statement(tokens: &[Token]) -> IResult<&[Token], ClearGraphStatement> { |
nothing calls this directly
no test coverage detected