PyFile:SingleDefBeforeFunction.py
  PyFunction('null')
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiErrorElement:Identifier expected
      <empty list>
    PsiErrorElement:'(' expected
      <empty list>
    PyParameterList
      <empty list>
    PsiWhiteSpace('\n\n\n')
    PyStatementList
      PsiErrorElement:Indent expected
        <empty list>
  PyFunction('bar')
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiWhiteSpace(' ')
    PsiElement(Py:IDENTIFIER)('bar')
    PyParameterList
      PsiElement(Py:LPAR)('(')
      PsiElement(Py:RPAR)(')')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyStatementList
      PyAssignmentStatement
        PyTargetExpression: x
          PsiElement(Py:IDENTIFIER)('x')
        PsiWhiteSpace(' ')
        PsiElement(Py:EQ)('=')
        PsiWhiteSpace(' ')
        PyNumericLiteralExpression
          PsiElement(Py:INTEGER_LITERAL)('1')