tests/snippets/qbasic/test_keywords_with_dollar.txt
raw| 1 | ---input--- |
| 2 | DIM x |
| 3 | x = RIGHT$("abc", 1) |
| 4 | |
| 5 | ---tokens--- |
| 6 | 'DIM' Keyword.Declaration |
| 7 | ' ' Text.Whitespace |
| 8 | 'x' Name.Variable.Global |
| 9 | '\n' Text |
| 10 | |
| 11 | 'x' Name.Variable.Global |
| 12 | ' ' Text.Whitespace |
| 13 | '=' Operator |
| 14 | ' ' Text.Whitespace |
| 15 | 'RIGHT$' Keyword.Reserved |
| 16 | '(' Punctuation |
| 17 | '"abc"' Literal.String.Double |
| 18 | ',' Punctuation |
| 19 | ' ' Text.Whitespace |
| 20 | '1' Literal.Number.Integer.Long |
| 21 | ')' Punctuation |
| 22 | '\n' Text |