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

11 lines
394 B
Plaintext

PyFile:PatternMatchingRecoveryMatchStatementWithoutClausesWithCommentAtEndOfFile.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')