Tree-sitter query (SCM)
Below are visualizations of all our scope tests for this language. These were created primarily for testing purposes rather than as documentation. There are quite a few, and they may feel a bit overwhelming from a documentation standpoint.
Scopes
Argument list
1. Argument list: Actual empty
An empty list of arguments in a function call. Insertion delimiter should be empty.2. Argument list: Actual multi line
A multi-line list of arguments in a function call. Insertion delimiter should include a newline.3. Argument list: Actual single line
A single-line list of arguments in a function callArgument or parameter
1. Argument: Actual multi line
A multi-line argument in a function call. Insertion delimiter should include a newline.2. Argument: Actual single line
A single-line argument in a function call3. Argument: Actual (iteration)
Iteration scope for arguments in a function call: the argument list. The domain should be the entire function call.Comment
1. Comment: Line
A line commentFunction call
1. Function call
A function callFunction callee
1. Function callee
The function being called in a function callList
1. List
A list/arrayStatement
1. Statement: Misc
A miscellaneous statementInternal scopes
The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.