Checks to see if libcypher-parser reported any errors.
| 2124 | |
| 2125 | // Checks to see if libcypher-parser reported any errors. |
| 2126 | bool AST_ContainsErrors |
| 2127 | ( |
| 2128 | const cypher_parse_result_t *result // parse-result checked for errors |
| 2129 | ) { |
| 2130 | return cypher_parse_result_nerrors(result) > 0; |
| 2131 | } |
| 2132 | |
| 2133 | /* This function checks for the existence a valid root in the query. |
| 2134 | * As cypher_parse_result_t can have multiple roots such as comments, |
no outgoing calls
no test coverage detected