MCPcopy
hub / github.com/Tampermonkey/tampermonkey / json_array

Function json_array

src/jslint.js:4653–4674  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4651 }
4652
4653 function json_array() {
4654 var bracket = next_token;
4655 advance('[');
4656 if (next_token.id !== ']') {
4657 while (next_token.id !== '(end)') {
4658 while (next_token.id === ',') {
4659 warn('unexpected_a', next_token);
4660 advance(',');
4661 }
4662 json_value();
4663 if (next_token.id !== ',') {
4664 break;
4665 }
4666 advance(',');
4667 if (next_token.id === ']') {
4668 warn('unexpected_a', token);
4669 break;
4670 }
4671 }
4672 }
4673 advance(']', bracket);
4674 }
4675
4676 switch (next_token.id) {
4677 case '{':

Callers 1

json_valueFunction · 0.85

Calls 3

advanceFunction · 0.85
warnFunction · 0.85
json_valueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…