@lbdudc/gp-gis-dsl 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,91 +1,110 @@
1
- // Generated from grammar/GISGrammar.g4 by ANTLR 4.13.0
1
+ // Generated from grammar/GISGrammar.g4 by ANTLR 4.13.1
2
2
  // jshint ignore: start
3
3
  import antlr4 from 'antlr4';
4
4
  import GISGrammarListener from './GISGrammarListener.js';
5
5
  import GISGrammarVisitor from './GISGrammarVisitor.js';
6
6
 
7
- const serializedATN = [4,1,50,275,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,
7
+ const serializedATN = [4,1,51,327,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,
8
8
  4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,
9
9
  2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,
10
10
  20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,
11
- 7,27,2,28,7,28,1,0,4,0,60,8,0,11,0,12,0,61,1,1,1,1,1,1,1,1,3,1,68,8,1,1,
12
- 2,1,2,1,2,1,2,3,2,74,8,2,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,
13
- 5,4,88,8,4,10,4,12,4,91,9,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,3,5,102,
14
- 8,5,1,6,1,6,1,6,1,6,1,6,3,6,109,8,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,
15
- 1,7,1,7,3,7,122,8,7,1,7,1,7,1,7,3,7,127,8,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,
16
- 1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,9,
17
- 1,9,1,9,1,9,1,9,3,9,158,8,9,1,9,1,9,1,9,1,9,5,9,164,8,9,10,9,12,9,167,9,
18
- 9,1,9,1,9,1,9,1,10,1,10,1,10,1,11,1,11,1,11,1,12,1,12,1,12,1,12,3,12,182,
19
- 8,12,1,12,1,12,1,12,1,12,5,12,188,8,12,10,12,12,12,191,9,12,1,12,1,12,1,
20
- 12,1,13,1,13,3,13,198,8,13,1,13,3,13,201,8,13,1,14,1,14,1,14,1,14,1,14,1,
21
- 15,1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,5,16,219,8,16,10,16,
22
- 12,16,222,9,16,1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,3,18,232,8,18,1,19,
23
- 1,19,1,19,5,19,237,8,19,10,19,12,19,240,9,19,1,20,1,20,3,20,244,8,20,1,21,
24
- 1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,
25
- 22,261,8,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,
26
- 1,28,0,0,29,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,
27
- 44,46,48,50,52,54,56,0,2,2,0,7,7,9,11,1,0,33,36,271,0,59,1,0,0,0,2,67,1,
28
- 0,0,0,4,69,1,0,0,0,6,75,1,0,0,0,8,81,1,0,0,0,10,101,1,0,0,0,12,103,1,0,0,
29
- 0,14,116,1,0,0,0,16,143,1,0,0,0,18,152,1,0,0,0,20,171,1,0,0,0,22,174,1,0,
30
- 0,0,24,177,1,0,0,0,26,195,1,0,0,0,28,202,1,0,0,0,30,207,1,0,0,0,32,212,1,
31
- 0,0,0,34,226,1,0,0,0,36,231,1,0,0,0,38,233,1,0,0,0,40,243,1,0,0,0,42,245,
32
- 1,0,0,0,44,251,1,0,0,0,46,262,1,0,0,0,48,264,1,0,0,0,50,266,1,0,0,0,52,268,
33
- 1,0,0,0,54,270,1,0,0,0,56,272,1,0,0,0,58,60,3,2,1,0,59,58,1,0,0,0,60,61,
34
- 1,0,0,0,61,59,1,0,0,0,61,62,1,0,0,0,62,1,1,0,0,0,63,68,3,4,2,0,64,68,3,28,
35
- 14,0,65,68,3,30,15,0,66,68,3,32,16,0,67,63,1,0,0,0,67,64,1,0,0,0,67,65,1,
36
- 0,0,0,67,66,1,0,0,0,68,3,1,0,0,0,69,73,5,1,0,0,70,74,3,6,3,0,71,74,3,8,4,
37
- 0,72,74,3,10,5,0,73,70,1,0,0,0,73,71,1,0,0,0,73,72,1,0,0,0,74,5,1,0,0,0,
38
- 75,76,5,2,0,0,76,77,3,50,25,0,77,78,5,4,0,0,78,79,3,48,24,0,79,80,5,43,0,
39
- 0,80,7,1,0,0,0,81,82,5,3,0,0,82,83,3,50,25,0,83,84,5,40,0,0,84,89,3,36,18,
40
- 0,85,86,5,42,0,0,86,88,3,36,18,0,87,85,1,0,0,0,88,91,1,0,0,0,89,87,1,0,0,
41
- 0,89,90,1,0,0,0,90,92,1,0,0,0,91,89,1,0,0,0,92,93,5,41,0,0,93,94,5,43,0,
42
- 0,94,9,1,0,0,0,95,102,3,12,6,0,96,102,3,14,7,0,97,102,3,16,8,0,98,102,3,
43
- 18,9,0,99,102,3,24,12,0,100,102,3,22,11,0,101,95,1,0,0,0,101,96,1,0,0,0,
44
- 101,97,1,0,0,0,101,98,1,0,0,0,101,99,1,0,0,0,101,100,1,0,0,0,102,11,1,0,
45
- 0,0,103,104,5,15,0,0,104,105,5,14,0,0,105,108,3,50,25,0,106,107,5,17,0,0,
46
- 107,109,3,52,26,0,108,106,1,0,0,0,108,109,1,0,0,0,109,110,1,0,0,0,110,111,
47
- 5,40,0,0,111,112,5,18,0,0,112,113,3,52,26,0,113,114,5,41,0,0,114,115,5,43,
48
- 0,0,115,13,1,0,0,0,116,117,5,16,0,0,117,118,5,14,0,0,118,121,3,50,25,0,119,
49
- 120,5,17,0,0,120,122,3,52,26,0,121,119,1,0,0,0,121,122,1,0,0,0,122,123,1,
50
- 0,0,0,123,124,5,40,0,0,124,126,3,50,25,0,125,127,5,20,0,0,126,125,1,0,0,
51
- 0,126,127,1,0,0,0,127,128,1,0,0,0,128,129,5,42,0,0,129,130,5,21,0,0,130,
52
- 131,3,54,27,0,131,132,5,42,0,0,132,133,5,22,0,0,133,134,3,54,27,0,134,135,
53
- 5,42,0,0,135,136,5,23,0,0,136,137,3,56,28,0,137,138,5,42,0,0,138,139,5,24,
54
- 0,0,139,140,3,56,28,0,140,141,5,41,0,0,141,142,5,43,0,0,142,15,1,0,0,0,143,
55
- 144,5,25,0,0,144,145,5,26,0,0,145,146,3,50,25,0,146,147,5,40,0,0,147,148,
56
- 5,19,0,0,148,149,3,52,26,0,149,150,5,41,0,0,150,151,5,43,0,0,151,17,1,0,
57
- 0,0,152,153,5,25,0,0,153,154,5,14,0,0,154,157,3,50,25,0,155,156,5,17,0,0,
58
- 156,158,3,52,26,0,157,155,1,0,0,0,157,158,1,0,0,0,158,159,1,0,0,0,159,160,
59
- 5,40,0,0,160,165,3,20,10,0,161,162,5,42,0,0,162,164,3,20,10,0,163,161,1,
60
- 0,0,0,164,167,1,0,0,0,165,163,1,0,0,0,165,166,1,0,0,0,166,168,1,0,0,0,167,
61
- 165,1,0,0,0,168,169,5,41,0,0,169,170,5,43,0,0,170,19,1,0,0,0,171,172,3,50,
62
- 25,0,172,173,3,50,25,0,173,21,1,0,0,0,174,175,5,29,0,0,175,176,3,24,12,0,
63
- 176,23,1,0,0,0,177,178,5,30,0,0,178,181,3,50,25,0,179,180,5,17,0,0,180,182,
64
- 3,52,26,0,181,179,1,0,0,0,181,182,1,0,0,0,182,183,1,0,0,0,183,184,5,40,0,
65
- 0,184,189,3,26,13,0,185,186,5,42,0,0,186,188,3,26,13,0,187,185,1,0,0,0,188,
66
- 191,1,0,0,0,189,187,1,0,0,0,189,190,1,0,0,0,190,192,1,0,0,0,191,189,1,0,
67
- 0,0,192,193,5,41,0,0,193,194,5,43,0,0,194,25,1,0,0,0,195,197,3,50,25,0,196,
68
- 198,5,27,0,0,197,196,1,0,0,0,197,198,1,0,0,0,198,200,1,0,0,0,199,201,5,28,
69
- 0,0,200,199,1,0,0,0,200,201,1,0,0,0,201,27,1,0,0,0,202,203,5,5,0,0,203,204,
70
- 5,2,0,0,204,205,3,50,25,0,205,206,5,43,0,0,206,29,1,0,0,0,207,208,5,6,0,
71
- 0,208,209,5,2,0,0,209,210,3,50,25,0,210,211,5,43,0,0,211,31,1,0,0,0,212,
72
- 213,5,31,0,0,213,214,5,32,0,0,214,215,5,40,0,0,215,220,3,34,17,0,216,217,
73
- 5,42,0,0,217,219,3,34,17,0,218,216,1,0,0,0,219,222,1,0,0,0,220,218,1,0,0,
74
- 0,220,221,1,0,0,0,221,223,1,0,0,0,222,220,1,0,0,0,223,224,5,41,0,0,224,225,
75
- 5,43,0,0,225,33,1,0,0,0,226,227,3,52,26,0,227,228,3,52,26,0,228,35,1,0,0,
76
- 0,229,232,3,38,19,0,230,232,3,40,20,0,231,229,1,0,0,0,231,230,1,0,0,0,232,
77
- 37,1,0,0,0,233,234,3,50,25,0,234,238,5,37,0,0,235,237,7,0,0,0,236,235,1,
78
- 0,0,0,237,240,1,0,0,0,238,236,1,0,0,0,238,239,1,0,0,0,239,39,1,0,0,0,240,
79
- 238,1,0,0,0,241,244,3,44,22,0,242,244,3,42,21,0,243,241,1,0,0,0,243,242,
80
- 1,0,0,0,244,41,1,0,0,0,245,246,3,50,25,0,246,247,3,50,25,0,247,248,5,8,0,
81
- 0,248,249,5,13,0,0,249,250,3,50,25,0,250,43,1,0,0,0,251,252,3,50,25,0,252,
82
- 253,3,50,25,0,253,254,5,8,0,0,254,255,5,40,0,0,255,256,3,46,23,0,256,257,
83
- 5,42,0,0,257,258,3,46,23,0,258,260,5,41,0,0,259,261,5,12,0,0,260,259,1,0,
84
- 0,0,260,261,1,0,0,0,261,45,1,0,0,0,262,263,7,1,0,0,263,47,1,0,0,0,264,265,
85
- 5,45,0,0,265,49,1,0,0,0,266,267,5,49,0,0,267,51,1,0,0,0,268,269,5,50,0,0,
86
- 269,53,1,0,0,0,270,271,5,44,0,0,271,55,1,0,0,0,272,273,5,46,0,0,273,57,1,
87
- 0,0,0,19,61,67,73,89,101,108,121,126,157,165,181,189,197,200,220,231,238,
88
- 243,260];
11
+ 7,27,2,28,7,28,2,29,7,29,2,30,7,30,1,0,4,0,64,8,0,11,0,12,0,65,1,1,1,1,1,
12
+ 1,1,1,3,1,72,8,1,1,2,1,2,1,2,1,2,3,2,78,8,2,1,3,1,3,1,3,1,3,1,3,1,3,1,4,
13
+ 1,4,1,4,1,4,1,4,1,4,5,4,92,8,4,10,4,12,4,95,9,4,1,4,1,4,1,4,1,5,1,5,1,5,
14
+ 1,5,1,5,1,5,3,5,106,8,5,1,6,1,6,1,6,1,6,1,6,3,6,113,8,6,1,6,1,6,1,6,1,6,
15
+ 1,6,1,6,1,7,1,7,1,7,1,7,1,7,3,7,126,8,7,1,7,1,7,1,7,3,7,131,8,7,1,7,1,7,
16
+ 1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,3,8,
17
+ 152,8,8,1,8,3,8,155,8,8,1,8,3,8,158,8,8,1,8,3,8,161,8,8,1,8,3,8,164,8,8,
18
+ 1,8,3,8,167,8,8,1,8,3,8,170,8,8,1,8,1,8,3,8,174,8,8,1,8,3,8,177,8,8,1,8,
19
+ 3,8,180,8,8,1,8,1,8,3,8,184,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,192,8,9,1,9,
20
+ 3,9,195,8,9,1,9,3,9,198,8,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,3,10,208,
21
+ 8,10,1,10,1,10,1,10,1,10,5,10,214,8,10,10,10,12,10,217,9,10,1,10,1,10,1,
22
+ 10,1,11,1,11,1,11,1,12,1,12,1,12,1,13,1,13,1,13,1,13,3,13,232,8,13,1,13,
23
+ 1,13,1,13,1,13,5,13,238,8,13,10,13,12,13,241,9,13,1,13,1,13,1,13,1,14,1,
24
+ 14,3,14,248,8,14,1,14,3,14,251,8,14,1,15,1,15,1,15,1,15,1,15,1,16,1,16,1,
25
+ 16,1,16,1,16,1,17,1,17,1,17,1,17,1,17,1,17,5,17,269,8,17,10,17,12,17,272,
26
+ 9,17,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,3,19,282,8,19,1,20,1,20,1,20,
27
+ 5,20,287,8,20,10,20,12,20,290,9,20,1,21,1,21,3,21,294,8,21,1,22,1,22,1,22,
28
+ 1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,3,23,311,8,23,
29
+ 1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,
30
+ 30,0,0,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,
31
+ 46,48,50,52,54,56,58,60,0,2,2,0,7,7,9,11,1,0,34,37,337,0,63,1,0,0,0,2,71,
32
+ 1,0,0,0,4,73,1,0,0,0,6,79,1,0,0,0,8,85,1,0,0,0,10,105,1,0,0,0,12,107,1,0,
33
+ 0,0,14,120,1,0,0,0,16,147,1,0,0,0,18,185,1,0,0,0,20,202,1,0,0,0,22,221,1,
34
+ 0,0,0,24,224,1,0,0,0,26,227,1,0,0,0,28,245,1,0,0,0,30,252,1,0,0,0,32,257,
35
+ 1,0,0,0,34,262,1,0,0,0,36,276,1,0,0,0,38,281,1,0,0,0,40,283,1,0,0,0,42,293,
36
+ 1,0,0,0,44,295,1,0,0,0,46,301,1,0,0,0,48,312,1,0,0,0,50,314,1,0,0,0,52,316,
37
+ 1,0,0,0,54,318,1,0,0,0,56,320,1,0,0,0,58,322,1,0,0,0,60,324,1,0,0,0,62,64,
38
+ 3,2,1,0,63,62,1,0,0,0,64,65,1,0,0,0,65,63,1,0,0,0,65,66,1,0,0,0,66,1,1,0,
39
+ 0,0,67,72,3,4,2,0,68,72,3,30,15,0,69,72,3,32,16,0,70,72,3,34,17,0,71,67,
40
+ 1,0,0,0,71,68,1,0,0,0,71,69,1,0,0,0,71,70,1,0,0,0,72,3,1,0,0,0,73,77,5,1,
41
+ 0,0,74,78,3,6,3,0,75,78,3,8,4,0,76,78,3,10,5,0,77,74,1,0,0,0,77,75,1,0,0,
42
+ 0,77,76,1,0,0,0,78,5,1,0,0,0,79,80,5,2,0,0,80,81,3,52,26,0,81,82,5,4,0,0,
43
+ 82,83,3,50,25,0,83,84,5,44,0,0,84,7,1,0,0,0,85,86,5,3,0,0,86,87,3,52,26,
44
+ 0,87,88,5,41,0,0,88,93,3,38,19,0,89,90,5,43,0,0,90,92,3,38,19,0,91,89,1,
45
+ 0,0,0,92,95,1,0,0,0,93,91,1,0,0,0,93,94,1,0,0,0,94,96,1,0,0,0,95,93,1,0,
46
+ 0,0,96,97,5,42,0,0,97,98,5,44,0,0,98,9,1,0,0,0,99,106,3,12,6,0,100,106,3,
47
+ 14,7,0,101,106,3,18,9,0,102,106,3,20,10,0,103,106,3,26,13,0,104,106,3,24,
48
+ 12,0,105,99,1,0,0,0,105,100,1,0,0,0,105,101,1,0,0,0,105,102,1,0,0,0,105,
49
+ 103,1,0,0,0,105,104,1,0,0,0,106,11,1,0,0,0,107,108,5,15,0,0,108,109,5,14,
50
+ 0,0,109,112,3,52,26,0,110,111,5,18,0,0,111,113,3,54,27,0,112,110,1,0,0,0,
51
+ 112,113,1,0,0,0,113,114,1,0,0,0,114,115,5,41,0,0,115,116,5,19,0,0,116,117,
52
+ 3,54,27,0,117,118,5,42,0,0,118,119,5,44,0,0,119,13,1,0,0,0,120,121,5,16,
53
+ 0,0,121,122,5,14,0,0,122,125,3,52,26,0,123,124,5,18,0,0,124,126,3,54,27,
54
+ 0,125,123,1,0,0,0,125,126,1,0,0,0,126,127,1,0,0,0,127,128,5,41,0,0,128,130,
55
+ 3,52,26,0,129,131,5,21,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,132,1,0,0,
56
+ 0,132,133,5,43,0,0,133,134,5,22,0,0,134,135,3,56,28,0,135,136,5,43,0,0,136,
57
+ 137,5,23,0,0,137,138,3,56,28,0,138,139,5,43,0,0,139,140,5,24,0,0,140,141,
58
+ 3,58,29,0,141,142,5,43,0,0,142,143,5,25,0,0,143,144,3,58,29,0,144,145,5,
59
+ 42,0,0,145,146,5,44,0,0,146,15,1,0,0,0,147,148,5,17,0,0,148,149,5,38,0,0,
60
+ 149,151,5,43,0,0,150,152,5,22,0,0,151,150,1,0,0,0,151,152,1,0,0,0,152,154,
61
+ 1,0,0,0,153,155,3,56,28,0,154,153,1,0,0,0,154,155,1,0,0,0,155,157,1,0,0,
62
+ 0,156,158,5,43,0,0,157,156,1,0,0,0,157,158,1,0,0,0,158,160,1,0,0,0,159,161,
63
+ 5,23,0,0,160,159,1,0,0,0,160,161,1,0,0,0,161,163,1,0,0,0,162,164,3,56,28,
64
+ 0,163,162,1,0,0,0,163,164,1,0,0,0,164,166,1,0,0,0,165,167,5,43,0,0,166,165,
65
+ 1,0,0,0,166,167,1,0,0,0,167,169,1,0,0,0,168,170,5,24,0,0,169,168,1,0,0,0,
66
+ 169,170,1,0,0,0,170,173,1,0,0,0,171,174,3,58,29,0,172,174,3,60,30,0,173,
67
+ 171,1,0,0,0,173,172,1,0,0,0,173,174,1,0,0,0,174,176,1,0,0,0,175,177,5,43,
68
+ 0,0,176,175,1,0,0,0,176,177,1,0,0,0,177,179,1,0,0,0,178,180,5,25,0,0,179,
69
+ 178,1,0,0,0,179,180,1,0,0,0,180,183,1,0,0,0,181,184,3,58,29,0,182,184,3,
70
+ 60,30,0,183,181,1,0,0,0,183,182,1,0,0,0,183,184,1,0,0,0,184,17,1,0,0,0,185,
71
+ 186,5,26,0,0,186,187,5,27,0,0,187,188,3,52,26,0,188,191,5,41,0,0,189,190,
72
+ 5,20,0,0,190,192,3,54,27,0,191,189,1,0,0,0,191,192,1,0,0,0,192,194,1,0,0,
73
+ 0,193,195,5,43,0,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,
74
+ 3,16,8,0,197,196,1,0,0,0,197,198,1,0,0,0,198,199,1,0,0,0,199,200,5,42,0,
75
+ 0,200,201,5,44,0,0,201,19,1,0,0,0,202,203,5,26,0,0,203,204,5,14,0,0,204,
76
+ 207,3,52,26,0,205,206,5,18,0,0,206,208,3,54,27,0,207,205,1,0,0,0,207,208,
77
+ 1,0,0,0,208,209,1,0,0,0,209,210,5,41,0,0,210,215,3,22,11,0,211,212,5,43,
78
+ 0,0,212,214,3,22,11,0,213,211,1,0,0,0,214,217,1,0,0,0,215,213,1,0,0,0,215,
79
+ 216,1,0,0,0,216,218,1,0,0,0,217,215,1,0,0,0,218,219,5,42,0,0,219,220,5,44,
80
+ 0,0,220,21,1,0,0,0,221,222,3,52,26,0,222,223,3,52,26,0,223,23,1,0,0,0,224,
81
+ 225,5,30,0,0,225,226,3,26,13,0,226,25,1,0,0,0,227,228,5,31,0,0,228,231,3,
82
+ 52,26,0,229,230,5,18,0,0,230,232,3,54,27,0,231,229,1,0,0,0,231,232,1,0,0,
83
+ 0,232,233,1,0,0,0,233,234,5,41,0,0,234,239,3,28,14,0,235,236,5,43,0,0,236,
84
+ 238,3,28,14,0,237,235,1,0,0,0,238,241,1,0,0,0,239,237,1,0,0,0,239,240,1,
85
+ 0,0,0,240,242,1,0,0,0,241,239,1,0,0,0,242,243,5,42,0,0,243,244,5,44,0,0,
86
+ 244,27,1,0,0,0,245,247,3,52,26,0,246,248,5,28,0,0,247,246,1,0,0,0,247,248,
87
+ 1,0,0,0,248,250,1,0,0,0,249,251,5,29,0,0,250,249,1,0,0,0,250,251,1,0,0,0,
88
+ 251,29,1,0,0,0,252,253,5,5,0,0,253,254,5,2,0,0,254,255,3,52,26,0,255,256,
89
+ 5,44,0,0,256,31,1,0,0,0,257,258,5,6,0,0,258,259,5,2,0,0,259,260,3,52,26,
90
+ 0,260,261,5,44,0,0,261,33,1,0,0,0,262,263,5,32,0,0,263,264,5,33,0,0,264,
91
+ 265,5,41,0,0,265,270,3,36,18,0,266,267,5,43,0,0,267,269,3,36,18,0,268,266,
92
+ 1,0,0,0,269,272,1,0,0,0,270,268,1,0,0,0,270,271,1,0,0,0,271,273,1,0,0,0,
93
+ 272,270,1,0,0,0,273,274,5,42,0,0,274,275,5,44,0,0,275,35,1,0,0,0,276,277,
94
+ 3,54,27,0,277,278,3,54,27,0,278,37,1,0,0,0,279,282,3,40,20,0,280,282,3,42,
95
+ 21,0,281,279,1,0,0,0,281,280,1,0,0,0,282,39,1,0,0,0,283,284,3,52,26,0,284,
96
+ 288,5,38,0,0,285,287,7,0,0,0,286,285,1,0,0,0,287,290,1,0,0,0,288,286,1,0,
97
+ 0,0,288,289,1,0,0,0,289,41,1,0,0,0,290,288,1,0,0,0,291,294,3,46,23,0,292,
98
+ 294,3,44,22,0,293,291,1,0,0,0,293,292,1,0,0,0,294,43,1,0,0,0,295,296,3,52,
99
+ 26,0,296,297,3,52,26,0,297,298,5,8,0,0,298,299,5,13,0,0,299,300,3,52,26,
100
+ 0,300,45,1,0,0,0,301,302,3,52,26,0,302,303,3,52,26,0,303,304,5,8,0,0,304,
101
+ 305,5,41,0,0,305,306,3,48,24,0,306,307,5,43,0,0,307,308,3,48,24,0,308,310,
102
+ 5,42,0,0,309,311,5,12,0,0,310,309,1,0,0,0,310,311,1,0,0,0,311,47,1,0,0,0,
103
+ 312,313,7,1,0,0,313,49,1,0,0,0,314,315,5,46,0,0,315,51,1,0,0,0,316,317,5,
104
+ 50,0,0,317,53,1,0,0,0,318,319,5,51,0,0,319,55,1,0,0,0,320,321,5,45,0,0,321,
105
+ 57,1,0,0,0,322,323,5,47,0,0,323,59,1,0,0,0,324,325,5,46,0,0,325,61,1,0,0,
106
+ 0,33,65,71,77,93,105,112,125,130,151,154,157,160,163,166,169,173,176,179,
107
+ 183,191,194,197,207,215,231,239,247,250,270,281,288,293,310];
89
108
 
90
109
 
91
110
  const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
@@ -101,7 +120,7 @@ export default class GISGrammarParser extends antlr4.Parser {
101
120
  null, null, null, null, null, null, null, null,
102
121
  null, null, null, null, null, null, null, null,
103
122
  null, null, null, null, null, null, null, null,
104
- null, "'0..1'", "'1..1'", "'0..*'", "'1..*'",
123
+ null, null, "'0..1'", "'1..1'", "'0..*'", "'1..*'",
105
124
  null, "'#'", "'.'", "'('", "')'", "','", "';'" ];
106
125
  static symbolicNames = [ null, "CREATE_SYMBOL", "GIS_SYMBOL", "ENTITY_SYMBOL",
107
126
  "USING_SYMBOL", "USE_SYMBOL", "GENERATE_SYMBOL",
@@ -109,26 +128,28 @@ export default class GISGrammarParser extends antlr4.Parser {
109
128
  "DISPLAYSTRING_SYMBOL", "REQUIRED_SYMBOL",
110
129
  "UNIQUE_SYMBOL", "BIDIRECTIONAL_SYMBOL", "MAPPEDBY_SYMBOL",
111
130
  "LAYER_SYMBOL", "TILE_SYMBOL", "GEOJSON_SYMBOL",
112
- "AS_SYMBOL", "URL_SYMBOL", "SLD_SYMBOL", "EDITABLE_SYMBOL",
113
- "FILL_COLOR_SYMBOL", "STROKE_COLOR_SYMBOL",
114
- "FILL_OPACITY_SYMBOL", "STROKE_OPACITY_SYMBOL",
115
- "WMS_SYMBOL", "STYLE_SYMBOL", "IS_BASE_LAYER_SYMBOL",
116
- "HIDDEN_SYMBOL", "SORTABLE_SYMBOL", "MAP_SYMBOL",
117
- "SET_SYMBOL", "DEPLOYMENT_SYMBOL", "ZERO_ONE_SYMBOL",
118
- "ONE_ONE_SYMBOL", "ZERO_MANY_SYMBOL", "ONE_MANY_SYMBOL",
119
- "TYPE", "POUND_SYMBOL", "DOT_SYMBOL", "OPAR_SYMBOL",
120
- "CPAR_SYMBOL", "COMMA_SYMBOL", "SCOL_SYMBOL",
121
- "HEX_COLOR", "INT_NUMBER", "FLOAT_NUMBER",
122
- "COMMENT", "WHITESPACE", "IDENTIFIER", "QUOTED_TEXT" ];
131
+ "GEOMETRY_TYPE_SYMBOL", "AS_SYMBOL", "URL_SYMBOL",
132
+ "SLD_SYMBOL", "EDITABLE_SYMBOL", "FILL_COLOR_SYMBOL",
133
+ "STROKE_COLOR_SYMBOL", "FILL_OPACITY_SYMBOL",
134
+ "STROKE_OPACITY_SYMBOL", "WMS_SYMBOL", "STYLE_SYMBOL",
135
+ "IS_BASE_LAYER_SYMBOL", "HIDDEN_SYMBOL", "SORTABLE_SYMBOL",
136
+ "MAP_SYMBOL", "SET_SYMBOL", "DEPLOYMENT_SYMBOL",
137
+ "ZERO_ONE_SYMBOL", "ONE_ONE_SYMBOL", "ZERO_MANY_SYMBOL",
138
+ "ONE_MANY_SYMBOL", "TYPE", "POUND_SYMBOL",
139
+ "DOT_SYMBOL", "OPAR_SYMBOL", "CPAR_SYMBOL",
140
+ "COMMA_SYMBOL", "SCOL_SYMBOL", "HEX_COLOR",
141
+ "INT_NUMBER", "FLOAT_NUMBER", "COMMENT", "WHITESPACE",
142
+ "IDENTIFIER", "QUOTED_TEXT" ];
123
143
  static ruleNames = [ "parse", "sentence", "createStatement", "createGIS",
124
144
  "createEntity", "createLayer", "createTileLayer",
125
- "createGeoJSONLayer", "createWmsStyle", "createWmsLayer",
126
- "wmsSubLayer", "createSortableMap", "createMap",
127
- "mapLayer", "useGIS", "generateGIS", "setDeployment",
128
- "deploymentProperty", "property", "propertyDefinition",
129
- "relationshipDefinition", "mappedRelationshipDefinition",
130
- "ownedRelationshipDefinition", "cardinality", "srid",
131
- "identifier", "text", "hexColor", "floatNumber" ];
145
+ "createGeoJSONLayer", "sldCustomBody", "createWmsStyle",
146
+ "createWmsLayer", "wmsSubLayer", "createSortableMap",
147
+ "createMap", "mapLayer", "useGIS", "generateGIS",
148
+ "setDeployment", "deploymentProperty", "property",
149
+ "propertyDefinition", "relationshipDefinition",
150
+ "mappedRelationshipDefinition", "ownedRelationshipDefinition",
151
+ "cardinality", "srid", "identifier", "text", "hexColor",
152
+ "floatNumber", "intNumber" ];
132
153
 
133
154
  constructor(input) {
134
155
  super(input);
@@ -146,16 +167,16 @@ export default class GISGrammarParser extends antlr4.Parser {
146
167
  var _la = 0;
147
168
  try {
148
169
  this.enterOuterAlt(localctx, 1);
149
- this.state = 59;
170
+ this.state = 63;
150
171
  this._errHandler.sync(this);
151
172
  _la = this._input.LA(1);
152
173
  do {
153
- this.state = 58;
174
+ this.state = 62;
154
175
  this.sentence();
155
- this.state = 61;
176
+ this.state = 65;
156
177
  this._errHandler.sync(this);
157
178
  _la = this._input.LA(1);
158
- } while((((_la) & ~0x1f) === 0 && ((1 << _la) & 2147483746) !== 0));
179
+ } while(((((_la - 1)) & ~0x1f) === 0 && ((1 << (_la - 1)) & 2147483697) !== 0));
159
180
  } catch (re) {
160
181
  if(re instanceof antlr4.error.RecognitionException) {
161
182
  localctx.exception = re;
@@ -176,27 +197,27 @@ export default class GISGrammarParser extends antlr4.Parser {
176
197
  let localctx = new SentenceContext(this, this._ctx, this.state);
177
198
  this.enterRule(localctx, 2, GISGrammarParser.RULE_sentence);
178
199
  try {
179
- this.state = 67;
200
+ this.state = 71;
180
201
  this._errHandler.sync(this);
181
202
  switch(this._input.LA(1)) {
182
203
  case 1:
183
204
  this.enterOuterAlt(localctx, 1);
184
- this.state = 63;
205
+ this.state = 67;
185
206
  this.createStatement();
186
207
  break;
187
208
  case 5:
188
209
  this.enterOuterAlt(localctx, 2);
189
- this.state = 64;
210
+ this.state = 68;
190
211
  this.useGIS();
191
212
  break;
192
213
  case 6:
193
214
  this.enterOuterAlt(localctx, 3);
194
- this.state = 65;
215
+ this.state = 69;
195
216
  this.generateGIS();
196
217
  break;
197
- case 31:
218
+ case 32:
198
219
  this.enterOuterAlt(localctx, 4);
199
- this.state = 66;
220
+ this.state = 70;
200
221
  this.setDeployment();
201
222
  break;
202
223
  default:
@@ -223,25 +244,25 @@ export default class GISGrammarParser extends antlr4.Parser {
223
244
  this.enterRule(localctx, 4, GISGrammarParser.RULE_createStatement);
224
245
  try {
225
246
  this.enterOuterAlt(localctx, 1);
226
- this.state = 69;
227
- this.match(GISGrammarParser.CREATE_SYMBOL);
228
247
  this.state = 73;
248
+ this.match(GISGrammarParser.CREATE_SYMBOL);
249
+ this.state = 77;
229
250
  this._errHandler.sync(this);
230
251
  switch(this._input.LA(1)) {
231
252
  case 2:
232
- this.state = 70;
253
+ this.state = 74;
233
254
  this.createGIS();
234
255
  break;
235
256
  case 3:
236
- this.state = 71;
257
+ this.state = 75;
237
258
  this.createEntity();
238
259
  break;
239
260
  case 15:
240
261
  case 16:
241
- case 25:
242
- case 29:
262
+ case 26:
243
263
  case 30:
244
- this.state = 72;
264
+ case 31:
265
+ this.state = 76;
245
266
  this.createLayer();
246
267
  break;
247
268
  default:
@@ -268,15 +289,15 @@ export default class GISGrammarParser extends antlr4.Parser {
268
289
  this.enterRule(localctx, 6, GISGrammarParser.RULE_createGIS);
269
290
  try {
270
291
  this.enterOuterAlt(localctx, 1);
271
- this.state = 75;
292
+ this.state = 79;
272
293
  this.match(GISGrammarParser.GIS_SYMBOL);
273
- this.state = 76;
294
+ this.state = 80;
274
295
  this.identifier();
275
- this.state = 77;
296
+ this.state = 81;
276
297
  this.match(GISGrammarParser.USING_SYMBOL);
277
- this.state = 78;
298
+ this.state = 82;
278
299
  this.srid();
279
- this.state = 79;
300
+ this.state = 83;
280
301
  this.match(GISGrammarParser.SCOL_SYMBOL);
281
302
  } catch (re) {
282
303
  if(re instanceof antlr4.error.RecognitionException) {
@@ -300,29 +321,29 @@ export default class GISGrammarParser extends antlr4.Parser {
300
321
  var _la = 0;
301
322
  try {
302
323
  this.enterOuterAlt(localctx, 1);
303
- this.state = 81;
324
+ this.state = 85;
304
325
  this.match(GISGrammarParser.ENTITY_SYMBOL);
305
- this.state = 82;
326
+ this.state = 86;
306
327
  this.identifier();
307
- this.state = 83;
328
+ this.state = 87;
308
329
  this.match(GISGrammarParser.OPAR_SYMBOL);
309
- this.state = 84;
330
+ this.state = 88;
310
331
  this.property();
311
- this.state = 89;
332
+ this.state = 93;
312
333
  this._errHandler.sync(this);
313
334
  _la = this._input.LA(1);
314
- while(_la===42) {
315
- this.state = 85;
335
+ while(_la===43) {
336
+ this.state = 89;
316
337
  this.match(GISGrammarParser.COMMA_SYMBOL);
317
- this.state = 86;
338
+ this.state = 90;
318
339
  this.property();
319
- this.state = 91;
340
+ this.state = 95;
320
341
  this._errHandler.sync(this);
321
342
  _la = this._input.LA(1);
322
343
  }
323
- this.state = 92;
344
+ this.state = 96;
324
345
  this.match(GISGrammarParser.CPAR_SYMBOL);
325
- this.state = 93;
346
+ this.state = 97;
326
347
  this.match(GISGrammarParser.SCOL_SYMBOL);
327
348
  } catch (re) {
328
349
  if(re instanceof antlr4.error.RecognitionException) {
@@ -344,43 +365,43 @@ export default class GISGrammarParser extends antlr4.Parser {
344
365
  let localctx = new CreateLayerContext(this, this._ctx, this.state);
345
366
  this.enterRule(localctx, 10, GISGrammarParser.RULE_createLayer);
346
367
  try {
347
- this.state = 101;
368
+ this.state = 105;
348
369
  this._errHandler.sync(this);
349
370
  var la_ = this._interp.adaptivePredict(this._input,4,this._ctx);
350
371
  switch(la_) {
351
372
  case 1:
352
373
  this.enterOuterAlt(localctx, 1);
353
- this.state = 95;
374
+ this.state = 99;
354
375
  this.createTileLayer();
355
376
  break;
356
377
 
357
378
  case 2:
358
379
  this.enterOuterAlt(localctx, 2);
359
- this.state = 96;
380
+ this.state = 100;
360
381
  this.createGeoJSONLayer();
361
382
  break;
362
383
 
363
384
  case 3:
364
385
  this.enterOuterAlt(localctx, 3);
365
- this.state = 97;
386
+ this.state = 101;
366
387
  this.createWmsStyle();
367
388
  break;
368
389
 
369
390
  case 4:
370
391
  this.enterOuterAlt(localctx, 4);
371
- this.state = 98;
392
+ this.state = 102;
372
393
  this.createWmsLayer();
373
394
  break;
374
395
 
375
396
  case 5:
376
397
  this.enterOuterAlt(localctx, 5);
377
- this.state = 99;
398
+ this.state = 103;
378
399
  this.createMap();
379
400
  break;
380
401
 
381
402
  case 6:
382
403
  this.enterOuterAlt(localctx, 6);
383
- this.state = 100;
404
+ this.state = 104;
384
405
  this.createSortableMap();
385
406
  break;
386
407
 
@@ -407,31 +428,31 @@ export default class GISGrammarParser extends antlr4.Parser {
407
428
  var _la = 0;
408
429
  try {
409
430
  this.enterOuterAlt(localctx, 1);
410
- this.state = 103;
431
+ this.state = 107;
411
432
  this.match(GISGrammarParser.TILE_SYMBOL);
412
- this.state = 104;
433
+ this.state = 108;
413
434
  this.match(GISGrammarParser.LAYER_SYMBOL);
414
- this.state = 105;
435
+ this.state = 109;
415
436
  this.identifier();
416
- this.state = 108;
437
+ this.state = 112;
417
438
  this._errHandler.sync(this);
418
439
  _la = this._input.LA(1);
419
- if(_la===17) {
420
- this.state = 106;
440
+ if(_la===18) {
441
+ this.state = 110;
421
442
  this.match(GISGrammarParser.AS_SYMBOL);
422
- this.state = 107;
443
+ this.state = 111;
423
444
  this.text();
424
445
  }
425
446
 
426
- this.state = 110;
447
+ this.state = 114;
427
448
  this.match(GISGrammarParser.OPAR_SYMBOL);
428
- this.state = 111;
449
+ this.state = 115;
429
450
  this.match(GISGrammarParser.URL_SYMBOL);
430
- this.state = 112;
451
+ this.state = 116;
431
452
  this.text();
432
- this.state = 113;
453
+ this.state = 117;
433
454
  this.match(GISGrammarParser.CPAR_SYMBOL);
434
- this.state = 114;
455
+ this.state = 118;
435
456
  this.match(GISGrammarParser.SCOL_SYMBOL);
436
457
  } catch (re) {
437
458
  if(re instanceof antlr4.error.RecognitionException) {
@@ -455,61 +476,61 @@ export default class GISGrammarParser extends antlr4.Parser {
455
476
  var _la = 0;
456
477
  try {
457
478
  this.enterOuterAlt(localctx, 1);
458
- this.state = 116;
479
+ this.state = 120;
459
480
  this.match(GISGrammarParser.GEOJSON_SYMBOL);
460
- this.state = 117;
481
+ this.state = 121;
461
482
  this.match(GISGrammarParser.LAYER_SYMBOL);
462
- this.state = 118;
483
+ this.state = 122;
463
484
  this.identifier();
464
- this.state = 121;
485
+ this.state = 125;
465
486
  this._errHandler.sync(this);
466
487
  _la = this._input.LA(1);
467
- if(_la===17) {
468
- this.state = 119;
488
+ if(_la===18) {
489
+ this.state = 123;
469
490
  this.match(GISGrammarParser.AS_SYMBOL);
470
- this.state = 120;
491
+ this.state = 124;
471
492
  this.text();
472
493
  }
473
494
 
474
- this.state = 123;
495
+ this.state = 127;
475
496
  this.match(GISGrammarParser.OPAR_SYMBOL);
476
- this.state = 124;
497
+ this.state = 128;
477
498
  this.identifier();
478
- this.state = 126;
499
+ this.state = 130;
479
500
  this._errHandler.sync(this);
480
501
  _la = this._input.LA(1);
481
- if(_la===20) {
482
- this.state = 125;
502
+ if(_la===21) {
503
+ this.state = 129;
483
504
  this.match(GISGrammarParser.EDITABLE_SYMBOL);
484
505
  }
485
506
 
486
- this.state = 128;
507
+ this.state = 132;
487
508
  this.match(GISGrammarParser.COMMA_SYMBOL);
488
- this.state = 129;
509
+ this.state = 133;
489
510
  this.match(GISGrammarParser.FILL_COLOR_SYMBOL);
490
- this.state = 130;
511
+ this.state = 134;
491
512
  this.hexColor();
492
- this.state = 131;
513
+ this.state = 135;
493
514
  this.match(GISGrammarParser.COMMA_SYMBOL);
494
- this.state = 132;
515
+ this.state = 136;
495
516
  this.match(GISGrammarParser.STROKE_COLOR_SYMBOL);
496
- this.state = 133;
517
+ this.state = 137;
497
518
  this.hexColor();
498
- this.state = 134;
519
+ this.state = 138;
499
520
  this.match(GISGrammarParser.COMMA_SYMBOL);
500
- this.state = 135;
521
+ this.state = 139;
501
522
  this.match(GISGrammarParser.FILL_OPACITY_SYMBOL);
502
- this.state = 136;
523
+ this.state = 140;
503
524
  this.floatNumber();
504
- this.state = 137;
525
+ this.state = 141;
505
526
  this.match(GISGrammarParser.COMMA_SYMBOL);
506
- this.state = 138;
527
+ this.state = 142;
507
528
  this.match(GISGrammarParser.STROKE_OPACITY_SYMBOL);
508
- this.state = 139;
529
+ this.state = 143;
509
530
  this.floatNumber();
510
- this.state = 140;
531
+ this.state = 144;
511
532
  this.match(GISGrammarParser.CPAR_SYMBOL);
512
- this.state = 141;
533
+ this.state = 145;
513
534
  this.match(GISGrammarParser.SCOL_SYMBOL);
514
535
  } catch (re) {
515
536
  if(re instanceof antlr4.error.RecognitionException) {
@@ -527,26 +548,177 @@ export default class GISGrammarParser extends antlr4.Parser {
527
548
 
528
549
 
529
550
 
551
+ sldCustomBody() {
552
+ let localctx = new SldCustomBodyContext(this, this._ctx, this.state);
553
+ this.enterRule(localctx, 16, GISGrammarParser.RULE_sldCustomBody);
554
+ var _la = 0;
555
+ try {
556
+ this.enterOuterAlt(localctx, 1);
557
+ this.state = 147;
558
+ this.match(GISGrammarParser.GEOMETRY_TYPE_SYMBOL);
559
+ this.state = 148;
560
+ this.match(GISGrammarParser.TYPE);
561
+ this.state = 149;
562
+ this.match(GISGrammarParser.COMMA_SYMBOL);
563
+ this.state = 151;
564
+ this._errHandler.sync(this);
565
+ _la = this._input.LA(1);
566
+ if(_la===22) {
567
+ this.state = 150;
568
+ this.match(GISGrammarParser.FILL_COLOR_SYMBOL);
569
+ }
570
+
571
+ this.state = 154;
572
+ this._errHandler.sync(this);
573
+ var la_ = this._interp.adaptivePredict(this._input,9,this._ctx);
574
+ if(la_===1) {
575
+ this.state = 153;
576
+ this.hexColor();
577
+
578
+ }
579
+ this.state = 157;
580
+ this._errHandler.sync(this);
581
+ var la_ = this._interp.adaptivePredict(this._input,10,this._ctx);
582
+ if(la_===1) {
583
+ this.state = 156;
584
+ this.match(GISGrammarParser.COMMA_SYMBOL);
585
+
586
+ }
587
+ this.state = 160;
588
+ this._errHandler.sync(this);
589
+ _la = this._input.LA(1);
590
+ if(_la===23) {
591
+ this.state = 159;
592
+ this.match(GISGrammarParser.STROKE_COLOR_SYMBOL);
593
+ }
594
+
595
+ this.state = 163;
596
+ this._errHandler.sync(this);
597
+ _la = this._input.LA(1);
598
+ if(_la===45) {
599
+ this.state = 162;
600
+ this.hexColor();
601
+ }
602
+
603
+ this.state = 166;
604
+ this._errHandler.sync(this);
605
+ var la_ = this._interp.adaptivePredict(this._input,13,this._ctx);
606
+ if(la_===1) {
607
+ this.state = 165;
608
+ this.match(GISGrammarParser.COMMA_SYMBOL);
609
+
610
+ }
611
+ this.state = 169;
612
+ this._errHandler.sync(this);
613
+ _la = this._input.LA(1);
614
+ if(_la===24) {
615
+ this.state = 168;
616
+ this.match(GISGrammarParser.FILL_OPACITY_SYMBOL);
617
+ }
618
+
619
+ this.state = 173;
620
+ this._errHandler.sync(this);
621
+ var la_ = this._interp.adaptivePredict(this._input,15,this._ctx);
622
+ if(la_===1) {
623
+ this.state = 171;
624
+ this.floatNumber();
625
+
626
+ } else if(la_===2) {
627
+ this.state = 172;
628
+ this.intNumber();
629
+
630
+ }
631
+ this.state = 176;
632
+ this._errHandler.sync(this);
633
+ _la = this._input.LA(1);
634
+ if(_la===43) {
635
+ this.state = 175;
636
+ this.match(GISGrammarParser.COMMA_SYMBOL);
637
+ }
638
+
639
+ this.state = 179;
640
+ this._errHandler.sync(this);
641
+ _la = this._input.LA(1);
642
+ if(_la===25) {
643
+ this.state = 178;
644
+ this.match(GISGrammarParser.STROKE_OPACITY_SYMBOL);
645
+ }
646
+
647
+ this.state = 183;
648
+ this._errHandler.sync(this);
649
+ switch (this._input.LA(1)) {
650
+ case 47:
651
+ this.state = 181;
652
+ this.floatNumber();
653
+ break;
654
+ case 46:
655
+ this.state = 182;
656
+ this.intNumber();
657
+ break;
658
+ case 42:
659
+ break;
660
+ default:
661
+ break;
662
+ }
663
+ } catch (re) {
664
+ if(re instanceof antlr4.error.RecognitionException) {
665
+ localctx.exception = re;
666
+ this._errHandler.reportError(this, re);
667
+ this._errHandler.recover(this, re);
668
+ } else {
669
+ throw re;
670
+ }
671
+ } finally {
672
+ this.exitRule();
673
+ }
674
+ return localctx;
675
+ }
676
+
677
+
678
+
530
679
  createWmsStyle() {
531
680
  let localctx = new CreateWmsStyleContext(this, this._ctx, this.state);
532
- this.enterRule(localctx, 16, GISGrammarParser.RULE_createWmsStyle);
681
+ this.enterRule(localctx, 18, GISGrammarParser.RULE_createWmsStyle);
682
+ var _la = 0;
533
683
  try {
534
684
  this.enterOuterAlt(localctx, 1);
535
- this.state = 143;
685
+ this.state = 185;
536
686
  this.match(GISGrammarParser.WMS_SYMBOL);
537
- this.state = 144;
687
+ this.state = 186;
538
688
  this.match(GISGrammarParser.STYLE_SYMBOL);
539
- this.state = 145;
689
+ this.state = 187;
540
690
  this.identifier();
541
- this.state = 146;
691
+ this.state = 188;
542
692
  this.match(GISGrammarParser.OPAR_SYMBOL);
543
- this.state = 147;
544
- this.match(GISGrammarParser.SLD_SYMBOL);
545
- this.state = 148;
546
- this.text();
547
- this.state = 149;
693
+ this.state = 191;
694
+ this._errHandler.sync(this);
695
+ _la = this._input.LA(1);
696
+ if(_la===20) {
697
+ this.state = 189;
698
+ this.match(GISGrammarParser.SLD_SYMBOL);
699
+ this.state = 190;
700
+ this.text();
701
+ }
702
+
703
+ this.state = 194;
704
+ this._errHandler.sync(this);
705
+ _la = this._input.LA(1);
706
+ if(_la===43) {
707
+ this.state = 193;
708
+ this.match(GISGrammarParser.COMMA_SYMBOL);
709
+ }
710
+
711
+ this.state = 197;
712
+ this._errHandler.sync(this);
713
+ _la = this._input.LA(1);
714
+ if(_la===17) {
715
+ this.state = 196;
716
+ this.sldCustomBody();
717
+ }
718
+
719
+ this.state = 199;
548
720
  this.match(GISGrammarParser.CPAR_SYMBOL);
549
- this.state = 150;
721
+ this.state = 200;
550
722
  this.match(GISGrammarParser.SCOL_SYMBOL);
551
723
  } catch (re) {
552
724
  if(re instanceof antlr4.error.RecognitionException) {
@@ -566,45 +738,45 @@ export default class GISGrammarParser extends antlr4.Parser {
566
738
 
567
739
  createWmsLayer() {
568
740
  let localctx = new CreateWmsLayerContext(this, this._ctx, this.state);
569
- this.enterRule(localctx, 18, GISGrammarParser.RULE_createWmsLayer);
741
+ this.enterRule(localctx, 20, GISGrammarParser.RULE_createWmsLayer);
570
742
  var _la = 0;
571
743
  try {
572
744
  this.enterOuterAlt(localctx, 1);
573
- this.state = 152;
745
+ this.state = 202;
574
746
  this.match(GISGrammarParser.WMS_SYMBOL);
575
- this.state = 153;
747
+ this.state = 203;
576
748
  this.match(GISGrammarParser.LAYER_SYMBOL);
577
- this.state = 154;
749
+ this.state = 204;
578
750
  this.identifier();
579
- this.state = 157;
751
+ this.state = 207;
580
752
  this._errHandler.sync(this);
581
753
  _la = this._input.LA(1);
582
- if(_la===17) {
583
- this.state = 155;
754
+ if(_la===18) {
755
+ this.state = 205;
584
756
  this.match(GISGrammarParser.AS_SYMBOL);
585
- this.state = 156;
757
+ this.state = 206;
586
758
  this.text();
587
759
  }
588
760
 
589
- this.state = 159;
761
+ this.state = 209;
590
762
  this.match(GISGrammarParser.OPAR_SYMBOL);
591
- this.state = 160;
763
+ this.state = 210;
592
764
  this.wmsSubLayer();
593
- this.state = 165;
765
+ this.state = 215;
594
766
  this._errHandler.sync(this);
595
767
  _la = this._input.LA(1);
596
- while(_la===42) {
597
- this.state = 161;
768
+ while(_la===43) {
769
+ this.state = 211;
598
770
  this.match(GISGrammarParser.COMMA_SYMBOL);
599
- this.state = 162;
771
+ this.state = 212;
600
772
  this.wmsSubLayer();
601
- this.state = 167;
773
+ this.state = 217;
602
774
  this._errHandler.sync(this);
603
775
  _la = this._input.LA(1);
604
776
  }
605
- this.state = 168;
777
+ this.state = 218;
606
778
  this.match(GISGrammarParser.CPAR_SYMBOL);
607
- this.state = 169;
779
+ this.state = 219;
608
780
  this.match(GISGrammarParser.SCOL_SYMBOL);
609
781
  } catch (re) {
610
782
  if(re instanceof antlr4.error.RecognitionException) {
@@ -624,12 +796,12 @@ export default class GISGrammarParser extends antlr4.Parser {
624
796
 
625
797
  wmsSubLayer() {
626
798
  let localctx = new WmsSubLayerContext(this, this._ctx, this.state);
627
- this.enterRule(localctx, 20, GISGrammarParser.RULE_wmsSubLayer);
799
+ this.enterRule(localctx, 22, GISGrammarParser.RULE_wmsSubLayer);
628
800
  try {
629
801
  this.enterOuterAlt(localctx, 1);
630
- this.state = 171;
802
+ this.state = 221;
631
803
  this.identifier();
632
- this.state = 172;
804
+ this.state = 222;
633
805
  this.identifier();
634
806
  } catch (re) {
635
807
  if(re instanceof antlr4.error.RecognitionException) {
@@ -649,12 +821,12 @@ export default class GISGrammarParser extends antlr4.Parser {
649
821
 
650
822
  createSortableMap() {
651
823
  let localctx = new CreateSortableMapContext(this, this._ctx, this.state);
652
- this.enterRule(localctx, 22, GISGrammarParser.RULE_createSortableMap);
824
+ this.enterRule(localctx, 24, GISGrammarParser.RULE_createSortableMap);
653
825
  try {
654
826
  this.enterOuterAlt(localctx, 1);
655
- this.state = 174;
827
+ this.state = 224;
656
828
  this.match(GISGrammarParser.SORTABLE_SYMBOL);
657
- this.state = 175;
829
+ this.state = 225;
658
830
  this.createMap();
659
831
  } catch (re) {
660
832
  if(re instanceof antlr4.error.RecognitionException) {
@@ -674,43 +846,43 @@ export default class GISGrammarParser extends antlr4.Parser {
674
846
 
675
847
  createMap() {
676
848
  let localctx = new CreateMapContext(this, this._ctx, this.state);
677
- this.enterRule(localctx, 24, GISGrammarParser.RULE_createMap);
849
+ this.enterRule(localctx, 26, GISGrammarParser.RULE_createMap);
678
850
  var _la = 0;
679
851
  try {
680
852
  this.enterOuterAlt(localctx, 1);
681
- this.state = 177;
853
+ this.state = 227;
682
854
  this.match(GISGrammarParser.MAP_SYMBOL);
683
- this.state = 178;
855
+ this.state = 228;
684
856
  this.identifier();
685
- this.state = 181;
857
+ this.state = 231;
686
858
  this._errHandler.sync(this);
687
859
  _la = this._input.LA(1);
688
- if(_la===17) {
689
- this.state = 179;
860
+ if(_la===18) {
861
+ this.state = 229;
690
862
  this.match(GISGrammarParser.AS_SYMBOL);
691
- this.state = 180;
863
+ this.state = 230;
692
864
  this.text();
693
865
  }
694
866
 
695
- this.state = 183;
867
+ this.state = 233;
696
868
  this.match(GISGrammarParser.OPAR_SYMBOL);
697
- this.state = 184;
869
+ this.state = 234;
698
870
  this.mapLayer();
699
- this.state = 189;
871
+ this.state = 239;
700
872
  this._errHandler.sync(this);
701
873
  _la = this._input.LA(1);
702
- while(_la===42) {
703
- this.state = 185;
874
+ while(_la===43) {
875
+ this.state = 235;
704
876
  this.match(GISGrammarParser.COMMA_SYMBOL);
705
- this.state = 186;
877
+ this.state = 236;
706
878
  this.mapLayer();
707
- this.state = 191;
879
+ this.state = 241;
708
880
  this._errHandler.sync(this);
709
881
  _la = this._input.LA(1);
710
882
  }
711
- this.state = 192;
883
+ this.state = 242;
712
884
  this.match(GISGrammarParser.CPAR_SYMBOL);
713
- this.state = 193;
885
+ this.state = 243;
714
886
  this.match(GISGrammarParser.SCOL_SYMBOL);
715
887
  } catch (re) {
716
888
  if(re instanceof antlr4.error.RecognitionException) {
@@ -730,25 +902,25 @@ export default class GISGrammarParser extends antlr4.Parser {
730
902
 
731
903
  mapLayer() {
732
904
  let localctx = new MapLayerContext(this, this._ctx, this.state);
733
- this.enterRule(localctx, 26, GISGrammarParser.RULE_mapLayer);
905
+ this.enterRule(localctx, 28, GISGrammarParser.RULE_mapLayer);
734
906
  var _la = 0;
735
907
  try {
736
908
  this.enterOuterAlt(localctx, 1);
737
- this.state = 195;
909
+ this.state = 245;
738
910
  this.identifier();
739
- this.state = 197;
911
+ this.state = 247;
740
912
  this._errHandler.sync(this);
741
913
  _la = this._input.LA(1);
742
- if(_la===27) {
743
- this.state = 196;
914
+ if(_la===28) {
915
+ this.state = 246;
744
916
  this.match(GISGrammarParser.IS_BASE_LAYER_SYMBOL);
745
917
  }
746
918
 
747
- this.state = 200;
919
+ this.state = 250;
748
920
  this._errHandler.sync(this);
749
921
  _la = this._input.LA(1);
750
- if(_la===28) {
751
- this.state = 199;
922
+ if(_la===29) {
923
+ this.state = 249;
752
924
  this.match(GISGrammarParser.HIDDEN_SYMBOL);
753
925
  }
754
926
 
@@ -770,16 +942,16 @@ export default class GISGrammarParser extends antlr4.Parser {
770
942
 
771
943
  useGIS() {
772
944
  let localctx = new UseGISContext(this, this._ctx, this.state);
773
- this.enterRule(localctx, 28, GISGrammarParser.RULE_useGIS);
945
+ this.enterRule(localctx, 30, GISGrammarParser.RULE_useGIS);
774
946
  try {
775
947
  this.enterOuterAlt(localctx, 1);
776
- this.state = 202;
948
+ this.state = 252;
777
949
  this.match(GISGrammarParser.USE_SYMBOL);
778
- this.state = 203;
950
+ this.state = 253;
779
951
  this.match(GISGrammarParser.GIS_SYMBOL);
780
- this.state = 204;
952
+ this.state = 254;
781
953
  this.identifier();
782
- this.state = 205;
954
+ this.state = 255;
783
955
  this.match(GISGrammarParser.SCOL_SYMBOL);
784
956
  } catch (re) {
785
957
  if(re instanceof antlr4.error.RecognitionException) {
@@ -799,16 +971,16 @@ export default class GISGrammarParser extends antlr4.Parser {
799
971
 
800
972
  generateGIS() {
801
973
  let localctx = new GenerateGISContext(this, this._ctx, this.state);
802
- this.enterRule(localctx, 30, GISGrammarParser.RULE_generateGIS);
974
+ this.enterRule(localctx, 32, GISGrammarParser.RULE_generateGIS);
803
975
  try {
804
976
  this.enterOuterAlt(localctx, 1);
805
- this.state = 207;
977
+ this.state = 257;
806
978
  this.match(GISGrammarParser.GENERATE_SYMBOL);
807
- this.state = 208;
979
+ this.state = 258;
808
980
  this.match(GISGrammarParser.GIS_SYMBOL);
809
- this.state = 209;
981
+ this.state = 259;
810
982
  this.identifier();
811
- this.state = 210;
983
+ this.state = 260;
812
984
  this.match(GISGrammarParser.SCOL_SYMBOL);
813
985
  } catch (re) {
814
986
  if(re instanceof antlr4.error.RecognitionException) {
@@ -828,33 +1000,33 @@ export default class GISGrammarParser extends antlr4.Parser {
828
1000
 
829
1001
  setDeployment() {
830
1002
  let localctx = new SetDeploymentContext(this, this._ctx, this.state);
831
- this.enterRule(localctx, 32, GISGrammarParser.RULE_setDeployment);
1003
+ this.enterRule(localctx, 34, GISGrammarParser.RULE_setDeployment);
832
1004
  var _la = 0;
833
1005
  try {
834
1006
  this.enterOuterAlt(localctx, 1);
835
- this.state = 212;
1007
+ this.state = 262;
836
1008
  this.match(GISGrammarParser.SET_SYMBOL);
837
- this.state = 213;
1009
+ this.state = 263;
838
1010
  this.match(GISGrammarParser.DEPLOYMENT_SYMBOL);
839
- this.state = 214;
1011
+ this.state = 264;
840
1012
  this.match(GISGrammarParser.OPAR_SYMBOL);
841
- this.state = 215;
1013
+ this.state = 265;
842
1014
  this.deploymentProperty();
843
- this.state = 220;
1015
+ this.state = 270;
844
1016
  this._errHandler.sync(this);
845
1017
  _la = this._input.LA(1);
846
- while(_la===42) {
847
- this.state = 216;
1018
+ while(_la===43) {
1019
+ this.state = 266;
848
1020
  this.match(GISGrammarParser.COMMA_SYMBOL);
849
- this.state = 217;
1021
+ this.state = 267;
850
1022
  this.deploymentProperty();
851
- this.state = 222;
1023
+ this.state = 272;
852
1024
  this._errHandler.sync(this);
853
1025
  _la = this._input.LA(1);
854
1026
  }
855
- this.state = 223;
1027
+ this.state = 273;
856
1028
  this.match(GISGrammarParser.CPAR_SYMBOL);
857
- this.state = 224;
1029
+ this.state = 274;
858
1030
  this.match(GISGrammarParser.SCOL_SYMBOL);
859
1031
  } catch (re) {
860
1032
  if(re instanceof antlr4.error.RecognitionException) {
@@ -874,12 +1046,12 @@ export default class GISGrammarParser extends antlr4.Parser {
874
1046
 
875
1047
  deploymentProperty() {
876
1048
  let localctx = new DeploymentPropertyContext(this, this._ctx, this.state);
877
- this.enterRule(localctx, 34, GISGrammarParser.RULE_deploymentProperty);
1049
+ this.enterRule(localctx, 36, GISGrammarParser.RULE_deploymentProperty);
878
1050
  try {
879
1051
  this.enterOuterAlt(localctx, 1);
880
- this.state = 226;
1052
+ this.state = 276;
881
1053
  this.text();
882
- this.state = 227;
1054
+ this.state = 277;
883
1055
  this.text();
884
1056
  } catch (re) {
885
1057
  if(re instanceof antlr4.error.RecognitionException) {
@@ -899,21 +1071,21 @@ export default class GISGrammarParser extends antlr4.Parser {
899
1071
 
900
1072
  property() {
901
1073
  let localctx = new PropertyContext(this, this._ctx, this.state);
902
- this.enterRule(localctx, 36, GISGrammarParser.RULE_property);
1074
+ this.enterRule(localctx, 38, GISGrammarParser.RULE_property);
903
1075
  try {
904
- this.state = 231;
1076
+ this.state = 281;
905
1077
  this._errHandler.sync(this);
906
- var la_ = this._interp.adaptivePredict(this._input,15,this._ctx);
1078
+ var la_ = this._interp.adaptivePredict(this._input,29,this._ctx);
907
1079
  switch(la_) {
908
1080
  case 1:
909
1081
  this.enterOuterAlt(localctx, 1);
910
- this.state = 229;
1082
+ this.state = 279;
911
1083
  this.propertyDefinition();
912
1084
  break;
913
1085
 
914
1086
  case 2:
915
1087
  this.enterOuterAlt(localctx, 2);
916
- this.state = 230;
1088
+ this.state = 280;
917
1089
  this.relationshipDefinition();
918
1090
  break;
919
1091
 
@@ -936,19 +1108,19 @@ export default class GISGrammarParser extends antlr4.Parser {
936
1108
 
937
1109
  propertyDefinition() {
938
1110
  let localctx = new PropertyDefinitionContext(this, this._ctx, this.state);
939
- this.enterRule(localctx, 38, GISGrammarParser.RULE_propertyDefinition);
1111
+ this.enterRule(localctx, 40, GISGrammarParser.RULE_propertyDefinition);
940
1112
  var _la = 0;
941
1113
  try {
942
1114
  this.enterOuterAlt(localctx, 1);
943
- this.state = 233;
1115
+ this.state = 283;
944
1116
  this.identifier();
945
- this.state = 234;
1117
+ this.state = 284;
946
1118
  this.match(GISGrammarParser.TYPE);
947
- this.state = 238;
1119
+ this.state = 288;
948
1120
  this._errHandler.sync(this);
949
1121
  _la = this._input.LA(1);
950
1122
  while((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0)) {
951
- this.state = 235;
1123
+ this.state = 285;
952
1124
  _la = this._input.LA(1);
953
1125
  if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0))) {
954
1126
  this._errHandler.recoverInline(this);
@@ -957,7 +1129,7 @@ export default class GISGrammarParser extends antlr4.Parser {
957
1129
  this._errHandler.reportMatch(this);
958
1130
  this.consume();
959
1131
  }
960
- this.state = 240;
1132
+ this.state = 290;
961
1133
  this._errHandler.sync(this);
962
1134
  _la = this._input.LA(1);
963
1135
  }
@@ -979,21 +1151,21 @@ export default class GISGrammarParser extends antlr4.Parser {
979
1151
 
980
1152
  relationshipDefinition() {
981
1153
  let localctx = new RelationshipDefinitionContext(this, this._ctx, this.state);
982
- this.enterRule(localctx, 40, GISGrammarParser.RULE_relationshipDefinition);
1154
+ this.enterRule(localctx, 42, GISGrammarParser.RULE_relationshipDefinition);
983
1155
  try {
984
- this.state = 243;
1156
+ this.state = 293;
985
1157
  this._errHandler.sync(this);
986
- var la_ = this._interp.adaptivePredict(this._input,17,this._ctx);
1158
+ var la_ = this._interp.adaptivePredict(this._input,31,this._ctx);
987
1159
  switch(la_) {
988
1160
  case 1:
989
1161
  this.enterOuterAlt(localctx, 1);
990
- this.state = 241;
1162
+ this.state = 291;
991
1163
  this.ownedRelationshipDefinition();
992
1164
  break;
993
1165
 
994
1166
  case 2:
995
1167
  this.enterOuterAlt(localctx, 2);
996
- this.state = 242;
1168
+ this.state = 292;
997
1169
  this.mappedRelationshipDefinition();
998
1170
  break;
999
1171
 
@@ -1016,18 +1188,18 @@ export default class GISGrammarParser extends antlr4.Parser {
1016
1188
 
1017
1189
  mappedRelationshipDefinition() {
1018
1190
  let localctx = new MappedRelationshipDefinitionContext(this, this._ctx, this.state);
1019
- this.enterRule(localctx, 42, GISGrammarParser.RULE_mappedRelationshipDefinition);
1191
+ this.enterRule(localctx, 44, GISGrammarParser.RULE_mappedRelationshipDefinition);
1020
1192
  try {
1021
1193
  this.enterOuterAlt(localctx, 1);
1022
- this.state = 245;
1194
+ this.state = 295;
1023
1195
  this.identifier();
1024
- this.state = 246;
1196
+ this.state = 296;
1025
1197
  this.identifier();
1026
- this.state = 247;
1198
+ this.state = 297;
1027
1199
  this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
1028
- this.state = 248;
1200
+ this.state = 298;
1029
1201
  this.match(GISGrammarParser.MAPPEDBY_SYMBOL);
1030
- this.state = 249;
1202
+ this.state = 299;
1031
1203
  this.identifier();
1032
1204
  } catch (re) {
1033
1205
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1047,31 +1219,31 @@ export default class GISGrammarParser extends antlr4.Parser {
1047
1219
 
1048
1220
  ownedRelationshipDefinition() {
1049
1221
  let localctx = new OwnedRelationshipDefinitionContext(this, this._ctx, this.state);
1050
- this.enterRule(localctx, 44, GISGrammarParser.RULE_ownedRelationshipDefinition);
1222
+ this.enterRule(localctx, 46, GISGrammarParser.RULE_ownedRelationshipDefinition);
1051
1223
  var _la = 0;
1052
1224
  try {
1053
1225
  this.enterOuterAlt(localctx, 1);
1054
- this.state = 251;
1226
+ this.state = 301;
1055
1227
  this.identifier();
1056
- this.state = 252;
1228
+ this.state = 302;
1057
1229
  this.identifier();
1058
- this.state = 253;
1230
+ this.state = 303;
1059
1231
  this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
1060
- this.state = 254;
1232
+ this.state = 304;
1061
1233
  this.match(GISGrammarParser.OPAR_SYMBOL);
1062
- this.state = 255;
1234
+ this.state = 305;
1063
1235
  this.cardinality();
1064
- this.state = 256;
1236
+ this.state = 306;
1065
1237
  this.match(GISGrammarParser.COMMA_SYMBOL);
1066
- this.state = 257;
1238
+ this.state = 307;
1067
1239
  this.cardinality();
1068
- this.state = 258;
1240
+ this.state = 308;
1069
1241
  this.match(GISGrammarParser.CPAR_SYMBOL);
1070
- this.state = 260;
1242
+ this.state = 310;
1071
1243
  this._errHandler.sync(this);
1072
1244
  _la = this._input.LA(1);
1073
1245
  if(_la===12) {
1074
- this.state = 259;
1246
+ this.state = 309;
1075
1247
  this.match(GISGrammarParser.BIDIRECTIONAL_SYMBOL);
1076
1248
  }
1077
1249
 
@@ -1093,13 +1265,13 @@ export default class GISGrammarParser extends antlr4.Parser {
1093
1265
 
1094
1266
  cardinality() {
1095
1267
  let localctx = new CardinalityContext(this, this._ctx, this.state);
1096
- this.enterRule(localctx, 46, GISGrammarParser.RULE_cardinality);
1268
+ this.enterRule(localctx, 48, GISGrammarParser.RULE_cardinality);
1097
1269
  var _la = 0;
1098
1270
  try {
1099
1271
  this.enterOuterAlt(localctx, 1);
1100
- this.state = 262;
1272
+ this.state = 312;
1101
1273
  _la = this._input.LA(1);
1102
- if(!(((((_la - 33)) & ~0x1f) === 0 && ((1 << (_la - 33)) & 15) !== 0))) {
1274
+ if(!(((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 15) !== 0))) {
1103
1275
  this._errHandler.recoverInline(this);
1104
1276
  }
1105
1277
  else {
@@ -1124,10 +1296,10 @@ export default class GISGrammarParser extends antlr4.Parser {
1124
1296
 
1125
1297
  srid() {
1126
1298
  let localctx = new SridContext(this, this._ctx, this.state);
1127
- this.enterRule(localctx, 48, GISGrammarParser.RULE_srid);
1299
+ this.enterRule(localctx, 50, GISGrammarParser.RULE_srid);
1128
1300
  try {
1129
1301
  this.enterOuterAlt(localctx, 1);
1130
- this.state = 264;
1302
+ this.state = 314;
1131
1303
  this.match(GISGrammarParser.INT_NUMBER);
1132
1304
  } catch (re) {
1133
1305
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1147,10 +1319,10 @@ export default class GISGrammarParser extends antlr4.Parser {
1147
1319
 
1148
1320
  identifier() {
1149
1321
  let localctx = new IdentifierContext(this, this._ctx, this.state);
1150
- this.enterRule(localctx, 50, GISGrammarParser.RULE_identifier);
1322
+ this.enterRule(localctx, 52, GISGrammarParser.RULE_identifier);
1151
1323
  try {
1152
1324
  this.enterOuterAlt(localctx, 1);
1153
- this.state = 266;
1325
+ this.state = 316;
1154
1326
  this.match(GISGrammarParser.IDENTIFIER);
1155
1327
  } catch (re) {
1156
1328
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1170,10 +1342,10 @@ export default class GISGrammarParser extends antlr4.Parser {
1170
1342
 
1171
1343
  text() {
1172
1344
  let localctx = new TextContext(this, this._ctx, this.state);
1173
- this.enterRule(localctx, 52, GISGrammarParser.RULE_text);
1345
+ this.enterRule(localctx, 54, GISGrammarParser.RULE_text);
1174
1346
  try {
1175
1347
  this.enterOuterAlt(localctx, 1);
1176
- this.state = 268;
1348
+ this.state = 318;
1177
1349
  this.match(GISGrammarParser.QUOTED_TEXT);
1178
1350
  } catch (re) {
1179
1351
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1193,10 +1365,10 @@ export default class GISGrammarParser extends antlr4.Parser {
1193
1365
 
1194
1366
  hexColor() {
1195
1367
  let localctx = new HexColorContext(this, this._ctx, this.state);
1196
- this.enterRule(localctx, 54, GISGrammarParser.RULE_hexColor);
1368
+ this.enterRule(localctx, 56, GISGrammarParser.RULE_hexColor);
1197
1369
  try {
1198
1370
  this.enterOuterAlt(localctx, 1);
1199
- this.state = 270;
1371
+ this.state = 320;
1200
1372
  this.match(GISGrammarParser.HEX_COLOR);
1201
1373
  } catch (re) {
1202
1374
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1216,10 +1388,10 @@ export default class GISGrammarParser extends antlr4.Parser {
1216
1388
 
1217
1389
  floatNumber() {
1218
1390
  let localctx = new FloatNumberContext(this, this._ctx, this.state);
1219
- this.enterRule(localctx, 56, GISGrammarParser.RULE_floatNumber);
1391
+ this.enterRule(localctx, 58, GISGrammarParser.RULE_floatNumber);
1220
1392
  try {
1221
1393
  this.enterOuterAlt(localctx, 1);
1222
- this.state = 272;
1394
+ this.state = 322;
1223
1395
  this.match(GISGrammarParser.FLOAT_NUMBER);
1224
1396
  } catch (re) {
1225
1397
  if(re instanceof antlr4.error.RecognitionException) {
@@ -1236,6 +1408,29 @@ export default class GISGrammarParser extends antlr4.Parser {
1236
1408
  }
1237
1409
 
1238
1410
 
1411
+
1412
+ intNumber() {
1413
+ let localctx = new IntNumberContext(this, this._ctx, this.state);
1414
+ this.enterRule(localctx, 60, GISGrammarParser.RULE_intNumber);
1415
+ try {
1416
+ this.enterOuterAlt(localctx, 1);
1417
+ this.state = 324;
1418
+ this.match(GISGrammarParser.INT_NUMBER);
1419
+ } catch (re) {
1420
+ if(re instanceof antlr4.error.RecognitionException) {
1421
+ localctx.exception = re;
1422
+ this._errHandler.reportError(this, re);
1423
+ this._errHandler.recover(this, re);
1424
+ } else {
1425
+ throw re;
1426
+ }
1427
+ } finally {
1428
+ this.exitRule();
1429
+ }
1430
+ return localctx;
1431
+ }
1432
+
1433
+
1239
1434
  }
1240
1435
 
1241
1436
  GISGrammarParser.EOF = antlr4.Token.EOF;
@@ -1255,40 +1450,41 @@ GISGrammarParser.MAPPEDBY_SYMBOL = 13;
1255
1450
  GISGrammarParser.LAYER_SYMBOL = 14;
1256
1451
  GISGrammarParser.TILE_SYMBOL = 15;
1257
1452
  GISGrammarParser.GEOJSON_SYMBOL = 16;
1258
- GISGrammarParser.AS_SYMBOL = 17;
1259
- GISGrammarParser.URL_SYMBOL = 18;
1260
- GISGrammarParser.SLD_SYMBOL = 19;
1261
- GISGrammarParser.EDITABLE_SYMBOL = 20;
1262
- GISGrammarParser.FILL_COLOR_SYMBOL = 21;
1263
- GISGrammarParser.STROKE_COLOR_SYMBOL = 22;
1264
- GISGrammarParser.FILL_OPACITY_SYMBOL = 23;
1265
- GISGrammarParser.STROKE_OPACITY_SYMBOL = 24;
1266
- GISGrammarParser.WMS_SYMBOL = 25;
1267
- GISGrammarParser.STYLE_SYMBOL = 26;
1268
- GISGrammarParser.IS_BASE_LAYER_SYMBOL = 27;
1269
- GISGrammarParser.HIDDEN_SYMBOL = 28;
1270
- GISGrammarParser.SORTABLE_SYMBOL = 29;
1271
- GISGrammarParser.MAP_SYMBOL = 30;
1272
- GISGrammarParser.SET_SYMBOL = 31;
1273
- GISGrammarParser.DEPLOYMENT_SYMBOL = 32;
1274
- GISGrammarParser.ZERO_ONE_SYMBOL = 33;
1275
- GISGrammarParser.ONE_ONE_SYMBOL = 34;
1276
- GISGrammarParser.ZERO_MANY_SYMBOL = 35;
1277
- GISGrammarParser.ONE_MANY_SYMBOL = 36;
1278
- GISGrammarParser.TYPE = 37;
1279
- GISGrammarParser.POUND_SYMBOL = 38;
1280
- GISGrammarParser.DOT_SYMBOL = 39;
1281
- GISGrammarParser.OPAR_SYMBOL = 40;
1282
- GISGrammarParser.CPAR_SYMBOL = 41;
1283
- GISGrammarParser.COMMA_SYMBOL = 42;
1284
- GISGrammarParser.SCOL_SYMBOL = 43;
1285
- GISGrammarParser.HEX_COLOR = 44;
1286
- GISGrammarParser.INT_NUMBER = 45;
1287
- GISGrammarParser.FLOAT_NUMBER = 46;
1288
- GISGrammarParser.COMMENT = 47;
1289
- GISGrammarParser.WHITESPACE = 48;
1290
- GISGrammarParser.IDENTIFIER = 49;
1291
- GISGrammarParser.QUOTED_TEXT = 50;
1453
+ GISGrammarParser.GEOMETRY_TYPE_SYMBOL = 17;
1454
+ GISGrammarParser.AS_SYMBOL = 18;
1455
+ GISGrammarParser.URL_SYMBOL = 19;
1456
+ GISGrammarParser.SLD_SYMBOL = 20;
1457
+ GISGrammarParser.EDITABLE_SYMBOL = 21;
1458
+ GISGrammarParser.FILL_COLOR_SYMBOL = 22;
1459
+ GISGrammarParser.STROKE_COLOR_SYMBOL = 23;
1460
+ GISGrammarParser.FILL_OPACITY_SYMBOL = 24;
1461
+ GISGrammarParser.STROKE_OPACITY_SYMBOL = 25;
1462
+ GISGrammarParser.WMS_SYMBOL = 26;
1463
+ GISGrammarParser.STYLE_SYMBOL = 27;
1464
+ GISGrammarParser.IS_BASE_LAYER_SYMBOL = 28;
1465
+ GISGrammarParser.HIDDEN_SYMBOL = 29;
1466
+ GISGrammarParser.SORTABLE_SYMBOL = 30;
1467
+ GISGrammarParser.MAP_SYMBOL = 31;
1468
+ GISGrammarParser.SET_SYMBOL = 32;
1469
+ GISGrammarParser.DEPLOYMENT_SYMBOL = 33;
1470
+ GISGrammarParser.ZERO_ONE_SYMBOL = 34;
1471
+ GISGrammarParser.ONE_ONE_SYMBOL = 35;
1472
+ GISGrammarParser.ZERO_MANY_SYMBOL = 36;
1473
+ GISGrammarParser.ONE_MANY_SYMBOL = 37;
1474
+ GISGrammarParser.TYPE = 38;
1475
+ GISGrammarParser.POUND_SYMBOL = 39;
1476
+ GISGrammarParser.DOT_SYMBOL = 40;
1477
+ GISGrammarParser.OPAR_SYMBOL = 41;
1478
+ GISGrammarParser.CPAR_SYMBOL = 42;
1479
+ GISGrammarParser.COMMA_SYMBOL = 43;
1480
+ GISGrammarParser.SCOL_SYMBOL = 44;
1481
+ GISGrammarParser.HEX_COLOR = 45;
1482
+ GISGrammarParser.INT_NUMBER = 46;
1483
+ GISGrammarParser.FLOAT_NUMBER = 47;
1484
+ GISGrammarParser.COMMENT = 48;
1485
+ GISGrammarParser.WHITESPACE = 49;
1486
+ GISGrammarParser.IDENTIFIER = 50;
1487
+ GISGrammarParser.QUOTED_TEXT = 51;
1292
1488
 
1293
1489
  GISGrammarParser.RULE_parse = 0;
1294
1490
  GISGrammarParser.RULE_sentence = 1;
@@ -1298,27 +1494,29 @@ GISGrammarParser.RULE_createEntity = 4;
1298
1494
  GISGrammarParser.RULE_createLayer = 5;
1299
1495
  GISGrammarParser.RULE_createTileLayer = 6;
1300
1496
  GISGrammarParser.RULE_createGeoJSONLayer = 7;
1301
- GISGrammarParser.RULE_createWmsStyle = 8;
1302
- GISGrammarParser.RULE_createWmsLayer = 9;
1303
- GISGrammarParser.RULE_wmsSubLayer = 10;
1304
- GISGrammarParser.RULE_createSortableMap = 11;
1305
- GISGrammarParser.RULE_createMap = 12;
1306
- GISGrammarParser.RULE_mapLayer = 13;
1307
- GISGrammarParser.RULE_useGIS = 14;
1308
- GISGrammarParser.RULE_generateGIS = 15;
1309
- GISGrammarParser.RULE_setDeployment = 16;
1310
- GISGrammarParser.RULE_deploymentProperty = 17;
1311
- GISGrammarParser.RULE_property = 18;
1312
- GISGrammarParser.RULE_propertyDefinition = 19;
1313
- GISGrammarParser.RULE_relationshipDefinition = 20;
1314
- GISGrammarParser.RULE_mappedRelationshipDefinition = 21;
1315
- GISGrammarParser.RULE_ownedRelationshipDefinition = 22;
1316
- GISGrammarParser.RULE_cardinality = 23;
1317
- GISGrammarParser.RULE_srid = 24;
1318
- GISGrammarParser.RULE_identifier = 25;
1319
- GISGrammarParser.RULE_text = 26;
1320
- GISGrammarParser.RULE_hexColor = 27;
1321
- GISGrammarParser.RULE_floatNumber = 28;
1497
+ GISGrammarParser.RULE_sldCustomBody = 8;
1498
+ GISGrammarParser.RULE_createWmsStyle = 9;
1499
+ GISGrammarParser.RULE_createWmsLayer = 10;
1500
+ GISGrammarParser.RULE_wmsSubLayer = 11;
1501
+ GISGrammarParser.RULE_createSortableMap = 12;
1502
+ GISGrammarParser.RULE_createMap = 13;
1503
+ GISGrammarParser.RULE_mapLayer = 14;
1504
+ GISGrammarParser.RULE_useGIS = 15;
1505
+ GISGrammarParser.RULE_generateGIS = 16;
1506
+ GISGrammarParser.RULE_setDeployment = 17;
1507
+ GISGrammarParser.RULE_deploymentProperty = 18;
1508
+ GISGrammarParser.RULE_property = 19;
1509
+ GISGrammarParser.RULE_propertyDefinition = 20;
1510
+ GISGrammarParser.RULE_relationshipDefinition = 21;
1511
+ GISGrammarParser.RULE_mappedRelationshipDefinition = 22;
1512
+ GISGrammarParser.RULE_ownedRelationshipDefinition = 23;
1513
+ GISGrammarParser.RULE_cardinality = 24;
1514
+ GISGrammarParser.RULE_srid = 25;
1515
+ GISGrammarParser.RULE_identifier = 26;
1516
+ GISGrammarParser.RULE_text = 27;
1517
+ GISGrammarParser.RULE_hexColor = 28;
1518
+ GISGrammarParser.RULE_floatNumber = 29;
1519
+ GISGrammarParser.RULE_intNumber = 30;
1322
1520
 
1323
1521
  class ParseContext extends antlr4.ParserRuleContext {
1324
1522
 
@@ -1898,6 +2096,114 @@ class CreateGeoJSONLayerContext extends antlr4.ParserRuleContext {
1898
2096
 
1899
2097
 
1900
2098
 
2099
+ class SldCustomBodyContext extends antlr4.ParserRuleContext {
2100
+
2101
+ constructor(parser, parent, invokingState) {
2102
+ if(parent===undefined) {
2103
+ parent = null;
2104
+ }
2105
+ if(invokingState===undefined || invokingState===null) {
2106
+ invokingState = -1;
2107
+ }
2108
+ super(parent, invokingState);
2109
+ this.parser = parser;
2110
+ this.ruleIndex = GISGrammarParser.RULE_sldCustomBody;
2111
+ }
2112
+
2113
+ GEOMETRY_TYPE_SYMBOL() {
2114
+ return this.getToken(GISGrammarParser.GEOMETRY_TYPE_SYMBOL, 0);
2115
+ };
2116
+
2117
+ TYPE() {
2118
+ return this.getToken(GISGrammarParser.TYPE, 0);
2119
+ };
2120
+
2121
+ COMMA_SYMBOL = function(i) {
2122
+ if(i===undefined) {
2123
+ i = null;
2124
+ }
2125
+ if(i===null) {
2126
+ return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
2127
+ } else {
2128
+ return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
2129
+ }
2130
+ };
2131
+
2132
+
2133
+ FILL_COLOR_SYMBOL() {
2134
+ return this.getToken(GISGrammarParser.FILL_COLOR_SYMBOL, 0);
2135
+ };
2136
+
2137
+ hexColor = function(i) {
2138
+ if(i===undefined) {
2139
+ i = null;
2140
+ }
2141
+ if(i===null) {
2142
+ return this.getTypedRuleContexts(HexColorContext);
2143
+ } else {
2144
+ return this.getTypedRuleContext(HexColorContext,i);
2145
+ }
2146
+ };
2147
+
2148
+ STROKE_COLOR_SYMBOL() {
2149
+ return this.getToken(GISGrammarParser.STROKE_COLOR_SYMBOL, 0);
2150
+ };
2151
+
2152
+ FILL_OPACITY_SYMBOL() {
2153
+ return this.getToken(GISGrammarParser.FILL_OPACITY_SYMBOL, 0);
2154
+ };
2155
+
2156
+ floatNumber = function(i) {
2157
+ if(i===undefined) {
2158
+ i = null;
2159
+ }
2160
+ if(i===null) {
2161
+ return this.getTypedRuleContexts(FloatNumberContext);
2162
+ } else {
2163
+ return this.getTypedRuleContext(FloatNumberContext,i);
2164
+ }
2165
+ };
2166
+
2167
+ intNumber = function(i) {
2168
+ if(i===undefined) {
2169
+ i = null;
2170
+ }
2171
+ if(i===null) {
2172
+ return this.getTypedRuleContexts(IntNumberContext);
2173
+ } else {
2174
+ return this.getTypedRuleContext(IntNumberContext,i);
2175
+ }
2176
+ };
2177
+
2178
+ STROKE_OPACITY_SYMBOL() {
2179
+ return this.getToken(GISGrammarParser.STROKE_OPACITY_SYMBOL, 0);
2180
+ };
2181
+
2182
+ enterRule(listener) {
2183
+ if(listener instanceof GISGrammarListener ) {
2184
+ listener.enterSldCustomBody(this);
2185
+ }
2186
+ }
2187
+
2188
+ exitRule(listener) {
2189
+ if(listener instanceof GISGrammarListener ) {
2190
+ listener.exitSldCustomBody(this);
2191
+ }
2192
+ }
2193
+
2194
+ accept(visitor) {
2195
+ if ( visitor instanceof GISGrammarVisitor ) {
2196
+ return visitor.visitSldCustomBody(this);
2197
+ } else {
2198
+ return visitor.visitChildren(this);
2199
+ }
2200
+ }
2201
+
2202
+
2203
+ }
2204
+
2205
+
2206
+
1901
2207
  class CreateWmsStyleContext extends antlr4.ParserRuleContext {
1902
2208
 
1903
2209
  constructor(parser, parent, invokingState) {
@@ -1928,6 +2234,14 @@ class CreateWmsStyleContext extends antlr4.ParserRuleContext {
1928
2234
  return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
1929
2235
  };
1930
2236
 
2237
+ CPAR_SYMBOL() {
2238
+ return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
2239
+ };
2240
+
2241
+ SCOL_SYMBOL() {
2242
+ return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
2243
+ };
2244
+
1931
2245
  SLD_SYMBOL() {
1932
2246
  return this.getToken(GISGrammarParser.SLD_SYMBOL, 0);
1933
2247
  };
@@ -1936,12 +2250,12 @@ class CreateWmsStyleContext extends antlr4.ParserRuleContext {
1936
2250
  return this.getTypedRuleContext(TextContext,0);
1937
2251
  };
1938
2252
 
1939
- CPAR_SYMBOL() {
1940
- return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
2253
+ COMMA_SYMBOL() {
2254
+ return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
1941
2255
  };
1942
2256
 
1943
- SCOL_SYMBOL() {
1944
- return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
2257
+ sldCustomBody() {
2258
+ return this.getTypedRuleContext(SldCustomBodyContext,0);
1945
2259
  };
1946
2260
 
1947
2261
  enterRule(listener) {
@@ -3141,6 +3455,49 @@ class FloatNumberContext extends antlr4.ParserRuleContext {
3141
3455
 
3142
3456
 
3143
3457
 
3458
+ class IntNumberContext extends antlr4.ParserRuleContext {
3459
+
3460
+ constructor(parser, parent, invokingState) {
3461
+ if(parent===undefined) {
3462
+ parent = null;
3463
+ }
3464
+ if(invokingState===undefined || invokingState===null) {
3465
+ invokingState = -1;
3466
+ }
3467
+ super(parent, invokingState);
3468
+ this.parser = parser;
3469
+ this.ruleIndex = GISGrammarParser.RULE_intNumber;
3470
+ }
3471
+
3472
+ INT_NUMBER() {
3473
+ return this.getToken(GISGrammarParser.INT_NUMBER, 0);
3474
+ };
3475
+
3476
+ enterRule(listener) {
3477
+ if(listener instanceof GISGrammarListener ) {
3478
+ listener.enterIntNumber(this);
3479
+ }
3480
+ }
3481
+
3482
+ exitRule(listener) {
3483
+ if(listener instanceof GISGrammarListener ) {
3484
+ listener.exitIntNumber(this);
3485
+ }
3486
+ }
3487
+
3488
+ accept(visitor) {
3489
+ if ( visitor instanceof GISGrammarVisitor ) {
3490
+ return visitor.visitIntNumber(this);
3491
+ } else {
3492
+ return visitor.visitChildren(this);
3493
+ }
3494
+ }
3495
+
3496
+
3497
+ }
3498
+
3499
+
3500
+
3144
3501
 
3145
3502
  GISGrammarParser.ParseContext = ParseContext;
3146
3503
  GISGrammarParser.SentenceContext = SentenceContext;
@@ -3150,6 +3507,7 @@ GISGrammarParser.CreateEntityContext = CreateEntityContext;
3150
3507
  GISGrammarParser.CreateLayerContext = CreateLayerContext;
3151
3508
  GISGrammarParser.CreateTileLayerContext = CreateTileLayerContext;
3152
3509
  GISGrammarParser.CreateGeoJSONLayerContext = CreateGeoJSONLayerContext;
3510
+ GISGrammarParser.SldCustomBodyContext = SldCustomBodyContext;
3153
3511
  GISGrammarParser.CreateWmsStyleContext = CreateWmsStyleContext;
3154
3512
  GISGrammarParser.CreateWmsLayerContext = CreateWmsLayerContext;
3155
3513
  GISGrammarParser.WmsSubLayerContext = WmsSubLayerContext;
@@ -3171,3 +3529,4 @@ GISGrammarParser.IdentifierContext = IdentifierContext;
3171
3529
  GISGrammarParser.TextContext = TextContext;
3172
3530
  GISGrammarParser.HexColorContext = HexColorContext;
3173
3531
  GISGrammarParser.FloatNumberContext = FloatNumberContext;
3532
+ GISGrammarParser.IntNumberContext = IntNumberContext;