...

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

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

     1[
     2  {"type":"Keyword","value":"public"},
     3  {"type":"Text","value":" "},
     4  {"type":"Keyword","value":"record"},
     5  {"type":"Text","value":" "},
     6  {"type":"NameClass","value":"Person"},
     7  {"type":"Text","value":"\n"},
     8  {"type":"Punctuation","value":"{"},
     9  {"type":"Text","value":"\n    "},
    10  {"type":"Keyword","value":"public"},
    11  {"type":"Text","value":" "},
    12  {"type":"KeywordType","value":"string"},
    13  {"type":"Text","value":" "},
    14  {"type":"Name","value":"FirstName"},
    15  {"type":"Text","value":" "},
    16  {"type":"Punctuation","value":"{"},
    17  {"type":"Text","value":" "},
    18  {"type":"Keyword","value":"get"},
    19  {"type":"Punctuation","value":";"},
    20  {"type":"Text","value":" "},
    21  {"type":"Keyword","value":"init"},
    22  {"type":"Punctuation","value":";"},
    23  {"type":"Text","value":" "},
    24  {"type":"Punctuation","value":"}"},
    25  {"type":"Text","value":" "},
    26  {"type":"Punctuation","value":"="},
    27  {"type":"Text","value":" "},
    28  {"type":"Keyword","value":"default"},
    29  {"type":"Punctuation","value":"!;"},
    30  {"type":"Text","value":"\n    "},
    31  {"type":"Keyword","value":"public"},
    32  {"type":"Text","value":" "},
    33  {"type":"KeywordType","value":"string"},
    34  {"type":"Text","value":" "},
    35  {"type":"Name","value":"LastName"},
    36  {"type":"Text","value":" "},
    37  {"type":"Punctuation","value":"{"},
    38  {"type":"Text","value":" "},
    39  {"type":"Keyword","value":"get"},
    40  {"type":"Punctuation","value":";"},
    41  {"type":"Text","value":" "},
    42  {"type":"Keyword","value":"init"},
    43  {"type":"Punctuation","value":";"},
    44  {"type":"Text","value":" "},
    45  {"type":"Punctuation","value":"}"},
    46  {"type":"Text","value":" "},
    47  {"type":"Punctuation","value":"="},
    48  {"type":"Text","value":" "},
    49  {"type":"Keyword","value":"default"},
    50  {"type":"Punctuation","value":"!;"},
    51  {"type":"Text","value":"\n"},
    52  {"type":"Punctuation","value":"};"}
    53]

View as plain text