Files
Andrey Vlasovskikh 91a45bf7ed Restored None, False, True as non-keywords (reserved words) in PY2 (PY-23305, PY-23364)
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.
2017-04-17 21:17:35 +03:00

23 lines
726 B
Plaintext

PyFile:NotClosedSlice.py
PyExpressionStatement
PySubscriptionExpression
PyReferenceExpression: a
PsiElement(Py:IDENTIFIER)('a')
PsiElement(Py:LBRACKET)('[')
PyStringLiteralExpression: key]
PsiElement(Py:SINGLE_QUOTED_STRING)('"key"')
PsiElement(Py:SINGLE_QUOTED_STRING)('"]"')
PsiErrorElement:']' expected
<empty list>
PsiWhiteSpace('\n')
PyIfStatement
PyIfPartIf
PsiElement(Py:IF_KEYWORD)('if')
PsiWhiteSpace(' ')
PyReferenceExpression: True
PsiElement(Py:IDENTIFIER)('True')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyPassStatement
PsiElement(Py:PASS_KEYWORD)('pass')