PyFile:PatternMatchingAsPatterns.py
  PyMatchStatement
    PsiElement(Py:MATCH_KEYWORD)('match')
    PsiWhiteSpace(' ')
    PyReferenceExpression: x
      PsiElement(Py:IDENTIFIER)('x')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyAsPattern
        PyCapturePattern
          PyTargetExpression: x
            PsiElement(Py:IDENTIFIER)('x')
        PsiWhiteSpace(' ')
        PsiElement(Py:AS_KEYWORD)('as')
        PsiWhiteSpace(' ')
        PyTargetExpression: y
          PsiElement(Py:IDENTIFIER)('y')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyAsPattern
        PyGroupPattern
          PsiElement(Py:LPAR)('(')
          PyAsPattern
            PyCapturePattern
              PyTargetExpression: x
                PsiElement(Py:IDENTIFIER)('x')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiWhiteSpace(' ')
            PyTargetExpression: y
              PsiElement(Py:IDENTIFIER)('y')
          PsiElement(Py:RPAR)(')')
        PsiWhiteSpace(' ')
        PsiElement(Py:AS_KEYWORD)('as')
        PsiWhiteSpace(' ')
        PyTargetExpression: z
          PsiElement(Py:IDENTIFIER)('z')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')