Module link

Module link 

Source
Expand description

Link pass: resolve node types and fields against tree-sitter grammar.

Three-phase approach:

  1. Collect and resolve all node type names (NamedNode, AnonymousNode)
  2. Collect and resolve all field names (FieldExpr, NegatedField)
  3. Validate structural constraints (field on node type, child type for field)