MCPcopy
hub / github.com/dianping/cat / shift

Function shift

cat-home/src/main/webapp/assets/js/editor/worker-xquery.js:27582–27595  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

27580 }
27581
27582 function shift(t)
27583 {
27584 if (l1 == t)
27585 {
27586 whitespace();
27587 eventHandler.terminal(JSONiqParser.TOKEN[l1], b1, e1 > size ? size : e1);
27588 b0 = b1; e0 = e1; l1 = l2; if (l1 != 0) {
27589 b1 = b2; e1 = e2; l2 = 0; }
27590 }
27591 else
27592 {
27593 error(b1, e1, 0, l1, t);
27594 }
27595 }
27596
27597 function shiftT(t)
27598 {

Callers 15

worker-xquery.jsFile · 0.70
parse_VersionDeclFunction · 0.70
parse_ModuleDeclFunction · 0.70
parse_SeparatorFunction · 0.70
parse_BoundarySpaceDeclFunction · 0.70
parse_BaseURIDeclFunction · 0.70
parse_ConstructionDeclFunction · 0.70
parse_OrderingModeDeclFunction · 0.70
parse_EmptyOrderDeclFunction · 0.70
parse_CopyNamespacesDeclFunction · 0.70
parse_PreserveModeFunction · 0.70

Calls 2

whitespaceFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected