Skip to main content

Module parser

Module parser 

Source
Expand description

Parser implementation — converts Cypher query text to AST using pest.rs PEG grammar.

This module has been modularized. The actual parsing functions are in:

  • parser/ddl.rs — DDL statements (CREATE/DROP TABLE, INDEX, SEQUENCE, ALTER, COPY, etc.)
  • parser/dml.rs — DML statements (MATCH, RETURN, WHERE, CREATE, DELETE, SET, MERGE, FOREACH, etc.)
  • parser/expression.rs — Expression parsing

Modules§

expression
Expression parsing — arithmetic, boolean, string, list, map, case, function calls.

Structs§

CypherParser

Enums§

Rule

Functions§

parse