...

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

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

     1[
     2  {"type":"Punctuation","value":"\u003c"},
     3  {"type":"NameTag","value":"template"},
     4  {"type":"Punctuation","value":"\u003e"},
     5  {"type":"Text","value":"\n    "},
     6  {"type":"Punctuation","value":"\u003c"},
     7  {"type":"NameTag","value":"button"},
     8  {"type":"Text","value":" "},
     9  {"type":"NameAttribute","value":"class"},
    10  {"type":"Operator","value":"="},
    11  {"type":"LiteralString","value":"\"button\""},
    12  {"type":"Punctuation","value":"\u003e"},
    13  {"type":"NameOther","value":"This"},
    14  {"type":"Text","value":" "},
    15  {"type":"NameOther","value":"is"},
    16  {"type":"Text","value":" "},
    17  {"type":"NameOther","value":"MyButton"},
    18  {"type":"Punctuation","value":"\u003c/"},
    19  {"type":"NameTag","value":"button"},
    20  {"type":"Punctuation","value":"\u003e"},
    21  {"type":"Text","value":"\n"},
    22  {"type":"Punctuation","value":"\u003c/"},
    23  {"type":"NameTag","value":"template"},
    24  {"type":"Punctuation","value":"\u003e"},
    25  {"type":"Text","value":"\n\n"},
    26  {"type":"Punctuation","value":"\u003c"},
    27  {"type":"NameTag","value":"script"},
    28  {"type":"Punctuation","value":"\u003e"},
    29  {"type":"Text","value":"\n    "},
    30  {"type":"KeywordReserved","value":"export"},
    31  {"type":"Text","value":" "},
    32  {"type":"Keyword","value":"default"},
    33  {"type":"Text","value":" "},
    34  {"type":"Punctuation","value":"{"},
    35  {"type":"Text","value":"\n        "},
    36  {"type":"NameOther","value":"name"},
    37  {"type":"Operator","value":":"},
    38  {"type":"Text","value":" "},
    39  {"type":"LiteralStringDouble","value":"\"MyButton\""},
    40  {"type":"Text","value":"\n    "},
    41  {"type":"Punctuation","value":"}"},
    42  {"type":"Text","value":"\n"},
    43  {"type":"Punctuation","value":"\u003c/"},
    44  {"type":"NameTag","value":"script"},
    45  {"type":"Punctuation","value":"\u003e"},
    46  {"type":"Text","value":"\n\n"},
    47  {"type":"Punctuation","value":"\u003c"},
    48  {"type":"NameTag","value":"style"},
    49  {"type":"Punctuation","value":"\u003e"},
    50  {"type":"Text","value":"\n    "},
    51  {"type":"Punctuation","value":"."},
    52  {"type":"NameOther","value":"button"},
    53  {"type":"Punctuation","value":"{"},
    54  {"type":"Text","value":"\n        "},
    55  {"type":"NameOther","value":"font"},
    56  {"type":"Operator","value":"-"},
    57  {"type":"NameOther","value":"size"},
    58  {"type":"Operator","value":":"},
    59  {"type":"LiteralNumberInteger","value":"18"},
    60  {"type":"NameOther","value":"px"},
    61  {"type":"Punctuation","value":";"},
    62  {"type":"Text","value":"\n    "},
    63  {"type":"Punctuation","value":"}"},
    64  {"type":"Text","value":"\n"},
    65  {"type":"Punctuation","value":"\u003c/"},
    66  {"type":"NameTag","value":"style"},
    67  {"type":"Punctuation","value":"\u003e"}
    68]

View as plain text