...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/wgsl.depth.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":"1"},
    10  {"type":"Punctuation","value":")"},
    11  {"type":"TextWhitespace","value":" "},
    12  {"type":"KeywordDeclaration","value":"var"},
    13  {"type":"TextWhitespace","value":" "},
    14  {"type":"NameBuiltin","value":"texture_depth_2d"},
    15  {"type":"Punctuation","value":";"},
    16  {"type":"TextWhitespace","value":"\n"},
    17  {"type":"NameDecorator","value":"@group"},
    18  {"type":"Punctuation","value":"("},
    19  {"type":"LiteralNumberInteger","value":"0"},
    20  {"type":"Punctuation","value":")"},
    21  {"type":"TextWhitespace","value":" "},
    22  {"type":"NameDecorator","value":"@binding"},
    23  {"type":"Punctuation","value":"("},
    24  {"type":"LiteralNumberInteger","value":"2"},
    25  {"type":"Punctuation","value":")"},
    26  {"type":"TextWhitespace","value":" "},
    27  {"type":"KeywordDeclaration","value":"var"},
    28  {"type":"TextWhitespace","value":" "},
    29  {"type":"NameBuiltin","value":"texture_depth_2d_array"},
    30  {"type":"Punctuation","value":";"},
    31  {"type":"TextWhitespace","value":"\n"},
    32  {"type":"NameDecorator","value":"@group"},
    33  {"type":"Punctuation","value":"("},
    34  {"type":"LiteralNumberInteger","value":"0"},
    35  {"type":"Punctuation","value":")"},
    36  {"type":"TextWhitespace","value":" "},
    37  {"type":"NameDecorator","value":"@binding"},
    38  {"type":"Punctuation","value":"("},
    39  {"type":"LiteralNumberInteger","value":"4"},
    40  {"type":"Punctuation","value":")"},
    41  {"type":"TextWhitespace","value":" "},
    42  {"type":"KeywordDeclaration","value":"var"},
    43  {"type":"TextWhitespace","value":" "},
    44  {"type":"NameBuiltin","value":"texture_depth_cube"},
    45  {"type":"Punctuation","value":";"},
    46  {"type":"TextWhitespace","value":"\n"},
    47  {"type":"NameDecorator","value":"@group"},
    48  {"type":"Punctuation","value":"("},
    49  {"type":"LiteralNumberInteger","value":"0"},
    50  {"type":"Punctuation","value":")"},
    51  {"type":"TextWhitespace","value":" "},
    52  {"type":"NameDecorator","value":"@binding"},
    53  {"type":"Punctuation","value":"("},
    54  {"type":"LiteralNumberInteger","value":"5"},
    55  {"type":"Punctuation","value":")"},
    56  {"type":"TextWhitespace","value":" "},
    57  {"type":"KeywordDeclaration","value":"var"},
    58  {"type":"TextWhitespace","value":" "},
    59  {"type":"NameBuiltin","value":"texture_depth_cube_array"},
    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":"5"},
    70  {"type":"Punctuation","value":")"},
    71  {"type":"TextWhitespace","value":" "},
    72  {"type":"KeywordDeclaration","value":"var"},
    73  {"type":"TextWhitespace","value":" "},
    74  {"type":"NameBuiltin","value":"texture_depth_multisampled_2d"},
    75  {"type":"Punctuation","value":";"},
    76  {"type":"TextWhitespace","value":"\n"}
    77]

View as plain text