Files
openide/python/testData/psi/RangeAsLHS.txt
Petr aa82ce5f70 PY-81646 Get rid of EMPTY_EXPRESSION nodes within SLICE_ITEM
GitOrigin-RevId: 6ffe0027790bb41b8ac18251903529aa1b1243f6
2025-06-13 18:59:31 +00:00

25 lines
724 B
Plaintext

PyFile:RangeAsLHS.py
PyAssignmentStatement
PyTargetExpression: foo
PsiElement(Py:IDENTIFIER)('foo')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyListLiteralExpression
PsiElement(Py:LBRACKET)('[')
PsiElement(Py:RBRACKET)(']')
PsiWhiteSpace('\n')
PyAssignmentStatement
PySubscriptionExpression
PyReferenceExpression: foo
PsiElement(Py:IDENTIFIER)('foo')
PsiElement(Py:LBRACKET)('[')
PySliceItem
PsiElement(Py:COLON)(':')
PsiElement(Py:RBRACKET)(']')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyListLiteralExpression
PsiElement(Py:LBRACKET)('[')
PsiElement(Py:RBRACKET)(']')