mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
29 lines
602 B
Plaintext
29 lines
602 B
Plaintext
---input---
|
|
<script type="text/javascript">
|
|
alert("hi");
|
|
</script>
|
|
|
|
---tokens---
|
|
'<' Punctuation
|
|
'script' Name.Tag
|
|
' ' Text
|
|
'type' Name.Attribute
|
|
'=' Operator
|
|
'"text/javascript"' Literal.String
|
|
'>' Punctuation
|
|
'' Text
|
|
'\n' Text.Whitespace
|
|
|
|
'alert' Name.Other
|
|
'(' Punctuation
|
|
'"hi"' Literal.String.Double
|
|
')' Punctuation
|
|
';' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'<' Punctuation
|
|
'/' Punctuation
|
|
'script' Name.Tag
|
|
'>' Punctuation
|
|
'\n' Text
|