Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Side by Side Diff: bower_components/google-code-prettify/src/lang-xq.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (C) 2011 Patrick Wied
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15
16
17 /**
18 * @fileoverview
19 * Registers a language handler for XQuery.
20 *
21 * To use, include prettify.js and this file in your HTML page.
22 * Then put your code in an HTML tag like
23 * <pre class="prettyprint lang-xq"></pre>
24 *
25 *
26 * @author Patrick Wied ( patpa7p@live.de )
27 * @version 2010-09-28
28 */
29
30 // Falls back to plain for stylesheets that don't style fun.
31 var PR_FUNCTION = 'fun pln';
32 // Falls back to plaiin for stylesheets that don't style var.
33 var PR_VARIABLE = 'var pln';
34
35 PR['registerLangHandler'](
36 PR['createSimpleLexer'](
37 [
38 // Matching $var-ia_bles
39 [PR_VARIABLE, /^\$[A-Za-z0-9_\-]+/, null, "$"]
40 ],
41 [
42 // Matching lt and gt operators
43 // Not the best matching solution but you have to differentiate between the gt operator and the tag closing char
44 [PR['PR_PLAIN'], /^[\s=][<>][\s=]/],
45 // Matching @Attributes
46 [PR['PR_LITERAL'], /^\@[\w-]+/],
47 // Matching xml tags
48 [PR['PR_TAG'], /^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],
49 // Matching single or multiline xquery comments -> (: <text> :)
50 [PR['PR_COMMENT'], /^\(:[\s\S]*?:\)/],
51 // Tokenizing /{}:=;*,[]() as plain
52 [PR['PR_PLAIN'], /^[\/\{\};,\[\]\(\)]$/],
53 // Matching a double or single quoted, possibly multi-line, string.
54 // with the special condition that a { in a string changes to xquery co ntext
55 [PR['PR_STRING'], /^(?:\"(?:[^\"\\\{]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\\{] |\\[\s\S])*(?:\'|$))/, null, '"\''],
56 // Matching standard xquery keywords
57 [PR['PR_KEYWORD'], /^(?:xquery|where|version|variable|union|typeswitch| treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|p rocessing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|n amespace|module|let|item|intersect|instance|in|import|if|function|for|follows|fo llowing-sibling|following|external|except|every|else|element|descending|descenda nt-or-self|descendant|define|default|declare|comment|child|cast|case|before|attr ibute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|sch ema-element|document-node|node|at)\b/],
58 // Matching standard xquery types
59 [PR['PR_TYPE'], /^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:st ring|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear| xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuratio n|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\b/, nul l],
60 // Matching standard xquery functions
61 [PR_FUNCTION, /^(?:xp:dereference|xinc:node-expand|xinc:link-references |xinc:link-expand|xhtml:restructure|xhtml:clean|xhtml:add-lists|xdmp:zip-manifes t|xdmp:zip-get|xdmp:zip-create|xdmp:xquery-version|xdmp:word-convert|xdmp:with-n amespaces|xdmp:version|xdmp:value|xdmp:user-roles|xdmp:user-last-login|xdmp:user |xdmp:url-encode|xdmp:url-decode|xdmp:uri-is-file|xdmp:uri-format|xdmp:uri-conte nt-type|xdmp:unquote|xdmp:unpath|xdmp:triggers-database|xdmp:trace|xdmp:to-json| xdmp:tidy|xdmp:subbinary|xdmp:strftime|xdmp:spawn-in|xdmp:spawn|xdmp:sleep|xdmp: shutdown|xdmp:set-session-field|xdmp:set-response-encoding|xdmp:set-response-con tent-type|xdmp:set-response-code|xdmp:set-request-time-limit|xdmp:set|xdmp:serve rs|xdmp:server-status|xdmp:server-name|xdmp:server|xdmp:security-database|xdmp:s ecurity-assert|xdmp:schema-database|xdmp:save|xdmp:role-roles|xdmp:role|xdmp:ret hrow|xdmp:restart|xdmp:request-timestamp|xdmp:request-status|xdmp:request-cancel |xdmp:request|xdmp:redirect-response|xdmp:random|xdmp:quote|xdmp:query-trace|xdm p:query-meters|xdmp:product-edition|xdmp:privilege-roles|xdmp:privilege|xdmp:pre tty-print|xdmp:powerpoint-convert|xdmp:platform|xdmp:permission|xdmp:pdf-convert |xdmp:path|xdmp:octal-to-integer|xdmp:node-uri|xdmp:node-replace|xdmp:node-kind| xdmp:node-insert-child|xdmp:node-insert-before|xdmp:node-insert-after|xdmp:node- delete|xdmp:node-database|xdmp:mul64|xdmp:modules-root|xdmp:modules-database|xdm p:merging|xdmp:merge-cancel|xdmp:merge|xdmp:md5|xdmp:logout|xdmp:login|xdmp:log- level|xdmp:log|xdmp:lock-release|xdmp:lock-acquire|xdmp:load|xdmp:invoke-in|xdmp :invoke|xdmp:integer-to-octal|xdmp:integer-to-hex|xdmp:http-put|xdmp:http-post|x dmp:http-options|xdmp:http-head|xdmp:http-get|xdmp:http-delete|xdmp:hosts|xdmp:h ost-status|xdmp:host-name|xdmp:host|xdmp:hex-to-integer|xdmp:hash64|xdmp:hash32| xdmp:has-privilege|xdmp:groups|xdmp:group-serves|xdmp:group-servers|xdmp:group-n ame|xdmp:group-hosts|xdmp:group|xdmp:get-session-field-names|xdmp:get-session-fi eld|xdmp:get-response-encoding|xdmp:get-response-code|xdmp:get-request-username| xdmp:get-request-user|xdmp:get-request-url|xdmp:get-request-protocol|xdmp:get-re quest-path|xdmp:get-request-method|xdmp:get-request-header-names|xdmp:get-reques t-header|xdmp:get-request-field-names|xdmp:get-request-field-filename|xdmp:get-r equest-field-content-type|xdmp:get-request-field|xdmp:get-request-client-certifi cate|xdmp:get-request-client-address|xdmp:get-request-body|xdmp:get-current-user |xdmp:get-current-roles|xdmp:get|xdmp:function-name|xdmp:function-module|xdmp:fu nction|xdmp:from-json|xdmp:forests|xdmp:forest-status|xdmp:forest-restore|xdmp:f orest-restart|xdmp:forest-name|xdmp:forest-delete|xdmp:forest-databases|xdmp:for est-counts|xdmp:forest-clear|xdmp:forest-backup|xdmp:forest|xdmp:filesystem-file |xdmp:filesystem-directory|xdmp:exists|xdmp:excel-convert|xdmp:eval-in|xdmp:eval |xdmp:estimate|xdmp:email|xdmp:element-content-type|xdmp:elapsed-time|xdmp:docum ent-set-quality|xdmp:document-set-property|xdmp:document-set-properties|xdmp:doc ument-set-permissions|xdmp:document-set-collections|xdmp:document-remove-propert ies|xdmp:document-remove-permissions|xdmp:document-remove-collections|xdmp:docum ent-properties|xdmp:document-locks|xdmp:document-load|xdmp:document-insert|xdmp: document-get-quality|xdmp:document-get-properties|xdmp:document-get-permissions| xdmp:document-get-collections|xdmp:document-get|xdmp:document-forest|xdmp:docume nt-delete|xdmp:document-add-properties|xdmp:document-add-permissions|xdmp:docume nt-add-collections|xdmp:directory-properties|xdmp:directory-locks|xdmp:directory -delete|xdmp:directory-create|xdmp:directory|xdmp:diacritic-less|xdmp:describe|x dmp:default-permissions|xdmp:default-collections|xdmp:databases|xdmp:database-re store-validate|xdmp:database-restore-status|xdmp:database-restore-cancel|xdmp:da tabase-restore|xdmp:database-name|xdmp:database-forests|xdmp:database-backup-val idate|xdmp:database-backup-status|xdmp:database-backup-purge|xdmp:database-backu p-cancel|xdmp:database-backup|xdmp:database|xdmp:collection-properties|xdmp:coll ection-locks|xdmp:collection-delete|xdmp:collation-canonical-uri|xdmp:castable-a s|xdmp:can-grant-roles|xdmp:base64-encode|xdmp:base64-decode|xdmp:architecture|x dmp:apply|xdmp:amp-roles|xdmp:amp|xdmp:add64|xdmp:add-response-header|xdmp:acces s|trgr:trigger-set-recursive|trgr:trigger-set-permissions|trgr:trigger-set-name| trgr:trigger-set-module|trgr:trigger-set-event|trgr:trigger-set-description|trgr :trigger-remove-permissions|trgr:trigger-module|trgr:trigger-get-permissions|trg r:trigger-enable|trgr:trigger-disable|trgr:trigger-database-online-event|trgr:tr igger-data-event|trgr:trigger-add-permissions|trgr:remove-trigger|trgr:property- content|trgr:pre-commit|trgr:post-commit|trgr:get-trigger-by-id|trgr:get-trigger |trgr:document-scope|trgr:document-content|trgr:directory-scope|trgr:create-trig ger|trgr:collection-scope|trgr:any-property-content|thsr:set-entry|thsr:remove-t erm|thsr:remove-synonym|thsr:remove-entry|thsr:query-lookup|thsr:lookup|thsr:loa d|thsr:insert|thsr:expand|thsr:add-synonym|spell:suggest-detailed|spell:suggest| spell:remove-word|spell:make-dictionary|spell:load|spell:levenshtein-distance|sp ell:is-correct|spell:insert|spell:double-metaphone|spell:add-word|sec:users-coll ection|sec:user-set-roles|sec:user-set-password|sec:user-set-name|sec:user-set-d escription|sec:user-set-default-permissions|sec:user-set-default-collections|sec :user-remove-roles|sec:user-privileges|sec:user-get-roles|sec:user-get-descripti on|sec:user-get-default-permissions|sec:user-get-default-collections|sec:user-do c-permissions|sec:user-doc-collections|sec:user-add-roles|sec:unprotect-collecti on|sec:uid-for-name|sec:set-realm|sec:security-version|sec:security-namespace|se c:security-installed|sec:security-collection|sec:roles-collection|sec:role-set-r oles|sec:role-set-name|sec:role-set-description|sec:role-set-default-permissions |sec:role-set-default-collections|sec:role-remove-roles|sec:role-privileges|sec: role-get-roles|sec:role-get-description|sec:role-get-default-permissions|sec:rol e-get-default-collections|sec:role-doc-permissions|sec:role-doc-collections|sec: role-add-roles|sec:remove-user|sec:remove-role-from-users|sec:remove-role-from-r ole|sec:remove-role-from-privileges|sec:remove-role-from-amps|sec:remove-role|se c:remove-privilege|sec:remove-amp|sec:protect-collection|sec:privileges-collecti on|sec:privilege-set-roles|sec:privilege-set-name|sec:privilege-remove-roles|sec :privilege-get-roles|sec:privilege-add-roles|sec:priv-doc-permissions|sec:priv-d oc-collections|sec:get-user-names|sec:get-unique-elem-id|sec:get-role-names|sec: get-role-ids|sec:get-privilege|sec:get-distinct-permissions|sec:get-collection|s ec:get-amp|sec:create-user-with-role|sec:create-user|sec:create-role|sec:create- privilege|sec:create-amp|sec:collections-collection|sec:collection-set-permissio ns|sec:collection-remove-permissions|sec:collection-get-permissions|sec:collecti on-add-permissions|sec:check-admin|sec:amps-collection|sec:amp-set-roles|sec:amp -remove-roles|sec:amp-get-roles|sec:amp-doc-permissions|sec:amp-doc-collections| sec:amp-add-roles|search:unparse|search:suggest|search:snippet|search:search|sea rch:resolve-nodes|search:resolve|search:remove-constraint|search:parse|search:ge t-default-options|search:estimate|search:check-options|prof:value|prof:reset|pro f:report|prof:invoke|prof:eval|prof:enable|prof:disable|prof:allowed|ppt:clean|p ki:template-set-request|pki:template-set-name|pki:template-set-key-type|pki:temp late-set-key-options|pki:template-set-description|pki:template-in-use|pki:templa te-get-version|pki:template-get-request|pki:template-get-name|pki:template-get-k ey-type|pki:template-get-key-options|pki:template-get-id|pki:template-get-descri ption|pki:need-certificate|pki:is-temporary|pki:insert-trusted-certificates|pki: insert-template|pki:insert-signed-certificates|pki:insert-certificate-revocation -list|pki:get-trusted-certificate-ids|pki:get-template-ids|pki:get-template-cert ificate-authority|pki:get-template-by-name|pki:get-template|pki:get-pending-cert ificate-requests-xml|pki:get-pending-certificate-requests-pem|pki:get-pending-ce rtificate-request|pki:get-certificates-for-template-xml|pki:get-certificates-for -template|pki:get-certificates|pki:get-certificate-xml|pki:get-certificate-pem|p ki:get-certificate|pki:generate-temporary-certificate-if-necessary|pki:generate- temporary-certificate|pki:generate-template-certificate-authority|pki:generate-c ertificate-request|pki:delete-template|pki:delete-certificate|pki:create-templat e|pdf:make-toc|pdf:insert-toc-headers|pdf:get-toc|pdf:clean|p:status-transition| p:state-transition|p:remove|p:pipelines|p:insert|p:get-by-id|p:get|p:execute|p:c reate|p:condition|p:collection|p:action|ooxml:runs-merge|ooxml:package-uris|ooxm l:package-parts-insert|ooxml:package-parts|msword:clean|mcgm:polygon|mcgm:point| mcgm:geospatial-query-from-elements|mcgm:geospatial-query|mcgm:circle|math:tanh| math:tan|math:sqrt|math:sinh|math:sin|math:pow|math:modf|math:log10|math:log|mat h:ldexp|math:frexp|math:fmod|math:floor|math:fabs|math:exp|math:cosh|math:cos|ma th:ceil|math:atan2|math:atan|math:asin|math:acos|map:put|map:map|map:keys|map:ge t|map:delete|map:count|map:clear|lnk:to|lnk:remove|lnk:insert|lnk:get|lnk:from|l nk:create|kml:polygon|kml:point|kml:interior-polygon|kml:geospatial-query-from-e lements|kml:geospatial-query|kml:circle|kml:box|gml:polygon|gml:point|gml:interi or-polygon|gml:geospatial-query-from-elements|gml:geospatial-query|gml:circle|gm l:box|georss:point|georss:geospatial-query|georss:circle|geo:polygon|geo:point|g eo:interior-polygon|geo:geospatial-query-from-elements|geo:geospatial-query|geo: circle|geo:box|fn:zero-or-one|fn:years-from-duration|fn:year-from-dateTime|fn:ye ar-from-date|fn:upper-case|fn:unordered|fn:true|fn:translate|fn:trace|fn:tokeniz e|fn:timezone-from-time|fn:timezone-from-dateTime|fn:timezone-from-date|fn:sum|f n:subtract-dateTimes-yielding-yearMonthDuration|fn:subtract-dateTimes-yielding-d ayTimeDuration|fn:substring-before|fn:substring-after|fn:substring|fn:subsequenc e|fn:string-to-codepoints|fn:string-pad|fn:string-length|fn:string-join|fn:strin g|fn:static-base-uri|fn:starts-with|fn:seconds-from-time|fn:seconds-from-duratio n|fn:seconds-from-dateTime|fn:round-half-to-even|fn:round|fn:root|fn:reverse|fn: resolve-uri|fn:resolve-QName|fn:replace|fn:remove|fn:QName|fn:prefix-from-QName| fn:position|fn:one-or-more|fn:number|fn:not|fn:normalize-unicode|fn:normalize-sp ace|fn:node-name|fn:node-kind|fn:nilled|fn:namespace-uri-from-QName|fn:namespace -uri-for-prefix|fn:namespace-uri|fn:name|fn:months-from-duration|fn:month-from-d ateTime|fn:month-from-date|fn:minutes-from-time|fn:minutes-from-duration|fn:minu tes-from-dateTime|fn:min|fn:max|fn:matches|fn:lower-case|fn:local-name-from-QNam e|fn:local-name|fn:last|fn:lang|fn:iri-to-uri|fn:insert-before|fn:index-of|fn:in -scope-prefixes|fn:implicit-timezone|fn:idref|fn:id|fn:hours-from-time|fn:hours- from-duration|fn:hours-from-dateTime|fn:floor|fn:false|fn:expanded-QName|fn:exis ts|fn:exactly-one|fn:escape-uri|fn:escape-html-uri|fn:error|fn:ends-with|fn:enco de-for-uri|fn:empty|fn:document-uri|fn:doc-available|fn:doc|fn:distinct-values|f n:distinct-nodes|fn:default-collation|fn:deep-equal|fn:days-from-duration|fn:day -from-dateTime|fn:day-from-date|fn:data|fn:current-time|fn:current-dateTime|fn:c urrent-date|fn:count|fn:contains|fn:concat|fn:compare|fn:collection|fn:codepoint s-to-string|fn:codepoint-equal|fn:ceiling|fn:boolean|fn:base-uri|fn:avg|fn:adjus t-time-to-timezone|fn:adjust-dateTime-to-timezone|fn:adjust-date-to-timezone|fn: abs|feed:unsubscribe|feed:subscription|feed:subscribe|feed:request|feed:item|fee d:description|excel:clean|entity:enrich|dom:set-pipelines|dom:set-permissions|do m:set-name|dom:set-evaluation-context|dom:set-domain-scope|dom:set-description|d om:remove-pipeline|dom:remove-permissions|dom:remove|dom:get|dom:evaluation-cont ext|dom:domains|dom:domain-scope|dom:create|dom:configuration-set-restart-user|d om:configuration-set-permissions|dom:configuration-set-evaluation-context|dom:co nfiguration-set-default-domain|dom:configuration-get|dom:configuration-create|do m:collection|dom:add-pipeline|dom:add-permissions|dls:retention-rules|dls:retent ion-rule-remove|dls:retention-rule-insert|dls:retention-rule|dls:purge|dls:node- expand|dls:link-references|dls:link-expand|dls:documents-query|dls:document-vers ions-query|dls:document-version-uri|dls:document-version-query|dls:document-vers ion-delete|dls:document-version-as-of|dls:document-version|dls:document-update|d ls:document-unmanage|dls:document-set-quality|dls:document-set-property|dls:docu ment-set-properties|dls:document-set-permissions|dls:document-set-collections|dl s:document-retention-rules|dls:document-remove-properties|dls:document-remove-pe rmissions|dls:document-remove-collections|dls:document-purge|dls:document-manage |dls:document-is-managed|dls:document-insert-and-manage|dls:document-include-que ry|dls:document-history|dls:document-get-permissions|dls:document-extract-part|d ls:document-delete|dls:document-checkout-status|dls:document-checkout|dls:docume nt-checkin|dls:document-add-properties|dls:document-add-permissions|dls:document -add-collections|dls:break-checkout|dls:author-query|dls:as-of-query|dbk:convert |dbg:wait|dbg:value|dbg:stopped|dbg:stop|dbg:step|dbg:status|dbg:stack|dbg:out|d bg:next|dbg:line|dbg:invoke|dbg:function|dbg:finish|dbg:expr|dbg:eval|dbg:discon nect|dbg:detach|dbg:continue|dbg:connect|dbg:clear|dbg:breakpoints|dbg:break|dbg :attached|dbg:attach|cvt:save-converted-documents|cvt:part-uri|cvt:destination-u ri|cvt:basepath|cvt:basename|cts:words|cts:word-query-weight|cts:word-query-text |cts:word-query-options|cts:word-query|cts:word-match|cts:walk|cts:uris|cts:uri- match|cts:train|cts:tokenize|cts:thresholds|cts:stem|cts:similar-query-weight|ct s:similar-query-nodes|cts:similar-query|cts:shortest-distance|cts:search|cts:sco re|cts:reverse-query-weight|cts:reverse-query-nodes|cts:reverse-query|cts:remain der|cts:registered-query-weight|cts:registered-query-options|cts:registered-quer y-ids|cts:registered-query|cts:register|cts:query|cts:quality|cts:properties-que ry-query|cts:properties-query|cts:polygon-vertices|cts:polygon|cts:point-longitu de|cts:point-latitude|cts:point|cts:or-query-queries|cts:or-query|cts:not-query- weight|cts:not-query-query|cts:not-query|cts:near-query-weight|cts:near-query-qu eries|cts:near-query-options|cts:near-query-distance|cts:near-query|cts:highligh t|cts:geospatial-co-occurrences|cts:frequency|cts:fitness|cts:field-words|cts:fi eld-word-query-weight|cts:field-word-query-text|cts:field-word-query-options|cts :field-word-query-field-name|cts:field-word-query|cts:field-word-match|cts:entit y-highlight|cts:element-words|cts:element-word-query-weight|cts:element-word-que ry-text|cts:element-word-query-options|cts:element-word-query-element-name|cts:e lement-word-query|cts:element-word-match|cts:element-values|cts:element-value-ra nges|cts:element-value-query-weight|cts:element-value-query-text|cts:element-val ue-query-options|cts:element-value-query-element-name|cts:element-value-query|ct s:element-value-match|cts:element-value-geospatial-co-occurrences|cts:element-va lue-co-occurrences|cts:element-range-query-weight|cts:element-range-query-value| cts:element-range-query-options|cts:element-range-query-operator|cts:element-ran ge-query-element-name|cts:element-range-query|cts:element-query-query|cts:elemen t-query-element-name|cts:element-query|cts:element-pair-geospatial-values|cts:el ement-pair-geospatial-value-match|cts:element-pair-geospatial-query-weight|cts:e lement-pair-geospatial-query-region|cts:element-pair-geospatial-query-options|ct s:element-pair-geospatial-query-longitude-name|cts:element-pair-geospatial-query -latitude-name|cts:element-pair-geospatial-query-element-name|cts:element-pair-g eospatial-query|cts:element-pair-geospatial-boxes|cts:element-geospatial-values| cts:element-geospatial-value-match|cts:element-geospatial-query-weight|cts:eleme nt-geospatial-query-region|cts:element-geospatial-query-options|cts:element-geos patial-query-element-name|cts:element-geospatial-query|cts:element-geospatial-bo xes|cts:element-child-geospatial-values|cts:element-child-geospatial-value-match |cts:element-child-geospatial-query-weight|cts:element-child-geospatial-query-re gion|cts:element-child-geospatial-query-options|cts:element-child-geospatial-que ry-element-name|cts:element-child-geospatial-query-child-name|cts:element-child- geospatial-query|cts:element-child-geospatial-boxes|cts:element-attribute-words| cts:element-attribute-word-query-weight|cts:element-attribute-word-query-text|ct s:element-attribute-word-query-options|cts:element-attribute-word-query-element- name|cts:element-attribute-word-query-attribute-name|cts:element-attribute-word- query|cts:element-attribute-word-match|cts:element-attribute-values|cts:element- attribute-value-ranges|cts:element-attribute-value-query-weight|cts:element-attr ibute-value-query-text|cts:element-attribute-value-query-options|cts:element-att ribute-value-query-element-name|cts:element-attribute-value-query-attribute-name |cts:element-attribute-value-query|cts:element-attribute-value-match|cts:element -attribute-value-geospatial-co-occurrences|cts:element-attribute-value-co-occurr ences|cts:element-attribute-range-query-weight|cts:element-attribute-range-query -value|cts:element-attribute-range-query-options|cts:element-attribute-range-que ry-operator|cts:element-attribute-range-query-element-name|cts:element-attribute -range-query-attribute-name|cts:element-attribute-range-query|cts:element-attrib ute-pair-geospatial-values|cts:element-attribute-pair-geospatial-value-match|cts :element-attribute-pair-geospatial-query-weight|cts:element-attribute-pair-geosp atial-query-region|cts:element-attribute-pair-geospatial-query-options|cts:eleme nt-attribute-pair-geospatial-query-longitude-name|cts:element-attribute-pair-geo spatial-query-latitude-name|cts:element-attribute-pair-geospatial-query-element- name|cts:element-attribute-pair-geospatial-query|cts:element-attribute-pair-geos patial-boxes|cts:document-query-uris|cts:document-query|cts:distance|cts:directo ry-query-uris|cts:directory-query-depth|cts:directory-query|cts:destination|cts: deregister|cts:contains|cts:confidence|cts:collections|cts:collection-query-uris |cts:collection-query|cts:collection-match|cts:classify|cts:circle-radius|cts:ci rcle-center|cts:circle|cts:box-west|cts:box-south|cts:box-north|cts:box-east|cts :box|cts:bearing|cts:arc-intersection|cts:and-query-queries|cts:and-query-option s|cts:and-query|cts:and-not-query-positive-query|cts:and-not-query-negative-quer y|cts:and-not-query|css:get|css:convert|cpf:success|cpf:failure|cpf:document-set -state|cpf:document-set-processing-status|cpf:document-set-last-updated|cpf:docu ment-set-error|cpf:document-get-state|cpf:document-get-processing-status|cpf:doc ument-get-last-updated|cpf:document-get-error|cpf:check-transition|alert:spawn-m atching-actions|alert:rule-user-id-query|alert:rule-set-user-id|alert:rule-set-q uery|alert:rule-set-options|alert:rule-set-name|alert:rule-set-description|alert :rule-set-action|alert:rule-remove|alert:rule-name-query|alert:rule-insert|alert :rule-id-query|alert:rule-get-user-id|alert:rule-get-query|alert:rule-get-option s|alert:rule-get-name|alert:rule-get-id|alert:rule-get-description|alert:rule-ge t-action|alert:rule-action-query|alert:remove-triggers|alert:make-rule|alert:mak e-log-action|alert:make-config|alert:make-action|alert:invoke-matching-actions|a lert:get-my-rules|alert:get-all-rules|alert:get-actions|alert:find-matching-rule s|alert:create-triggers|alert:config-set-uri|alert:config-set-trigger-ids|alert: config-set-options|alert:config-set-name|alert:config-set-description|alert:conf ig-set-cpf-domain-names|alert:config-set-cpf-domain-ids|alert:config-insert|aler t:config-get-uri|alert:config-get-trigger-ids|alert:config-get-options|alert:con fig-get-name|alert:config-get-id|alert:config-get-description|alert:config-get-c pf-domain-names|alert:config-get-cpf-domain-ids|alert:config-get|alert:config-de lete|alert:action-set-options|alert:action-set-name|alert:action-set-module-root |alert:action-set-module-db|alert:action-set-module|alert:action-set-description |alert:action-remove|alert:action-insert|alert:action-get-options|alert:action-g et-name|alert:action-get-module-root|alert:action-get-module-db|alert:action-get -module|alert:action-get-description|zero-or-one|years-from-duration|year-from-d ateTime|year-from-date|upper-case|unordered|true|translate|trace|tokenize|timezo ne-from-time|timezone-from-dateTime|timezone-from-date|sum|subtract-dateTimes-yi elding-yearMonthDuration|subtract-dateTimes-yielding-dayTimeDuration|substring-b efore|substring-after|substring|subsequence|string-to-codepoints|string-pad|stri ng-length|string-join|string|static-base-uri|starts-with|seconds-from-time|secon ds-from-duration|seconds-from-dateTime|round-half-to-even|round|root|reverse|res olve-uri|resolve-QName|replace|remove|QName|prefix-from-QName|position|one-or-mo re|number|not|normalize-unicode|normalize-space|node-name|node-kind|nilled|names pace-uri-from-QName|namespace-uri-for-prefix|namespace-uri|name|months-from-dura tion|month-from-dateTime|month-from-date|minutes-from-time|minutes-from-duration |minutes-from-dateTime|min|max|matches|lower-case|local-name-from-QName|local-na me|last|lang|iri-to-uri|insert-before|index-of|in-scope-prefixes|implicit-timezo ne|idref|id|hours-from-time|hours-from-duration|hours-from-dateTime|floor|false| expanded-QName|exists|exactly-one|escape-uri|escape-html-uri|error|ends-with|enc ode-for-uri|empty|document-uri|doc-available|doc|distinct-values|distinct-nodes| default-collation|deep-equal|days-from-duration|day-from-dateTime|day-from-date| data|current-time|current-dateTime|current-date|count|contains|concat|compare|co llection|codepoints-to-string|codepoint-equal|ceiling|boolean|base-uri|avg|adjus t-time-to-timezone|adjust-dateTime-to-timezone|adjust-date-to-timezone|abs)\b/],
62 // Matching normal words if none of the previous regular expressions ma tched
63 [PR['PR_PLAIN'], /^[A-Za-z0-9_\-\:]+/],
64 // Matching whitespaces
65 [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/]
66 ]),
67 ['xq', 'xquery']);
OLDNEW
« no previous file with comments | « bower_components/google-code-prettify/src/lang-wiki.js ('k') | bower_components/google-code-prettify/src/lang-yaml.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698