export const test = [ { "type": "comment", "start": 0, "end": 12, "match": "#!/bin/bash\n" }, { "type": "comment", "start": 12, "end": 51, "match": "# reserved words and compound commands\n" }, { "type": "keyword", "start": 52, "end": 54, "match": "if" }, { "type": "punctuation", "start": 55, "end": 56, "match": "[" }, { "type": "operator", "start": 57, "end": 58, "match": "-" }, { "type": "identifier", "start": 58, "end": 59, "match": "f" }, { "type": "operator", "start": 60, "end": 61, "match": "/" }, { "type": "identifier", "start": 61, "end": 64, "match": "etc" }, { "type": "operator", "start": 64, "end": 65, "match": "/" }, { "type": "identifier", "start": 65, "end": 71, "match": "passwd" }, { "type": "punctuation", "start": 72, "end": 74, "match": "];" }, { "type": "keyword", "start": 75, "end": 79, "match": "then" }, { "type": "builtin", "start": 84, "end": 88, "match": "echo" }, { "type": "identifier", "start": 89, "end": 92, "match": "yes" }, { "type": "keyword", "start": 93, "end": 97, "match": "elif" }, { "type": "boolean", "start": 98, "end": 103, "match": "false" }, { "type": "punctuation", "start": 103, "end": 104, "match": ";" }, { "type": "keyword", "start": 105, "end": 109, "match": "then" }, { "type": "builtin", "start": 114, "end": 118, "match": "echo" }, { "type": "identifier", "start": 119, "end": 121, "match": "no" }, { "type": "keyword", "start": 122, "end": 126, "match": "else" }, { "type": "builtin", "start": 131, "end": 135, "match": "echo" }, { "type": "identifier", "start": 136, "end": 141, "match": "other" }, { "type": "keyword", "start": 142, "end": 144, "match": "fi" }, { "type": "keyword", "start": 146, "end": 149, "match": "for" }, { "type": "identifier", "start": 150, "end": 151, "match": "i" }, { "type": "keyword", "start": 152, "end": 154, "match": "in" }, { "type": "identifier", "start": 155, "end": 156, "match": "1" }, { "type": "identifier", "start": 157, "end": 158, "match": "2" }, { "type": "identifier", "start": 159, "end": 160, "match": "3" }, { "type": "punctuation", "start": 160, "end": 161, "match": ";" }, { "type": "keyword", "start": 162, "end": 164, "match": "do" }, { "type": "builtin", "start": 169, "end": 173, "match": "echo" }, { "type": "variable", "start": 174, "end": 176, "match": "$i" }, { "type": "keyword", "start": 177, "end": 181, "match": "done" }, { "type": "keyword", "start": 183, "end": 188, "match": "while" }, { "type": "boolean", "start": 189, "end": 193, "match": "true" }, { "type": "punctuation", "start": 193, "end": 194, "match": ";" }, { "type": "keyword", "start": 195, "end": 197, "match": "do" }, { "type": "builtin", "start": 202, "end": 207, "match": "break" }, { "type": "keyword", "start": 208, "end": 212, "match": "done" }, { "type": "keyword", "start": 214, "end": 219, "match": "until" }, { "type": "boolean", "start": 220, "end": 225, "match": "false" }, { "type": "punctuation", "start": 225, "end": 226, "match": ";" }, { "type": "keyword", "start": 227, "end": 229, "match": "do" }, { "type": "builtin", "start": 234, "end": 242, "match": "continue" }, { "type": "keyword", "start": 243, "end": 247, "match": "done" }, { "type": "keyword", "start": 249, "end": 253, "match": "case" }, { "type": "string", "start": 254, "end": 255, "match": "\"" }, { "type": "variable", "start": 255, "end": 257, "match": "$x" }, { "type": "string", "start": 257, "end": 258, "match": "\"" }, { "type": "keyword", "start": 259, "end": 261, "match": "in" }, { "type": "identifier", "start": 266, "end": 267, "match": "a" }, { "type": "builtin", "start": 269, "end": 273, "match": "echo" }, { "type": "identifier", "start": 274, "end": 275, "match": "a" }, { "type": "punctuation", "start": 276, "end": 278, "match": ";;" }, { "type": "identifier", "start": 283, "end": 284, "match": "b" }, { "type": "punctuation", "start": 284, "end": 285, "match": "|" }, { "type": "identifier", "start": 285, "end": 286, "match": "c" }, { "type": "builtin", "start": 288, "end": 292, "match": "echo" }, { "type": "identifier", "start": 293, "end": 295, "match": "bc" }, { "type": "punctuation", "start": 296, "end": 298, "match": ";;" }, { "type": "punctuation", "start": 303, "end": 304, "match": "*" }, { "type": "builtin", "start": 306, "end": 310, "match": "echo" }, { "type": "identifier", "start": 311, "end": 316, "match": "other" }, { "type": "punctuation", "start": 317, "end": 319, "match": ";;" }, { "type": "keyword", "start": 320, "end": 324, "match": "esac" }, { "type": "keyword", "start": 326, "end": 332, "match": "select" }, { "type": "identifier", "start": 333, "end": 336, "match": "opt" }, { "type": "keyword", "start": 337, "end": 339, "match": "in" }, { "type": "identifier", "start": 340, "end": 341, "match": "a" }, { "type": "identifier", "start": 342, "end": 343, "match": "b" }, { "type": "identifier", "start": 344, "end": 345, "match": "c" }, { "type": "punctuation", "start": 345, "end": 346, "match": ";" }, { "type": "keyword", "start": 347, "end": 349, "match": "do" }, { "type": "builtin", "start": 354, "end": 358, "match": "echo" }, { "type": "variable", "start": 359, "end": 363, "match": "$opt" }, { "type": "keyword", "start": 364, "end": 368, "match": "done" }, { "type": "keyword", "start": 370, "end": 378, "match": "function" }, { "type": "identifier", "start": 379, "end": 382, "match": "foo" }, { "type": "punctuation", "start": 383, "end": 384, "match": "{" }, { "type": "builtin", "start": 389, "end": 393, "match": "echo" }, { "type": "identifier", "start": 394, "end": 400, "match": "called" }, { "type": "punctuation", "start": 401, "end": 402, "match": "}" }, { "type": "function", "start": 404, "end": 407, "match": "bar" }, { "type": "punctuation", "start": 407, "end": 409, "match": "()" }, { "type": "punctuation", "start": 410, "end": 411, "match": "{" }, { "type": "builtin", "start": 416, "end": 420, "match": "echo" }, { "type": "identifier", "start": 421, "end": 432, "match": "also_called" }, { "type": "punctuation", "start": 433, "end": 434, "match": "}" }, { "type": "keyword", "start": 436, "end": 440, "match": "time" }, { "type": "identifier", "start": 441, "end": 446, "match": "sleep" }, { "type": "identifier", "start": 447, "end": 448, "match": "0" }, { "type": "keyword", "start": 449, "end": 455, "match": "coproc" }, { "type": "identifier", "start": 456, "end": 462, "match": "SORTER" }, { "type": "identifier", "start": 463, "end": 467, "match": "sort" } ];