File tree Expand file tree Collapse file tree 1 file changed +32
-11
lines changed Expand file tree Collapse file tree 1 file changed +32
-11
lines changed Original file line number Diff line number Diff line change 1
1
(list_lit
2
2
(sym_lit) @fn -name
3
+ (#any-of? @fn -name
4
+ "let"
5
+ "loop"
6
+ "binding"
7
+ "with-open"
8
+ "with-redefs")
9
+
3
10
(vec_lit
4
- (_) @pair )
5
- (#any-of? @fn -name "let" "loop" "binding" "with-open" "with-redefs"))
11
+ (_) @pair ))
6
12
7
13
(map_lit
8
14
(_) @pair )
9
15
10
16
(list_lit
11
17
(sym_lit) @fn -name
12
- (_)
13
- (_) @pair
14
- (#eq? @fn -name "case"))
18
+ (#eq? @fn -name "case")
19
+
20
+ (_) .
21
+ ((_) @pair . (_) @pair )+
22
+ (_)?)
15
23
16
24
(list_lit
17
25
(sym_lit) @fn -name
18
- (_) @pair
19
- (#eq? @fn -name "cond"))
26
+ (#eq? @fn -name "cond")
20
27
21
- (list_lit
28
+ ((_) @pair (_) @pair )+)
29
+
30
+ (list_lit
22
31
(sym_lit) @fn -name
32
+ (#any-of? @fn -name
33
+ "cond->"
34
+ "cond->>")
23
35
(_)
24
- (_)
25
- (_) @pair
26
- (#eq? @fn -name "condp"))
36
+ .
37
+ ((_) @pair . (_) @pair )+)
38
+
39
+ (list_lit
40
+ (sym_lit) @fn -name
41
+ (#eq? @fn -name "condp")
42
+
43
+ (_) (_)
44
+ .
45
+ ((_) @pair . (_) @pair )+
46
+ .
47
+ (_)?)
You can’t perform that action at this time.
0 commit comments