((table
  (bare_key) @name) @subtree
  (#set! role type)
)
((table
  (dotted_key) @name) @subtree
  (#set! role type)
)

((table_array_element
  (bare_key) @name) @subtree
  (#set! role type)
)
((table_array_element
  (dotted_key) @name) @subtree
  (#set! role type)
)

((pair
  (bare_key) @name) @subtree
  (#set! role property)
)
((pair
  (dotted_key) @name) @subtree
  (#set! role property)
)
