Debian Codegraph @

tests/snippets/jsx/test_arrow_function_attribute.txt

raw
1 ---input---
2 <button onClick={e => e.preventDefault ()} />
3
4 ---tokens---
5 '<' Punctuation
6 'button' Name.Tag
7 ' ' Text.Whitespace
8 'onClick' Name.Attribute
9 '=' Operator
10 '{' Punctuation
11 'e' Name.Other
12 ' ' Text.Whitespace
13 '=>' Punctuation
14 ' ' Text.Whitespace
15 'e' Name.Other
16 '.' Punctuation
17 'preventDefault' Name.Other
18 ' ' Text.Whitespace
19 '(' Punctuation
20 ')' Punctuation
21 '}' Punctuation
22 ' ' Text.Whitespace
23 '/' Punctuation
24 '>' Punctuation
25 '\n' Text.Whitespace