chroma/lexers/testdata/j.expected
2025-03-22 20:46:00 +13:00

119 lines
4.3 KiB
Text

[
{"type":"CommentSingle","value":"NB. from stdlib.ijs"},
{"type":"Text","value":"\n"},
{"type":"NameVariable","value":"toupper"},
{"type":"Operator","value":"=:"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"3 : 0"},
{"type":"Operator","value":"`"},
{"type":"Punctuation","value":"(((("},
{"type":"LiteralNumberInteger","value":"65"},
{"type":"Operator","value":"+"},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"LiteralNumberInteger","value":"26"},
{"type":"Punctuation","value":")"},
{"type":"Operator","value":"{"},
{"type":"NameVariable","value":"a"},
{"type":"Operator","value":"."},
{"type":"Punctuation","value":")("},
{"type":"LiteralNumberInteger","value":"97"},
{"type":"Operator","value":"+"},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"LiteralNumberInteger","value":"26"},
{"type":"Punctuation","value":")"},
{"type":"Operator","value":"}"},
{"type":"NameVariable","value":"a"},
{"type":"Operator","value":"."},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Operator","value":"{~"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"a"},
{"type":"Operator","value":"."},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"Text","value":" "},
{"type":"Operator","value":"]"},
{"type":"Punctuation","value":")"},
{"type":"Operator","value":"@."},
{"type":"Punctuation","value":"("},
{"type":"LiteralNumberInteger","value":"2"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralNumberInteger","value":"3"},
{"type":"Operator","value":"!:"},
{"type":"LiteralNumberInteger","value":"0"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n"},
{"type":"NameDecorator","value":"x"},
{"type":"Operator","value":"=."},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"I"},
{"type":"Operator","value":"."},
{"type":"Text","value":" "},
{"type":"LiteralNumberInteger","value":"26"},
{"type":"Text","value":" "},
{"type":"Operator","value":"\u003e"},
{"type":"Text","value":" "},
{"type":"NameDecorator","value":"n"},
{"type":"Operator","value":"=."},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"(("},
{"type":"LiteralNumberInteger","value":"97"},
{"type":"Operator","value":"+"},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"LiteralNumberInteger","value":"26"},
{"type":"Punctuation","value":")"},
{"type":"Operator","value":"{"},
{"type":"NameVariable","value":"a"},
{"type":"Operator","value":"."},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"t"},
{"type":"Operator","value":"=."},
{"type":"Text","value":" "},
{"type":"Operator","value":","},
{"type":"NameDecorator","value":"y"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"("},
{"type":"Operator","value":"$"},
{"type":"NameDecorator","value":"y"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Operator","value":"$"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"(("},
{"type":"NameDecorator","value":"x"},
{"type":"Operator","value":"{"},
{"type":"NameDecorator","value":"n"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Operator","value":"{"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"LiteralNumberInteger","value":"65"},
{"type":"Operator","value":"+"},
{"type":"NameVariable","value":"i"},
{"type":"Operator","value":"."},
{"type":"LiteralNumberInteger","value":"26"},
{"type":"Punctuation","value":")"},
{"type":"Operator","value":"{"},
{"type":"NameVariable","value":"a"},
{"type":"Operator","value":"."},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"NameDecorator","value":"x"},
{"type":"Operator","value":"}"},
{"type":"NameVariable","value":"t"},
{"type":"Text","value":"\n"},
{"type":"NameLabel","value":")"},
{"type":"Text","value":"\n\n"}
]