MCPcopy
hub / github.com/ajaxorg/ace / handleStatements

Function handleStatements

lib/ace/mode/xquery/xqlint.js:1056–1065  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1054 //Scripting
1055 var statementCount = [];
1056 var handleStatements = function(node) {
1057 pushSctx(node.pos);
1058 statementCount.push(0);
1059 translator.visitChildren(node);
1060 for (var i = 1; i <= statementCount[statementCount.length - 1]; i++) {
1061 popSctx(node.pos);
1062 }
1063 statementCount.pop();
1064 popSctx();
1065 };
1066
1067 this.StatementsAndOptionalExpr = function (node) {
1068 handleStatements(node);

Callers 1

xqlint.jsFile · 0.85

Calls 4

pushSctxFunction · 0.85
popSctxFunction · 0.85
pushMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…