Debian Codegraph @

tests/snippets/python/test_needs_name.txt

raw
1 # Tests that '@' is recognized as an Operator
2
3 ---input---
4 S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)
5
6 ---tokens---
7 'S' Name
8 ' ' Text
9 '=' Operator
10 ' ' Text
11 '(' Punctuation
12 'H' Name
13 ' ' Text
14 '@' Operator
15 ' ' Text
16 'beta' Name
17 ' ' Text
18 '-' Operator
19 ' ' Text
20 'r' Name
21 ')' Punctuation
22 '.' Operator
23 'T' Name
24 ' ' Text
25 '@' Operator
26 ' ' Text
27 'inv' Name
28 '(' Punctuation
29 'H' Name
30 ' ' Text
31 '@' Operator
32 ' ' Text
33 'V' Name
34 ' ' Text
35 '@' Operator
36 ' ' Text
37 'H' Name
38 '.' Operator
39 'T' Name
40 ')' Punctuation
41 ' ' Text
42 '@' Operator
43 ' ' Text
44 '(' Punctuation
45 'H' Name
46 ' ' Text
47 '@' Operator
48 ' ' Text
49 'beta' Name
50 ' ' Text
51 '-' Operator
52 ' ' Text
53 'r' Name
54 ')' Punctuation
55 '\n' Text.Whitespace