aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/python/tags.scm
blob: c5ca8272b8570641d03a1bd9bca912333223c8f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
(class_definition
  name: (identifier) @name) @definition.class

(function_definition
  name: (identifier) @name) @definition.function

(call
  function: [
      (identifier) @name
      (attribute
        attribute: (identifier) @name)
  ]) @reference.call