11@dec
2+ # Bar.name=... is not legal, but the test is for highlighter not breaking badly
23class Spam (Foo .Bar , Bar .name = {'very' : 'odd' }):
34 pass
45
56
67
78@ : entity .name .function .decorator .python , meta .function .decorator .python , source .python
89dec : 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
912class : meta .class .python , source .python , storage .type .class .python
1013 : meta .class .python , source .python
1114Spam : entity .name .type .class .python , meta .class .python , source .python
@@ -17,7 +20,7 @@ class : meta.class.python, source.python, storage.type.class.python
1720 : meta .class .inheritance .python , meta .class .python , source .python
1821Bar : entity .other .inherited - class .python , meta .class .inheritance .python , meta .class .python , source .python
1922. : 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
2124= : keyword .operator .assignment .python , meta .class .inheritance .python , meta .class .python , source .python
2225{ : meta .class .inheritance .python , meta .class .python , punctuation .definition .dict .begin .python , source .python
2326' : meta .class .inheritance .python , meta .class .python , punctuation .definition .string .begin .python , source .python , string .quoted .single .python
0 commit comments