| 1 |
|
| 2 |
(private_function |
| 3 |
(function_signature |
| 4 |
(identifier) @definition.function)) |
| 5 |
|
| 6 |
(read_only_function |
| 7 |
(function_signature |
| 8 |
(identifier) @definition.function)) |
| 9 |
|
| 10 |
(public_function |
| 11 |
(function_signature |
| 12 |
(identifier) @definition.function)) |
| 13 |
|
| 14 |
|
| 15 |
(trait_definition |
| 16 |
"define-trait" . (identifier) @definition.interface) |
| 17 |
|
| 18 |
|
| 19 |
(constant_definition |
| 20 |
"define-constant" . (identifier) @definition.constant) |
| 21 |
|
| 22 |
|
| 23 |
(variable_definition |
| 24 |
"define-data-var" . (identifier) @definition.constant) |
| 25 |
|
| 26 |
|
| 27 |
(mapping_definition |
| 28 |
"define-map" . (identifier) @definition.struct) |
| 29 |
|
| 30 |
|
| 31 |
(fungible_token_definition |
| 32 |
"define-fungible-token" . (identifier) @definition.type) |
| 33 |
|
| 34 |
(non_fungible_token_definition |
| 35 |
"define-non-fungible-token" . (identifier) @definition.type) |