File: kt1940.kt - 711192c773b71af2966a3afb0f44f9f8
  NL("\n")
  packageHeader
    PACKAGE("package")
    identifier
      simpleIdentifier
        Identifier("kt1940")
    semi
      NL("\n")
      NL("\n")
  importList
  topLevelObject
    declaration
      functionDeclaration
        FUN("fun")
        simpleIdentifier
          Identifier("foo")
        functionValueParameters
          LPAREN("(")
          functionValueParameter
            parameter
              simpleIdentifier
                Identifier("i")
              COLON(":")
              type
                typeReference
                  userType
                    simpleUserType
                      simpleIdentifier
                        Identifier("Int")
          RPAREN(")")
        functionBody
          block
            LCURL("{")
            statements
            RCURL("}")
    semis
      NL("\n")
      NL("\n")
  topLevelObject
    declaration
      functionDeclaration
        FUN("fun")
        simpleIdentifier
          Identifier("test")
        functionValueParameters
          LPAREN("(")
          RPAREN(")")
        functionBody
          block
            LCURL("{")
            NL("\n")
            statements
              statement
                expression
                  disjunction
                    conjunction
                      equality
                        comparison
                          genericCallLikeComparison
                            infixOperation
                              elvisExpression
                                infixFunctionCall
                                  rangeExpression
                                    additiveExpression
                                      multiplicativeExpression
                                        asExpression
                                          prefixUnaryExpression
                                            postfixUnaryExpression
                                              primaryExpression
                                                simpleIdentifier
                                                  Identifier("foo")
                            callSuffix
                              valueArguments
                                LPAREN("(")
                                valueArgument
                                  expression
                                    disjunction
                                      conjunction
                                        equality
                                          comparison
                                            genericCallLikeComparison
                                              infixOperation
                                                elvisExpression
                                                  infixFunctionCall
                                                    rangeExpression
                                                      additiveExpression
                                                        multiplicativeExpression
                                                          asExpression
                                                            prefixUnaryExpression
                                                              postfixUnaryExpression
                                                                primaryExpression
                                                                  literalConstant
                                                                    IntegerLiteral("1")
                                COMMA(",")
                                valueArgument
                                  simpleIdentifier
                                    Identifier("i")
                                  ASSIGNMENT("=")
                                  expression
                                    disjunction
                                      conjunction
                                        equality
                                          comparison
                                            genericCallLikeComparison
                                              infixOperation
                                                elvisExpression
                                                  infixFunctionCall
                                                    rangeExpression
                                                      additiveExpression
                                                        multiplicativeExpression
                                                          asExpression
                                                            prefixUnaryExpression
                                                              postfixUnaryExpression
                                                                primaryExpression
                                                                  literalConstant
                                                                    IntegerLiteral("2")
                                RPAREN(")")
              semis
                NL("\n")
              statement
                expression
                  disjunction
                    conjunction
                      equality
                        comparison
                          genericCallLikeComparison
                            infixOperation
                              elvisExpression
                                infixFunctionCall
                                  rangeExpression
                                    additiveExpression
                                      multiplicativeExpression
                                        asExpression
                                          prefixUnaryExpression
                                            postfixUnaryExpression
                                              primaryExpression
                                                simpleIdentifier
                                                  Identifier("foo")
                            callSuffix
                              valueArguments
                                LPAREN("(")
                                valueArgument
                                  simpleIdentifier
                                    Identifier("i")
                                  ASSIGNMENT("=")
                                  expression
                                    disjunction
                                      conjunction
                                        equality
                                          comparison
                                            genericCallLikeComparison
                                              infixOperation
                                                elvisExpression
                                                  infixFunctionCall
                                                    rangeExpression
                                                      additiveExpression
                                                        multiplicativeExpression
                                                          asExpression
                                                            prefixUnaryExpression
                                                              postfixUnaryExpression
                                                                primaryExpression
                                                                  literalConstant
                                                                    IntegerLiteral("1")
                                COMMA(",")
                                valueArgument
                                  simpleIdentifier
                                    Identifier("i")
                                  ASSIGNMENT("=")
                                  expression
                                    disjunction
                                      conjunction
                                        equality
                                          comparison
                                            genericCallLikeComparison
                                              infixOperation
                                                elvisExpression
                                                  infixFunctionCall
                                                    rangeExpression
                                                      additiveExpression
                                                        multiplicativeExpression
                                                          asExpression
                                                            prefixUnaryExpression
                                                              postfixUnaryExpression
                                                                primaryExpression
                                                                  literalConstant
                                                                    IntegerLiteral("2")
                                RPAREN(")")
              semis
                NL("\n")
            RCURL("}")
    semis
      EOF("<EOF>")
  EOF("<EOF>")
