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

Function _checkBlockLabels

ServerEditorWeb/ace/worker-javascript.js:6647–6661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6645 var _variables = [_current];
6646
6647 function _checkBlockLabels() {
6648 for (var t in _current) {
6649 if (_current[t]["(type)"] === "unused") {
6650 if (state.option.unused) {
6651 var tkn = _current[t]["(token)"];
6652 if (tkn.exported) {
6653 continue;
6654 }
6655 var line = tkn.line;
6656 var chr = tkn.character;
6657 warningAt("W098", line, chr, t);
6658 }
6659 }
6660 }
6661 }
6662
6663 return {
6664 stack: function () {

Callers 1

blockScopeFunction · 0.85

Calls 1

warningAtFunction · 0.85

Tested by

no test coverage detected