embedding.scm

 1(
 2    (comment)* @context
 3    .
 4    (declaration
 5        declarator: [
 6            (function_declarator
 7                declarator: (_) @name)
 8            (pointer_declarator
 9                "*" @name
10                declarator: (function_declarator
11                    declarator: (_) @name))
12            (pointer_declarator
13                "*" @name
14                declarator: (pointer_declarator
15                    "*" @name
16                    declarator: (function_declarator
17                        declarator: (_) @name)))
18            ]
19        ) @item
20    )
21
22(
23    (comment)* @context
24    .
25    (function_definition
26        declarator: [
27            (function_declarator
28                declarator: (_) @name
29                )
30            (pointer_declarator
31                "*" @name
32                declarator: (function_declarator
33                    declarator: (_) @name
34                    ))
35            (pointer_declarator
36                "*" @name
37                declarator: (pointer_declarator
38                    "*" @name
39                    declarator: (function_declarator
40                        declarator: (_) @name)))
41            ]
42        ) @item
43    )