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

Function parse_ModuleImport

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

Source from the content-addressed store, hash-verified

11599 }
11600
11601 function parse_ModuleImport()
11602 {
11603 eventHandler.startNonterminal("ModuleImport", e0);
11604 shift(155); // 'import'
11605 lookahead1W(63); // S^WS | '(:' | 'module'
11606 shift(185); // 'module'
11607 lookahead1W(93); // URILiteral | S^WS | '(:' | 'namespace'
11608 if (l1 == 187) // 'namespace'
11609 {
11610 shift(187); // 'namespace'
11611 lookahead1W(239); // NCName^Token | S^WS | '(:' | 'after' | 'allowing' | 'ancestor' |
11612 // 'ancestor-or-self' | 'and' | 'append' | 'as' | 'ascending' | 'at' | 'attribute' |
11613 // 'base-uri' | 'before' | 'boundary-space' | 'break' | 'case' | 'cast' |
11614 // 'castable' | 'catch' | 'child' | 'collation' | 'comment' | 'constraint' |
11615 // 'construction' | 'context' | 'continue' | 'copy' | 'copy-namespaces' | 'count' |
11616 // 'decimal-format' | 'declare' | 'default' | 'delete' | 'descendant' |
11617 // 'descendant-or-self' | 'descending' | 'div' | 'document' | 'document-node' |
11618 // 'element' | 'else' | 'empty' | 'empty-sequence' | 'encoding' | 'end' | 'eq' |
11619 // 'every' | 'except' | 'exit' | 'external' | 'false' | 'first' | 'following' |
11620 // 'following-sibling' | 'for' | 'from' | 'ft-option' | 'function' | 'ge' |
11621 // 'group' | 'gt' | 'idiv' | 'if' | 'import' | 'in' | 'index' | 'insert' |
11622 // 'instance' | 'integrity' | 'intersect' | 'into' | 'is' | 'item' | 'json' |
11623 // 'jsoniq' | 'last' | 'lax' | 'le' | 'let' | 'loop' | 'lt' | 'mod' | 'modify' |
11624 // 'module' | 'namespace' | 'namespace-node' | 'ne' | 'node' | 'nodes' | 'null' |
11625 // 'object' | 'only' | 'option' | 'or' | 'order' | 'ordered' | 'ordering' |
11626 // 'parent' | 'preceding' | 'preceding-sibling' | 'processing-instruction' |
11627 // 'rename' | 'replace' | 'return' | 'returning' | 'revalidation' | 'satisfies' |
11628 // 'schema' | 'schema-attribute' | 'schema-element' | 'score' | 'select' | 'self' |
11629 // 'sliding' | 'some' | 'stable' | 'start' | 'strict' | 'switch' | 'text' | 'to' |
11630 // 'treat' | 'true' | 'try' | 'tumbling' | 'type' | 'typeswitch' | 'union' |
11631 // 'unordered' | 'updating' | 'validate' | 'value' | 'variable' | 'version' |
11632 // 'where' | 'while' | 'with'
11633 whitespace();
11634 parse_NCName();
11635 lookahead1W(30); // S^WS | '(:' | '='
11636 shift(61); // '='
11637 }
11638 lookahead1W(15); // URILiteral | S^WS | '(:'
11639 shift(7); // URILiteral
11640 lookahead1W(112); // S^WS | '(:' | ';' | 'at'
11641 if (l1 == 82) // 'at'
11642 {
11643 shift(82); // 'at'
11644 lookahead1W(15); // URILiteral | S^WS | '(:'
11645 shift(7); // URILiteral
11646 for (;;)
11647 {
11648 lookahead1W(107); // S^WS | '(:' | ',' | ';'
11649 if (l1 != 42) // ','
11650 {
11651 break;
11652 }
11653 shift(42); // ','
11654 lookahead1W(15); // URILiteral | S^WS | '(:'
11655 shift(7); // URILiteral
11656 }
11657 }
11658 eventHandler.endNonterminal("ModuleImport", e0);

Callers 1

parse_ImportFunction · 0.85

Calls 4

shiftFunction · 0.70
lookahead1WFunction · 0.70
whitespaceFunction · 0.70
parse_NCNameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…