tartrazine/tests/jsx/test_multiple_attributes.txt

23 lines
563 B
Plaintext

---input---
<User name={'john'} last={'doe'} />
---tokens---
'<' Punctuation
'User' Name.Tag
' ' Text.Whitespace
'name' Name.Attribute
'=' Operator
'{' Punctuation
"'john'" Literal.String.Single
'}' Punctuation
' ' Text.Whitespace
'last' Name.Attribute
'=' Operator
'{' Punctuation
"'doe'" Literal.String.Single
'}' Punctuation
' ' Text.Whitespace
'/' Punctuation
'>' Punctuation
'\n' Text.Whitespace