...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/wgsl.sampled.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_1d"},
    15  {"type":"Operator","value":"\u003c"},
    16  {"type":"NameBuiltin","value":"f32"},
    17  {"type":"Operator","value":"\u003e"},
    18  {"type":"Punctuation","value":";"},
    19  {"type":"TextWhitespace","value":"\n"},
    20  {"type":"NameDecorator","value":"@group"},
    21  {"type":"Punctuation","value":"("},
    22  {"type":"LiteralNumberInteger","value":"0"},
    23  {"type":"Punctuation","value":")"},
    24  {"type":"TextWhitespace","value":" "},
    25  {"type":"NameDecorator","value":"@binding"},
    26  {"type":"Punctuation","value":"("},
    27  {"type":"LiteralNumberInteger","value":"1"},
    28  {"type":"Punctuation","value":")"},
    29  {"type":"TextWhitespace","value":" "},
    30  {"type":"KeywordDeclaration","value":"var"},
    31  {"type":"TextWhitespace","value":" "},
    32  {"type":"NameBuiltin","value":"texture_2d"},
    33  {"type":"Operator","value":"\u003c"},
    34  {"type":"NameBuiltin","value":"f32"},
    35  {"type":"Operator","value":"\u003e"},
    36  {"type":"Punctuation","value":";"},
    37  {"type":"TextWhitespace","value":"\n"},
    38  {"type":"NameDecorator","value":"@group"},
    39  {"type":"Punctuation","value":"("},
    40  {"type":"LiteralNumberInteger","value":"0"},
    41  {"type":"Punctuation","value":")"},
    42  {"type":"TextWhitespace","value":" "},
    43  {"type":"NameDecorator","value":"@binding"},
    44  {"type":"Punctuation","value":"("},
    45  {"type":"LiteralNumberInteger","value":"2"},
    46  {"type":"Punctuation","value":")"},
    47  {"type":"TextWhitespace","value":" "},
    48  {"type":"KeywordDeclaration","value":"var"},
    49  {"type":"TextWhitespace","value":" "},
    50  {"type":"NameBuiltin","value":"texture_2d_array"},
    51  {"type":"Operator","value":"\u003c"},
    52  {"type":"NameBuiltin","value":"f32"},
    53  {"type":"Operator","value":"\u003e"},
    54  {"type":"Punctuation","value":";"},
    55  {"type":"TextWhitespace","value":"\n"},
    56  {"type":"NameDecorator","value":"@group"},
    57  {"type":"Punctuation","value":"("},
    58  {"type":"LiteralNumberInteger","value":"0"},
    59  {"type":"Punctuation","value":")"},
    60  {"type":"TextWhitespace","value":" "},
    61  {"type":"NameDecorator","value":"@binding"},
    62  {"type":"Punctuation","value":"("},
    63  {"type":"LiteralNumberInteger","value":"3"},
    64  {"type":"Punctuation","value":")"},
    65  {"type":"TextWhitespace","value":" "},
    66  {"type":"KeywordDeclaration","value":"var"},
    67  {"type":"TextWhitespace","value":" "},
    68  {"type":"NameBuiltin","value":"texture_3d"},
    69  {"type":"Operator","value":"\u003c"},
    70  {"type":"NameBuiltin","value":"f32"},
    71  {"type":"Operator","value":"\u003e"},
    72  {"type":"Punctuation","value":";"},
    73  {"type":"TextWhitespace","value":"\n"},
    74  {"type":"NameDecorator","value":"@group"},
    75  {"type":"Punctuation","value":"("},
    76  {"type":"LiteralNumberInteger","value":"0"},
    77  {"type":"Punctuation","value":")"},
    78  {"type":"TextWhitespace","value":" "},
    79  {"type":"NameDecorator","value":"@binding"},
    80  {"type":"Punctuation","value":"("},
    81  {"type":"LiteralNumberInteger","value":"4"},
    82  {"type":"Punctuation","value":")"},
    83  {"type":"TextWhitespace","value":" "},
    84  {"type":"KeywordDeclaration","value":"var"},
    85  {"type":"TextWhitespace","value":" "},
    86  {"type":"NameBuiltin","value":"texture_cube"},
    87  {"type":"Operator","value":"\u003c"},
    88  {"type":"NameBuiltin","value":"f32"},
    89  {"type":"Operator","value":"\u003e"},
    90  {"type":"Punctuation","value":";"},
    91  {"type":"TextWhitespace","value":"\n"},
    92  {"type":"NameDecorator","value":"@group"},
    93  {"type":"Punctuation","value":"("},
    94  {"type":"LiteralNumberInteger","value":"0"},
    95  {"type":"Punctuation","value":")"},
    96  {"type":"TextWhitespace","value":" "},
    97  {"type":"NameDecorator","value":"@binding"},
    98  {"type":"Punctuation","value":"("},
    99  {"type":"LiteralNumberInteger","value":"5"},
   100  {"type":"Punctuation","value":")"},
   101  {"type":"TextWhitespace","value":" "},
   102  {"type":"KeywordDeclaration","value":"var"},
   103  {"type":"TextWhitespace","value":" "},
   104  {"type":"NameBuiltin","value":"texture_cube_array"},
   105  {"type":"Operator","value":"\u003c"},
   106  {"type":"NameBuiltin","value":"f32"},
   107  {"type":"Operator","value":"\u003e"},
   108  {"type":"Punctuation","value":";"},
   109  {"type":"TextWhitespace","value":"\n"}
   110]

View as plain text