mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
Thanks to that, pressing enter no longer inserts backslash in the middle of "->" sequence (and such corrupted code is properly highlighted now on).
25 lines
740 B
Plaintext
25 lines
740 B
Plaintext
PyFile:Annotations.py
|
|
PyFunction('f')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('f')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PyNamedParameter('a')
|
|
PsiElement(Py:IDENTIFIER)('a')
|
|
PyAnnotation
|
|
PsiElement(Py:COLON)(':')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
PyAnnotation
|
|
PsiElement(Py:RARROW)('->')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: list
|
|
PsiElement(Py:IDENTIFIER)('list')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PyStatementList
|
|
PyPassStatement
|
|
PsiElement(Py:PASS_KEYWORD)('pass') |