26 lines
471 B
Scheme
26 lines
471 B
Scheme
(type (string (string_content) @python))
|
|
|
|
((assignment
|
|
(type
|
|
(identifier) @_type)
|
|
(string
|
|
(string_content) @python))
|
|
(#eq? @_type "TypeAlias"))
|
|
|
|
((assignment
|
|
(type
|
|
(string
|
|
(string_content) @_type))
|
|
(string
|
|
(string_content) @python))
|
|
(#eq? @_type "TypeAlias"))
|
|
|
|
(class_definition
|
|
(argument_list
|
|
(subscript
|
|
(string
|
|
(string_content) @python))))
|
|
|
|
(((string (string_content) @python) @_str)
|
|
(#match? @_str "^r.*$"))
|