1
1
@dec
2
+ # Bar.name=... is not legal, but the test is for highlighter not breaking badly
2
3
class Spam (Foo .Bar , Bar .name = {'very' : 'odd' }):
3
4
pass
4
5
5
6
6
7
7
8
@ : entity .name .function .decorator .python , meta .function .decorator .python , source .python
8
9
dec : entity .name .function .decorator .python , meta .function .decorator .python , source .python
10
+ # : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
11
+ Bar .name = ... is not legal , but the test is for highlighter not breaking badly : comment .line .number - sign .python , source .python
9
12
class : meta .class .python , source .python , storage .type .class .python
10
13
: meta .class .python , source .python
11
14
Spam : entity .name .type .class .python , meta .class .python , source .python
@@ -17,7 +20,7 @@ class : meta.class.python, source.python, storage.type.class.python
17
20
: meta .class .inheritance .python , meta .class .python , source .python
18
21
Bar : entity .other .inherited - class .python , meta .class .inheritance .python , meta .class .python , source .python
19
22
. : meta .class .inheritance .python , meta .class .python , source .python
20
- name : entity .other .inherited - class .python , meta .class .inheritance .python , meta .class .python , source .python
23
+ name : entity .other .inherited - class .python , meta .class .inheritance .python , meta .class .python , source .python , variable . parameter . class . python
21
24
= : keyword .operator .assignment .python , meta .class .inheritance .python , meta .class .python , source .python
22
25
{ : meta .class .inheritance .python , meta .class .python , punctuation .definition .dict .begin .python , source .python
23
26
' : meta .class .inheritance .python , meta .class .python , punctuation .definition .string .begin .python , source .python , string .quoted .single .python
0 commit comments