()
| 10803 | }; |
| 10804 | |
| 10805 | function parse_Module() |
| 10806 | { |
| 10807 | eventHandler.startNonterminal("Module", e0); |
| 10808 | switch (l1) |
| 10809 | { |
| 10810 | case 170: // 'jsoniq' |
| 10811 | lookahead2W(168); // S^WS | '#' | '(' | '(:' | 'encoding' | 'version' |
| 10812 | break; |
| 10813 | default: |
| 10814 | lk = l1; |
| 10815 | } |
| 10816 | if (lk == 64682 // 'jsoniq' 'encoding' |
| 10817 | || lk == 137898) // 'jsoniq' 'version' |
| 10818 | { |
| 10819 | parse_VersionDecl(); |
| 10820 | } |
| 10821 | lookahead1W(277); // EQName^Token | IntegerLiteral | DecimalLiteral | DoubleLiteral | StringLiteral | |
| 10822 | // S^WS | EOF | '$' | '$$' | '%' | '(' | '(#' | '(:' | '+' | '-' | '/' | '//' | |
| 10823 | // ';' | '<' | '<!--' | '<?' | '[' | 'after' | 'allowing' | 'ancestor' | |
| 10824 | // 'ancestor-or-self' | 'and' | 'append' | 'array' | 'as' | 'ascending' | 'at' | |
| 10825 | // 'attribute' | 'base-uri' | 'before' | 'boundary-space' | 'break' | 'case' | |
| 10826 | // 'cast' | 'castable' | 'catch' | 'child' | 'collation' | 'comment' | |
| 10827 | // 'constraint' | 'construction' | 'context' | 'continue' | 'copy' | |
| 10828 | // 'copy-namespaces' | 'count' | 'decimal-format' | 'declare' | 'default' | |
| 10829 | // 'delete' | 'descendant' | 'descendant-or-self' | 'descending' | 'div' | |
| 10830 | // 'document' | 'document-node' | 'element' | 'else' | 'empty' | 'empty-sequence' | |
| 10831 | // 'encoding' | 'end' | 'eq' | 'every' | 'except' | 'exit' | 'external' | 'false' | |
| 10832 | // 'first' | 'following' | 'following-sibling' | 'for' | 'from' | 'ft-option' | |
| 10833 | // 'function' | 'ge' | 'group' | 'gt' | 'idiv' | 'if' | 'import' | 'in' | 'index' | |
| 10834 | // 'insert' | 'instance' | 'integrity' | 'intersect' | 'into' | 'is' | 'item' | |
| 10835 | // 'json' | 'json-item' | 'jsoniq' | 'last' | 'lax' | 'le' | 'let' | 'loop' | 'lt' | |
| 10836 | // 'mod' | 'modify' | 'module' | 'namespace' | 'namespace-node' | 'ne' | 'node' | |
| 10837 | // 'nodes' | 'not' | 'null' | 'object' | 'only' | 'option' | 'or' | 'order' | |
| 10838 | // 'ordered' | 'ordering' | 'parent' | 'preceding' | 'preceding-sibling' | |
| 10839 | // 'processing-instruction' | 'rename' | 'replace' | 'return' | 'returning' | |
| 10840 | // 'revalidation' | 'satisfies' | 'schema' | 'schema-attribute' | 'schema-element' | |
| 10841 | // 'score' | 'select' | 'self' | 'sliding' | 'some' | 'stable' | 'start' | |
| 10842 | // 'strict' | 'structured-item' | 'switch' | 'text' | 'to' | 'treat' | 'true' | |
| 10843 | // 'try' | 'tumbling' | 'type' | 'typeswitch' | 'union' | 'unordered' | 'updating' | |
| 10844 | // 'validate' | 'value' | 'variable' | 'version' | 'where' | 'while' | 'with' | |
| 10845 | // '{' | '{|' |
| 10846 | switch (l1) |
| 10847 | { |
| 10848 | case 185: // 'module' |
| 10849 | lookahead2W(146); // S^WS | '#' | '(' | '(:' | 'namespace' |
| 10850 | break; |
| 10851 | default: |
| 10852 | lk = l1; |
| 10853 | } |
| 10854 | switch (lk) |
| 10855 | { |
| 10856 | case 95929: // 'module' 'namespace' |
| 10857 | whitespace(); |
| 10858 | parse_LibraryModule(); |
| 10859 | break; |
| 10860 | default: |
| 10861 | whitespace(); |
| 10862 | parse_MainModule(); |
no test coverage detected
searching dependent graphs…