; Go symbol extraction queries
; Captures: @node (declaration), @name (identifier)
; Export convention: uppercase first letter = exported (checked by extractor)

; Function declaration
(function_declaration
  name: (identifier) @name) @node

; Method declaration (receiver function)
(method_declaration
  name: (field_identifier) @name) @node

; Type declaration (struct, interface, type alias)
(type_declaration
  (type_spec
    name: (type_identifier) @name)) @node

; Const declaration
(const_declaration
  (const_spec
    name: (identifier) @name)) @node

; Var declaration
(var_declaration
  (var_spec
    name: (identifier) @name)) @node
