Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeMirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Moritz Aurel Pascal Schubotz
CodeMirror
Commits
404d8695
Commit
404d8695
authored
7 years ago
by
Marijn Haverbeke
Browse files
Options
Downloads
Patches
Plain Diff
[xquery mode] Adjust tests to updated keyword list
Issue #4910
parent
22861a03
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mode/xquery/test.js
+5
-5
5 additions, 5 deletions
mode/xquery/test.js
with
5 additions
and
5 deletions
mode/xquery/test.js
+
5
−
5
View file @
404d8695
...
...
@@ -20,14 +20,14 @@
"
[def&variable fn:doc]()[[ [variable foo][keyword /][variable @bar] [keyword eq] [variable $let] ]],
"
,
"
[keyword //][variable x] } [comment (: a more 'evil' test :)]
"
,
"
[comment (: Modified Blakeley example (: with nested comment :) ... :)]
"
,
"
[keyword declare] [
keyword
private] [keyword function] [def&variable local:declare]() {()}[variable ;]
"
,
"
[keyword declare] [
keyword
private] [keyword function] [def&variable local:private]() {()}[variable ;]
"
,
"
[keyword declare] [
keyword
private] [keyword function] [def&variable local:function]() {()}[variable ;]
"
,
"
[keyword declare] [
keyword
private] [keyword function] [def&variable local:local]() {()}[variable ;]
"
,
"
[keyword declare] [
variable
private] [keyword function] [def&variable local:declare]() {()}[variable ;]
"
,
"
[keyword declare] [
variable
private] [keyword function] [def&variable local:private]() {()}[variable ;]
"
,
"
[keyword declare] [
variable
private] [keyword function] [def&variable local:function]() {()}[variable ;]
"
,
"
[keyword declare] [
variable
private] [keyword function] [def&variable local:local]() {()}[variable ;]
"
,
"
[keyword let] [variable $let] [keyword :=] [variable <let>let] [variable $let] [keyword :=] [variable "let"<][keyword /let][variable >]
"
,
"
[keyword return] [keyword element] [variable element] {
"
,
"
[keyword attribute] [variable attribute] { [keyword try] { [def&variable xdmp:version]() } [keyword catch]([variable $e]) { [def&variable xdmp:log]([variable $e]) } },
"
,
"
[keyword attribute] [variable fn:doc] { [variable "bar"] [
variable
castable] [keyword as] [atom xs:string] },
"
,
"
[keyword attribute] [variable fn:doc] { [variable "bar"] [
keyword
castable] [keyword as] [atom xs:string] },
"
,
"
[keyword element] [variable text] { [keyword text] { [variable "text"] } },
"
,
"
[def&variable fn:doc]()[[ [qualifier child::][variable eq][keyword /]([variable @bar] [keyword |] [qualifier attribute::][variable attribute]) [keyword eq] [variable $let] ]],
"
,
"
[keyword //][variable fn:doc]
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment