Add missing XQuery keywords.
This commit is contained in:
parent
b0504015ee
commit
e9850ad3bd
1 changed files with 1 additions and 2 deletions
|
|
@ -61,8 +61,7 @@ define(function(require, exports, module){
|
|||
});
|
||||
};
|
||||
};
|
||||
|
||||
var keys = "after|ancestor|ancestor-or-self|and|as|ascending|attribute|before|case|cast|castable|child|collation|comment|copy|count|declare|default|delete|descendant|descendant-or-self|descending|div|document|document-node|element|else|empty|empty-sequence|end|eq|every|except|first|following|following-sibling|for|function|ge|group|gt|idiv|if|import|insert|instance|intersect|into|is|item|last|le|let|lt|mod|modify|module|namespace|namespace-node|ne|node|only|or|order|ordered|parent|preceding|preceding-sibling|processing-instruction|rename|replace|return|satisfies|schema-attribute|schema-element|self|some|stable|start|switch|text|to|treat|try|typeswitch|union|unordered|validate|where|with|xquery|contains|paragraphs|sentences|times|words|by|collectionreturn|variable|version|option|when|encoding|toswitch|catch|tumbling|sliding|window|at|using|stemming|collection|schema|while|on|nodes|index|external|then|in|updating|value|of|containsbreak|loop|continue|exit|returning|append|json|position|strict".split("|");
|
||||
var keys = "after|all|allowing|ancestor|ancestor-or-self|and|any|append|array|as|ascending|at|attribute|base-uri|before|boundary-space|break|by|case|cast|castable|catch|check|child|collation|collection|comment|constraint|construction|contains|content|context|continue|copy|copy-namespaces|count|decimal-format|decimal-separator|declare|default|delete|descendant|descendant-or-self|descending|diacritics|different|digit|distance|div|document|document-node|element|else|empty|empty-sequence|encoding|end|entire|eq|every|exactly|except|exit|external|first|following|following-sibling|for|foreach|foreign|from|ft-option|ftand|ftnot|ftor|function|ge|greatest|group|grouping-separator|gt|idiv|if|import|in|index|infinity|inherit|insensitive|insert|instance|integrity|intersect|into|is|item|json|json-item|key|language|last|lax|le|least|let|levels|loop|lowercase|lt|minus-sign|mod|modify|module|most|namespace|namespace-node|ne|next|no|no-inherit|no-preserve|node|nodes|not|object|occurs|of|on|only|option|or|order|ordered|ordering|paragraph|paragraphs|parent|pattern-separator|per-mille|percent|phrase|position|preceding|preceding-sibling|preserve|previous|processing-instruction|relationship|rename|replace|return|returning|revalidation|same|satisfies|schema|schema-attribute|schema-element|score|self|sensitive|sentence|sentences|skip|sliding|some|stable|start|stemming|stop|strict|strip|structured-item|switch|text|then|thesaurus|times|to|treat|try|tumbling|type|typeswitch|union|unique|unordered|updating|uppercase|using|validate|value|variable|version|weight|when|where|while|wildcards|window|with|without|word|words|xquery|zero-digit".split("|");
|
||||
var keywords = keys.map(
|
||||
function(val) { return { name: "'" + val + "'", token: "keyword" }; }
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue