File tree Expand file tree Collapse file tree 9 files changed +161
-0
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages Expand file tree Collapse file tree 9 files changed +161
-0
lines changed Original file line number Diff line number Diff line change 1+ languageId : java
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : map(str -> str.length);
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : map(str -> );
21+ selections :
22+ - anchor : {line: 0, character: 11}
23+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change 1+ languageId : java
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : map(str -> 0);
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : map(str -> );
21+ selections :
22+ - anchor : {line: 0, character: 11}
23+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change 1+ languageId : python
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : " map(lambda str: len(str))"
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : " map(lambda str: )"
21+ selections :
22+ - anchor : {line: 0, character: 16}
23+ active : {line: 0, character: 16}
Original file line number Diff line number Diff line change 1+ languageId : python
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : " map(lambda str: 0)"
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : " map(lambda str: )"
21+ selections :
22+ - anchor : {line: 0, character: 16}
23+ active : {line: 0, character: 16}
Original file line number Diff line number Diff line change 1+ languageId : typescript
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : map(str => str.length)
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : map(str => )
21+ selections :
22+ - anchor : {line: 0, character: 11}
23+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change 1+ languageId : typescript
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : map(str => 0)
15+ selections :
16+ - anchor : {line: 0, character: 4}
17+ active : {line: 0, character: 4}
18+ marks : {}
19+ finalState :
20+ documentContents : map(str => )
21+ selections :
22+ - anchor : {line: 0, character: 11}
23+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change 318318 (return_statement) @value @_.domain
319319 (#child-range! @value 1 -2)
320320)
321+
322+ ;; !! str -> str.length > 0
323+ ;; ! ^^^^^^^^^^^^^^
324+ ;; ! ---------------------
325+ (lambda_expression
326+ body: (_) @value
327+ (#not-type? @value block)
328+ ) @_.domain
Original file line number Diff line number Diff line change 370370 (_) @value
371371) @_.domain
372372
373+ ;; !! str => str.length > 0
374+ ;; ! ^^^^^^^^^^^^^^
375+ ;; ! ---------------------
376+ (arrow_function
377+ body: (_) @value
378+ (#not-type? @value statement_block)
379+ ) @_.domain
380+
373381;; name:
374382;; !! for (const aaa of bbb) {}
375383;; ! ^^^
Original file line number Diff line number Diff line change 142142 (_) @value
143143) @_.domain
144144
145+ ;; !! lambda str: len(str) > 0
146+ ;; ! ^^^^^^^^^^^^
147+ ;; ! ------------------------
148+ (lambda
149+ body: (_) @value
150+ ) @_.domain
151+
145152;; value:
146153;; !! for aaa in bbb:
147154;; ! ^^^
You can’t perform that action at this time.
0 commit comments