aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp/textobjects.scm
blob: ed26fcf31e89bb91508beaafba1628984ce4fd7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(class_specifier
  body: (_) @class.inner) @class.outer

(for_range_loop 
  (_)? @loop.inner) @loop.outer

(template_declaration
  (function_definition) @function.outer) @function.outer.start

(template_declaration
  (struct_specifier) @class.outer) @class.outer.start

(template_declaration
  (class_specifier) @class.outer) @class.outer.start