(document) @local.scope

(node
  (node_children) @local.scope)

(node_children
  (node) @local.scope)

(identifier) @local.reference

(node_field) @local.definition.field

(node
  (identifier) @local.definition.type)

(type) @local.definition.type
