PyFile:WithStatementContextExpressionStartsWithParenthesis.py
  PyWithStatement
    PsiElement(Py:WITH_KEYWORD)('with')
    PsiWhiteSpace(' ')
    PyWithItem
      PyReferenceExpression: bar
        PyParenthesizedExpression
          PsiElement(Py:LPAR)('(')
          PyReferenceExpression: foo
            PsiElement(Py:IDENTIFIER)('foo')
          PsiElement(Py:RPAR)(')')
        PsiElement(Py:DOT)('.')
        PsiElement(Py:IDENTIFIER)('bar')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')
  PsiWhiteSpace('\n\n')
  PyWithStatement
    PsiElement(Py:WITH_KEYWORD)('with')
    PsiWhiteSpace(' ')
    PyWithItem
      PyCallExpression: foo
        PyParenthesizedExpression
          PsiElement(Py:LPAR)('(')
          PyReferenceExpression: foo
            PsiElement(Py:IDENTIFIER)('foo')
          PsiElement(Py:RPAR)(')')
        PyArgumentList
          PsiElement(Py:LPAR)('(')
          PyReferenceExpression: bar
            PsiElement(Py:IDENTIFIER)('bar')
          PsiElement(Py:RPAR)(')')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')
  PsiWhiteSpace('\n\n')
  PyWithStatement
    PsiElement(Py:WITH_KEYWORD)('with')
    PsiWhiteSpace(' ')
    PyWithItem
      PySubscriptionExpression
        PyParenthesizedExpression
          PsiElement(Py:LPAR)('(')
          PyReferenceExpression: foo
            PsiElement(Py:IDENTIFIER)('foo')
          PsiElement(Py:RPAR)(')')
        PsiElement(Py:LBRACKET)('[')
        PyReferenceExpression: bar
          PsiElement(Py:IDENTIFIER)('bar')
        PsiElement(Py:RBRACKET)(']')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')
  PsiWhiteSpace('\n\n')
  PyWithStatement
    PsiElement(Py:WITH_KEYWORD)('with')
    PsiWhiteSpace(' ')
    PyWithItem
      PyBinaryExpression
        PyParenthesizedExpression
          PsiElement(Py:LPAR)('(')
          PyReferenceExpression: foo
            PsiElement(Py:IDENTIFIER)('foo')
          PsiElement(Py:RPAR)(')')
        PsiWhiteSpace(' ')
        PsiElement(Py:OR)('|')
        PsiWhiteSpace(' ')
        PyReferenceExpression: bar
          PsiElement(Py:IDENTIFIER)('bar')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')