Skip to main content

Module cypher_parser

Module cypher_parser 

Source
Expand description

Cypher 子集递归下降解析器

支持语法子集:

  1. MATCH (n:Label) RETURN n
  2. MATCH (n:Label {prop: $param}) RETURN n
  3. MATCH (a:L1)-[r:RelType]->(b:L2) RETURN a, r, b
  4. MATCH (n) WHERE n.prop = $param RETURN n
  5. MATCH (n:Label) RETURN count(n)

Structs§

CypherSubsetParser
NodePattern
RelPattern
WhereClause

Enums§

ParsedQuery
ReturnItem