| 1 |
---input--- |
| 2 |
<script type="text/javascript"> |
| 3 |
alert("hi"); |
| 4 |
alert("hi"); |
| 5 |
alert("hi"); |
| 6 |
alert("hi"); |
| 7 |
<div> |
| 8 |
hi |
| 9 |
</div> |
| 10 |
|
| 11 |
---tokens--- |
| 12 |
'<' Punctuation |
| 13 |
'script' Name.Tag |
| 14 |
' ' Text |
| 15 |
'type' Name.Attribute |
| 16 |
'=' Operator |
| 17 |
'"text/javascript"' Literal.String |
| 18 |
'>' Punctuation |
| 19 |
'' Text |
| 20 |
'\n' Text.Whitespace |
| 21 |
|
| 22 |
'alert' Name.Other |
| 23 |
'(' Punctuation |
| 24 |
'"hi"' Literal.String.Double |
| 25 |
')' Punctuation |
| 26 |
';' Punctuation |
| 27 |
'\n' Text.Whitespace |
| 28 |
|
| 29 |
'alert("hi");\nalert("hi");\nalert("hi");\n' Text |
| 30 |
|
| 31 |
'<' Punctuation |
| 32 |
'div' Name.Tag |
| 33 |
'>' Punctuation |
| 34 |
'\nhi\n' Text |
| 35 |
|
| 36 |
'<' Punctuation |
| 37 |
'/' Punctuation |
| 38 |
'div' Name.Tag |
| 39 |
'>' Punctuation |
| 40 |
'\n' Text |