tartrazine/spec/tests/react/test_multiple_attributes.txt

23 lines
563 B
Plaintext
Raw Permalink Normal View History

2024-08-03 10:36:47 +00:00
---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