JetFile: functionLiterals.kt
  PACKAGE_DIRECTIVE
    <empty list>
  IMPORT_LIST
    <empty list>
  CLASS
    PsiElement(class)('class')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('Foo')
  PsiWhiteSpace('\n')
  CLASS
    PsiElement(class)('class')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('Bar')
  PsiWhiteSpace('\n\n')
  FUN
    PsiElement(fun)('fun')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('a')
    VALUE_PARAMETER_LIST
      PsiElement(LPAR)('(')
      VALUE_PARAMETER
        MODIFIER_LIST
          PsiElement(vararg)('vararg')
        PsiWhiteSpace(' ')
        PsiElement(IDENTIFIER)('a')
        PsiWhiteSpace(' ')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          USER_TYPE
            REFERENCE_EXPRESSION
              PsiElement(IDENTIFIER)('Any')
      PsiElement(RPAR)(')')
    PsiWhiteSpace(' ')
    PsiElement(EQ)('=')
    PsiWhiteSpace(' ')
    REFERENCE_EXPRESSION
      PsiElement(IDENTIFIER)('a')
  PsiWhiteSpace('\n\n')
  FUN
    PsiElement(fun)('fun')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('test')
    VALUE_PARAMETER_LIST
      PsiElement(LPAR)('(')
      PsiElement(RPAR)(')')
    PsiWhiteSpace(' ')
    BLOCK
      PsiElement(LBRACE)('{')
      PsiWhiteSpace('\n')
      CALL_EXPRESSION
        REFERENCE_EXPRESSION
          PsiElement(IDENTIFIER)('a')
        VALUE_ARGUMENT_LIST
          PsiElement(LPAR)('(')
          VALUE_ARGUMENT
            INTEGER_CONSTANT
              PsiElement(INTEGER_LITERAL)('1')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  <empty list>
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                PsiWhiteSpace(' ')
                VALUE_PARAMETER_LIST
                  <empty list>
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  <empty list>
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  PARENTHESIZED
                    PsiElement(LPAR)('(')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('x')
                    PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('x')
                      PsiElement(RPAR)(')')
                    PsiElement(DOT)('.')
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('y')
                      PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('x')
                    PsiElement(DOT)('.')
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('y')
                      PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    USER_TYPE
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('A')
                    PsiElement(DOT)('.')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('B')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    USER_TYPE
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('A')
                    PsiElement(DOT)('.')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('B')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  PsiElement(LPAR)('(')
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                  PsiElement(RPAR)(')')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  PsiElement(LPAR)('(')
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                  PsiElement(RPAR)(')')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  PsiElement(LPAR)('(')
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                  PsiElement(RPAR)(')')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  FUNCTION_TYPE
                    VALUE_PARAMETER_LIST
                      PsiElement(LPAR)('(')
                      VALUE_PARAMETER
                        TYPE_REFERENCE
                          USER_TYPE
                            REFERENCE_EXPRESSION
                              PsiElement(IDENTIFIER)('Int')
                      PsiElement(RPAR)(')')
                    PsiWhiteSpace(' ')
                    PsiElement(ARROW)('->')
                    PsiWhiteSpace(' ')
                    TYPE_REFERENCE
                      USER_TYPE
                        REFERENCE_EXPRESSION
                          PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  FUNCTION_LITERAL_EXPRESSION
                    FUNCTION_LITERAL
                      PsiElement(LBRACE)('{')
                      BLOCK
                        INTEGER_CONSTANT
                          PsiElement(INTEGER_LITERAL)('1')
                      PsiElement(RBRACE)('}')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  NULLABLE_TYPE
                    USER_TYPE
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Int')
                    PsiElement(QUEST)('?')
                PsiWhiteSpace(' ')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  SELF_TYPE
                    PsiElement(This)('This')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(COMMA)(',')
                  PsiWhiteSpace(' ')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('y')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  INTEGER_CONSTANT
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    CALL_EXPRESSION
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Pair')
                      VALUE_ARGUMENT_LIST
                        PsiElement(LPAR)('(')
                        VALUE_ARGUMENT
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('A')
                        PsiElement(COMMA)(',')
                        PsiWhiteSpace(' ')
                        VALUE_ARGUMENT
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('B')
                        PsiElement(RPAR)(')')
                    PsiElement(DOT)('.')
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('x')
                      PsiErrorElement:Expecting ')'
                        <empty list>
                  PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
                    PsiElement(COMMA)(',')
                    PsiWhiteSpace(' ')
                    PsiElement(IDENTIFIER)('y')
                    PsiElement(RPAR)(')')
                    PsiWhiteSpace(' ')
                    PsiElement(ARROW)('->')
                    PsiWhiteSpace(' ')
                    PsiElement(INTEGER_LITERAL)('1')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    CALL_EXPRESSION
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Pair')
                      VALUE_ARGUMENT_LIST
                        PsiElement(LPAR)('(')
                        VALUE_ARGUMENT
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('a')
                        PsiElement(COMMA)(',')
                        PsiWhiteSpace(' ')
                        VALUE_ARGUMENT
                          REFERENCE_EXPRESSION
                            PsiElement(IDENTIFIER)('b')
                        PsiElement(RPAR)(')')
                    PsiElement(DOT)('.')
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('y')
                      PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  CALL_EXPRESSION
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Pair')
                    VALUE_ARGUMENT_LIST
                      PsiElement(LPAR)('(')
                      VALUE_ARGUMENT
                        REFERENCE_EXPRESSION
                          PsiElement(IDENTIFIER)('a')
                      PsiElement(COMMA)(',')
                      PsiWhiteSpace(' ')
                      VALUE_ARGUMENT
                        REFERENCE_EXPRESSION
                          PsiElement(IDENTIFIER)('b')
                      PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    CALL_EXPRESSION
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Foo')
                      TYPE_ARGUMENT_LIST
                        PsiElement(LT)('<')
                        TYPE_PROJECTION
                          TYPE_REFERENCE
                            USER_TYPE
                              REFERENCE_EXPRESSION
                                PsiElement(IDENTIFIER)('Bar')
                        PsiElement(GT)('>')
                    PsiElement(DOT)('.')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                BLOCK
                  DOT_QUALIFIED_EXPRESSION
                    CALL_EXPRESSION
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Foo')
                      TYPE_ARGUMENT_LIST
                        PsiElement(LT)('<')
                        TYPE_PROJECTION
                          TYPE_REFERENCE
                            USER_TYPE
                              REFERENCE_EXPRESSION
                                PsiElement(IDENTIFIER)('Bar')
                        PsiElement(GT)('>')
                    PsiElement(DOT)('.')
                    PARENTHESIZED
                      PsiElement(LPAR)('(')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('x')
                      PsiElement(RPAR)(')')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Foo')
                    TYPE_ARGUMENT_LIST
                      PsiElement(LT)('<')
                      TYPE_PROJECTION
                        TYPE_REFERENCE
                          USER_TYPE
                            REFERENCE_EXPRESSION
                              PsiElement(IDENTIFIER)('Bar')
                      PsiElement(GT)('>')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    USER_TYPE
                      USER_TYPE
                        REFERENCE_EXPRESSION
                          PsiElement(IDENTIFIER)('Foo')
                      PsiElement(DOT)('.')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Bar')
                    PsiElement(DOT)('.')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Baz')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Foo')
                    TYPE_ARGUMENT_LIST
                      PsiElement(LT)('<')
                      TYPE_PROJECTION
                        TYPE_REFERENCE
                          USER_TYPE
                            REFERENCE_EXPRESSION
                              PsiElement(IDENTIFIER)('Bar')
                      PsiElement(GT)('>')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(COMMA)(',')
          PsiWhiteSpace(' ')
          VALUE_ARGUMENT
            FUNCTION_LITERAL_EXPRESSION
              FUNCTION_LITERAL
                PsiElement(LBRACE)('{')
                TYPE_REFERENCE
                  USER_TYPE
                    USER_TYPE
                      USER_TYPE
                        REFERENCE_EXPRESSION
                          PsiElement(IDENTIFIER)('Foo')
                      PsiElement(DOT)('.')
                      REFERENCE_EXPRESSION
                        PsiElement(IDENTIFIER)('Bar')
                    PsiElement(DOT)('.')
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Baz')
                PsiElement(DOT)('.')
                VALUE_PARAMETER_LIST
                  PsiElement(LPAR)('(')
                  VALUE_PARAMETER
                    PsiElement(IDENTIFIER)('x')
                  PsiElement(RPAR)(')')
                PsiWhiteSpace(' ')
                PsiElement(COLON)(':')
                PsiWhiteSpace(' ')
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('Int')
                PsiWhiteSpace(' ')
                PsiElement(ARROW)('->')
                PsiWhiteSpace(' ')
                BLOCK
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('x')
                PsiElement(RBRACE)('}')
          PsiWhiteSpace('\n')
          PsiElement(RPAR)(')')
      PsiWhiteSpace('\n')
      PsiElement(RBRACE)('}')
