Debian Codegraph @

runtime/queries/ada/textobjects.scm

raw symbols SCIP
1 ;; Support for high-level text objects selections.
2 ;; For instance:
3 ;; maf (v)isually select (a) (f)unction or subprogram
4 ;; mif (v)isually select (i)nside a (f)unction or subprogram
5 ;; mai (v)isually select (a) (i)f statement (or loop)
6 ;; mii (v)isually select (i)nside an (i)f statement (or loop)
7 ;;
8 ;; For navigations using textobjects, check link below:
9 ;; https://docs.helix-editor.com/master/usage.html#navigating-using-tree-sitter-textobjects
10 ;;
11 ;; For Textobject queries explanation, check out link below:
12 ;; https://docs.helix-editor.com/master/guides/textobject.html
13
14 (subprogram_body) @function.around
15 (subprogram_body (non_empty_declarative_part) @function.inside)
16 (subprogram_body (handled_sequence_of_statements) @function.inside)
17 (function_specification) @function.around
18 (procedure_specification) @function.around
19 (package_declaration) @function.around
20 (generic_package_declaration) @function.around
21 (package_body) @function.around