...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/wgsl.storage.texture.expected

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

     1[
     2  {"type":"NameDecorator","value":"@group"},
     3  {"type":"Punctuation","value":"("},
     4  {"type":"LiteralNumberInteger","value":"0"},
     5  {"type":"Punctuation","value":")"},
     6  {"type":"TextWhitespace","value":" "},
     7  {"type":"NameDecorator","value":"@binding"},
     8  {"type":"Punctuation","value":"("},
     9  {"type":"LiteralNumberInteger","value":"0"},
    10  {"type":"Punctuation","value":")"},
    11  {"type":"TextWhitespace","value":" "},
    12  {"type":"KeywordDeclaration","value":"var"},
    13  {"type":"TextWhitespace","value":" "},
    14  {"type":"NameBuiltin","value":"texture_storage_1d"},
    15  {"type":"Operator","value":"\u003c"},
    16  {"type":"NameBuiltin","value":"rgba8unorm"},
    17  {"type":"Punctuation","value":","},
    18  {"type":"NameBuiltin","value":"write"},
    19  {"type":"Operator","value":"\u003e"},
    20  {"type":"Punctuation","value":";"},
    21  {"type":"TextWhitespace","value":"\n"},
    22  {"type":"NameDecorator","value":"@group"},
    23  {"type":"Punctuation","value":"("},
    24  {"type":"LiteralNumberInteger","value":"0"},
    25  {"type":"Punctuation","value":")"},
    26  {"type":"TextWhitespace","value":" "},
    27  {"type":"NameDecorator","value":"@binding"},
    28  {"type":"Punctuation","value":"("},
    29  {"type":"LiteralNumberInteger","value":"1"},
    30  {"type":"Punctuation","value":")"},
    31  {"type":"TextWhitespace","value":" "},
    32  {"type":"KeywordDeclaration","value":"var"},
    33  {"type":"TextWhitespace","value":" "},
    34  {"type":"NameBuiltin","value":"texture_storage_2d"},
    35  {"type":"Operator","value":"\u003c"},
    36  {"type":"NameBuiltin","value":"rgba8unorm"},
    37  {"type":"Punctuation","value":","},
    38  {"type":"NameBuiltin","value":"write"},
    39  {"type":"Operator","value":"\u003e"},
    40  {"type":"Punctuation","value":";"},
    41  {"type":"TextWhitespace","value":"\n"},
    42  {"type":"NameDecorator","value":"@group"},
    43  {"type":"Punctuation","value":"("},
    44  {"type":"LiteralNumberInteger","value":"0"},
    45  {"type":"Punctuation","value":")"},
    46  {"type":"TextWhitespace","value":" "},
    47  {"type":"NameDecorator","value":"@binding"},
    48  {"type":"Punctuation","value":"("},
    49  {"type":"LiteralNumberInteger","value":"2"},
    50  {"type":"Punctuation","value":")"},
    51  {"type":"TextWhitespace","value":" "},
    52  {"type":"KeywordDeclaration","value":"var"},
    53  {"type":"TextWhitespace","value":" "},
    54  {"type":"NameBuiltin","value":"texture_storage_2d_array"},
    55  {"type":"Operator","value":"\u003c"},
    56  {"type":"NameBuiltin","value":"rgba8unorm"},
    57  {"type":"Punctuation","value":","},
    58  {"type":"NameBuiltin","value":"write"},
    59  {"type":"Operator","value":"\u003e"},
    60  {"type":"Punctuation","value":";"},
    61  {"type":"TextWhitespace","value":"\n"},
    62  {"type":"NameDecorator","value":"@group"},
    63  {"type":"Punctuation","value":"("},
    64  {"type":"LiteralNumberInteger","value":"0"},
    65  {"type":"Punctuation","value":")"},
    66  {"type":"TextWhitespace","value":" "},
    67  {"type":"NameDecorator","value":"@binding"},
    68  {"type":"Punctuation","value":"("},
    69  {"type":"LiteralNumberInteger","value":"3"},
    70  {"type":"Punctuation","value":")"},
    71  {"type":"TextWhitespace","value":" "},
    72  {"type":"KeywordDeclaration","value":"var"},
    73  {"type":"TextWhitespace","value":" "},
    74  {"type":"NameBuiltin","value":"texture_storage_3d"},
    75  {"type":"Operator","value":"\u003c"},
    76  {"type":"NameBuiltin","value":"rgba8unorm"},
    77  {"type":"Punctuation","value":","},
    78  {"type":"NameBuiltin","value":"write"},
    79  {"type":"Operator","value":"\u003e"},
    80  {"type":"Punctuation","value":";"},
    81  {"type":"TextWhitespace","value":"\n"}
    82]

View as plain text