...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/kotlin.expected

Documentation: github.com/alecthomas/chroma/v2/lexers/testdata

     1[
     2  {"type":"Keyword","value":"package"},
     3  {"type":"Text","value":" "},
     4  {"type":"NameNamespace","value":"X"},
     5  {"type":"Text","value":"\n\n"},
     6  {"type":"Keyword","value":"import"},
     7  {"type":"Text","value":" "},
     8  {"type":"NameNamespace","value":"A"},
     9  {"type":"Text","value":"\n"},
    10  {"type":"Keyword","value":"import"},
    11  {"type":"Text","value":" "},
    12  {"type":"NameNamespace","value":"B.*"},
    13  {"type":"Text","value":"\n\n"},
    14  {"type":"Keyword","value":"fun"},
    15  {"type":"Text","value":" "},
    16  {"type":"NameFunction","value":"main"},
    17  {"type":"Punctuation","value":"("},
    18  {"type":"Name","value":"args"},
    19  {"type":"Punctuation","value":":"},
    20  {"type":"Text","value":" "},
    21  {"type":"Name","value":"Array"},
    22  {"type":"Punctuation","value":"\u003c"},
    23  {"type":"Name","value":"String"},
    24  {"type":"Punctuation","value":"\u003e)"},
    25  {"type":"Text","value":" "},
    26  {"type":"Punctuation","value":"{"},
    27  {"type":"Text","value":"\n    "},
    28  {"type":"Keyword","value":"val"},
    29  {"type":"Text","value":" "},
    30  {"type":"NameProperty","value":"` + \"with spaces\" + `"},
    31  {"type":"Text","value":" "},
    32  {"type":"Punctuation","value":"="},
    33  {"type":"Text","value":" "},
    34  {"type":"LiteralStringDouble","value":"\"hello\""},
    35  {"type":"Text","value":"\n    "},
    36  {"type":"Keyword","value":"val"},
    37  {"type":"Text","value":" "},
    38  {"type":"NameProperty","value":"multiline"},
    39  {"type":"Text","value":" "},
    40  {"type":"Punctuation","value":"="},
    41  {"type":"Text","value":" "},
    42  {"type":"LiteralString","value":"\"\"\"1\n2\"\"\""},
    43  {"type":"Text","value":"\n    "},
    44  {"type":"Name","value":"StringBuilder"},
    45  {"type":"Punctuation","value":"()."},
    46  {"type":"Name","value":"apply"},
    47  {"type":"Text","value":" "},
    48  {"type":"Punctuation","value":"{"},
    49  {"type":"Text","value":"\n        "},
    50  {"type":"Name","value":"append"},
    51  {"type":"Punctuation","value":"("},
    52  {"type":"Name","value":"multiline"},
    53  {"type":"Punctuation","value":")"},
    54  {"type":"Text","value":"\n    "},
    55  {"type":"Punctuation","value":"}"},
    56  {"type":"Text","value":"\n    "},
    57  {"type":"Keyword","value":"val"},
    58  {"type":"Text","value":" "},
    59  {"type":"NameProperty","value":"unsigned"},
    60  {"type":"Text","value":" "},
    61  {"type":"Punctuation","value":"="},
    62  {"type":"Text","value":" "},
    63  {"type":"LiteralNumber","value":"0x00UL"},
    64  {"type":"Text","value":" "},
    65  {"type":"Punctuation","value":"+"},
    66  {"type":"Text","value":" "},
    67  {"type":"LiteralNumber","value":"123u"},
    68  {"type":"Text","value":" "},
    69  {"type":"Punctuation","value":"+"},
    70  {"type":"Text","value":" "},
    71  {"type":"LiteralNumber","value":"76.54"},
    72  {"type":"Text","value":"\n"},
    73  {"type":"Punctuation","value":"}"},
    74  {"type":"Text","value":"\n"},
    75  {"type":"CommentMultiline","value":"/*\n*/"},
    76  {"type":"Text","value":"\n\n"},
    77  {"type":"Keyword","value":"fun"},
    78  {"type":"Text","value":" "},
    79  {"type":"NameFunction","value":"nullable"},
    80  {"type":"Punctuation","value":"("},
    81  {"type":"Name","value":"nullable"},
    82  {"type":"Punctuation","value":":"},
    83  {"type":"Text","value":" "},
    84  {"type":"Name","value":"String"},
    85  {"type":"Punctuation","value":"?):"},
    86  {"type":"Text","value":" "},
    87  {"type":"Name","value":"Int"},
    88  {"type":"Text","value":" "},
    89  {"type":"Punctuation","value":"="},
    90  {"type":"Text","value":" "},
    91  {"type":"Name","value":"nullable"},
    92  {"type":"Operator","value":"?."},
    93  {"type":"Name","value":"length"},
    94  {"type":"Text","value":" "},
    95  {"type":"Operator","value":"?:"},
    96  {"type":"Text","value":" "},
    97  {"type":"LiteralNumber","value":"0"},
    98  {"type":"Text","value":"\n\n"},
    99  {"type":"Keyword","value":"fun"},
   100  {"type":"Text","value":" "},
   101  {"type":"NameFunction","value":"nullable2"},
   102  {"type":"Punctuation","value":"("},
   103  {"type":"Name","value":"nullable"},
   104  {"type":"Punctuation","value":":"},
   105  {"type":"Text","value":" "},
   106  {"type":"Name","value":"String"},
   107  {"type":"Punctuation","value":"?):"},
   108  {"type":"Text","value":" "},
   109  {"type":"Name","value":"Int"},
   110  {"type":"Text","value":" "},
   111  {"type":"Punctuation","value":"="},
   112  {"type":"Text","value":" "},
   113  {"type":"Name","value":"nullable"},
   114  {"type":"Operator","value":"?."},
   115  {"type":"Name","value":"length"},
   116  {"type":"Text","value":" "},
   117  {"type":"Operator","value":"?:"},
   118  {"type":"Text","value":" "},
   119  {"type":"Name","value":"run"},
   120  {"type":"Text","value":" "},
   121  {"type":"Punctuation","value":"{"},
   122  {"type":"Text","value":"\n    "},
   123  {"type":"LiteralNumber","value":"1"},
   124  {"type":"Text","value":" "},
   125  {"type":"Punctuation","value":"+"},
   126  {"type":"Text","value":" "},
   127  {"type":"LiteralNumber","value":"2"},
   128  {"type":"Text","value":"\n"},
   129  {"type":"Punctuation","value":"}"},
   130  {"type":"Text","value":"\n\n"},
   131  {"type":"Keyword","value":"val"},
   132  {"type":"Text","value":" "},
   133  {"type":"NameProperty","value":"rawStringWithQuotes"},
   134  {"type":"Text","value":" "},
   135  {"type":"Punctuation","value":"="},
   136  {"type":"Text","value":" "},
   137  {"type":"LiteralString","value":"\"\"\"\nHello \"example\" "},
   138  {"type":"LiteralStringInterpol","value":"${1 + 2}"},
   139  {"type":"LiteralString","value":"\nAnd now { Just the braces }\nEscapes here don't work so this is just text \\t \\n \\u1234 $ \\$\n\"\"\""},
   140  {"type":"Text","value":"\n\n"},
   141  {"type":"Keyword","value":"fun"},
   142  {"type":"Text","value":" "},
   143  {"type":"NameFunction","value":"returnsSomething"},
   144  {"type":"Punctuation","value":"():"},
   145  {"type":"Text","value":" "},
   146  {"type":"Name","value":"Int"},
   147  {"type":"Text","value":" "},
   148  {"type":"Punctuation","value":"{"},
   149  {"type":"Text","value":"\n    "},
   150  {"type":"Keyword","value":"return"},
   151  {"type":"Text","value":" "},
   152  {"type":"LiteralStringDouble","value":"\"\""},
   153  {"type":"Punctuation","value":"."},
   154  {"type":"Name","value":"length"},
   155  {"type":"Text","value":"\n"},
   156  {"type":"Punctuation","value":"}"},
   157  {"type":"Text","value":"\n\n"},
   158  {"type":"Keyword","value":"fun"},
   159  {"type":"Text","value":" "},
   160  {"type":"NameFunction","value":"returnsSomethingElse"},
   161  {"type":"Punctuation","value":"():"},
   162  {"type":"Text","value":" "},
   163  {"type":"Name","value":"Int"},
   164  {"type":"Text","value":" "},
   165  {"type":"Punctuation","value":"="},
   166  {"type":"Text","value":" "},
   167  {"type":"LiteralStringDouble","value":"\""},
   168  {"type":"LiteralStringEscape","value":"\\\\\\n"},
   169  {"type":"LiteralStringDouble","value":"\""},
   170  {"type":"Punctuation","value":"."},
   171  {"type":"Name","value":"length"},
   172  {"type":"Text","value":"\n\n"},
   173  {"type":"Keyword","value":"val"},
   174  {"type":"Text","value":" "},
   175  {"type":"NameProperty","value":"character"},
   176  {"type":"Text","value":" "},
   177  {"type":"Punctuation","value":"="},
   178  {"type":"Text","value":" "},
   179  {"type":"LiteralStringChar","value":"'\"'"},
   180  {"type":"Text","value":"\n"},
   181  {"type":"Keyword","value":"val"},
   182  {"type":"Text","value":" "},
   183  {"type":"NameProperty","value":"escapedCharacter"},
   184  {"type":"Text","value":" "},
   185  {"type":"Punctuation","value":"="},
   186  {"type":"Text","value":" "},
   187  {"type":"LiteralStringChar","value":"'\\\"'"},
   188  {"type":"Text","value":"\n"},
   189  {"type":"CommentSingle","value":"// escaping a double quote character inside a character is optional\n"},
   190  {"type":"Keyword","value":"val"},
   191  {"type":"Text","value":" "},
   192  {"type":"NameProperty","value":"stringWithSingleQuote"},
   193  {"type":"Text","value":" "},
   194  {"type":"Punctuation","value":"="},
   195  {"type":"Text","value":" "},
   196  {"type":"LiteralStringDouble","value":"\"'\""},
   197  {"type":"Text","value":"\n\n"},
   198  {"type":"Keyword","value":"typealias"},
   199  {"type":"Text","value":" "},
   200  {"type":"Name","value":"MySecretAlias"},
   201  {"type":"Punctuation","value":"\u003c"},
   202  {"type":"Name","value":"A"},
   203  {"type":"Punctuation","value":","},
   204  {"type":"Text","value":" "},
   205  {"type":"Name","value":"B"},
   206  {"type":"Punctuation","value":"\u003e"},
   207  {"type":"Text","value":" "},
   208  {"type":"Punctuation","value":"="},
   209  {"type":"Text","value":" "},
   210  {"type":"Punctuation","value":"("},
   211  {"type":"Name","value":"A"},
   212  {"type":"Punctuation","value":","},
   213  {"type":"Text","value":" "},
   214  {"type":"Name","value":"B"},
   215  {"type":"Punctuation","value":")"},
   216  {"type":"Text","value":" "},
   217  {"type":"Operator","value":"-\u003e"},
   218  {"type":"Text","value":" "},
   219  {"type":"Name","value":"Unit"},
   220  {"type":"Text","value":"\n\n"},
   221  {"type":"Keyword","value":"val"},
   222  {"type":"Text","value":" "},
   223  {"type":"NameProperty","value":"impl"},
   224  {"type":"Text","value":" "},
   225  {"type":"Punctuation","value":":"},
   226  {"type":"Text","value":" "},
   227  {"type":"Name","value":"MySecretAlias"},
   228  {"type":"Punctuation","value":"\u003c"},
   229  {"type":"Name","value":"Int"},
   230  {"type":"Punctuation","value":","},
   231  {"type":"Text","value":" "},
   232  {"type":"Name","value":"Int"},
   233  {"type":"Punctuation","value":"\u003e"},
   234  {"type":"Text","value":" "},
   235  {"type":"Punctuation","value":"="},
   236  {"type":"Text","value":" "},
   237  {"type":"Punctuation","value":"{"},
   238  {"type":"Text","value":" "},
   239  {"type":"Name","value":"a"},
   240  {"type":"Punctuation","value":","},
   241  {"type":"Text","value":" "},
   242  {"type":"Name","value":"_"},
   243  {"type":"Text","value":" "},
   244  {"type":"Operator","value":"-\u003e"},
   245  {"type":"Text","value":" "},
   246  {"type":"Name","value":"Unit"},
   247  {"type":"Text","value":" "},
   248  {"type":"Punctuation","value":"}"},
   249  {"type":"Text","value":"\n\n"},
   250  {"type":"Keyword","value":"fun"},
   251  {"type":"Text","value":" "},
   252  {"type":"NameFunction","value":"someOperators"},
   253  {"type":"Punctuation","value":"("},
   254  {"type":"Name","value":"a"},
   255  {"type":"Punctuation","value":":"},
   256  {"type":"Text","value":" "},
   257  {"type":"Name","value":"Int"},
   258  {"type":"Punctuation","value":","},
   259  {"type":"Text","value":" "},
   260  {"type":"Name","value":"b"},
   261  {"type":"Punctuation","value":":"},
   262  {"type":"Text","value":" "},
   263  {"type":"Name","value":"Int"},
   264  {"type":"Punctuation","value":")"},
   265  {"type":"Text","value":" "},
   266  {"type":"Punctuation","value":"{"},
   267  {"type":"Text","value":"\n    "},
   268  {"type":"Keyword","value":"var"},
   269  {"type":"Text","value":" "},
   270  {"type":"NameProperty","value":"c"},
   271  {"type":"Text","value":" "},
   272  {"type":"Punctuation","value":":"},
   273  {"type":"Text","value":" "},
   274  {"type":"Name","value":"Int"},
   275  {"type":"Text","value":" "},
   276  {"type":"Punctuation","value":"="},
   277  {"type":"Text","value":" "},
   278  {"type":"LiteralNumber","value":"123"},
   279  {"type":"Text","value":"\n    "},
   280  {"type":"Name","value":"println"},
   281  {"type":"Punctuation","value":"("},
   282  {"type":"LiteralStringDouble","value":"\"This is an example a = "},
   283  {"type":"LiteralStringInterpol","value":"$a"},
   284  {"type":"LiteralStringDouble","value":" and the sum is "},
   285  {"type":"LiteralStringInterpol","value":"${a + b}"},
   286  {"type":"LiteralStringDouble","value":" "},
   287  {"type":"LiteralStringInterpol","value":"${ A.foo() }"},
   288  {"type":"LiteralStringDouble","value":"\""},
   289  {"type":"Punctuation","value":")"},
   290  {"type":"Text","value":"\n    "},
   291  {"type":"Name","value":"println"},
   292  {"type":"Punctuation","value":"("},
   293  {"type":"Text","value":" "},
   294  {"type":"Name","value":"a"},
   295  {"type":"Text","value":" "},
   296  {"type":"Punctuation","value":"%"},
   297  {"type":"Text","value":" "},
   298  {"type":"Name","value":"b"},
   299  {"type":"Punctuation","value":")"},
   300  {"type":"Text","value":"\n    "},
   301  {"type":"Name","value":"println"},
   302  {"type":"Punctuation","value":"("},
   303  {"type":"Name","value":"c"},
   304  {"type":"Text","value":" "},
   305  {"type":"Keyword","value":"in"},
   306  {"type":"Text","value":" "},
   307  {"type":"Name","value":"a"},
   308  {"type":"Operator","value":".."},
   309  {"type":"Name","value":"b"},
   310  {"type":"Punctuation","value":")"},
   311  {"type":"Text","value":"\n    \n    "},
   312  {"type":"NameClass","value":"Logger"},
   313  {"type":"Punctuation","value":"."},
   314  {"type":"Name","value":"info"},
   315  {"type":"Punctuation","value":"("},
   316  {"type":"LiteralStringDouble","value":"\"Hello World\""},
   317  {"type":"Punctuation","value":")"},
   318  {"type":"Text","value":"\n    \n    "},
   319  {"type":"Name","value":"a"},
   320  {"type":"Text","value":" "},
   321  {"type":"Operator","value":"%="},
   322  {"type":"Text","value":" "},
   323  {"type":"LiteralNumber","value":"2"},
   324  {"type":"Text","value":"\n\t"},
   325  {"type":"Name","value":"a"},
   326  {"type":"Text","value":" "},
   327  {"type":"Operator","value":"\u0026\u0026"},
   328  {"type":"Text","value":" "},
   329  {"type":"Name","value":"b"},
   330  {"type":"Text","value":"\n\t"},
   331  {"type":"Name","value":"a"},
   332  {"type":"Text","value":" "},
   333  {"type":"Operator","value":"*="},
   334  {"type":"Text","value":" "},
   335  {"type":"LiteralNumber","value":"2"},
   336  {"type":"Text","value":"\n\t"},
   337  {"type":"Name","value":"a"},
   338  {"type":"Operator","value":"++"},
   339  {"type":"Text","value":"\n\t"},
   340  {"type":"Name","value":"b"},
   341  {"type":"Operator","value":"+="},
   342  {"type":"LiteralNumber","value":"2"},
   343  {"type":"Text","value":"\n\t"},
   344  {"type":"Name","value":"b"},
   345  {"type":"Operator","value":"--"},
   346  {"type":"Text","value":"\n\t"},
   347  {"type":"Name","value":"a"},
   348  {"type":"Operator","value":"-="},
   349  {"type":"LiteralNumber","value":"1"},
   350  {"type":"Text","value":"\n\t"},
   351  {"type":"Name","value":"a"},
   352  {"type":"Text","value":" "},
   353  {"type":"Operator","value":"/="},
   354  {"type":"Text","value":" "},
   355  {"type":"LiteralNumber","value":"2"},
   356  {"type":"Text","value":"\n\t"},
   357  {"type":"Name","value":"a"},
   358  {"type":"Text","value":" "},
   359  {"type":"Operator","value":"\u003c="},
   360  {"type":"Text","value":" "},
   361  {"type":"Name","value":"b"},
   362  {"type":"Text","value":"\n\t"},
   363  {"type":"Name","value":"b"},
   364  {"type":"Text","value":" "},
   365  {"type":"Operator","value":"=="},
   366  {"type":"Text","value":" "},
   367  {"type":"Name","value":"a"},
   368  {"type":"Text","value":"\n\t"},
   369  {"type":"Name","value":"a"},
   370  {"type":"Text","value":" "},
   371  {"type":"Operator","value":"\u003e="},
   372  {"type":"Text","value":" "},
   373  {"type":"Name","value":"b"},
   374  {"type":"Text","value":"\n\t"},
   375  {"type":"Name","value":"nullable"},
   376  {"type":"Operator","value":"!!"},
   377  {"type":"Text","value":"\n\t"},
   378  {"type":"Name","value":"a"},
   379  {"type":"Text","value":" "},
   380  {"type":"Operator","value":"!="},
   381  {"type":"Text","value":" "},
   382  {"type":"Name","value":"b"},
   383  {"type":"Text","value":"\n\t"},
   384  {"type":"Name","value":"a"},
   385  {"type":"Text","value":" "},
   386  {"type":"Operator","value":"||"},
   387  {"type":"Text","value":" "},
   388  {"type":"Name","value":"b"},
   389  {"type":"Text","value":"\n\t"},
   390  {"type":"Name","value":"a"},
   391  {"type":"Operator","value":"?."},
   392  {"type":"Name","value":"foo"},
   393  {"type":"Text","value":"\n\t"},
   394  {"type":"Name","value":"a"},
   395  {"type":"Text","value":" "},
   396  {"type":"Operator","value":"?:"},
   397  {"type":"Text","value":" "},
   398  {"type":"Name","value":"b"},
   399  {"type":"Text","value":"\n"},
   400  {"type":"Punctuation","value":"}"},
   401  {"type":"Text","value":"\n\n"},
   402  {"type":"Keyword","value":"class"},
   403  {"type":"Text","value":" "},
   404  {"type":"NameClass","value":"B"},
   405  {"type":"Text","value":" "},
   406  {"type":"CommentSingle","value":"// no braces\n"},
   407  {"type":"Text","value":"\n"},
   408  {"type":"Keyword","value":"data"},
   409  {"type":"Text","value":" "},
   410  {"type":"Keyword","value":"class"},
   411  {"type":"Text","value":" "},
   412  {"type":"NameClass","value":"C"},
   413  {"type":"Punctuation","value":"("},
   414  {"type":"Text","value":"\n    "},
   415  {"type":"Keyword","value":"val"},
   416  {"type":"Text","value":" "},
   417  {"type":"NameProperty","value":"s"},
   418  {"type":"Punctuation","value":":"},
   419  {"type":"Text","value":" "},
   420  {"type":"Name","value":"String"},
   421  {"type":"Text","value":"\n"},
   422  {"type":"Punctuation","value":")"},
   423  {"type":"Text","value":"\n\n"},
   424  {"type":"Keyword","value":"fun"},
   425  {"type":"Text","value":" "},
   426  {"type":"NameFunction","value":"moreOperators"},
   427  {"type":"Punctuation","value":"("},
   428  {"type":"Name","value":"arg"},
   429  {"type":"Punctuation","value":":"},
   430  {"type":"Text","value":" "},
   431  {"type":"Name","value":"Any"},
   432  {"type":"Punctuation","value":"?)"},
   433  {"type":"Text","value":" "},
   434  {"type":"Punctuation","value":"{"},
   435  {"type":"Text","value":"\n    "},
   436  {"type":"Keyword","value":"when"},
   437  {"type":"Punctuation","value":"("},
   438  {"type":"Name","value":"arg"},
   439  {"type":"Punctuation","value":")"},
   440  {"type":"Text","value":" "},
   441  {"type":"Punctuation","value":"{"},
   442  {"type":"Text","value":"\n        "},
   443  {"type":"Operator","value":"!is"},
   444  {"type":"Text","value":" "},
   445  {"type":"Name","value":"Int"},
   446  {"type":"Text","value":" "},
   447  {"type":"Operator","value":"-\u003e"},
   448  {"type":"Text","value":" "},
   449  {"type":"Punctuation","value":"{"},
   450  {"type":"Text","value":" "},
   451  {"type":"Punctuation","value":"}"},
   452  {"type":"Text","value":"\n        "},
   453  {"type":"Keyword","value":"is"},
   454  {"type":"Text","value":" "},
   455  {"type":"Name","value":"Number"},
   456  {"type":"Text","value":" "},
   457  {"type":"Operator","value":"-\u003e"},
   458  {"type":"Text","value":" "},
   459  {"type":"Punctuation","value":"{}"},
   460  {"type":"Text","value":"\n        "},
   461  {"type":"Keyword","value":"in"},
   462  {"type":"Text","value":" "},
   463  {"type":"Name","value":"emptyList"},
   464  {"type":"Punctuation","value":"\u003c"},
   465  {"type":"Name","value":"Int"},
   466  {"type":"Punctuation","value":"\u003e()"},
   467  {"type":"Text","value":" "},
   468  {"type":"Operator","value":"-\u003e"},
   469  {"type":"Text","value":" "},
   470  {"type":"Punctuation","value":"{"},
   471  {"type":"Text","value":" "},
   472  {"type":"Punctuation","value":"}"},
   473  {"type":"Text","value":"\n    "},
   474  {"type":"Punctuation","value":"}"},
   475  {"type":"Text","value":"\n\n    "},
   476  {"type":"Keyword","value":"if"},
   477  {"type":"Punctuation","value":"("},
   478  {"type":"Name","value":"arg"},
   479  {"type":"Text","value":" "},
   480  {"type":"Operator","value":"!=="},
   481  {"type":"Text","value":" "},
   482  {"type":"Name","value":"Boolean"},
   483  {"type":"Punctuation","value":")"},
   484  {"type":"Text","value":"\n    \t"},
   485  {"type":"Name","value":"println"},
   486  {"type":"Punctuation","value":"("},
   487  {"type":"Name","value":"arg"},
   488  {"type":"Text","value":" "},
   489  {"type":"Operator","value":"==="},
   490  {"type":"Text","value":" "},
   491  {"type":"Name","value":"Unit"},
   492  {"type":"Punctuation","value":")"},
   493  {"type":"Text","value":"\n"},
   494  {"type":"Punctuation","value":"}"},
   495  {"type":"Text","value":"\n\n"},
   496  {"type":"NameDecorator","value":"@Target"},
   497  {"type":"Punctuation","value":"("},
   498  {"type":"NameClass","value":"AnnotationTarget"},
   499  {"type":"Punctuation","value":"."},
   500  {"type":"Name","value":"CLASS"},
   501  {"type":"Punctuation","value":","},
   502  {"type":"Text","value":" "},
   503  {"type":"NameClass","value":"AnnotationTarget"},
   504  {"type":"Punctuation","value":"."},
   505  {"type":"Name","value":"FUNCTION"},
   506  {"type":"Punctuation","value":","},
   507  {"type":"Text","value":"\n        "},
   508  {"type":"NameClass","value":"AnnotationTarget"},
   509  {"type":"Punctuation","value":"."},
   510  {"type":"Name","value":"VALUE_PARAMETER"},
   511  {"type":"Punctuation","value":","},
   512  {"type":"Text","value":" "},
   513  {"type":"NameClass","value":"AnnotationTarget"},
   514  {"type":"Punctuation","value":"."},
   515  {"type":"Name","value":"EXPRESSION"},
   516  {"type":"Punctuation","value":")"},
   517  {"type":"Text","value":"\n"},
   518  {"type":"NameDecorator","value":"@Retention"},
   519  {"type":"Punctuation","value":"("},
   520  {"type":"NameClass","value":"AnnotationRetention"},
   521  {"type":"Punctuation","value":"."},
   522  {"type":"Name","value":"SOURCE"},
   523  {"type":"Punctuation","value":")"},
   524  {"type":"Text","value":"\n"},
   525  {"type":"Keyword","value":"annotation"},
   526  {"type":"Text","value":" "},
   527  {"type":"Keyword","value":"class"},
   528  {"type":"Text","value":" "},
   529  {"type":"NameClass","value":"Annotated"},
   530  {"type":"Text","value":"\n\n"},
   531  {"type":"NameDecorator","value":"@Annotated"},
   532  {"type":"Text","value":" "},
   533  {"type":"Keyword","value":"class"},
   534  {"type":"Text","value":" "},
   535  {"type":"NameClass","value":"A"},
   536  {"type":"Text","value":" "},
   537  {"type":"Punctuation","value":"{"},
   538  {"type":"Text","value":"\n    "},
   539  {"type":"NameDecorator","value":"@Annotated"},
   540  {"type":"Text","value":" "},
   541  {"type":"Keyword","value":"fun"},
   542  {"type":"Text","value":" "},
   543  {"type":"NameFunction","value":"a"},
   544  {"type":"Punctuation","value":"("},
   545  {"type":"Text","value":"\n        "},
   546  {"type":"NameDecorator","value":"@Annotated"},
   547  {"type":"Text","value":" "},
   548  {"type":"Keyword","value":"param"},
   549  {"type":"Punctuation","value":":"},
   550  {"type":"Text","value":" "},
   551  {"type":"Name","value":"Int"},
   552  {"type":"Text","value":"\n    "},
   553  {"type":"Punctuation","value":")"},
   554  {"type":"Text","value":" "},
   555  {"type":"Punctuation","value":"{"},
   556  {"type":"Text","value":"\n\n        "},
   557  {"type":"NameDecorator","value":"@Annotated"},
   558  {"type":"Text","value":" "},
   559  {"type":"Keyword","value":"val"},
   560  {"type":"Text","value":" "},
   561  {"type":"NameProperty","value":"y"},
   562  {"type":"Text","value":" "},
   563  {"type":"Punctuation","value":"="},
   564  {"type":"Text","value":" "},
   565  {"type":"LiteralNumber","value":"0"},
   566  {"type":"Text","value":"\n\n    "},
   567  {"type":"Punctuation","value":"}"},
   568  {"type":"Text","value":"\n"},
   569  {"type":"Punctuation","value":"}"},
   570  {"type":"Text","value":"\n\n"},
   571  {"type":"Keyword","value":"open"},
   572  {"type":"Text","value":" "},
   573  {"type":"Keyword","value":"class"},
   574  {"type":"Text","value":" "},
   575  {"type":"NameClass","value":"TUpper"},
   576  {"type":"Text","value":"\n"},
   577  {"type":"Keyword","value":"fun"},
   578  {"type":"Text","value":" "},
   579  {"type":"Punctuation","value":"\u003c"},
   580  {"type":"NameClass","value":"T"},
   581  {"type":"Punctuation","value":":"},
   582  {"type":"Text","value":" "},
   583  {"type":"NameClass","value":"TUpper"},
   584  {"type":"Punctuation","value":","},
   585  {"type":"Text","value":" "},
   586  {"type":"NameClass","value":"R"},
   587  {"type":"Punctuation","value":":"},
   588  {"type":"Text","value":" "},
   589  {"type":"NameClass","value":"Any"},
   590  {"type":"Punctuation","value":"?\u003e"},
   591  {"type":"Text","value":" "},
   592  {"type":"NameFunction","value":"generic"},
   593  {"type":"Punctuation","value":"()"},
   594  {"type":"Text","value":" "},
   595  {"type":"Punctuation","value":"="},
   596  {"type":"Text","value":" "},
   597  {"type":"LiteralNumber","value":"123"},
   598  {"type":"Text","value":"\n\n"},
   599  {"type":"Keyword","value":"class"},
   600  {"type":"Text","value":" "},
   601  {"type":"NameClass","value":"Holder"},
   602  {"type":"Text","value":" "},
   603  {"type":"Punctuation","value":"\u003c"},
   604  {"type":"Keyword","value":"in"},
   605  {"type":"Text","value":" "},
   606  {"type":"Name","value":"A"},
   607  {"type":"Punctuation","value":","},
   608  {"type":"Text","value":" "},
   609  {"type":"Keyword","value":"out"},
   610  {"type":"Text","value":" "},
   611  {"type":"Name","value":"B"},
   612  {"type":"Punctuation","value":","},
   613  {"type":"Text","value":" "},
   614  {"type":"Name","value":"C"},
   615  {"type":"Punctuation","value":":"},
   616  {"type":"Text","value":" "},
   617  {"type":"Name","value":"TUpper"},
   618  {"type":"Punctuation","value":"\u003e"},
   619  {"type":"Text","value":"\n\n"},
   620  {"type":"Keyword","value":"class"},
   621  {"type":"Text","value":" "},
   622  {"type":"NameClass","value":"Holder2"},
   623  {"type":"Text","value":"  "},
   624  {"type":"Punctuation","value":"\u003c"},
   625  {"type":"Name","value":"T"},
   626  {"type":"Punctuation","value":"\u003e"},
   627  {"type":"Text","value":"\n\n"},
   628  {"type":"Keyword","value":"var"},
   629  {"type":"Text","value":" "},
   630  {"type":"NameProperty","value":"holder1"},
   631  {"type":"Punctuation","value":":"},
   632  {"type":"Text","value":" "},
   633  {"type":"Name","value":"Holder"},
   634  {"type":"Punctuation","value":"\u003c"},
   635  {"type":"Name","value":"Int"},
   636  {"type":"Punctuation","value":","},
   637  {"type":"Text","value":" "},
   638  {"type":"Name","value":"String"},
   639  {"type":"Punctuation","value":","},
   640  {"type":"Text","value":" "},
   641  {"type":"Punctuation","value":"*\u003e?"},
   642  {"type":"Text","value":" "},
   643  {"type":"Punctuation","value":"="},
   644  {"type":"Text","value":" "},
   645  {"type":"Keyword","value":"null"},
   646  {"type":"Text","value":"\n\n"},
   647  {"type":"Keyword","value":"class"},
   648  {"type":"Text","value":" "},
   649  {"type":"NameClass","value":"Some"},
   650  {"type":"Punctuation","value":"("},
   651  {"type":"Text","value":"\n    "},
   652  {"type":"Keyword","value":"val"},
   653  {"type":"Text","value":" "},
   654  {"type":"NameProperty","value":"holder2"},
   655  {"type":"Punctuation","value":":"},
   656  {"type":"Text","value":" "},
   657  {"type":"Name","value":"Holder"},
   658  {"type":"Punctuation","value":"\u003c"},
   659  {"type":"Name","value":"Int"},
   660  {"type":"Punctuation","value":","},
   661  {"type":"Text","value":" "},
   662  {"type":"Name","value":"String"},
   663  {"type":"Punctuation","value":","},
   664  {"type":"Text","value":" "},
   665  {"type":"Punctuation","value":"*\u003e?"},
   666  {"type":"Text","value":" "},
   667  {"type":"Punctuation","value":"="},
   668  {"type":"Text","value":" "},
   669  {"type":"Keyword","value":"null"},
   670  {"type":"Text","value":"\n"},
   671  {"type":"Punctuation","value":")"},
   672  {"type":"Text","value":" "},
   673  {"type":"Punctuation","value":"{"},
   674  {"type":"Text","value":"\n    "},
   675  {"type":"Keyword","value":"var"},
   676  {"type":"Text","value":" "},
   677  {"type":"NameProperty","value":"holder3"},
   678  {"type":"Punctuation","value":":"},
   679  {"type":"Text","value":" "},
   680  {"type":"Name","value":"Holder"},
   681  {"type":"Punctuation","value":"\u003c"},
   682  {"type":"Name","value":"Int"},
   683  {"type":"Punctuation","value":","},
   684  {"type":"Text","value":" "},
   685  {"type":"Name","value":"String"},
   686  {"type":"Punctuation","value":","},
   687  {"type":"Text","value":" "},
   688  {"type":"Punctuation","value":"*\u003e?"},
   689  {"type":"Text","value":" "},
   690  {"type":"Punctuation","value":"="},
   691  {"type":"Text","value":" "},
   692  {"type":"Keyword","value":"null"},
   693  {"type":"Text","value":"\n    "},
   694  {"type":"Keyword","value":"fun"},
   695  {"type":"Text","value":" "},
   696  {"type":"NameFunction","value":"example"},
   697  {"type":"Punctuation","value":"()"},
   698  {"type":"Text","value":" "},
   699  {"type":"Punctuation","value":"{"},
   700  {"type":"Text","value":"\n        "},
   701  {"type":"Keyword","value":"var"},
   702  {"type":"Text","value":" "},
   703  {"type":"NameProperty","value":"holder4"},
   704  {"type":"Punctuation","value":":"},
   705  {"type":"Text","value":" "},
   706  {"type":"Name","value":"Holder"},
   707  {"type":"Punctuation","value":"\u003c"},
   708  {"type":"Name","value":"Int"},
   709  {"type":"Punctuation","value":","},
   710  {"type":"Text","value":" "},
   711  {"type":"Name","value":"String"},
   712  {"type":"Punctuation","value":","},
   713  {"type":"Text","value":" "},
   714  {"type":"Punctuation","value":"*\u003e?"},
   715  {"type":"Text","value":" "},
   716  {"type":"Punctuation","value":"="},
   717  {"type":"Text","value":" "},
   718  {"type":"Keyword","value":"null"},
   719  {"type":"Text","value":"\n    "},
   720  {"type":"Punctuation","value":"}"},
   721  {"type":"Text","value":"\n"},
   722  {"type":"Punctuation","value":"}"},
   723  {"type":"Text","value":"\n"},
   724  {"type":"Keyword","value":"fun"},
   725  {"type":"Text","value":" "},
   726  {"type":"Punctuation","value":"\u003c"},
   727  {"type":"NameClass","value":"T"},
   728  {"type":"Text","value":" "},
   729  {"type":"Punctuation","value":":"},
   730  {"type":"Text","value":" "},
   731  {"type":"NameClass","value":"Comparable"},
   732  {"type":"Punctuation","value":"\u003c"},
   733  {"type":"NameClass","value":"T"},
   734  {"type":"Punctuation","value":"\u003e\u003e"},
   735  {"type":"Text","value":" "},
   736  {"type":"NameFunction","value":"sort"},
   737  {"type":"Punctuation","value":"("},
   738  {"type":"Name","value":"list"},
   739  {"type":"Punctuation","value":":"},
   740  {"type":"Text","value":" "},
   741  {"type":"Name","value":"List"},
   742  {"type":"Punctuation","value":"\u003c"},
   743  {"type":"Name","value":"T"},
   744  {"type":"Punctuation","value":"\u003e)"},
   745  {"type":"Text","value":" "},
   746  {"type":"Punctuation","value":"{"},
   747  {"type":"Text","value":"\n    \n"},
   748  {"type":"Punctuation","value":"}"},
   749  {"type":"Text","value":"\n\n"},
   750  {"type":"Keyword","value":"class"},
   751  {"type":"Text","value":" "},
   752  {"type":"NameClass","value":"X"},
   753  {"type":"Text","value":" "},
   754  {"type":"Punctuation","value":"{"},
   755  {"type":"Text","value":"\n    "},
   756  {"type":"Keyword","value":"companion"},
   757  {"type":"Text","value":" "},
   758  {"type":"Keyword","value":"object"},
   759  {"type":"Text","value":" "},
   760  {"type":"Punctuation","value":"{"},
   761  {"type":"Text","value":"\n    "},
   762  {"type":"Punctuation","value":"}"},
   763  {"type":"Text","value":"\n    "},
   764  {"type":"Keyword","value":"suspend"},
   765  {"type":"Text","value":" "},
   766  {"type":"Keyword","value":"inline"},
   767  {"type":"Text","value":" "},
   768  {"type":"Keyword","value":"fun"},
   769  {"type":"Text","value":" "},
   770  {"type":"Punctuation","value":"\u003c"},
   771  {"type":"Keyword","value":"reified"},
   772  {"type":"Text","value":" "},
   773  {"type":"NameClass","value":"T"},
   774  {"type":"Punctuation","value":"\u003e"},
   775  {"type":"Text","value":"  "},
   776  {"type":"NameFunction","value":"generic"},
   777  {"type":"Punctuation","value":"("},
   778  {"type":"Name","value":"t"},
   779  {"type":"Punctuation","value":":"},
   780  {"type":"Text","value":" "},
   781  {"type":"Name","value":"T"},
   782  {"type":"Punctuation","value":")"},
   783  {"type":"Text","value":" "},
   784  {"type":"Punctuation","value":"{"},
   785  {"type":"Text","value":" "},
   786  {"type":"Name","value":"print"},
   787  {"type":"Punctuation","value":"("},
   788  {"type":"Name","value":"T"},
   789  {"type":"Operator","value":"::"},
   790  {"type":"Keyword","value":"class"},
   791  {"type":"Punctuation","value":"."},
   792  {"type":"Name","value":"simpleName"},
   793  {"type":"Punctuation","value":")"},
   794  {"type":"Text","value":" "},
   795  {"type":"Punctuation","value":"}"},
   796  {"type":"Text","value":"\n"},
   797  {"type":"Punctuation","value":"}"},
   798  {"type":"Text","value":" "},
   799  {"type":"CommentSingle","value":"// eof comment"}
   800]

View as plain text