|
4 | 4 | ( |
5 | 5 | (comment)? @doc . |
6 | 6 | (module_definition (module_binding (module_name) @name) @definition.module) |
7 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 7 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
8 | 8 | ) |
9 | 9 |
|
10 | 10 | (module_path (module_name) @name) @reference.module |
| 11 | +(extended_module_path (module_name) @name) @reference.module |
11 | 12 |
|
12 | 13 | ; Module types |
13 | 14 | ;-------------- |
14 | 15 |
|
15 | 16 | ( |
16 | 17 | (comment)? @doc . |
17 | 18 | (module_type_definition (module_type_name) @name) @definition.interface |
18 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 19 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
19 | 20 | ) |
20 | 21 |
|
21 | 22 | (module_type_path (module_type_name) @name) @reference.implementation |
|
35 | 36 | body: [(fun_expression) (function_expression)]) |
36 | 37 | ] @definition.function |
37 | 38 | ) |
38 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 39 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
39 | 40 | ) |
40 | 41 |
|
41 | 42 | ( |
42 | 43 | (comment)? @doc . |
43 | 44 | (external (value_name) @name) @definition.function |
44 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 45 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
45 | 46 | ) |
46 | 47 |
|
47 | 48 | (application_expression |
|
65 | 66 | (value_definition |
66 | 67 | (let_binding |
67 | 68 | pattern: (parenthesized_operator (_) @name)) @definition.function) |
68 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 69 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
69 | 70 | ) |
70 | 71 |
|
71 | 72 | [ |
|
95 | 96 | (class_definition (class_binding (class_name) @name) @definition.class) |
96 | 97 | (class_type_definition (class_type_binding (class_type_name) @name) @definition.class) |
97 | 98 | ] |
98 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 99 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
99 | 100 | ) |
100 | 101 |
|
101 | 102 | [ |
|
109 | 110 | ( |
110 | 111 | (comment)? @doc . |
111 | 112 | (method_definition (method_name) @name) @definition.method |
112 | | - (#strip! @doc "^\\(\\*\\*?\\s*|\\s\\*\\)$") |
| 113 | + (#strip! @doc "^\\(\\*+\\s*|\\s*\\*+\\)$") |
113 | 114 | ) |
114 | 115 |
|
115 | 116 | (method_invocation (method_name) @name) @reference.call |
0 commit comments