PyFile:PatternMatchingMappingPatterns.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(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        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(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
        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(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
        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(' ')
          PyMappingPattern
            PsiElement(Py:LBRACE)('{')
            PyKeyValuePattern
              PyLiteralPattern
                PyStringLiteralExpression: bar
                  PsiElement(Py:SINGLE_QUOTED_STRING)('"bar"')
              PsiElement(Py:COLON)(':')
              PsiWhiteSpace(' ')
              PySequencePattern
                PsiElement(Py:LBRACKET)('[')
                PsiElement(Py:RBRACKET)(']')
            PsiElement(Py:RBRACE)('}')
        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(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
        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
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
          PsiElement(Py:COLON)(':')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyDoubleStarPattern
          PsiElement(Py:EXP)('**')
          PyCapturePattern
            PyTargetExpression: args
              PsiElement(Py:IDENTIFIER)('args')
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')