mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Typeshed doesn't contain the definitions for them in __builtins__.pyi so we have to provide types and detect the builtin status for these words as a special case.
24 lines
798 B
Plaintext
24 lines
798 B
Plaintext
PyFile:ResetAfterSemicolon.py
|
|
PyIfStatement
|
|
PyIfPartIf
|
|
PsiElement(Py:IF_KEYWORD)('if')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: True
|
|
PsiElement(Py:IDENTIFIER)('True')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyImportStatement
|
|
PsiElement(Py:IMPORT_KEYWORD)('import')
|
|
PsiWhiteSpace(' ')
|
|
PyImportElement:tmp2
|
|
PyReferenceExpression: tmp2
|
|
PsiElement(Py:IDENTIFIER)('tmp2')
|
|
PsiElement(Py:SEMICOLON)(';')
|
|
PsiWhiteSpace(' ')
|
|
PyImportStatement
|
|
PsiElement(Py:IMPORT_KEYWORD)('import')
|
|
PsiWhiteSpace(' ')
|
|
PyImportElement:tmp1
|
|
PyReferenceExpression: tmp1
|
|
PsiElement(Py:IDENTIFIER)('tmp1') |