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

Function parse_DefaultNamespaceDecl

lib/ace/mode/xquery/xqlint.js:11698–11718  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11696 }
11697
11698 function parse_DefaultNamespaceDecl()
11699 {
11700 eventHandler.startNonterminal("DefaultNamespaceDecl", e0);
11701 shift(109); // 'declare'
11702 lookahead1W(49); // S^WS | '(:' | 'default'
11703 shift(110); // 'default'
11704 lookahead1W(119); // S^WS | '(:' | 'element' | 'function'
11705 switch (l1)
11706 {
11707 case 122: // 'element'
11708 shift(122); // 'element'
11709 break;
11710 default:
11711 shift(147); // 'function'
11712 }
11713 lookahead1W(64); // S^WS | '(:' | 'namespace'
11714 shift(187); // 'namespace'
11715 lookahead1W(15); // URILiteral | S^WS | '(:'
11716 shift(7); // URILiteral
11717 eventHandler.endNonterminal("DefaultNamespaceDecl", e0);
11718 }
11719
11720 function try_DefaultNamespaceDecl()
11721 {

Callers 1

parse_PrologFunction · 0.85

Calls 2

shiftFunction · 0.70
lookahead1WFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…