tests/snippets/shell/test_short_variable_names.txt
raw| 1 | ---input--- |
| 2 | x="$" |
| 3 | y="$_" |
| 4 | z="$abc" |
| 5 | |
| 6 | ---tokens--- |
| 7 | 'x' Name.Variable |
| 8 | '=' Operator |
| 9 | '"' Literal.String.Double |
| 10 | '$' Text |
| 11 | '"' Literal.String.Double |
| 12 | '\n' Text.Whitespace |
| 13 | |
| 14 | 'y' Name.Variable |
| 15 | '=' Operator |
| 16 | '"' Literal.String.Double |
| 17 | '$_' Name.Variable |
| 18 | '"' Literal.String.Double |
| 19 | '\n' Text.Whitespace |
| 20 | |
| 21 | 'z' Name.Variable |
| 22 | '=' Operator |
| 23 | '"' Literal.String.Double |
| 24 | '$abc' Name.Variable |
| 25 | '"' Literal.String.Double |
| 26 | '\n' Text.Whitespace |