JetFile: TypeParametersAndParentheses.kt
  PACKAGE_DIRECTIVE
    <empty list>
  IMPORT_LIST
    <empty list>
  OBJECT_DECLARATION
    PsiElement(object)('object')
    PsiWhiteSpace(' ')
    OBJECT_DECLARATION_NAME
      PsiElement(IDENTIFIER)('Foo')
    PsiErrorElement:Type parameters are not allowed for objects
      TYPE_PARAMETER_LIST
        PsiElement(LT)('<')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('T')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('R')
        PsiElement(GT)('>')
    PRIMARY_CONSTRUCTOR
      VALUE_PARAMETER_LIST
        PsiElement(LPAR)('(')
        PsiElement(RPAR)(')')
  PsiWhiteSpace('\n\n')
  OBJECT_DECLARATION
    PsiElement(object)('object')
    PsiWhiteSpace(' ')
    OBJECT_DECLARATION_NAME
      PsiElement(IDENTIFIER)('Foo')
    PsiErrorElement:Type parameters are not allowed for objects
      TYPE_PARAMETER_LIST
        PsiElement(LT)('<')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('T')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('R')
        PsiElement(GT)('>')
    PRIMARY_CONSTRUCTOR
      VALUE_PARAMETER_LIST
        PsiElement(LPAR)('(')
        VALUE_PARAMETER
          PsiElement(IDENTIFIER)('x')
          PsiElement(COLON)(':')
          PsiWhiteSpace(' ')
          TYPE_REFERENCE
            USER_TYPE
              REFERENCE_EXPRESSION
                PsiElement(IDENTIFIER)('Int')
        PsiElement(RPAR)(')')
    PsiWhiteSpace(' ')
    CLASS_BODY
      PsiElement(LBRACE)('{')
      PsiElement(RBRACE)('}')
  PsiWhiteSpace('\n\n')
  OBJECT_DECLARATION
    PsiElement(object)('object')
    PsiWhiteSpace(' ')
    OBJECT_DECLARATION_NAME
      PsiElement(IDENTIFIER)('Foo')
    PsiErrorElement:Type parameters are not allowed for objects
      TYPE_PARAMETER_LIST
        PsiElement(LT)('<')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('T')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        TYPE_PARAMETER
          PsiElement(IDENTIFIER)('R')
        PsiElement(GT)('>')
    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(' ')
    CLASS_BODY
      PsiElement(LBRACE)('{')
      PsiWhiteSpace('\n\n')
      PsiElement(RBRACE)('}')
