Files
openide/python/testData/psi/PatternMatchingAnnotatedAssignmentLooksLikeIncompleteMatchStatement.txt
2021-08-09 14:39:03 +00:00

14 lines
469 B
Plaintext

PyFile:PatternMatchingAnnotatedAssignmentLooksLikeIncompleteMatchStatement.py
PyAssignmentStatement
PyTargetExpression: match
PsiElement(Py:IDENTIFIER)('match')
PyAnnotation
PsiElement(Py:COLON)(':')
PsiWhiteSpace(' ')
PyReferenceExpression: case
PsiElement(Py:IDENTIFIER)('case')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyNumericLiteralExpression
PsiElement(Py:INTEGER_LITERAL)('42')