Skip to main content

Module binder

Module binder 

Source
Expand description

Binder — lowers an AstQuery to a GraphPlan.

The binder is the stage between the parser and the execution engine. It:

  • Resolves label/relation-type/property strings to integer IDs
  • Tracks variable scope and allocates VarIds
  • Emits the correct operators (e.g. relationship patterns become Expand, node patterns become NodeScan)
  • Populates the [ExprArena] while lowering WHERE / RETURN expressions
  • Supports three ontology modes (exploratory / advisory / strict)

Structs§

BindError
A semantic error or warning produced by the binder.
Binder
Lowers an AstQuery to a typed GraphPlan.

Enums§

BindErrorKind
The kind of a binder error.