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

Function parse_SchemaImport

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

Source from the content-addressed store, hash-verified

11520 }
11521
11522 function parse_SchemaImport()
11523 {
11524 eventHandler.startNonterminal("SchemaImport", e0);
11525 shift(155); // 'import'
11526 lookahead1W(76); // S^WS | '(:' | 'schema'
11527 shift(229); // 'schema'
11528 lookahead1W(141); // URILiteral | S^WS | '(:' | 'default' | 'namespace'
11529 if (l1 != 7) // URILiteral
11530 {
11531 whitespace();
11532 parse_SchemaPrefix();
11533 }
11534 lookahead1W(15); // URILiteral | S^WS | '(:'
11535 shift(7); // URILiteral
11536 lookahead1W(112); // S^WS | '(:' | ';' | 'at'
11537 if (l1 == 82) // 'at'
11538 {
11539 shift(82); // 'at'
11540 lookahead1W(15); // URILiteral | S^WS | '(:'
11541 shift(7); // URILiteral
11542 for (;;)
11543 {
11544 lookahead1W(107); // S^WS | '(:' | ',' | ';'
11545 if (l1 != 42) // ','
11546 {
11547 break;
11548 }
11549 shift(42); // ','
11550 lookahead1W(15); // URILiteral | S^WS | '(:'
11551 shift(7); // URILiteral
11552 }
11553 }
11554 eventHandler.endNonterminal("SchemaImport", e0);
11555 }
11556
11557 function parse_SchemaPrefix()
11558 {

Callers 1

parse_ImportFunction · 0.85

Calls 4

parse_SchemaPrefixFunction · 0.85
shiftFunction · 0.70
lookahead1WFunction · 0.70
whitespaceFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…