Expand description
Bound copies of stored syntax, read back in the order of that syntax. Catalog-owned expressions and statements are stored as syntax and bound by lowering a copy; binding keeps the copy’s shape, so reading the lowered copy and its bound form side by side, in the order the stored syntax visitor walks the syntax, pairs every routine call, cast and unknown literal with the syntax node it came from. The lowered copy tells which bound nodes stand for syntax literals: variable binding may replace column references by typed placeholders, which are not syntax.
Structs§
- Syntax
Sites - Everything binding recorded for one piece of stored syntax, in syntax order.
Enums§
- Value
Site - An expression site of stored syntax and what binding recorded for it.
Functions§
- expression_
syntax_ sites - Sites of a stored expression:
loweredis the plan lowered from the syntax andboundits bound copy. The expression visitor reads a site at every node, so the casts binding adds around a node reach it as relabels. - query_
syntax_ sites - Sites of a stored statement lowered to a query.