PyFile:PatternMatchingRecoveryIncompleteAsPatterns.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')
        PsiErrorElement:Name expected
          <empty list>
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiWhiteSpace(' ')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LBRACKET)('[')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('2')
        PsiElement(Py:RBRACKET)(']')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyGroupPattern
        PsiElement(Py:LPAR)('(')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiWhiteSpace(' ')
        PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LPAR)('(')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PySequencePattern
        PsiElement(Py:LPAR)('(')
        PyAsPattern
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(Py:AS_KEYWORD)('as')
          PsiErrorElement:Name expected
            <empty list>
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyLiteralPattern
          PyNumericLiteralExpression
            PsiElement(Py:INTEGER_LITERAL)('2')
        PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
          PsiElement(Py:COMMA)(',')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
          PsiElement(Py:COMMA)(',')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('2')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyAsPattern
            PyLiteralPattern
              PyNumericLiteralExpression
                PsiElement(Py:INTEGER_LITERAL)('1')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: bar
              PsiElement(Py:SINGLE_QUOTED_STRING)(''bar'')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('2')
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyAsPattern
            PyLiteralPattern
              PyStringLiteralExpression: foo
                PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
            PsiWhiteSpace(' ')
            PsiElement(Py:AS_KEYWORD)('as')
            PsiErrorElement:Name expected
              <empty list>
          PsiWhiteSpace(' ')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')