MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / array

Function array

ServerEditorWeb/ace/worker-json.js:1480–1503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1478 value, // Place holder for the value function.
1479
1480 array = function () {
1481
1482 var array = [];
1483
1484 if (ch === '[') {
1485 next('[');
1486 white();
1487 if (ch === ']') {
1488 next(']');
1489 return array; // empty array
1490 }
1491 while (ch) {
1492 array.push(value());
1493 white();
1494 if (ch === ']') {
1495 next(']');
1496 return array;
1497 }
1498 next(',');
1499 white();
1500 }
1501 }
1502 error("Bad array");
1503 },
1504
1505 object = function () {
1506

Callers 2

worker-php.jsFile · 0.85
worker-json.jsFile · 0.85

Calls 3

whiteFunction · 0.85
nextFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected