aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/c3/folds.scm
blob: 0776e7678bfec7a01252d092838052bc2fcaf46e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
  ; Top-level declarations
  (bitstruct_declaration)
  (enum_declaration)
  (faultdef_declaration)
  (func_definition)
  (import_declaration)+
  (interface_declaration)
  (macro_declaration)
  (struct_declaration)
  ; Statements
  (asm_block_stmt)
  (case_stmt)
  (defer_stmt)
  (do_stmt)
  (for_stmt)
  (foreach_stmt)
  (if_stmt)
  (switch_stmt)
  (while_stmt)
  (ct_for_stmt)
  (ct_foreach_stmt)
  (ct_switch_stmt)
  (ct_case_stmt)
  (ct_if_stmt)
  (ct_else_stmt)
  ; Comments
  (block_comment)
  (doc_comment)
  ; Initializer list
  (initializer_list)
] @fold

(compound_stmt
  (compound_stmt) @fold)