...

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

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

     1[
     2  {"type":"Punctuation","value":"-"},
     3  {"type":"NameEntity","value":"module"},
     4  {"type":"Punctuation","value":"("},
     5  {"type":"Name","value":"repl"},
     6  {"type":"Punctuation","value":")."},
     7  {"type":"Text","value":"\n\n"},
     8  {"type":"Punctuation","value":"-"},
     9  {"type":"NameEntity","value":"export"},
    10  {"type":"Punctuation","value":"(["},
    11  {"type":"Name","value":"run"},
    12  {"type":"Operator","value":"/"},
    13  {"type":"LiteralNumberInteger","value":"0"},
    14  {"type":"Punctuation","value":"])."},
    15  {"type":"Text","value":"\n\n"},
    16  {"type":"NameFunction","value":"run"},
    17  {"type":"Punctuation","value":"()"},
    18  {"type":"Text","value":" "},
    19  {"type":"Operator","value":"-\u003e"},
    20  {"type":"Text","value":"\n    "},
    21  {"type":"Name","value":"read_eval_process"},
    22  {"type":"Punctuation","value":"()."},
    23  {"type":"Text","value":"\n\n"},
    24  {"type":"NameFunction","value":"read_eval_process"},
    25  {"type":"Punctuation","value":"()"},
    26  {"type":"Text","value":" "},
    27  {"type":"Operator","value":"-\u003e"},
    28  {"type":"Text","value":"\n    "},
    29  {"type":"NameVariable","value":"Line"},
    30  {"type":"Text","value":" "},
    31  {"type":"Operator","value":"="},
    32  {"type":"Text","value":" "},
    33  {"type":"NameNamespace","value":"io"},
    34  {"type":"Punctuation","value":":"},
    35  {"type":"NameFunction","value":"get_line"},
    36  {"type":"Punctuation","value":"("},
    37  {"type":"LiteralString","value":"\"\u003e \""},
    38  {"type":"Punctuation","value":"),"},
    39  {"type":"Text","value":"\n    "},
    40  {"type":"NameVariable","value":"Out"},
    41  {"type":"Text","value":" "},
    42  {"type":"Operator","value":"="},
    43  {"type":"Text","value":" "},
    44  {"type":"Name","value":"process_line"},
    45  {"type":"Punctuation","value":"("},
    46  {"type":"NameVariable","value":"Line"},
    47  {"type":"Punctuation","value":"),"},
    48  {"type":"Text","value":"\n    "},
    49  {"type":"NameNamespace","value":"io"},
    50  {"type":"Punctuation","value":":"},
    51  {"type":"NameFunction","value":"format"},
    52  {"type":"Punctuation","value":"("},
    53  {"type":"LiteralString","value":"\"\u003c "},
    54  {"type":"LiteralStringInterpol","value":"~s~n~n"},
    55  {"type":"LiteralString","value":"\""},
    56  {"type":"Punctuation","value":","},
    57  {"type":"Text","value":" "},
    58  {"type":"Punctuation","value":"["},
    59  {"type":"NameVariable","value":"Out"},
    60  {"type":"Punctuation","value":"]),"},
    61  {"type":"Text","value":"\n    "},
    62  {"type":"Name","value":"read_eval_process"},
    63  {"type":"Punctuation","value":"()."},
    64  {"type":"Text","value":"\n\n"},
    65  {"type":"NameFunction","value":"process_line"},
    66  {"type":"Punctuation","value":"("},
    67  {"type":"NameVariable","value":"Line"},
    68  {"type":"Punctuation","value":")"},
    69  {"type":"Text","value":" "},
    70  {"type":"Operator","value":"-\u003e"},
    71  {"type":"Text","value":"\n    "},
    72  {"type":"NameNamespace","value":"string"},
    73  {"type":"Punctuation","value":":"},
    74  {"type":"NameFunction","value":"uppercase"},
    75  {"type":"Punctuation","value":"("},
    76  {"type":"NameVariable","value":"Line"},
    77  {"type":"Punctuation","value":")."},
    78  {"type":"Text","value":"\n"}
    79]

View as plain text