-
Notifications
You must be signed in to change notification settings - Fork 7
/
syntax.xhtml
805 lines (797 loc) · 46.1 KB
/
syntax.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="Railroad Diagram Generator 1.49.1712" /><style type="text/css">
::-moz-selection
{
color: #FFFFFF;
background: #141414;
}
::selection
{
color: #FFFFFF;
background: #141414;
}
.ebnf a
{
text-decoration: none;
}
.ebnf a:hover
{
color: #0F0F0F;
text-decoration: underline;
}
.signature
{
color: #4D4D4D;
font-size: 11px;
text-align: right;
}
body
{
font: normal 12px Verdana, sans-serif;
color: #141414;
background: #FFFFFF;
}
a:link, a:visited
{
color: #141414;
}
a:link.signature, a:visited.signature
{
color: #4D4D4D;
}
a.button, #tabs li a
{
padding: 0.25em 0.5em;
border: 1px solid #4D4D4D;
background: #E3E3E3;
color: #4D4D4D;
text-decoration: none;
font-weight: bold;
}
a.button:hover, #tabs li a:hover
{
color: #0F0F0F;
background: #F0F0F0;
border-color: #0F0F0F;
}
#tabs
{
padding: 3px 10px;
margin-left: 0;
margin-top: 58px;
border-bottom: 1px solid #141414;
}
#tabs li
{
list-style: none;
margin-left: 5px;
display: inline;
}
#tabs li a
{
border-bottom: 1px solid #141414;
}
#tabs li a.active
{
color: #141414;
background: #FFFFFF;
border-color: #141414;
border-bottom: 1px solid #FFFFFF;
outline: none;
}
#divs div
{
display: none;
overflow:auto;
}
#divs div.active
{
display: block;
}
#text
{
border-color: #4D4D4D;
background: #FFFFFF;
color: #0F0F0F;
}
.small
{
vertical-align: top;
text-align: right;
font-size: 9px;
font-weight: normal;
line-height: 120%;
}
td.small
{
padding-top: 0px;
}
.hidden
{
visibility: hidden;
}
td:hover .hidden
{
visibility: visible;
}
div.download
{
display: none;
background: #FFFFFF;
position: absolute;
right: 34px;
top: 94px;
padding: 10px;
border: 1px dotted #141414;
}
#divs div.ebnf, div.ebnf
{
display: block;
padding-left: 16px;
padding-top: 2px;
padding-bottom: 2px;
background: #F0F0F0;
}
tr.option-line td:first-child
{
text-align: right
}
tr.option-text td
{
padding-bottom: 10px
}
table.palette
{
border-top: 1px solid #0F0F0F;
border-right: 1px solid #0F0F0F;
margin-bottom: 4px
}
td.palette
{
border-bottom: 1px solid #0F0F0F;
border-left: 1px solid #0F0F0F;
}
a.palette
{
padding: 2px 3px 2px 10px;
text-decoration: none;
}
.palette
{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
}
</style><svg xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
</svg>
</head>
<body>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="condition">condition:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="822" height="256">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#literal" xlink:title="literal">
<rect x="51" y="3" width="50" height="32"/>
<rect x="49" y="1" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="21">literal</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="51" y="47" width="70" height="32"/>
<rect x="49" y="45" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">attribute</text>
</a>
<rect x="51" y="91" width="28" height="32" rx="10"/>
<rect x="49" y="89" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="109">$</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#symbol" xlink:title="symbol">
<rect x="99" y="91" width="62" height="32"/>
<rect x="97" y="89" width="62" height="32" class="nonterminal"/>
<text class="nonterminal" x="107" y="109">symbol</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#aggregate" xlink:title="aggregate">
<rect x="51" y="135" width="80" height="32"/>
<rect x="49" y="133" width="80" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="153">aggregate</text>
</a>
<rect x="151" y="135" width="26" height="32" rx="10"/>
<rect x="149" y="133" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="159" y="153">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="197" y="135" width="70" height="32"/>
<rect x="195" y="133" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="205" y="153">attribute</text>
</a>
<rect x="287" y="135" width="26" height="32" rx="10"/>
<rect x="285" y="133" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="295" y="153">)</text>
<rect x="393" y="3" width="30" height="32" rx="10"/>
<rect x="391" y="1" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="401" y="21"><</text>
<rect x="393" y="47" width="30" height="32" rx="10"/>
<rect x="391" y="45" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="401" y="65">></text>
<rect x="393" y="91" width="40" height="32" rx="10"/>
<rect x="391" y="89" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="401" y="109">>=</text>
<rect x="393" y="135" width="40" height="32" rx="10"/>
<rect x="391" y="133" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="401" y="153"><=</text>
<rect x="393" y="179" width="40" height="32" rx="10"/>
<rect x="391" y="177" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="401" y="197">==</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#literal" xlink:title="literal">
<rect x="493" y="3" width="50" height="32"/>
<rect x="491" y="1" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="501" y="21">literal</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="493" y="47" width="70" height="32"/>
<rect x="491" y="45" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="501" y="65">attribute</text>
</a>
<rect x="493" y="91" width="28" height="32" rx="10"/>
<rect x="491" y="89" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="501" y="109">$</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#symbol" xlink:title="symbol">
<rect x="541" y="91" width="62" height="32"/>
<rect x="539" y="89" width="62" height="32" class="nonterminal"/>
<text class="nonterminal" x="549" y="109">symbol</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#aggregate" xlink:title="aggregate">
<rect x="493" y="135" width="80" height="32"/>
<rect x="491" y="133" width="80" height="32" class="nonterminal"/>
<text class="nonterminal" x="501" y="153">aggregate</text>
</a>
<rect x="593" y="135" width="26" height="32" rx="10"/>
<rect x="591" y="133" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="601" y="153">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="639" y="135" width="70" height="32"/>
<rect x="637" y="133" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="647" y="153">attribute</text>
</a>
<rect x="729" y="135" width="26" height="32" rx="10"/>
<rect x="727" y="133" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="737" y="153">)</text>
<rect x="373" y="223" width="30" height="32" rx="10"/>
<rect x="371" y="221" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="381" y="241">in</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#window" xlink:title="window">
<rect x="423" y="223" width="66" height="32"/>
<rect x="421" y="221" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="431" y="241">window</text>
</a>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m50 0 h10 m0 0 h212 m-302 0 h20 m282 0 h20 m-322 0 q10 0 10 10 m302 0 q0 -10 10 -10 m-312 10 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m70 0 h10 m0 0 h192 m-292 -10 v20 m302 0 v-20 m-302 20 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m28 0 h10 m0 0 h10 m62 0 h10 m0 0 h152 m-292 -10 v20 m302 0 v-20 m-302 20 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m80 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m70 0 h10 m0 0 h10 m26 0 h10 m60 -132 h10 m30 0 h10 m0 0 h10 m-80 0 h20 m60 0 h20 m-100 0 q10 0 10 10 m80 0 q0 -10 10 -10 m-90 10 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m30 0 h10 m0 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m40 -176 h10 m50 0 h10 m0 0 h212 m-302 0 h20 m282 0 h20 m-322 0 q10 0 10 10 m302 0 q0 -10 10 -10 m-312 10 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m70 0 h10 m0 0 h192 m-292 -10 v20 m302 0 v-20 m-302 20 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m28 0 h10 m0 0 h10 m62 0 h10 m0 0 h152 m-292 -10 v20 m302 0 v-20 m-302 20 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m80 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m70 0 h10 m0 0 h10 m26 0 h10 m-422 -132 h20 m422 0 h20 m-462 0 q10 0 10 10 m442 0 q0 -10 10 -10 m-452 10 v200 m442 0 v-200 m-442 200 q0 10 10 10 m422 0 q10 0 10 -10 m-432 10 h10 m30 0 h10 m0 0 h10 m66 0 h10 m0 0 h286 m23 -220 h-3"/>
<polygon points="813 17 821 13 821 21"/>
<polygon points="813 17 805 13 805 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#condition" title="condition">condition</a>
::= ( <a href="#literal" title="literal">literal</a> | <a href="#attribute" title="attribute">attribute</a> | '$' <a href="#symbol" title="symbol">symbol</a> | <a href="#aggregate" title="aggregate">aggregate</a> '(' <a href="#attribute" title="attribute">attribute</a> ')' ) ( ( '<' | '>' | '>=' | '<=' | '==' ) ( <a href="#literal" title="literal">literal</a> | <a href="#attribute" title="attribute">attribute</a> | '$' <a href="#symbol" title="symbol">symbol</a> | <a href="#aggregate" title="aggregate">aggregate</a> '(' <a href="#attribute" title="attribute">attribute</a> ')' ) | 'in' <a href="#window" title="window">window</a> )</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#clause" title="clause">clause</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="assignment">assignment:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="534" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<rect x="31" y="3" width="28" height="32" rx="10"/>
<rect x="29" y="1" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="39" y="21">$</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#symbol" xlink:title="symbol">
<rect x="79" y="3" width="62" height="32"/>
<rect x="77" y="1" width="62" height="32" class="nonterminal"/>
<text class="nonterminal" x="87" y="21">symbol</text>
</a>
<rect x="161" y="3" width="24" height="32" rx="10"/>
<rect x="159" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="169" y="21">:</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="225" y="3" width="70" height="32"/>
<rect x="223" y="1" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="233" y="21">attribute</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#aggregate" xlink:title="aggregate">
<rect x="225" y="47" width="80" height="32"/>
<rect x="223" y="45" width="80" height="32" class="nonterminal"/>
<text class="nonterminal" x="233" y="65">aggregate</text>
</a>
<rect x="325" y="47" width="26" height="32" rx="10"/>
<rect x="323" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="333" y="65">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#attribute" xlink:title="attribute">
<rect x="371" y="47" width="70" height="32"/>
<rect x="369" y="45" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="379" y="65">attribute</text>
</a>
<rect x="461" y="47" width="26" height="32" rx="10"/>
<rect x="459" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="469" y="65">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m0 0 h10 m28 0 h10 m0 0 h10 m62 0 h10 m0 0 h10 m24 0 h10 m20 0 h10 m70 0 h10 m0 0 h192 m-302 0 h20 m282 0 h20 m-322 0 q10 0 10 10 m302 0 q0 -10 10 -10 m-312 10 v24 m302 0 v-24 m-302 24 q0 10 10 10 m282 0 q10 0 10 -10 m-292 10 h10 m80 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m70 0 h10 m0 0 h10 m26 0 h10 m23 -44 h-3"/>
<polygon points="525 17 533 13 533 21"/>
<polygon points="525 17 517 13 517 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#assignment" title="assignment">assignment</a>
::= '$' <a href="#symbol" title="symbol">symbol</a> ':' ( <a href="#attribute" title="attribute">attribute</a> | <a href="#aggregate" title="aggregate">aggregate</a> '(' <a href="#attribute" title="attribute">attribute</a> ')' )</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#clause" title="clause">clause</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="clause">clause:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="726" height="96">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<rect x="51" y="51" width="42" height="32" rx="10"/>
<rect x="49" y="49" width="42" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="69">not</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#type" xlink:title="type">
<rect x="133" y="19" width="46" height="32"/>
<rect x="131" y="17" width="46" height="32" class="nonterminal"/>
<text class="nonterminal" x="141" y="37">type</text>
</a>
<rect x="199" y="19" width="26" height="32" rx="10"/>
<rect x="197" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="207" y="37">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#condition" xlink:title="condition">
<rect x="285" y="19" width="74" height="32"/>
<rect x="283" y="17" width="74" height="32" class="nonterminal"/>
<text class="nonterminal" x="293" y="37">condition</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#assignment" xlink:title="assignment">
<rect x="285" y="63" width="88" height="32"/>
<rect x="283" y="61" width="88" height="32" class="nonterminal"/>
<text class="nonterminal" x="293" y="81">assignment</text>
</a>
<rect x="413" y="19" width="24" height="32" rx="10"/>
<rect x="411" y="17" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="421" y="37">,</text>
<rect x="477" y="19" width="26" height="32" rx="10"/>
<rect x="475" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="485" y="37">)</text>
<rect x="543" y="51" width="50" height="32" rx="10"/>
<rect x="541" y="49" width="50" height="32" class="terminal" rx="10"/>
<text class="terminal" x="551" y="69">over</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#window" xlink:title="window">
<rect x="613" y="51" width="66" height="32"/>
<rect x="611" y="49" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="621" y="69">window</text>
</a>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m20 0 h10 m0 0 h52 m-82 0 h20 m62 0 h20 m-102 0 q10 0 10 10 m82 0 q0 -10 10 -10 m-92 10 v12 m82 0 v-12 m-82 12 q0 10 10 10 m62 0 q10 0 10 -10 m-72 10 h10 m42 0 h10 m20 -32 h10 m46 0 h10 m0 0 h10 m26 0 h10 m40 0 h10 m74 0 h10 m0 0 h14 m-128 0 h20 m108 0 h20 m-148 0 q10 0 10 10 m128 0 q0 -10 10 -10 m-138 10 v24 m128 0 v-24 m-128 24 q0 10 10 10 m108 0 q10 0 10 -10 m-118 10 h10 m88 0 h10 m20 -44 h10 m24 0 h10 m-212 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m192 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-192 0 h10 m0 0 h182 m20 32 h10 m26 0 h10 m20 0 h10 m0 0 h146 m-176 0 h20 m156 0 h20 m-196 0 q10 0 10 10 m176 0 q0 -10 10 -10 m-186 10 v12 m176 0 v-12 m-176 12 q0 10 10 10 m156 0 q10 0 10 -10 m-166 10 h10 m50 0 h10 m0 0 h10 m66 0 h10 m23 -32 h-3"/>
<polygon points="717 33 725 29 725 37"/>
<polygon points="717 33 709 29 709 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#clause" title="clause">clause</a> ::= 'not'? <a href="#type" title="type">type</a> '(' ( ( <a href="#condition" title="condition">condition</a> | <a href="#assignment" title="assignment">assignment</a> ) ',' )+ ')' ( 'over' <a href="#window" title="window">window</a> )?</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#rule" title="rule">rule</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="rule">rule:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="656" height="70">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 51 1 47 1 55"/>
<polygon points="17 51 9 47 9 55"/>
<rect x="31" y="37" width="44" height="32" rx="10"/>
<rect x="29" y="35" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="39" y="55">rule</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#string" xlink:title="string">
<rect x="95" y="37" width="52" height="32"/>
<rect x="93" y="35" width="52" height="32" class="nonterminal"/>
<text class="nonterminal" x="103" y="55">string</text>
</a>
<rect x="167" y="37" width="54" height="32" rx="10"/>
<rect x="165" y="35" width="54" height="32" class="terminal" rx="10"/>
<text class="terminal" x="175" y="55">when</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#clause" xlink:title="clause">
<rect x="261" y="3" width="56" height="32"/>
<rect x="259" y="1" width="56" height="32" class="nonterminal"/>
<text class="nonterminal" x="269" y="21">clause</text>
</a>
<rect x="357" y="37" width="50" height="32" rx="10"/>
<rect x="355" y="35" width="50" height="32" class="terminal" rx="10"/>
<text class="terminal" x="365" y="55">then</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#consequence" xlink:title="consequence">
<rect x="447" y="37" width="98" height="32"/>
<rect x="445" y="35" width="98" height="32" class="nonterminal"/>
<text class="nonterminal" x="455" y="55">consequence</text>
</a>
<rect x="585" y="37" width="44" height="32" rx="10"/>
<rect x="583" y="35" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="593" y="55">end</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 51 h2 m0 0 h10 m44 0 h10 m0 0 h10 m52 0 h10 m0 0 h10 m54 0 h10 m20 0 h10 m0 0 h66 m-96 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m76 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-76 0 h10 m56 0 h10 m20 34 h10 m50 0 h10 m20 0 h10 m98 0 h10 m-138 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m118 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-118 0 h10 m0 0 h108 m20 32 h10 m44 0 h10 m3 0 h-3"/>
<polygon points="647 51 655 47 655 55"/>
<polygon points="647 51 639 47 639 55"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#rule" title="rule">rule</a> ::= 'rule' <a href="#string" title="string">string</a> 'when' <a href="#clause" title="clause">clause</a>* 'then' <a href="#consequence" title="consequence">consequence</a>+ 'end'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">no references</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="aggregate">aggregate:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="172" height="168">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<rect x="51" y="3" width="48" height="32" rx="10"/>
<rect x="49" y="1" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="21">sum</text>
<rect x="51" y="47" width="74" height="32" rx="10"/>
<rect x="49" y="45" width="74" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="65">average</text>
<rect x="51" y="91" width="44" height="32" rx="10"/>
<rect x="49" y="89" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="109">min</text>
<rect x="51" y="135" width="48" height="32" rx="10"/>
<rect x="49" y="133" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="153">max</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m48 0 h10 m0 0 h26 m-114 0 h20 m94 0 h20 m-134 0 q10 0 10 10 m114 0 q0 -10 10 -10 m-124 10 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m74 0 h10 m-104 -10 v20 m114 0 v-20 m-114 20 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m44 0 h10 m0 0 h30 m-104 -10 v20 m114 0 v-20 m-114 20 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m48 0 h10 m0 0 h26 m23 -132 h-3"/>
<polygon points="163 17 171 13 171 21"/>
<polygon points="163 17 155 13 155 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#aggregate" title="aggregate">aggregate</a>
::= 'sum'
| 'average'
| 'min'
| 'max'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#assignment" title="assignment">assignment</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#condition" title="condition">condition</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="consequence">consequence:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="572" height="112">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<rect x="51" y="19" width="58" height="32" rx="10"/>
<rect x="49" y="17" width="58" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="37">insert</text>
<rect x="51" y="63" width="66" height="32" rx="10"/>
<rect x="49" y="61" width="66" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="81">publish</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#type" xlink:title="type">
<rect x="157" y="19" width="46" height="32"/>
<rect x="155" y="17" width="46" height="32" class="nonterminal"/>
<text class="nonterminal" x="165" y="37">type</text>
</a>
<rect x="223" y="19" width="26" height="32" rx="10"/>
<rect x="221" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="231" y="37">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#literal" xlink:title="literal">
<rect x="329" y="19" width="50" height="32"/>
<rect x="327" y="17" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="337" y="37">literal</text>
</a>
<rect x="329" y="63" width="28" height="32" rx="10"/>
<rect x="327" y="61" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="337" y="81">$</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#symbol" xlink:title="symbol">
<rect x="377" y="63" width="62" height="32"/>
<rect x="375" y="61" width="62" height="32" class="nonterminal"/>
<text class="nonterminal" x="385" y="81">symbol</text>
</a>
<rect x="519" y="19" width="26" height="32" rx="10"/>
<rect x="517" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="527" y="37">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m20 0 h10 m58 0 h10 m0 0 h8 m-106 0 h20 m86 0 h20 m-126 0 q10 0 10 10 m106 0 q0 -10 10 -10 m-116 10 v24 m106 0 v-24 m-106 24 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m66 0 h10 m20 -44 h10 m46 0 h10 m0 0 h10 m26 0 h10 m60 0 h10 m50 0 h10 m0 0 h60 m-150 0 h20 m130 0 h20 m-170 0 q10 0 10 10 m150 0 q0 -10 10 -10 m-160 10 v24 m150 0 v-24 m-150 24 q0 10 10 10 m130 0 q10 0 10 -10 m-140 10 h10 m28 0 h10 m0 0 h10 m62 0 h10 m-170 -44 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m170 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-170 0 h10 m0 0 h160 m-210 32 h20 m210 0 h20 m-250 0 q10 0 10 10 m230 0 q0 -10 10 -10 m-240 10 v58 m230 0 v-58 m-230 58 q0 10 10 10 m210 0 q10 0 10 -10 m-220 10 h10 m0 0 h200 m20 -78 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="563 33 571 29 571 37"/>
<polygon points="563 33 555 29 555 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#consequence" title="consequence">consequence</a>
::= ( 'insert' | 'publish' ) <a href="#type" title="type">type</a> '(' ( <a href="#literal" title="literal">literal</a> | '$' <a href="#symbol" title="symbol">symbol</a> )* ')'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#rule" title="rule">rule</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="window">window:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="552" height="184">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #262626;}
.bold-line {stroke: #0A0A0A; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #0F0F0F; shape-rendering: crispEdges}
.filled {fill: #262626; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0A0A0A;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0D0D0D;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #0F0F0F;
}
rect, circle, polygon {fill: #262626; stroke: #262626;}
rect.terminal {fill: #FFFFFF; stroke: #262626;}
rect.nonterminal {fill: #FFFFFF; stroke: #262626;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFFFFF; stroke: #262626;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<rect x="31" y="19" width="70" height="32" rx="10"/>
<rect x="29" y="17" width="70" height="32" class="terminal" rx="10"/>
<text class="terminal" x="39" y="37">Window</text>
<rect x="121" y="19" width="26" height="32" rx="10"/>
<rect x="119" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="129" y="37">(</text>
<rect x="227" y="19" width="52" height="32" rx="10"/>
<rect x="225" y="17" width="52" height="32" class="terminal" rx="10"/>
<text class="terminal" x="235" y="37">start</text>
<rect x="227" y="63" width="44" height="32" rx="10"/>
<rect x="225" y="61" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="235" y="81">end</text>
<rect x="319" y="19" width="24" height="32" rx="10"/>
<rect x="317" y="17" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="327" y="37">:</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#datetime" xlink:title="datetime">
<rect x="363" y="19" width="72" height="32"/>
<rect x="361" y="17" width="72" height="32" class="nonterminal"/>
<text class="nonterminal" x="371" y="37">datetime</text>
</a>
<rect x="207" y="107" width="60" height="32" rx="10"/>
<rect x="205" y="105" width="60" height="32" class="terminal" rx="10"/>
<text class="terminal" x="215" y="125">length</text>
<rect x="287" y="107" width="24" height="32" rx="10"/>
<rect x="285" y="105" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="295" y="125">:</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#duration" xlink:title="duration">
<rect x="351" y="107" width="68" height="32"/>
<rect x="349" y="105" width="68" height="32" class="nonterminal"/>
<text class="nonterminal" x="359" y="125">duration</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#literal" xlink:title="literal">
<rect x="351" y="151" width="50" height="32"/>
<rect x="349" y="149" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="359" y="169">literal</text>
</a>
<rect x="499" y="19" width="26" height="32" rx="10"/>
<rect x="497" y="17" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="507" y="37">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m0 0 h10 m70 0 h10 m0 0 h10 m26 0 h10 m60 0 h10 m52 0 h10 m-92 0 h20 m72 0 h20 m-112 0 q10 0 10 10 m92 0 q0 -10 10 -10 m-102 10 v24 m92 0 v-24 m-92 24 q0 10 10 10 m72 0 q10 0 10 -10 m-82 10 h10 m44 0 h10 m0 0 h8 m20 -44 h10 m24 0 h10 m0 0 h10 m72 0 h10 m0 0 h4 m-272 0 h20 m252 0 h20 m-292 0 q10 0 10 10 m272 0 q0 -10 10 -10 m-282 10 v68 m272 0 v-68 m-272 68 q0 10 10 10 m252 0 q10 0 10 -10 m-262 10 h10 m60 0 h10 m0 0 h10 m24 0 h10 m20 0 h10 m68 0 h10 m-108 0 h20 m88 0 h20 m-128 0 q10 0 10 10 m108 0 q0 -10 10 -10 m-118 10 v24 m108 0 v-24 m-108 24 q0 10 10 10 m88 0 q10 0 10 -10 m-98 10 h10 m50 0 h10 m0 0 h18 m-272 -132 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m292 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-292 0 h10 m0 0 h282 m20 32 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="543 33 551 29 551 37"/>
<polygon points="543 33 535 29 535 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#window" title="window">window</a> ::= 'Window' '(' ( ( 'start' | 'end' ) ':' <a href="#datetime" title="datetime">datetime</a> | 'length' ':' ( <a href="#duration" title="duration">duration</a> | <a href="#literal" title="literal">literal</a> ) )+ ')'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#clause" title="clause">clause</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#condition" title="condition">condition</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:hr xmlns:xhtml="http://www.w3.org/1999/xhtml" />
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:table class="signature" border="0">
<xhtml:tr>
<xhtml:td style="width: 100%"> </xhtml:td>
<xhtml:td valign="top">
<xhtml:nobr class="signature">... generated by <xhtml:a name="Railroad-Diagram-Generator" class="signature" title="http://www.bottlecaps.de/rr/ui" href="http://www.bottlecaps.de/rr/ui" target="_blank">Railroad Diagram Generator</xhtml:a></xhtml:nobr>
</xhtml:td>
<xhtml:td><xhtml:a name="Railroad-Diagram-Generator" title="http://www.bottlecaps.de/rr/ui" href="http://www.bottlecaps.de/rr/ui" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<g transform="scale(0.178)">
<circle cx="45" cy="45" r="45" style="stroke:none; fill:#FFCC00"/>
<circle cx="45" cy="45" r="42" style="stroke:#332900; stroke-width:2px; fill:#FFCC00"/>
<line x1="15" y1="15" x2="75" y2="75" stroke="#332900" style="stroke-width:9px;"/>
<line x1="15" y1="75" x2="75" y2="15" stroke="#332900" style="stroke-width:9px;"/>
<text x="7" y="54" style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
<text x="64" y="54" style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
</g>
</svg></xhtml:a></xhtml:td>
</xhtml:tr>
</xhtml:table>
</xhtml:p>
</body>
</html>