JetFile: InFunction.kt
  PACKAGE_DIRECTIVE
    <empty list>
  IMPORT_LIST
    <empty list>
  FUN
    PsiElement(fun)('fun')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('foo')
    VALUE_PARAMETER_LIST
      PsiElement(LPAR)('(')
      PsiElement(RPAR)(')')
    PsiWhiteSpace(' ')
    BLOCK
      PsiElement(LBRACE)('{')
      PsiWhiteSpace('\n    ')
      PROPERTY
        PsiElement(val)('val')
        PsiWhiteSpace(' ')
        PsiElement(IDENTIFIER)('foo')
        PsiWhiteSpace(' ')
        PsiElement(EQ)('=')
        PsiWhiteSpace(' ')
        OBJECT_LITERAL
          OBJECT_DECLARATION
            PsiElement(object)('object')
            PsiWhiteSpace(' ')
            PsiErrorElement:An object expression cannot bind a name
              PsiElement(IDENTIFIER)('private')
            PsiWhiteSpace(' ')
            PRIMARY_CONSTRUCTOR
              VALUE_PARAMETER_LIST
                PsiElement(LPAR)('(')
                PsiElement(RPAR)(')')
            PsiWhiteSpace('\n\n    ')
            CLASS_BODY
              PsiErrorElement:Expecting a class body
                <empty list>
      PROPERTY
        PsiElement(val)('val')
        PsiWhiteSpace(' ')
        PsiElement(IDENTIFIER)('foo')
        PsiWhiteSpace(' ')
        PsiElement(EQ)('=')
        PsiWhiteSpace(' ')
        OBJECT_LITERAL
          OBJECT_DECLARATION
            PsiElement(object)('object')
            PsiWhiteSpace(' ')
            PsiErrorElement:An object expression cannot bind a name
              PsiElement(IDENTIFIER)('private')
            PsiWhiteSpace(' ')
            PRIMARY_CONSTRUCTOR
              VALUE_PARAMETER_LIST
                PsiElement(LPAR)('(')
                PsiElement(RPAR)(')')
            PsiWhiteSpace(' ')
            PsiElement(COLON)(':')
            PsiWhiteSpace(' ')
            DELEGATION_SPECIFIER_LIST
              DELEGATOR_SUPER_CLASS
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Bar')
            PsiWhiteSpace('\n\n    ')
            CLASS_BODY
              PsiErrorElement:Expecting a class body
                <empty list>
      PROPERTY
        PsiElement(val)('val')
        PsiWhiteSpace(' ')
        PsiElement(IDENTIFIER)('foo')
        PsiWhiteSpace(' ')
        PsiElement(EQ)('=')
        PsiWhiteSpace(' ')
        OBJECT_LITERAL
          OBJECT_DECLARATION
            PsiElement(object)('object')
            PsiWhiteSpace(' ')
            PRIMARY_CONSTRUCTOR
              MODIFIER_LIST
                ANNOTATION
                  PsiElement(AT)('@')
                  PsiElement(LBRACKET)('[')
                  ANNOTATION_ENTRY
                    CONSTRUCTOR_CALLEE
                      TYPE_REFERENCE
                        USER_TYPE
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('foo')
                  PsiElement(RBRACKET)(']')
                PsiWhiteSpace(' ')
                PsiElement(private)('private')
                PsiWhiteSpace(' ')
                ANNOTATION
                  PsiElement(AT)('@')
                  PsiElement(LBRACKET)('[')
                  ANNOTATION_ENTRY
                    CONSTRUCTOR_CALLEE
                      TYPE_REFERENCE
                        USER_TYPE
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('bar')
                    VALUE_ARGUMENT_LIST
                      PsiElement(LPAR)('(')
                      PsiElement(RPAR)(')')
                  PsiElement(RBRACKET)(']')
              PsiWhiteSpace(' ')
              VALUE_PARAMETER_LIST
                PsiElement(LPAR)('(')
                PsiElement(RPAR)(')')
            PsiWhiteSpace('\n\n    ')
            CLASS_BODY
              PsiErrorElement:Expecting a class body
                <empty list>
      PROPERTY
        PsiElement(val)('val')
        PsiWhiteSpace(' ')
        PsiElement(IDENTIFIER)('foo')
        PsiWhiteSpace(' ')
        PsiElement(EQ)('=')
        PsiWhiteSpace(' ')
        OBJECT_LITERAL
          OBJECT_DECLARATION
            PsiElement(object)('object')
            PsiWhiteSpace(' ')
            PsiErrorElement:An object expression cannot bind a name
              PsiElement(IDENTIFIER)('private')
            PsiWhiteSpace(' ')
            PRIMARY_CONSTRUCTOR
              VALUE_PARAMETER_LIST
                PsiElement(LPAR)('(')
                PsiElement(RPAR)(')')
            PsiWhiteSpace('\n')
            CLASS_BODY
              PsiErrorElement:Expecting a class body
                <empty list>
      PsiElement(RBRACE)('}')
