Debian Codegraph @

tests/snippets/html/javascript.txt

raw
1 ---input---
2 <script type="text/javascript">
3 alert("hi");
4 </script>
5
6 ---tokens---
7 '<' Punctuation
8 'script' Name.Tag
9 ' ' Text
10 'type' Name.Attribute
11 '=' Operator
12 '"text/javascript"' Literal.String
13 '>' Punctuation
14 '' Text
15 '\n' Text.Whitespace
16
17 'alert' Name.Other
18 '(' Punctuation
19 '"hi"' Literal.String.Double
20 ')' Punctuation
21 ';' Punctuation
22 '\n' Text.Whitespace
23
24 '<' Punctuation
25 '/' Punctuation
26 'script' Name.Tag
27 '>' Punctuation
28 '\n' Text