Files
openide/python/testData/psi/PatternMatchingRecoveryMatchStatementWithoutClausesWithComment.txt
Mikhail Golubev e1b52ae759 PY-48008 Improve test coverage of match statements parsing
GitOrigin-RevId: 347185106d7fec7117c31b10fa24b709a3b0da42
2021-06-24 16:26:19 +00:00

14 lines
463 B
Plaintext

PyFile:PatternMatchingRecoveryMatchStatementWithoutClausesWithComment.py
PyMatchStatement
PsiElement(Py:MATCH_KEYWORD)('match')
PsiWhiteSpace(' ')
PyReferenceExpression: x
PsiElement(Py:IDENTIFIER)('x')
PsiElement(Py:COLON)(':')
PsiErrorElement:Indent expected
<empty list>
PsiWhiteSpace('\n ')
PsiComment(Py:END_OF_LINE_COMMENT)('# comment')
PsiWhiteSpace('\n')
PyPassStatement
PsiElement(Py:PASS_KEYWORD)('pass')