tests/snippets/jsx/test_object_attribute.txt
raw| 1 | ---input--- |
| 2 | <div style={{ color: 'red' }} /> |
| 3 | |
| 4 | ---tokens--- |
| 5 | '<' Punctuation |
| 6 | 'div' Name.Tag |
| 7 | ' ' Text.Whitespace |
| 8 | 'style' Name.Attribute |
| 9 | '=' Operator |
| 10 | '{' Punctuation |
| 11 | '{' Punctuation |
| 12 | ' ' Text.Whitespace |
| 13 | 'color' Name.Other |
| 14 | ':' Operator |
| 15 | ' ' Text.Whitespace |
| 16 | "'red'" Literal.String.Single |
| 17 | ' ' Text.Whitespace |
| 18 | '}' Punctuation |
| 19 | '}' Punctuation |
| 20 | ' ' Text.Whitespace |
| 21 | '/' Punctuation |
| 22 | '>' Punctuation |
| 23 | '\n' Text.Whitespace |