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
Collection key
1. Key: Map pair
Key (LHS) of a key-value pair of a map
2. Key: Map pair (iteration)
Iteration scope for keys of key-value pairs in a map: should be between the braces.
Comment
1. Comment: Line
A line comment
Name
1. Name: Variable
Name (LHS) of a variable declaration
2. Name (iteration document)
Iteration scope for names: the entire document including leading and trailing empty lines.
Statement
1. Statement: Variable
A variable declaration
2. Statement (iteration document)
Iteration scope for statements: the entire document including leading and trailing empty lines.
String
1. String: Single line
A single-line string
Value
1. Value: Map pair
Value (RHS) of a key-value pair in a map
2. Value: Variable
Value (RHS) of a variable declaration
3. Value (iteration document)
Iteration scope for values: the entire document including leading and trailing empty lines.
4. Value: Map pair (iteration)
Iteration scope for values of key-value pairs in a map: should be between the braces.
Internal scopes
The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.
Text fragment
1. Text fragment: Comment line
Internally used text fragment consisting of a line comment
2. Text fragment: String single line
Internally used text fragment consisting of a single-line string