@lbdudc/gp-gis-dsl 0.2.5 → 0.3.0
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.
- package/grammar/GISGrammar.g4 +75 -2
- package/package.json +1 -1
- package/src/GISVisitor.js +436 -368
- package/src/GISVisitorHelper.js +93 -93
- package/src/cli.js +34 -34
- package/src/error/ErrorListener.js +26 -26
- package/src/error/SyntaxGenericError.js +18 -18
- package/src/index.js +26 -26
- package/src/lib/GISGrammar.interp +182 -144
- package/src/lib/GISGrammar.tokens +40 -28
- package/src/lib/GISGrammarLexer.interp +241 -204
- package/src/lib/GISGrammarLexer.js +322 -265
- package/src/lib/GISGrammarLexer.tokens +40 -28
- package/src/lib/GISGrammarListener.js +126 -0
- package/src/lib/GISGrammarParser.js +2253 -964
- package/src/lib/GISGrammarVisitor.js +84 -0
- package/src/spl/GIS.js +234 -234
- package/src/spl/GeoJSONLayer.js +21 -21
- package/src/spl/GeoJSONLayerStyle.js +14 -14
- package/src/spl/Map.js +55 -53
- package/src/spl/TileLayer.js +16 -16
- package/src/spl/WMSLayer.js +30 -30
- package/src/spl/WMSServiceLayer.js +40 -0
- package/src/spl/WMSStyle.js +13 -13
- package/src/spl/WMSStyleCustom.js +22 -22
- package/src/store.js +74 -74
|
@@ -4,107 +4,141 @@ 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,
|
|
7
|
+
const serializedATN = [4,1,63,437,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,2,29,7,29,2,30,7,30,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
1,
|
|
15
|
-
1,
|
|
11
|
+
7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,
|
|
12
|
+
34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,
|
|
13
|
+
2,42,7,42,2,43,7,43,2,44,7,44,1,0,4,0,92,8,0,11,0,12,0,93,1,1,1,1,1,1,1,
|
|
14
|
+
1,3,1,100,8,1,1,2,1,2,1,2,1,2,3,2,106,8,2,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,
|
|
15
|
+
4,1,4,1,4,1,4,1,4,5,4,120,8,4,10,4,12,4,123,9,4,1,4,1,4,1,4,1,5,1,5,1,5,
|
|
16
|
+
1,5,1,5,1,5,3,5,134,8,5,1,6,1,6,1,6,1,6,1,6,3,6,141,8,6,1,6,1,6,1,6,1,6,
|
|
17
|
+
1,6,1,6,1,7,1,7,1,7,1,7,1,7,3,7,154,8,7,1,7,1,7,1,7,3,7,159,8,7,1,7,1,7,
|
|
16
18
|
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
|
-
|
|
18
|
-
1,8,3,8,
|
|
19
|
-
3,8,
|
|
20
|
-
3,9,
|
|
21
|
-
8,10,1,10,1,10,1,10,1,10,5,10,
|
|
22
|
-
10,1,11,1,11,1,11,1,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
1,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
1,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
0,0,
|
|
40
|
-
1,0,0,0,
|
|
41
|
-
|
|
42
|
-
0,
|
|
43
|
-
|
|
44
|
-
0,
|
|
45
|
-
0,0,0,
|
|
46
|
-
0,0,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
0,0,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
0,
|
|
55
|
-
|
|
56
|
-
0,
|
|
57
|
-
|
|
58
|
-
3,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
0,
|
|
63
|
-
|
|
64
|
-
0,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
0,0,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
0,
|
|
74
|
-
|
|
75
|
-
0,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
0,0,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
0,
|
|
84
|
-
|
|
85
|
-
0,0,0,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
0,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
0,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
0,
|
|
107
|
-
|
|
19
|
+
180,8,8,1,8,3,8,183,8,8,1,8,3,8,186,8,8,1,8,3,8,189,8,8,1,8,3,8,192,8,8,
|
|
20
|
+
1,8,3,8,195,8,8,1,8,3,8,198,8,8,1,8,1,8,3,8,202,8,8,1,8,3,8,205,8,8,1,8,
|
|
21
|
+
3,8,208,8,8,1,8,1,8,3,8,212,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,220,8,9,1,9,
|
|
22
|
+
3,9,223,8,9,1,9,3,9,226,8,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,3,10,236,
|
|
23
|
+
8,10,1,10,1,10,1,10,1,10,5,10,242,8,10,10,10,12,10,245,9,10,1,10,1,10,1,
|
|
24
|
+
10,1,11,1,11,1,11,1,11,1,11,1,11,3,11,256,8,11,1,11,3,11,259,8,11,1,11,3,
|
|
25
|
+
11,262,8,11,1,11,3,11,265,8,11,1,11,3,11,268,8,11,1,11,3,11,271,8,11,1,11,
|
|
26
|
+
3,11,274,8,11,3,11,276,8,11,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,
|
|
27
|
+
1,14,1,14,1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,
|
|
28
|
+
18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,21,1,21,1,21,
|
|
29
|
+
1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,
|
|
30
|
+
24,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,27,3,27,342,8,27,
|
|
31
|
+
1,27,1,27,1,27,1,27,5,27,348,8,27,10,27,12,27,351,9,27,1,27,1,27,1,27,1,
|
|
32
|
+
28,1,28,3,28,358,8,28,1,28,3,28,361,8,28,1,29,1,29,1,29,1,29,1,29,1,30,1,
|
|
33
|
+
30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,5,31,379,8,31,10,31,12,31,
|
|
34
|
+
382,9,31,1,31,1,31,1,31,1,32,1,32,1,32,1,33,1,33,3,33,392,8,33,1,34,1,34,
|
|
35
|
+
1,34,5,34,397,8,34,10,34,12,34,400,9,34,1,35,1,35,3,35,404,8,35,1,36,1,36,
|
|
36
|
+
1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,421,
|
|
37
|
+
8,37,1,38,1,38,1,39,1,39,1,40,1,40,1,41,1,41,1,42,1,42,1,43,1,43,1,44,1,
|
|
38
|
+
44,1,44,0,0,45,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,
|
|
39
|
+
42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,
|
|
40
|
+
0,2,2,0,7,7,9,11,1,0,46,49,441,0,91,1,0,0,0,2,99,1,0,0,0,4,101,1,0,0,0,6,
|
|
41
|
+
107,1,0,0,0,8,113,1,0,0,0,10,133,1,0,0,0,12,135,1,0,0,0,14,148,1,0,0,0,16,
|
|
42
|
+
175,1,0,0,0,18,213,1,0,0,0,20,230,1,0,0,0,22,275,1,0,0,0,24,277,1,0,0,0,
|
|
43
|
+
26,280,1,0,0,0,28,284,1,0,0,0,30,288,1,0,0,0,32,292,1,0,0,0,34,296,1,0,0,
|
|
44
|
+
0,36,300,1,0,0,0,38,304,1,0,0,0,40,308,1,0,0,0,42,312,1,0,0,0,44,318,1,0,
|
|
45
|
+
0,0,46,322,1,0,0,0,48,326,1,0,0,0,50,330,1,0,0,0,52,334,1,0,0,0,54,337,1,
|
|
46
|
+
0,0,0,56,355,1,0,0,0,58,362,1,0,0,0,60,367,1,0,0,0,62,372,1,0,0,0,64,386,
|
|
47
|
+
1,0,0,0,66,391,1,0,0,0,68,393,1,0,0,0,70,403,1,0,0,0,72,405,1,0,0,0,74,411,
|
|
48
|
+
1,0,0,0,76,422,1,0,0,0,78,424,1,0,0,0,80,426,1,0,0,0,82,428,1,0,0,0,84,430,
|
|
49
|
+
1,0,0,0,86,432,1,0,0,0,88,434,1,0,0,0,90,92,3,2,1,0,91,90,1,0,0,0,92,93,
|
|
50
|
+
1,0,0,0,93,91,1,0,0,0,93,94,1,0,0,0,94,1,1,0,0,0,95,100,3,4,2,0,96,100,3,
|
|
51
|
+
58,29,0,97,100,3,60,30,0,98,100,3,62,31,0,99,95,1,0,0,0,99,96,1,0,0,0,99,
|
|
52
|
+
97,1,0,0,0,99,98,1,0,0,0,100,3,1,0,0,0,101,105,5,1,0,0,102,106,3,6,3,0,103,
|
|
53
|
+
106,3,8,4,0,104,106,3,10,5,0,105,102,1,0,0,0,105,103,1,0,0,0,105,104,1,0,
|
|
54
|
+
0,0,106,5,1,0,0,0,107,108,5,2,0,0,108,109,3,80,40,0,109,110,5,4,0,0,110,
|
|
55
|
+
111,3,78,39,0,111,112,5,56,0,0,112,7,1,0,0,0,113,114,5,3,0,0,114,115,3,80,
|
|
56
|
+
40,0,115,116,5,53,0,0,116,121,3,66,33,0,117,118,5,55,0,0,118,120,3,66,33,
|
|
57
|
+
0,119,117,1,0,0,0,120,123,1,0,0,0,121,119,1,0,0,0,121,122,1,0,0,0,122,124,
|
|
58
|
+
1,0,0,0,123,121,1,0,0,0,124,125,5,54,0,0,125,126,5,56,0,0,126,9,1,0,0,0,
|
|
59
|
+
127,134,3,12,6,0,128,134,3,14,7,0,129,134,3,18,9,0,130,134,3,20,10,0,131,
|
|
60
|
+
134,3,54,27,0,132,134,3,52,26,0,133,127,1,0,0,0,133,128,1,0,0,0,133,129,
|
|
61
|
+
1,0,0,0,133,130,1,0,0,0,133,131,1,0,0,0,133,132,1,0,0,0,134,11,1,0,0,0,135,
|
|
62
|
+
136,5,15,0,0,136,137,5,14,0,0,137,140,3,80,40,0,138,139,5,18,0,0,139,141,
|
|
63
|
+
3,82,41,0,140,138,1,0,0,0,140,141,1,0,0,0,141,142,1,0,0,0,142,143,5,53,0,
|
|
64
|
+
0,143,144,5,19,0,0,144,145,3,82,41,0,145,146,5,54,0,0,146,147,5,56,0,0,147,
|
|
65
|
+
13,1,0,0,0,148,149,5,16,0,0,149,150,5,14,0,0,150,153,3,80,40,0,151,152,5,
|
|
66
|
+
18,0,0,152,154,3,82,41,0,153,151,1,0,0,0,153,154,1,0,0,0,154,155,1,0,0,0,
|
|
67
|
+
155,156,5,53,0,0,156,158,3,80,40,0,157,159,5,21,0,0,158,157,1,0,0,0,158,
|
|
68
|
+
159,1,0,0,0,159,160,1,0,0,0,160,161,5,55,0,0,161,162,5,22,0,0,162,163,3,
|
|
69
|
+
84,42,0,163,164,5,55,0,0,164,165,5,23,0,0,165,166,3,84,42,0,166,167,5,55,
|
|
70
|
+
0,0,167,168,5,24,0,0,168,169,3,86,43,0,169,170,5,55,0,0,170,171,5,25,0,0,
|
|
71
|
+
171,172,3,86,43,0,172,173,5,54,0,0,173,174,5,56,0,0,174,15,1,0,0,0,175,176,
|
|
72
|
+
5,17,0,0,176,177,5,50,0,0,177,179,5,55,0,0,178,180,5,22,0,0,179,178,1,0,
|
|
73
|
+
0,0,179,180,1,0,0,0,180,182,1,0,0,0,181,183,3,84,42,0,182,181,1,0,0,0,182,
|
|
74
|
+
183,1,0,0,0,183,185,1,0,0,0,184,186,5,55,0,0,185,184,1,0,0,0,185,186,1,0,
|
|
75
|
+
0,0,186,188,1,0,0,0,187,189,5,23,0,0,188,187,1,0,0,0,188,189,1,0,0,0,189,
|
|
76
|
+
191,1,0,0,0,190,192,3,84,42,0,191,190,1,0,0,0,191,192,1,0,0,0,192,194,1,
|
|
77
|
+
0,0,0,193,195,5,55,0,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,
|
|
78
|
+
198,5,24,0,0,197,196,1,0,0,0,197,198,1,0,0,0,198,201,1,0,0,0,199,202,3,86,
|
|
79
|
+
43,0,200,202,3,88,44,0,201,199,1,0,0,0,201,200,1,0,0,0,201,202,1,0,0,0,202,
|
|
80
|
+
204,1,0,0,0,203,205,5,55,0,0,204,203,1,0,0,0,204,205,1,0,0,0,205,207,1,0,
|
|
81
|
+
0,0,206,208,5,25,0,0,207,206,1,0,0,0,207,208,1,0,0,0,208,211,1,0,0,0,209,
|
|
82
|
+
212,3,86,43,0,210,212,3,88,44,0,211,209,1,0,0,0,211,210,1,0,0,0,211,212,
|
|
83
|
+
1,0,0,0,212,17,1,0,0,0,213,214,5,26,0,0,214,215,5,27,0,0,215,216,3,80,40,
|
|
84
|
+
0,216,219,5,53,0,0,217,218,5,20,0,0,218,220,3,82,41,0,219,217,1,0,0,0,219,
|
|
85
|
+
220,1,0,0,0,220,222,1,0,0,0,221,223,5,55,0,0,222,221,1,0,0,0,222,223,1,0,
|
|
86
|
+
0,0,223,225,1,0,0,0,224,226,3,16,8,0,225,224,1,0,0,0,225,226,1,0,0,0,226,
|
|
87
|
+
227,1,0,0,0,227,228,5,54,0,0,228,229,5,56,0,0,229,19,1,0,0,0,230,231,5,26,
|
|
88
|
+
0,0,231,232,5,14,0,0,232,235,3,80,40,0,233,234,5,18,0,0,234,236,3,82,41,
|
|
89
|
+
0,235,233,1,0,0,0,235,236,1,0,0,0,236,237,1,0,0,0,237,238,5,53,0,0,238,243,
|
|
90
|
+
3,22,11,0,239,240,5,55,0,0,240,242,3,22,11,0,241,239,1,0,0,0,242,245,1,0,
|
|
91
|
+
0,0,243,241,1,0,0,0,243,244,1,0,0,0,244,246,1,0,0,0,245,243,1,0,0,0,246,
|
|
92
|
+
247,5,54,0,0,247,248,5,56,0,0,248,21,1,0,0,0,249,250,3,80,40,0,250,251,3,
|
|
93
|
+
80,40,0,251,276,1,0,0,0,252,253,3,24,12,0,253,255,3,26,13,0,254,256,3,28,
|
|
94
|
+
14,0,255,254,1,0,0,0,255,256,1,0,0,0,256,258,1,0,0,0,257,259,3,30,15,0,258,
|
|
95
|
+
257,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,262,3,44,22,0,261,260,1,
|
|
96
|
+
0,0,0,261,262,1,0,0,0,262,264,1,0,0,0,263,265,3,46,23,0,264,263,1,0,0,0,
|
|
97
|
+
264,265,1,0,0,0,265,267,1,0,0,0,266,268,3,48,24,0,267,266,1,0,0,0,267,268,
|
|
98
|
+
1,0,0,0,268,270,1,0,0,0,269,271,3,42,21,0,270,269,1,0,0,0,270,271,1,0,0,
|
|
99
|
+
0,271,273,1,0,0,0,272,274,3,50,25,0,273,272,1,0,0,0,273,274,1,0,0,0,274,
|
|
100
|
+
276,1,0,0,0,275,249,1,0,0,0,275,252,1,0,0,0,276,23,1,0,0,0,277,278,5,34,
|
|
101
|
+
0,0,278,279,3,82,41,0,279,25,1,0,0,0,280,281,5,55,0,0,281,282,5,35,0,0,282,
|
|
102
|
+
283,3,82,41,0,283,27,1,0,0,0,284,285,5,55,0,0,285,286,5,36,0,0,286,287,3,
|
|
103
|
+
82,41,0,287,29,1,0,0,0,288,289,5,55,0,0,289,290,5,37,0,0,290,291,3,82,41,
|
|
104
|
+
0,291,31,1,0,0,0,292,293,5,55,0,0,293,294,5,38,0,0,294,295,3,82,41,0,295,
|
|
105
|
+
33,1,0,0,0,296,297,5,55,0,0,297,298,5,39,0,0,298,299,3,86,43,0,299,35,1,
|
|
106
|
+
0,0,0,300,301,5,55,0,0,301,302,5,40,0,0,302,303,3,86,43,0,303,37,1,0,0,0,
|
|
107
|
+
304,305,5,55,0,0,305,306,5,41,0,0,306,307,3,86,43,0,307,39,1,0,0,0,308,309,
|
|
108
|
+
5,55,0,0,309,310,5,42,0,0,310,311,3,86,43,0,311,41,1,0,0,0,312,313,3,32,
|
|
109
|
+
16,0,313,314,3,34,17,0,314,315,3,36,18,0,315,316,3,38,19,0,316,317,3,40,
|
|
110
|
+
20,0,317,43,1,0,0,0,318,319,5,55,0,0,319,320,5,27,0,0,320,321,3,82,41,0,
|
|
111
|
+
321,45,1,0,0,0,322,323,5,55,0,0,323,324,5,43,0,0,324,325,3,82,41,0,325,47,
|
|
112
|
+
1,0,0,0,326,327,5,55,0,0,327,328,5,44,0,0,328,329,3,82,41,0,329,49,1,0,0,
|
|
113
|
+
0,330,331,5,55,0,0,331,332,5,45,0,0,332,333,3,82,41,0,333,51,1,0,0,0,334,
|
|
114
|
+
335,5,30,0,0,335,336,3,54,27,0,336,53,1,0,0,0,337,338,5,31,0,0,338,341,3,
|
|
115
|
+
80,40,0,339,340,5,18,0,0,340,342,3,82,41,0,341,339,1,0,0,0,341,342,1,0,0,
|
|
116
|
+
0,342,343,1,0,0,0,343,344,5,53,0,0,344,349,3,56,28,0,345,346,5,55,0,0,346,
|
|
117
|
+
348,3,56,28,0,347,345,1,0,0,0,348,351,1,0,0,0,349,347,1,0,0,0,349,350,1,
|
|
118
|
+
0,0,0,350,352,1,0,0,0,351,349,1,0,0,0,352,353,5,54,0,0,353,354,5,56,0,0,
|
|
119
|
+
354,55,1,0,0,0,355,357,3,80,40,0,356,358,5,28,0,0,357,356,1,0,0,0,357,358,
|
|
120
|
+
1,0,0,0,358,360,1,0,0,0,359,361,5,29,0,0,360,359,1,0,0,0,360,361,1,0,0,0,
|
|
121
|
+
361,57,1,0,0,0,362,363,5,5,0,0,363,364,5,2,0,0,364,365,3,80,40,0,365,366,
|
|
122
|
+
5,56,0,0,366,59,1,0,0,0,367,368,5,6,0,0,368,369,5,2,0,0,369,370,3,80,40,
|
|
123
|
+
0,370,371,5,56,0,0,371,61,1,0,0,0,372,373,5,32,0,0,373,374,5,33,0,0,374,
|
|
124
|
+
375,5,53,0,0,375,380,3,64,32,0,376,377,5,55,0,0,377,379,3,64,32,0,378,376,
|
|
125
|
+
1,0,0,0,379,382,1,0,0,0,380,378,1,0,0,0,380,381,1,0,0,0,381,383,1,0,0,0,
|
|
126
|
+
382,380,1,0,0,0,383,384,5,54,0,0,384,385,5,56,0,0,385,63,1,0,0,0,386,387,
|
|
127
|
+
3,82,41,0,387,388,3,82,41,0,388,65,1,0,0,0,389,392,3,68,34,0,390,392,3,70,
|
|
128
|
+
35,0,391,389,1,0,0,0,391,390,1,0,0,0,392,67,1,0,0,0,393,394,3,80,40,0,394,
|
|
129
|
+
398,5,50,0,0,395,397,7,0,0,0,396,395,1,0,0,0,397,400,1,0,0,0,398,396,1,0,
|
|
130
|
+
0,0,398,399,1,0,0,0,399,69,1,0,0,0,400,398,1,0,0,0,401,404,3,74,37,0,402,
|
|
131
|
+
404,3,72,36,0,403,401,1,0,0,0,403,402,1,0,0,0,404,71,1,0,0,0,405,406,3,80,
|
|
132
|
+
40,0,406,407,3,80,40,0,407,408,5,8,0,0,408,409,5,13,0,0,409,410,3,80,40,
|
|
133
|
+
0,410,73,1,0,0,0,411,412,3,80,40,0,412,413,3,80,40,0,413,414,5,8,0,0,414,
|
|
134
|
+
415,5,53,0,0,415,416,3,76,38,0,416,417,5,55,0,0,417,418,3,76,38,0,418,420,
|
|
135
|
+
5,54,0,0,419,421,5,12,0,0,420,419,1,0,0,0,420,421,1,0,0,0,421,75,1,0,0,0,
|
|
136
|
+
422,423,7,1,0,0,423,77,1,0,0,0,424,425,5,58,0,0,425,79,1,0,0,0,426,427,5,
|
|
137
|
+
62,0,0,427,81,1,0,0,0,428,429,5,63,0,0,429,83,1,0,0,0,430,431,5,57,0,0,431,
|
|
138
|
+
85,1,0,0,0,432,433,5,59,0,0,433,87,1,0,0,0,434,435,5,58,0,0,435,89,1,0,0,
|
|
139
|
+
0,41,93,99,105,121,133,140,153,158,179,182,185,188,191,194,197,201,204,207,
|
|
140
|
+
211,219,222,225,235,243,255,258,261,264,267,270,273,275,341,349,357,360,
|
|
141
|
+
380,391,398,403,420];
|
|
108
142
|
|
|
109
143
|
|
|
110
144
|
const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
|
|
@@ -120,8 +154,10 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
120
154
|
null, null, null, null, null, null, null, null,
|
|
121
155
|
null, null, null, null, null, null, null, null,
|
|
122
156
|
null, null, null, null, null, null, null, null,
|
|
123
|
-
null, null,
|
|
124
|
-
null,
|
|
157
|
+
null, null, null, null, null, null, null, null,
|
|
158
|
+
null, null, null, null, null, null, "'0..1'",
|
|
159
|
+
"'1..1'", "'0..*'", "'1..*'", null, "'#'", "'.'",
|
|
160
|
+
"'('", "')'", "','", "';'" ];
|
|
125
161
|
static symbolicNames = [ null, "CREATE_SYMBOL", "GIS_SYMBOL", "ENTITY_SYMBOL",
|
|
126
162
|
"USING_SYMBOL", "USE_SYMBOL", "GENERATE_SYMBOL",
|
|
127
163
|
"IDENTIFIER_SYMBOL", "RELATIONSHIP_SYMBOL",
|
|
@@ -134,6 +170,10 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
134
170
|
"STROKE_OPACITY_SYMBOL", "WMS_SYMBOL", "STYLE_SYMBOL",
|
|
135
171
|
"IS_BASE_LAYER_SYMBOL", "HIDDEN_SYMBOL", "SORTABLE_SYMBOL",
|
|
136
172
|
"MAP_SYMBOL", "SET_SYMBOL", "DEPLOYMENT_SYMBOL",
|
|
173
|
+
"URL_WMS_SYMBOL", "LAYERNAME_SYMBOL", "FORMAT_SYMBOL",
|
|
174
|
+
"CRS_SYMBOL", "BBOX_CRS_SYMBOL", "MINX_SYMBOL",
|
|
175
|
+
"MINY_SYMBOL", "MAXX_SYMBOL", "MAXY_SYMBOL",
|
|
176
|
+
"QUERYABLE_SYMBOL", "ATTRIBUTION_SYMBOL", "VERSION_SYMBOL",
|
|
137
177
|
"ZERO_ONE_SYMBOL", "ONE_ONE_SYMBOL", "ZERO_MANY_SYMBOL",
|
|
138
178
|
"ONE_MANY_SYMBOL", "TYPE", "POUND_SYMBOL",
|
|
139
179
|
"DOT_SYMBOL", "OPAR_SYMBOL", "CPAR_SYMBOL",
|
|
@@ -143,13 +183,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
143
183
|
static ruleNames = [ "parse", "sentence", "createStatement", "createGIS",
|
|
144
184
|
"createEntity", "createLayer", "createTileLayer",
|
|
145
185
|
"createGeoJSONLayer", "sldCustomBody", "createWmsStyle",
|
|
146
|
-
"createWmsLayer", "wmsSubLayer", "
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
186
|
+
"createWmsLayer", "wmsSubLayer", "wmsUrl", "wmsLayerName",
|
|
187
|
+
"wmsFormatName", "wmsCrs", "wmsBboxCrs", "wmsMinX",
|
|
188
|
+
"wmsMinY", "wmsMaxX", "wmsMaxY", "wmsBboxGroup",
|
|
189
|
+
"wmsStyles", "wmsQueryable", "wmsAttribution",
|
|
190
|
+
"wmsVersion", "createSortableMap", "createMap",
|
|
191
|
+
"mapLayer", "useGIS", "generateGIS", "setDeployment",
|
|
192
|
+
"deploymentProperty", "property", "propertyDefinition",
|
|
193
|
+
"relationshipDefinition", "mappedRelationshipDefinition",
|
|
194
|
+
"ownedRelationshipDefinition", "cardinality", "srid",
|
|
195
|
+
"identifier", "text", "hexColor", "floatNumber",
|
|
196
|
+
"intNumber" ];
|
|
153
197
|
|
|
154
198
|
constructor(input) {
|
|
155
199
|
super(input);
|
|
@@ -167,13 +211,13 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
167
211
|
var _la = 0;
|
|
168
212
|
try {
|
|
169
213
|
this.enterOuterAlt(localctx, 1);
|
|
170
|
-
this.state =
|
|
214
|
+
this.state = 91;
|
|
171
215
|
this._errHandler.sync(this);
|
|
172
216
|
_la = this._input.LA(1);
|
|
173
217
|
do {
|
|
174
|
-
this.state =
|
|
218
|
+
this.state = 90;
|
|
175
219
|
this.sentence();
|
|
176
|
-
this.state =
|
|
220
|
+
this.state = 93;
|
|
177
221
|
this._errHandler.sync(this);
|
|
178
222
|
_la = this._input.LA(1);
|
|
179
223
|
} while(((((_la - 1)) & ~0x1f) === 0 && ((1 << (_la - 1)) & 2147483697) !== 0));
|
|
@@ -197,27 +241,27 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
197
241
|
let localctx = new SentenceContext(this, this._ctx, this.state);
|
|
198
242
|
this.enterRule(localctx, 2, GISGrammarParser.RULE_sentence);
|
|
199
243
|
try {
|
|
200
|
-
this.state =
|
|
244
|
+
this.state = 99;
|
|
201
245
|
this._errHandler.sync(this);
|
|
202
246
|
switch(this._input.LA(1)) {
|
|
203
247
|
case 1:
|
|
204
248
|
this.enterOuterAlt(localctx, 1);
|
|
205
|
-
this.state =
|
|
249
|
+
this.state = 95;
|
|
206
250
|
this.createStatement();
|
|
207
251
|
break;
|
|
208
252
|
case 5:
|
|
209
253
|
this.enterOuterAlt(localctx, 2);
|
|
210
|
-
this.state =
|
|
254
|
+
this.state = 96;
|
|
211
255
|
this.useGIS();
|
|
212
256
|
break;
|
|
213
257
|
case 6:
|
|
214
258
|
this.enterOuterAlt(localctx, 3);
|
|
215
|
-
this.state =
|
|
259
|
+
this.state = 97;
|
|
216
260
|
this.generateGIS();
|
|
217
261
|
break;
|
|
218
262
|
case 32:
|
|
219
263
|
this.enterOuterAlt(localctx, 4);
|
|
220
|
-
this.state =
|
|
264
|
+
this.state = 98;
|
|
221
265
|
this.setDeployment();
|
|
222
266
|
break;
|
|
223
267
|
default:
|
|
@@ -244,17 +288,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
244
288
|
this.enterRule(localctx, 4, GISGrammarParser.RULE_createStatement);
|
|
245
289
|
try {
|
|
246
290
|
this.enterOuterAlt(localctx, 1);
|
|
247
|
-
this.state =
|
|
291
|
+
this.state = 101;
|
|
248
292
|
this.match(GISGrammarParser.CREATE_SYMBOL);
|
|
249
|
-
this.state =
|
|
293
|
+
this.state = 105;
|
|
250
294
|
this._errHandler.sync(this);
|
|
251
295
|
switch(this._input.LA(1)) {
|
|
252
296
|
case 2:
|
|
253
|
-
this.state =
|
|
297
|
+
this.state = 102;
|
|
254
298
|
this.createGIS();
|
|
255
299
|
break;
|
|
256
300
|
case 3:
|
|
257
|
-
this.state =
|
|
301
|
+
this.state = 103;
|
|
258
302
|
this.createEntity();
|
|
259
303
|
break;
|
|
260
304
|
case 15:
|
|
@@ -262,7 +306,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
262
306
|
case 26:
|
|
263
307
|
case 30:
|
|
264
308
|
case 31:
|
|
265
|
-
this.state =
|
|
309
|
+
this.state = 104;
|
|
266
310
|
this.createLayer();
|
|
267
311
|
break;
|
|
268
312
|
default:
|
|
@@ -289,15 +333,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
289
333
|
this.enterRule(localctx, 6, GISGrammarParser.RULE_createGIS);
|
|
290
334
|
try {
|
|
291
335
|
this.enterOuterAlt(localctx, 1);
|
|
292
|
-
this.state =
|
|
336
|
+
this.state = 107;
|
|
293
337
|
this.match(GISGrammarParser.GIS_SYMBOL);
|
|
294
|
-
this.state =
|
|
338
|
+
this.state = 108;
|
|
295
339
|
this.identifier();
|
|
296
|
-
this.state =
|
|
340
|
+
this.state = 109;
|
|
297
341
|
this.match(GISGrammarParser.USING_SYMBOL);
|
|
298
|
-
this.state =
|
|
342
|
+
this.state = 110;
|
|
299
343
|
this.srid();
|
|
300
|
-
this.state =
|
|
344
|
+
this.state = 111;
|
|
301
345
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
302
346
|
} catch (re) {
|
|
303
347
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -321,29 +365,29 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
321
365
|
var _la = 0;
|
|
322
366
|
try {
|
|
323
367
|
this.enterOuterAlt(localctx, 1);
|
|
324
|
-
this.state =
|
|
368
|
+
this.state = 113;
|
|
325
369
|
this.match(GISGrammarParser.ENTITY_SYMBOL);
|
|
326
|
-
this.state =
|
|
370
|
+
this.state = 114;
|
|
327
371
|
this.identifier();
|
|
328
|
-
this.state =
|
|
372
|
+
this.state = 115;
|
|
329
373
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
330
|
-
this.state =
|
|
374
|
+
this.state = 116;
|
|
331
375
|
this.property();
|
|
332
|
-
this.state =
|
|
376
|
+
this.state = 121;
|
|
333
377
|
this._errHandler.sync(this);
|
|
334
378
|
_la = this._input.LA(1);
|
|
335
|
-
while(_la===
|
|
336
|
-
this.state =
|
|
379
|
+
while(_la===55) {
|
|
380
|
+
this.state = 117;
|
|
337
381
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
338
|
-
this.state =
|
|
382
|
+
this.state = 118;
|
|
339
383
|
this.property();
|
|
340
|
-
this.state =
|
|
384
|
+
this.state = 123;
|
|
341
385
|
this._errHandler.sync(this);
|
|
342
386
|
_la = this._input.LA(1);
|
|
343
387
|
}
|
|
344
|
-
this.state =
|
|
388
|
+
this.state = 124;
|
|
345
389
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
346
|
-
this.state =
|
|
390
|
+
this.state = 125;
|
|
347
391
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
348
392
|
} catch (re) {
|
|
349
393
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -365,43 +409,43 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
365
409
|
let localctx = new CreateLayerContext(this, this._ctx, this.state);
|
|
366
410
|
this.enterRule(localctx, 10, GISGrammarParser.RULE_createLayer);
|
|
367
411
|
try {
|
|
368
|
-
this.state =
|
|
412
|
+
this.state = 133;
|
|
369
413
|
this._errHandler.sync(this);
|
|
370
414
|
var la_ = this._interp.adaptivePredict(this._input,4,this._ctx);
|
|
371
415
|
switch(la_) {
|
|
372
416
|
case 1:
|
|
373
417
|
this.enterOuterAlt(localctx, 1);
|
|
374
|
-
this.state =
|
|
418
|
+
this.state = 127;
|
|
375
419
|
this.createTileLayer();
|
|
376
420
|
break;
|
|
377
421
|
|
|
378
422
|
case 2:
|
|
379
423
|
this.enterOuterAlt(localctx, 2);
|
|
380
|
-
this.state =
|
|
424
|
+
this.state = 128;
|
|
381
425
|
this.createGeoJSONLayer();
|
|
382
426
|
break;
|
|
383
427
|
|
|
384
428
|
case 3:
|
|
385
429
|
this.enterOuterAlt(localctx, 3);
|
|
386
|
-
this.state =
|
|
430
|
+
this.state = 129;
|
|
387
431
|
this.createWmsStyle();
|
|
388
432
|
break;
|
|
389
433
|
|
|
390
434
|
case 4:
|
|
391
435
|
this.enterOuterAlt(localctx, 4);
|
|
392
|
-
this.state =
|
|
436
|
+
this.state = 130;
|
|
393
437
|
this.createWmsLayer();
|
|
394
438
|
break;
|
|
395
439
|
|
|
396
440
|
case 5:
|
|
397
441
|
this.enterOuterAlt(localctx, 5);
|
|
398
|
-
this.state =
|
|
442
|
+
this.state = 131;
|
|
399
443
|
this.createMap();
|
|
400
444
|
break;
|
|
401
445
|
|
|
402
446
|
case 6:
|
|
403
447
|
this.enterOuterAlt(localctx, 6);
|
|
404
|
-
this.state =
|
|
448
|
+
this.state = 132;
|
|
405
449
|
this.createSortableMap();
|
|
406
450
|
break;
|
|
407
451
|
|
|
@@ -428,31 +472,31 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
428
472
|
var _la = 0;
|
|
429
473
|
try {
|
|
430
474
|
this.enterOuterAlt(localctx, 1);
|
|
431
|
-
this.state =
|
|
475
|
+
this.state = 135;
|
|
432
476
|
this.match(GISGrammarParser.TILE_SYMBOL);
|
|
433
|
-
this.state =
|
|
477
|
+
this.state = 136;
|
|
434
478
|
this.match(GISGrammarParser.LAYER_SYMBOL);
|
|
435
|
-
this.state =
|
|
479
|
+
this.state = 137;
|
|
436
480
|
this.identifier();
|
|
437
|
-
this.state =
|
|
481
|
+
this.state = 140;
|
|
438
482
|
this._errHandler.sync(this);
|
|
439
483
|
_la = this._input.LA(1);
|
|
440
484
|
if(_la===18) {
|
|
441
|
-
this.state =
|
|
485
|
+
this.state = 138;
|
|
442
486
|
this.match(GISGrammarParser.AS_SYMBOL);
|
|
443
|
-
this.state =
|
|
487
|
+
this.state = 139;
|
|
444
488
|
this.text();
|
|
445
489
|
}
|
|
446
490
|
|
|
447
|
-
this.state =
|
|
491
|
+
this.state = 142;
|
|
448
492
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
449
|
-
this.state =
|
|
493
|
+
this.state = 143;
|
|
450
494
|
this.match(GISGrammarParser.URL_SYMBOL);
|
|
451
|
-
this.state =
|
|
495
|
+
this.state = 144;
|
|
452
496
|
this.text();
|
|
453
|
-
this.state =
|
|
497
|
+
this.state = 145;
|
|
454
498
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
455
|
-
this.state =
|
|
499
|
+
this.state = 146;
|
|
456
500
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
457
501
|
} catch (re) {
|
|
458
502
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -476,61 +520,61 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
476
520
|
var _la = 0;
|
|
477
521
|
try {
|
|
478
522
|
this.enterOuterAlt(localctx, 1);
|
|
479
|
-
this.state =
|
|
523
|
+
this.state = 148;
|
|
480
524
|
this.match(GISGrammarParser.GEOJSON_SYMBOL);
|
|
481
|
-
this.state =
|
|
525
|
+
this.state = 149;
|
|
482
526
|
this.match(GISGrammarParser.LAYER_SYMBOL);
|
|
483
|
-
this.state =
|
|
527
|
+
this.state = 150;
|
|
484
528
|
this.identifier();
|
|
485
|
-
this.state =
|
|
529
|
+
this.state = 153;
|
|
486
530
|
this._errHandler.sync(this);
|
|
487
531
|
_la = this._input.LA(1);
|
|
488
532
|
if(_la===18) {
|
|
489
|
-
this.state =
|
|
533
|
+
this.state = 151;
|
|
490
534
|
this.match(GISGrammarParser.AS_SYMBOL);
|
|
491
|
-
this.state =
|
|
535
|
+
this.state = 152;
|
|
492
536
|
this.text();
|
|
493
537
|
}
|
|
494
538
|
|
|
495
|
-
this.state =
|
|
539
|
+
this.state = 155;
|
|
496
540
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
497
|
-
this.state =
|
|
541
|
+
this.state = 156;
|
|
498
542
|
this.identifier();
|
|
499
|
-
this.state =
|
|
543
|
+
this.state = 158;
|
|
500
544
|
this._errHandler.sync(this);
|
|
501
545
|
_la = this._input.LA(1);
|
|
502
546
|
if(_la===21) {
|
|
503
|
-
this.state =
|
|
547
|
+
this.state = 157;
|
|
504
548
|
this.match(GISGrammarParser.EDITABLE_SYMBOL);
|
|
505
549
|
}
|
|
506
550
|
|
|
507
|
-
this.state =
|
|
551
|
+
this.state = 160;
|
|
508
552
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
509
|
-
this.state =
|
|
553
|
+
this.state = 161;
|
|
510
554
|
this.match(GISGrammarParser.FILL_COLOR_SYMBOL);
|
|
511
|
-
this.state =
|
|
555
|
+
this.state = 162;
|
|
512
556
|
this.hexColor();
|
|
513
|
-
this.state =
|
|
557
|
+
this.state = 163;
|
|
514
558
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
515
|
-
this.state =
|
|
559
|
+
this.state = 164;
|
|
516
560
|
this.match(GISGrammarParser.STROKE_COLOR_SYMBOL);
|
|
517
|
-
this.state =
|
|
561
|
+
this.state = 165;
|
|
518
562
|
this.hexColor();
|
|
519
|
-
this.state =
|
|
563
|
+
this.state = 166;
|
|
520
564
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
521
|
-
this.state =
|
|
565
|
+
this.state = 167;
|
|
522
566
|
this.match(GISGrammarParser.FILL_OPACITY_SYMBOL);
|
|
523
|
-
this.state =
|
|
567
|
+
this.state = 168;
|
|
524
568
|
this.floatNumber();
|
|
525
|
-
this.state =
|
|
569
|
+
this.state = 169;
|
|
526
570
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
527
|
-
this.state =
|
|
571
|
+
this.state = 170;
|
|
528
572
|
this.match(GISGrammarParser.STROKE_OPACITY_SYMBOL);
|
|
529
|
-
this.state =
|
|
573
|
+
this.state = 171;
|
|
530
574
|
this.floatNumber();
|
|
531
|
-
this.state =
|
|
575
|
+
this.state = 172;
|
|
532
576
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
533
|
-
this.state =
|
|
577
|
+
this.state = 173;
|
|
534
578
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
535
579
|
} catch (re) {
|
|
536
580
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -554,108 +598,108 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
554
598
|
var _la = 0;
|
|
555
599
|
try {
|
|
556
600
|
this.enterOuterAlt(localctx, 1);
|
|
557
|
-
this.state =
|
|
601
|
+
this.state = 175;
|
|
558
602
|
this.match(GISGrammarParser.GEOMETRY_TYPE_SYMBOL);
|
|
559
|
-
this.state =
|
|
603
|
+
this.state = 176;
|
|
560
604
|
this.match(GISGrammarParser.TYPE);
|
|
561
|
-
this.state =
|
|
605
|
+
this.state = 177;
|
|
562
606
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
563
|
-
this.state =
|
|
607
|
+
this.state = 179;
|
|
564
608
|
this._errHandler.sync(this);
|
|
565
609
|
_la = this._input.LA(1);
|
|
566
610
|
if(_la===22) {
|
|
567
|
-
this.state =
|
|
611
|
+
this.state = 178;
|
|
568
612
|
this.match(GISGrammarParser.FILL_COLOR_SYMBOL);
|
|
569
613
|
}
|
|
570
614
|
|
|
571
|
-
this.state =
|
|
615
|
+
this.state = 182;
|
|
572
616
|
this._errHandler.sync(this);
|
|
573
617
|
var la_ = this._interp.adaptivePredict(this._input,9,this._ctx);
|
|
574
618
|
if(la_===1) {
|
|
575
|
-
this.state =
|
|
619
|
+
this.state = 181;
|
|
576
620
|
this.hexColor();
|
|
577
621
|
|
|
578
622
|
}
|
|
579
|
-
this.state =
|
|
623
|
+
this.state = 185;
|
|
580
624
|
this._errHandler.sync(this);
|
|
581
625
|
var la_ = this._interp.adaptivePredict(this._input,10,this._ctx);
|
|
582
626
|
if(la_===1) {
|
|
583
|
-
this.state =
|
|
627
|
+
this.state = 184;
|
|
584
628
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
585
629
|
|
|
586
630
|
}
|
|
587
|
-
this.state =
|
|
631
|
+
this.state = 188;
|
|
588
632
|
this._errHandler.sync(this);
|
|
589
633
|
_la = this._input.LA(1);
|
|
590
634
|
if(_la===23) {
|
|
591
|
-
this.state =
|
|
635
|
+
this.state = 187;
|
|
592
636
|
this.match(GISGrammarParser.STROKE_COLOR_SYMBOL);
|
|
593
637
|
}
|
|
594
638
|
|
|
595
|
-
this.state =
|
|
639
|
+
this.state = 191;
|
|
596
640
|
this._errHandler.sync(this);
|
|
597
641
|
_la = this._input.LA(1);
|
|
598
|
-
if(_la===
|
|
599
|
-
this.state =
|
|
642
|
+
if(_la===57) {
|
|
643
|
+
this.state = 190;
|
|
600
644
|
this.hexColor();
|
|
601
645
|
}
|
|
602
646
|
|
|
603
|
-
this.state =
|
|
647
|
+
this.state = 194;
|
|
604
648
|
this._errHandler.sync(this);
|
|
605
649
|
var la_ = this._interp.adaptivePredict(this._input,13,this._ctx);
|
|
606
650
|
if(la_===1) {
|
|
607
|
-
this.state =
|
|
651
|
+
this.state = 193;
|
|
608
652
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
609
653
|
|
|
610
654
|
}
|
|
611
|
-
this.state =
|
|
655
|
+
this.state = 197;
|
|
612
656
|
this._errHandler.sync(this);
|
|
613
657
|
_la = this._input.LA(1);
|
|
614
658
|
if(_la===24) {
|
|
615
|
-
this.state =
|
|
659
|
+
this.state = 196;
|
|
616
660
|
this.match(GISGrammarParser.FILL_OPACITY_SYMBOL);
|
|
617
661
|
}
|
|
618
662
|
|
|
619
|
-
this.state =
|
|
663
|
+
this.state = 201;
|
|
620
664
|
this._errHandler.sync(this);
|
|
621
665
|
var la_ = this._interp.adaptivePredict(this._input,15,this._ctx);
|
|
622
666
|
if(la_===1) {
|
|
623
|
-
this.state =
|
|
667
|
+
this.state = 199;
|
|
624
668
|
this.floatNumber();
|
|
625
669
|
|
|
626
670
|
} else if(la_===2) {
|
|
627
|
-
this.state =
|
|
671
|
+
this.state = 200;
|
|
628
672
|
this.intNumber();
|
|
629
673
|
|
|
630
674
|
}
|
|
631
|
-
this.state =
|
|
675
|
+
this.state = 204;
|
|
632
676
|
this._errHandler.sync(this);
|
|
633
677
|
_la = this._input.LA(1);
|
|
634
|
-
if(_la===
|
|
635
|
-
this.state =
|
|
678
|
+
if(_la===55) {
|
|
679
|
+
this.state = 203;
|
|
636
680
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
637
681
|
}
|
|
638
682
|
|
|
639
|
-
this.state =
|
|
683
|
+
this.state = 207;
|
|
640
684
|
this._errHandler.sync(this);
|
|
641
685
|
_la = this._input.LA(1);
|
|
642
686
|
if(_la===25) {
|
|
643
|
-
this.state =
|
|
687
|
+
this.state = 206;
|
|
644
688
|
this.match(GISGrammarParser.STROKE_OPACITY_SYMBOL);
|
|
645
689
|
}
|
|
646
690
|
|
|
647
|
-
this.state =
|
|
691
|
+
this.state = 211;
|
|
648
692
|
this._errHandler.sync(this);
|
|
649
693
|
switch (this._input.LA(1)) {
|
|
650
|
-
case
|
|
651
|
-
this.state =
|
|
694
|
+
case 59:
|
|
695
|
+
this.state = 209;
|
|
652
696
|
this.floatNumber();
|
|
653
697
|
break;
|
|
654
|
-
case
|
|
655
|
-
this.state =
|
|
698
|
+
case 58:
|
|
699
|
+
this.state = 210;
|
|
656
700
|
this.intNumber();
|
|
657
701
|
break;
|
|
658
|
-
case
|
|
702
|
+
case 54:
|
|
659
703
|
break;
|
|
660
704
|
default:
|
|
661
705
|
break;
|
|
@@ -682,43 +726,43 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
682
726
|
var _la = 0;
|
|
683
727
|
try {
|
|
684
728
|
this.enterOuterAlt(localctx, 1);
|
|
685
|
-
this.state =
|
|
729
|
+
this.state = 213;
|
|
686
730
|
this.match(GISGrammarParser.WMS_SYMBOL);
|
|
687
|
-
this.state =
|
|
731
|
+
this.state = 214;
|
|
688
732
|
this.match(GISGrammarParser.STYLE_SYMBOL);
|
|
689
|
-
this.state =
|
|
733
|
+
this.state = 215;
|
|
690
734
|
this.identifier();
|
|
691
|
-
this.state =
|
|
735
|
+
this.state = 216;
|
|
692
736
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
693
|
-
this.state =
|
|
737
|
+
this.state = 219;
|
|
694
738
|
this._errHandler.sync(this);
|
|
695
739
|
_la = this._input.LA(1);
|
|
696
740
|
if(_la===20) {
|
|
697
|
-
this.state =
|
|
741
|
+
this.state = 217;
|
|
698
742
|
this.match(GISGrammarParser.SLD_SYMBOL);
|
|
699
|
-
this.state =
|
|
743
|
+
this.state = 218;
|
|
700
744
|
this.text();
|
|
701
745
|
}
|
|
702
746
|
|
|
703
|
-
this.state =
|
|
747
|
+
this.state = 222;
|
|
704
748
|
this._errHandler.sync(this);
|
|
705
749
|
_la = this._input.LA(1);
|
|
706
|
-
if(_la===
|
|
707
|
-
this.state =
|
|
750
|
+
if(_la===55) {
|
|
751
|
+
this.state = 221;
|
|
708
752
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
709
753
|
}
|
|
710
754
|
|
|
711
|
-
this.state =
|
|
755
|
+
this.state = 225;
|
|
712
756
|
this._errHandler.sync(this);
|
|
713
757
|
_la = this._input.LA(1);
|
|
714
758
|
if(_la===17) {
|
|
715
|
-
this.state =
|
|
759
|
+
this.state = 224;
|
|
716
760
|
this.sldCustomBody();
|
|
717
761
|
}
|
|
718
762
|
|
|
719
|
-
this.state =
|
|
763
|
+
this.state = 227;
|
|
720
764
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
721
|
-
this.state =
|
|
765
|
+
this.state = 228;
|
|
722
766
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
723
767
|
} catch (re) {
|
|
724
768
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -742,41 +786,41 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
742
786
|
var _la = 0;
|
|
743
787
|
try {
|
|
744
788
|
this.enterOuterAlt(localctx, 1);
|
|
745
|
-
this.state =
|
|
789
|
+
this.state = 230;
|
|
746
790
|
this.match(GISGrammarParser.WMS_SYMBOL);
|
|
747
|
-
this.state =
|
|
791
|
+
this.state = 231;
|
|
748
792
|
this.match(GISGrammarParser.LAYER_SYMBOL);
|
|
749
|
-
this.state =
|
|
793
|
+
this.state = 232;
|
|
750
794
|
this.identifier();
|
|
751
|
-
this.state =
|
|
795
|
+
this.state = 235;
|
|
752
796
|
this._errHandler.sync(this);
|
|
753
797
|
_la = this._input.LA(1);
|
|
754
798
|
if(_la===18) {
|
|
755
|
-
this.state =
|
|
799
|
+
this.state = 233;
|
|
756
800
|
this.match(GISGrammarParser.AS_SYMBOL);
|
|
757
|
-
this.state =
|
|
801
|
+
this.state = 234;
|
|
758
802
|
this.text();
|
|
759
803
|
}
|
|
760
804
|
|
|
761
|
-
this.state =
|
|
805
|
+
this.state = 237;
|
|
762
806
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
763
|
-
this.state =
|
|
807
|
+
this.state = 238;
|
|
764
808
|
this.wmsSubLayer();
|
|
765
|
-
this.state =
|
|
809
|
+
this.state = 243;
|
|
766
810
|
this._errHandler.sync(this);
|
|
767
811
|
_la = this._input.LA(1);
|
|
768
|
-
while(_la===
|
|
769
|
-
this.state =
|
|
812
|
+
while(_la===55) {
|
|
813
|
+
this.state = 239;
|
|
770
814
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
771
|
-
this.state =
|
|
815
|
+
this.state = 240;
|
|
772
816
|
this.wmsSubLayer();
|
|
773
|
-
this.state =
|
|
817
|
+
this.state = 245;
|
|
774
818
|
this._errHandler.sync(this);
|
|
775
819
|
_la = this._input.LA(1);
|
|
776
820
|
}
|
|
777
|
-
this.state =
|
|
821
|
+
this.state = 246;
|
|
778
822
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
779
|
-
this.state =
|
|
823
|
+
this.state = 247;
|
|
780
824
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
781
825
|
} catch (re) {
|
|
782
826
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -798,11 +842,82 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
798
842
|
let localctx = new WmsSubLayerContext(this, this._ctx, this.state);
|
|
799
843
|
this.enterRule(localctx, 22, GISGrammarParser.RULE_wmsSubLayer);
|
|
800
844
|
try {
|
|
801
|
-
this.
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
804
|
-
|
|
805
|
-
|
|
845
|
+
this.state = 275;
|
|
846
|
+
this._errHandler.sync(this);
|
|
847
|
+
switch(this._input.LA(1)) {
|
|
848
|
+
case 62:
|
|
849
|
+
this.enterOuterAlt(localctx, 1);
|
|
850
|
+
this.state = 249;
|
|
851
|
+
this.identifier();
|
|
852
|
+
this.state = 250;
|
|
853
|
+
this.identifier();
|
|
854
|
+
break;
|
|
855
|
+
case 34:
|
|
856
|
+
this.enterOuterAlt(localctx, 2);
|
|
857
|
+
this.state = 252;
|
|
858
|
+
this.wmsUrl();
|
|
859
|
+
this.state = 253;
|
|
860
|
+
this.wmsLayerName();
|
|
861
|
+
this.state = 255;
|
|
862
|
+
this._errHandler.sync(this);
|
|
863
|
+
var la_ = this._interp.adaptivePredict(this._input,24,this._ctx);
|
|
864
|
+
if(la_===1) {
|
|
865
|
+
this.state = 254;
|
|
866
|
+
this.wmsFormatName();
|
|
867
|
+
|
|
868
|
+
}
|
|
869
|
+
this.state = 258;
|
|
870
|
+
this._errHandler.sync(this);
|
|
871
|
+
var la_ = this._interp.adaptivePredict(this._input,25,this._ctx);
|
|
872
|
+
if(la_===1) {
|
|
873
|
+
this.state = 257;
|
|
874
|
+
this.wmsCrs();
|
|
875
|
+
|
|
876
|
+
}
|
|
877
|
+
this.state = 261;
|
|
878
|
+
this._errHandler.sync(this);
|
|
879
|
+
var la_ = this._interp.adaptivePredict(this._input,26,this._ctx);
|
|
880
|
+
if(la_===1) {
|
|
881
|
+
this.state = 260;
|
|
882
|
+
this.wmsStyles();
|
|
883
|
+
|
|
884
|
+
}
|
|
885
|
+
this.state = 264;
|
|
886
|
+
this._errHandler.sync(this);
|
|
887
|
+
var la_ = this._interp.adaptivePredict(this._input,27,this._ctx);
|
|
888
|
+
if(la_===1) {
|
|
889
|
+
this.state = 263;
|
|
890
|
+
this.wmsQueryable();
|
|
891
|
+
|
|
892
|
+
}
|
|
893
|
+
this.state = 267;
|
|
894
|
+
this._errHandler.sync(this);
|
|
895
|
+
var la_ = this._interp.adaptivePredict(this._input,28,this._ctx);
|
|
896
|
+
if(la_===1) {
|
|
897
|
+
this.state = 266;
|
|
898
|
+
this.wmsAttribution();
|
|
899
|
+
|
|
900
|
+
}
|
|
901
|
+
this.state = 270;
|
|
902
|
+
this._errHandler.sync(this);
|
|
903
|
+
var la_ = this._interp.adaptivePredict(this._input,29,this._ctx);
|
|
904
|
+
if(la_===1) {
|
|
905
|
+
this.state = 269;
|
|
906
|
+
this.wmsBboxGroup();
|
|
907
|
+
|
|
908
|
+
}
|
|
909
|
+
this.state = 273;
|
|
910
|
+
this._errHandler.sync(this);
|
|
911
|
+
var la_ = this._interp.adaptivePredict(this._input,30,this._ctx);
|
|
912
|
+
if(la_===1) {
|
|
913
|
+
this.state = 272;
|
|
914
|
+
this.wmsVersion();
|
|
915
|
+
|
|
916
|
+
}
|
|
917
|
+
break;
|
|
918
|
+
default:
|
|
919
|
+
throw new antlr4.error.NoViableAltException(this);
|
|
920
|
+
}
|
|
806
921
|
} catch (re) {
|
|
807
922
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
808
923
|
localctx.exception = re;
|
|
@@ -819,15 +934,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
819
934
|
|
|
820
935
|
|
|
821
936
|
|
|
822
|
-
|
|
823
|
-
let localctx = new
|
|
824
|
-
this.enterRule(localctx, 24, GISGrammarParser.
|
|
937
|
+
wmsUrl() {
|
|
938
|
+
let localctx = new WmsUrlContext(this, this._ctx, this.state);
|
|
939
|
+
this.enterRule(localctx, 24, GISGrammarParser.RULE_wmsUrl);
|
|
825
940
|
try {
|
|
826
941
|
this.enterOuterAlt(localctx, 1);
|
|
827
|
-
this.state =
|
|
828
|
-
this.match(GISGrammarParser.
|
|
829
|
-
this.state =
|
|
830
|
-
this.
|
|
942
|
+
this.state = 277;
|
|
943
|
+
this.match(GISGrammarParser.URL_WMS_SYMBOL);
|
|
944
|
+
this.state = 278;
|
|
945
|
+
this.text();
|
|
831
946
|
} catch (re) {
|
|
832
947
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
833
948
|
localctx.exception = re;
|
|
@@ -844,46 +959,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
844
959
|
|
|
845
960
|
|
|
846
961
|
|
|
847
|
-
|
|
848
|
-
let localctx = new
|
|
849
|
-
this.enterRule(localctx, 26, GISGrammarParser.
|
|
850
|
-
var _la = 0;
|
|
962
|
+
wmsLayerName() {
|
|
963
|
+
let localctx = new WmsLayerNameContext(this, this._ctx, this.state);
|
|
964
|
+
this.enterRule(localctx, 26, GISGrammarParser.RULE_wmsLayerName);
|
|
851
965
|
try {
|
|
852
966
|
this.enterOuterAlt(localctx, 1);
|
|
853
|
-
this.state =
|
|
854
|
-
this.match(GISGrammarParser.
|
|
855
|
-
this.state =
|
|
856
|
-
this.
|
|
857
|
-
this.state =
|
|
858
|
-
this.
|
|
859
|
-
_la = this._input.LA(1);
|
|
860
|
-
if(_la===18) {
|
|
861
|
-
this.state = 229;
|
|
862
|
-
this.match(GISGrammarParser.AS_SYMBOL);
|
|
863
|
-
this.state = 230;
|
|
864
|
-
this.text();
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
this.state = 233;
|
|
868
|
-
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
869
|
-
this.state = 234;
|
|
870
|
-
this.mapLayer();
|
|
871
|
-
this.state = 239;
|
|
872
|
-
this._errHandler.sync(this);
|
|
873
|
-
_la = this._input.LA(1);
|
|
874
|
-
while(_la===43) {
|
|
875
|
-
this.state = 235;
|
|
876
|
-
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
877
|
-
this.state = 236;
|
|
878
|
-
this.mapLayer();
|
|
879
|
-
this.state = 241;
|
|
880
|
-
this._errHandler.sync(this);
|
|
881
|
-
_la = this._input.LA(1);
|
|
882
|
-
}
|
|
883
|
-
this.state = 242;
|
|
884
|
-
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
885
|
-
this.state = 243;
|
|
886
|
-
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
967
|
+
this.state = 280;
|
|
968
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
969
|
+
this.state = 281;
|
|
970
|
+
this.match(GISGrammarParser.LAYERNAME_SYMBOL);
|
|
971
|
+
this.state = 282;
|
|
972
|
+
this.text();
|
|
887
973
|
} catch (re) {
|
|
888
974
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
889
975
|
localctx.exception = re;
|
|
@@ -900,30 +986,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
900
986
|
|
|
901
987
|
|
|
902
988
|
|
|
903
|
-
|
|
904
|
-
let localctx = new
|
|
905
|
-
this.enterRule(localctx, 28, GISGrammarParser.
|
|
906
|
-
var _la = 0;
|
|
989
|
+
wmsFormatName() {
|
|
990
|
+
let localctx = new WmsFormatNameContext(this, this._ctx, this.state);
|
|
991
|
+
this.enterRule(localctx, 28, GISGrammarParser.RULE_wmsFormatName);
|
|
907
992
|
try {
|
|
908
993
|
this.enterOuterAlt(localctx, 1);
|
|
909
|
-
this.state =
|
|
910
|
-
this.
|
|
911
|
-
this.state =
|
|
912
|
-
this.
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
this.state = 246;
|
|
916
|
-
this.match(GISGrammarParser.IS_BASE_LAYER_SYMBOL);
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
this.state = 250;
|
|
920
|
-
this._errHandler.sync(this);
|
|
921
|
-
_la = this._input.LA(1);
|
|
922
|
-
if(_la===29) {
|
|
923
|
-
this.state = 249;
|
|
924
|
-
this.match(GISGrammarParser.HIDDEN_SYMBOL);
|
|
925
|
-
}
|
|
926
|
-
|
|
994
|
+
this.state = 284;
|
|
995
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
996
|
+
this.state = 285;
|
|
997
|
+
this.match(GISGrammarParser.FORMAT_SYMBOL);
|
|
998
|
+
this.state = 286;
|
|
999
|
+
this.text();
|
|
927
1000
|
} catch (re) {
|
|
928
1001
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
929
1002
|
localctx.exception = re;
|
|
@@ -940,19 +1013,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
940
1013
|
|
|
941
1014
|
|
|
942
1015
|
|
|
943
|
-
|
|
944
|
-
let localctx = new
|
|
945
|
-
this.enterRule(localctx, 30, GISGrammarParser.
|
|
1016
|
+
wmsCrs() {
|
|
1017
|
+
let localctx = new WmsCrsContext(this, this._ctx, this.state);
|
|
1018
|
+
this.enterRule(localctx, 30, GISGrammarParser.RULE_wmsCrs);
|
|
946
1019
|
try {
|
|
947
1020
|
this.enterOuterAlt(localctx, 1);
|
|
948
|
-
this.state =
|
|
949
|
-
this.match(GISGrammarParser.
|
|
950
|
-
this.state =
|
|
951
|
-
this.match(GISGrammarParser.
|
|
952
|
-
this.state =
|
|
953
|
-
this.
|
|
954
|
-
this.state = 255;
|
|
955
|
-
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1021
|
+
this.state = 288;
|
|
1022
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1023
|
+
this.state = 289;
|
|
1024
|
+
this.match(GISGrammarParser.CRS_SYMBOL);
|
|
1025
|
+
this.state = 290;
|
|
1026
|
+
this.text();
|
|
956
1027
|
} catch (re) {
|
|
957
1028
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
958
1029
|
localctx.exception = re;
|
|
@@ -969,19 +1040,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
969
1040
|
|
|
970
1041
|
|
|
971
1042
|
|
|
972
|
-
|
|
973
|
-
let localctx = new
|
|
974
|
-
this.enterRule(localctx, 32, GISGrammarParser.
|
|
1043
|
+
wmsBboxCrs() {
|
|
1044
|
+
let localctx = new WmsBboxCrsContext(this, this._ctx, this.state);
|
|
1045
|
+
this.enterRule(localctx, 32, GISGrammarParser.RULE_wmsBboxCrs);
|
|
975
1046
|
try {
|
|
976
1047
|
this.enterOuterAlt(localctx, 1);
|
|
977
|
-
this.state =
|
|
978
|
-
this.match(GISGrammarParser.
|
|
979
|
-
this.state =
|
|
980
|
-
this.match(GISGrammarParser.
|
|
981
|
-
this.state =
|
|
982
|
-
this.
|
|
983
|
-
this.state = 260;
|
|
984
|
-
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1048
|
+
this.state = 292;
|
|
1049
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1050
|
+
this.state = 293;
|
|
1051
|
+
this.match(GISGrammarParser.BBOX_CRS_SYMBOL);
|
|
1052
|
+
this.state = 294;
|
|
1053
|
+
this.text();
|
|
985
1054
|
} catch (re) {
|
|
986
1055
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
987
1056
|
localctx.exception = re;
|
|
@@ -998,36 +1067,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
998
1067
|
|
|
999
1068
|
|
|
1000
1069
|
|
|
1001
|
-
|
|
1002
|
-
let localctx = new
|
|
1003
|
-
this.enterRule(localctx, 34, GISGrammarParser.
|
|
1004
|
-
var _la = 0;
|
|
1070
|
+
wmsMinX() {
|
|
1071
|
+
let localctx = new WmsMinXContext(this, this._ctx, this.state);
|
|
1072
|
+
this.enterRule(localctx, 34, GISGrammarParser.RULE_wmsMinX);
|
|
1005
1073
|
try {
|
|
1006
1074
|
this.enterOuterAlt(localctx, 1);
|
|
1007
|
-
this.state =
|
|
1008
|
-
this.match(GISGrammarParser.
|
|
1009
|
-
this.state =
|
|
1010
|
-
this.match(GISGrammarParser.
|
|
1011
|
-
this.state =
|
|
1012
|
-
this.
|
|
1013
|
-
this.state = 265;
|
|
1014
|
-
this.deploymentProperty();
|
|
1015
|
-
this.state = 270;
|
|
1016
|
-
this._errHandler.sync(this);
|
|
1017
|
-
_la = this._input.LA(1);
|
|
1018
|
-
while(_la===43) {
|
|
1019
|
-
this.state = 266;
|
|
1020
|
-
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1021
|
-
this.state = 267;
|
|
1022
|
-
this.deploymentProperty();
|
|
1023
|
-
this.state = 272;
|
|
1024
|
-
this._errHandler.sync(this);
|
|
1025
|
-
_la = this._input.LA(1);
|
|
1026
|
-
}
|
|
1027
|
-
this.state = 273;
|
|
1028
|
-
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1029
|
-
this.state = 274;
|
|
1030
|
-
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1075
|
+
this.state = 296;
|
|
1076
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1077
|
+
this.state = 297;
|
|
1078
|
+
this.match(GISGrammarParser.MINX_SYMBOL);
|
|
1079
|
+
this.state = 298;
|
|
1080
|
+
this.floatNumber();
|
|
1031
1081
|
} catch (re) {
|
|
1032
1082
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1033
1083
|
localctx.exception = re;
|
|
@@ -1044,15 +1094,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1044
1094
|
|
|
1045
1095
|
|
|
1046
1096
|
|
|
1047
|
-
|
|
1048
|
-
let localctx = new
|
|
1049
|
-
this.enterRule(localctx, 36, GISGrammarParser.
|
|
1097
|
+
wmsMinY() {
|
|
1098
|
+
let localctx = new WmsMinYContext(this, this._ctx, this.state);
|
|
1099
|
+
this.enterRule(localctx, 36, GISGrammarParser.RULE_wmsMinY);
|
|
1050
1100
|
try {
|
|
1051
1101
|
this.enterOuterAlt(localctx, 1);
|
|
1052
|
-
this.state =
|
|
1053
|
-
this.
|
|
1054
|
-
this.state =
|
|
1055
|
-
this.
|
|
1102
|
+
this.state = 300;
|
|
1103
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1104
|
+
this.state = 301;
|
|
1105
|
+
this.match(GISGrammarParser.MINY_SYMBOL);
|
|
1106
|
+
this.state = 302;
|
|
1107
|
+
this.floatNumber();
|
|
1056
1108
|
} catch (re) {
|
|
1057
1109
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1058
1110
|
localctx.exception = re;
|
|
@@ -1069,27 +1121,44 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1069
1121
|
|
|
1070
1122
|
|
|
1071
1123
|
|
|
1072
|
-
|
|
1073
|
-
let localctx = new
|
|
1074
|
-
this.enterRule(localctx, 38, GISGrammarParser.
|
|
1124
|
+
wmsMaxX() {
|
|
1125
|
+
let localctx = new WmsMaxXContext(this, this._ctx, this.state);
|
|
1126
|
+
this.enterRule(localctx, 38, GISGrammarParser.RULE_wmsMaxX);
|
|
1075
1127
|
try {
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1128
|
+
this.enterOuterAlt(localctx, 1);
|
|
1129
|
+
this.state = 304;
|
|
1130
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1131
|
+
this.state = 305;
|
|
1132
|
+
this.match(GISGrammarParser.MAXX_SYMBOL);
|
|
1133
|
+
this.state = 306;
|
|
1134
|
+
this.floatNumber();
|
|
1135
|
+
} catch (re) {
|
|
1136
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1137
|
+
localctx.exception = re;
|
|
1138
|
+
this._errHandler.reportError(this, re);
|
|
1139
|
+
this._errHandler.recover(this, re);
|
|
1140
|
+
} else {
|
|
1141
|
+
throw re;
|
|
1142
|
+
}
|
|
1143
|
+
} finally {
|
|
1144
|
+
this.exitRule();
|
|
1145
|
+
}
|
|
1146
|
+
return localctx;
|
|
1147
|
+
}
|
|
1085
1148
|
|
|
1086
|
-
case 2:
|
|
1087
|
-
this.enterOuterAlt(localctx, 2);
|
|
1088
|
-
this.state = 280;
|
|
1089
|
-
this.relationshipDefinition();
|
|
1090
|
-
break;
|
|
1091
1149
|
|
|
1092
|
-
|
|
1150
|
+
|
|
1151
|
+
wmsMaxY() {
|
|
1152
|
+
let localctx = new WmsMaxYContext(this, this._ctx, this.state);
|
|
1153
|
+
this.enterRule(localctx, 40, GISGrammarParser.RULE_wmsMaxY);
|
|
1154
|
+
try {
|
|
1155
|
+
this.enterOuterAlt(localctx, 1);
|
|
1156
|
+
this.state = 308;
|
|
1157
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1158
|
+
this.state = 309;
|
|
1159
|
+
this.match(GISGrammarParser.MAXY_SYMBOL);
|
|
1160
|
+
this.state = 310;
|
|
1161
|
+
this.floatNumber();
|
|
1093
1162
|
} catch (re) {
|
|
1094
1163
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1095
1164
|
localctx.exception = re;
|
|
@@ -1106,33 +1175,21 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1106
1175
|
|
|
1107
1176
|
|
|
1108
1177
|
|
|
1109
|
-
|
|
1110
|
-
let localctx = new
|
|
1111
|
-
this.enterRule(localctx,
|
|
1112
|
-
var _la = 0;
|
|
1178
|
+
wmsBboxGroup() {
|
|
1179
|
+
let localctx = new WmsBboxGroupContext(this, this._ctx, this.state);
|
|
1180
|
+
this.enterRule(localctx, 42, GISGrammarParser.RULE_wmsBboxGroup);
|
|
1113
1181
|
try {
|
|
1114
1182
|
this.enterOuterAlt(localctx, 1);
|
|
1115
|
-
this.state =
|
|
1116
|
-
this.
|
|
1117
|
-
this.state =
|
|
1118
|
-
this.
|
|
1119
|
-
this.state =
|
|
1120
|
-
this.
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0))) {
|
|
1126
|
-
this._errHandler.recoverInline(this);
|
|
1127
|
-
}
|
|
1128
|
-
else {
|
|
1129
|
-
this._errHandler.reportMatch(this);
|
|
1130
|
-
this.consume();
|
|
1131
|
-
}
|
|
1132
|
-
this.state = 290;
|
|
1133
|
-
this._errHandler.sync(this);
|
|
1134
|
-
_la = this._input.LA(1);
|
|
1135
|
-
}
|
|
1183
|
+
this.state = 312;
|
|
1184
|
+
this.wmsBboxCrs();
|
|
1185
|
+
this.state = 313;
|
|
1186
|
+
this.wmsMinX();
|
|
1187
|
+
this.state = 314;
|
|
1188
|
+
this.wmsMinY();
|
|
1189
|
+
this.state = 315;
|
|
1190
|
+
this.wmsMaxX();
|
|
1191
|
+
this.state = 316;
|
|
1192
|
+
this.wmsMaxY();
|
|
1136
1193
|
} catch (re) {
|
|
1137
1194
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1138
1195
|
localctx.exception = re;
|
|
@@ -1149,27 +1206,44 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1149
1206
|
|
|
1150
1207
|
|
|
1151
1208
|
|
|
1152
|
-
|
|
1153
|
-
let localctx = new
|
|
1154
|
-
this.enterRule(localctx,
|
|
1209
|
+
wmsStyles() {
|
|
1210
|
+
let localctx = new WmsStylesContext(this, this._ctx, this.state);
|
|
1211
|
+
this.enterRule(localctx, 44, GISGrammarParser.RULE_wmsStyles);
|
|
1155
1212
|
try {
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1213
|
+
this.enterOuterAlt(localctx, 1);
|
|
1214
|
+
this.state = 318;
|
|
1215
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1216
|
+
this.state = 319;
|
|
1217
|
+
this.match(GISGrammarParser.STYLE_SYMBOL);
|
|
1218
|
+
this.state = 320;
|
|
1219
|
+
this.text();
|
|
1220
|
+
} catch (re) {
|
|
1221
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1222
|
+
localctx.exception = re;
|
|
1223
|
+
this._errHandler.reportError(this, re);
|
|
1224
|
+
this._errHandler.recover(this, re);
|
|
1225
|
+
} else {
|
|
1226
|
+
throw re;
|
|
1227
|
+
}
|
|
1228
|
+
} finally {
|
|
1229
|
+
this.exitRule();
|
|
1230
|
+
}
|
|
1231
|
+
return localctx;
|
|
1232
|
+
}
|
|
1165
1233
|
|
|
1166
|
-
case 2:
|
|
1167
|
-
this.enterOuterAlt(localctx, 2);
|
|
1168
|
-
this.state = 292;
|
|
1169
|
-
this.mappedRelationshipDefinition();
|
|
1170
|
-
break;
|
|
1171
1234
|
|
|
1172
|
-
|
|
1235
|
+
|
|
1236
|
+
wmsQueryable() {
|
|
1237
|
+
let localctx = new WmsQueryableContext(this, this._ctx, this.state);
|
|
1238
|
+
this.enterRule(localctx, 46, GISGrammarParser.RULE_wmsQueryable);
|
|
1239
|
+
try {
|
|
1240
|
+
this.enterOuterAlt(localctx, 1);
|
|
1241
|
+
this.state = 322;
|
|
1242
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1243
|
+
this.state = 323;
|
|
1244
|
+
this.match(GISGrammarParser.QUERYABLE_SYMBOL);
|
|
1245
|
+
this.state = 324;
|
|
1246
|
+
this.text();
|
|
1173
1247
|
} catch (re) {
|
|
1174
1248
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1175
1249
|
localctx.exception = re;
|
|
@@ -1186,21 +1260,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1186
1260
|
|
|
1187
1261
|
|
|
1188
1262
|
|
|
1189
|
-
|
|
1190
|
-
let localctx = new
|
|
1191
|
-
this.enterRule(localctx,
|
|
1263
|
+
wmsAttribution() {
|
|
1264
|
+
let localctx = new WmsAttributionContext(this, this._ctx, this.state);
|
|
1265
|
+
this.enterRule(localctx, 48, GISGrammarParser.RULE_wmsAttribution);
|
|
1192
1266
|
try {
|
|
1193
1267
|
this.enterOuterAlt(localctx, 1);
|
|
1194
|
-
this.state =
|
|
1195
|
-
this.
|
|
1196
|
-
this.state =
|
|
1197
|
-
this.
|
|
1198
|
-
this.state =
|
|
1199
|
-
this.
|
|
1200
|
-
this.state = 298;
|
|
1201
|
-
this.match(GISGrammarParser.MAPPEDBY_SYMBOL);
|
|
1202
|
-
this.state = 299;
|
|
1203
|
-
this.identifier();
|
|
1268
|
+
this.state = 326;
|
|
1269
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1270
|
+
this.state = 327;
|
|
1271
|
+
this.match(GISGrammarParser.ATTRIBUTION_SYMBOL);
|
|
1272
|
+
this.state = 328;
|
|
1273
|
+
this.text();
|
|
1204
1274
|
} catch (re) {
|
|
1205
1275
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1206
1276
|
localctx.exception = re;
|
|
@@ -1217,36 +1287,17 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1217
1287
|
|
|
1218
1288
|
|
|
1219
1289
|
|
|
1220
|
-
|
|
1221
|
-
let localctx = new
|
|
1222
|
-
this.enterRule(localctx,
|
|
1223
|
-
var _la = 0;
|
|
1290
|
+
wmsVersion() {
|
|
1291
|
+
let localctx = new WmsVersionContext(this, this._ctx, this.state);
|
|
1292
|
+
this.enterRule(localctx, 50, GISGrammarParser.RULE_wmsVersion);
|
|
1224
1293
|
try {
|
|
1225
1294
|
this.enterOuterAlt(localctx, 1);
|
|
1226
|
-
this.state =
|
|
1227
|
-
this.identifier();
|
|
1228
|
-
this.state = 302;
|
|
1229
|
-
this.identifier();
|
|
1230
|
-
this.state = 303;
|
|
1231
|
-
this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
|
|
1232
|
-
this.state = 304;
|
|
1233
|
-
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1234
|
-
this.state = 305;
|
|
1235
|
-
this.cardinality();
|
|
1236
|
-
this.state = 306;
|
|
1295
|
+
this.state = 330;
|
|
1237
1296
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1238
|
-
this.state =
|
|
1239
|
-
this.
|
|
1240
|
-
this.state =
|
|
1241
|
-
this.
|
|
1242
|
-
this.state = 310;
|
|
1243
|
-
this._errHandler.sync(this);
|
|
1244
|
-
_la = this._input.LA(1);
|
|
1245
|
-
if(_la===12) {
|
|
1246
|
-
this.state = 309;
|
|
1247
|
-
this.match(GISGrammarParser.BIDIRECTIONAL_SYMBOL);
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1297
|
+
this.state = 331;
|
|
1298
|
+
this.match(GISGrammarParser.VERSION_SYMBOL);
|
|
1299
|
+
this.state = 332;
|
|
1300
|
+
this.text();
|
|
1250
1301
|
} catch (re) {
|
|
1251
1302
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1252
1303
|
localctx.exception = re;
|
|
@@ -1263,21 +1314,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1263
1314
|
|
|
1264
1315
|
|
|
1265
1316
|
|
|
1266
|
-
|
|
1267
|
-
let localctx = new
|
|
1268
|
-
this.enterRule(localctx,
|
|
1269
|
-
var _la = 0;
|
|
1317
|
+
createSortableMap() {
|
|
1318
|
+
let localctx = new CreateSortableMapContext(this, this._ctx, this.state);
|
|
1319
|
+
this.enterRule(localctx, 52, GISGrammarParser.RULE_createSortableMap);
|
|
1270
1320
|
try {
|
|
1271
1321
|
this.enterOuterAlt(localctx, 1);
|
|
1272
|
-
this.state =
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
this.
|
|
1276
|
-
}
|
|
1277
|
-
else {
|
|
1278
|
-
this._errHandler.reportMatch(this);
|
|
1279
|
-
this.consume();
|
|
1280
|
-
}
|
|
1322
|
+
this.state = 334;
|
|
1323
|
+
this.match(GISGrammarParser.SORTABLE_SYMBOL);
|
|
1324
|
+
this.state = 335;
|
|
1325
|
+
this.createMap();
|
|
1281
1326
|
} catch (re) {
|
|
1282
1327
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1283
1328
|
localctx.exception = re;
|
|
@@ -1294,13 +1339,46 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1294
1339
|
|
|
1295
1340
|
|
|
1296
1341
|
|
|
1297
|
-
|
|
1298
|
-
let localctx = new
|
|
1299
|
-
this.enterRule(localctx,
|
|
1342
|
+
createMap() {
|
|
1343
|
+
let localctx = new CreateMapContext(this, this._ctx, this.state);
|
|
1344
|
+
this.enterRule(localctx, 54, GISGrammarParser.RULE_createMap);
|
|
1345
|
+
var _la = 0;
|
|
1300
1346
|
try {
|
|
1301
1347
|
this.enterOuterAlt(localctx, 1);
|
|
1302
|
-
this.state =
|
|
1303
|
-
this.match(GISGrammarParser.
|
|
1348
|
+
this.state = 337;
|
|
1349
|
+
this.match(GISGrammarParser.MAP_SYMBOL);
|
|
1350
|
+
this.state = 338;
|
|
1351
|
+
this.identifier();
|
|
1352
|
+
this.state = 341;
|
|
1353
|
+
this._errHandler.sync(this);
|
|
1354
|
+
_la = this._input.LA(1);
|
|
1355
|
+
if(_la===18) {
|
|
1356
|
+
this.state = 339;
|
|
1357
|
+
this.match(GISGrammarParser.AS_SYMBOL);
|
|
1358
|
+
this.state = 340;
|
|
1359
|
+
this.text();
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
this.state = 343;
|
|
1363
|
+
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1364
|
+
this.state = 344;
|
|
1365
|
+
this.mapLayer();
|
|
1366
|
+
this.state = 349;
|
|
1367
|
+
this._errHandler.sync(this);
|
|
1368
|
+
_la = this._input.LA(1);
|
|
1369
|
+
while(_la===55) {
|
|
1370
|
+
this.state = 345;
|
|
1371
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1372
|
+
this.state = 346;
|
|
1373
|
+
this.mapLayer();
|
|
1374
|
+
this.state = 351;
|
|
1375
|
+
this._errHandler.sync(this);
|
|
1376
|
+
_la = this._input.LA(1);
|
|
1377
|
+
}
|
|
1378
|
+
this.state = 352;
|
|
1379
|
+
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1380
|
+
this.state = 353;
|
|
1381
|
+
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1304
1382
|
} catch (re) {
|
|
1305
1383
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1306
1384
|
localctx.exception = re;
|
|
@@ -1317,13 +1395,30 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1317
1395
|
|
|
1318
1396
|
|
|
1319
1397
|
|
|
1320
|
-
|
|
1321
|
-
let localctx = new
|
|
1322
|
-
this.enterRule(localctx,
|
|
1398
|
+
mapLayer() {
|
|
1399
|
+
let localctx = new MapLayerContext(this, this._ctx, this.state);
|
|
1400
|
+
this.enterRule(localctx, 56, GISGrammarParser.RULE_mapLayer);
|
|
1401
|
+
var _la = 0;
|
|
1323
1402
|
try {
|
|
1324
1403
|
this.enterOuterAlt(localctx, 1);
|
|
1325
|
-
this.state =
|
|
1326
|
-
this.
|
|
1404
|
+
this.state = 355;
|
|
1405
|
+
this.identifier();
|
|
1406
|
+
this.state = 357;
|
|
1407
|
+
this._errHandler.sync(this);
|
|
1408
|
+
_la = this._input.LA(1);
|
|
1409
|
+
if(_la===28) {
|
|
1410
|
+
this.state = 356;
|
|
1411
|
+
this.match(GISGrammarParser.IS_BASE_LAYER_SYMBOL);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
this.state = 360;
|
|
1415
|
+
this._errHandler.sync(this);
|
|
1416
|
+
_la = this._input.LA(1);
|
|
1417
|
+
if(_la===29) {
|
|
1418
|
+
this.state = 359;
|
|
1419
|
+
this.match(GISGrammarParser.HIDDEN_SYMBOL);
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1327
1422
|
} catch (re) {
|
|
1328
1423
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1329
1424
|
localctx.exception = re;
|
|
@@ -1340,13 +1435,19 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1340
1435
|
|
|
1341
1436
|
|
|
1342
1437
|
|
|
1343
|
-
|
|
1344
|
-
let localctx = new
|
|
1345
|
-
this.enterRule(localctx,
|
|
1438
|
+
useGIS() {
|
|
1439
|
+
let localctx = new UseGISContext(this, this._ctx, this.state);
|
|
1440
|
+
this.enterRule(localctx, 58, GISGrammarParser.RULE_useGIS);
|
|
1346
1441
|
try {
|
|
1347
1442
|
this.enterOuterAlt(localctx, 1);
|
|
1348
|
-
this.state =
|
|
1349
|
-
this.match(GISGrammarParser.
|
|
1443
|
+
this.state = 362;
|
|
1444
|
+
this.match(GISGrammarParser.USE_SYMBOL);
|
|
1445
|
+
this.state = 363;
|
|
1446
|
+
this.match(GISGrammarParser.GIS_SYMBOL);
|
|
1447
|
+
this.state = 364;
|
|
1448
|
+
this.identifier();
|
|
1449
|
+
this.state = 365;
|
|
1450
|
+
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1350
1451
|
} catch (re) {
|
|
1351
1452
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1352
1453
|
localctx.exception = re;
|
|
@@ -1363,13 +1464,19 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1363
1464
|
|
|
1364
1465
|
|
|
1365
1466
|
|
|
1366
|
-
|
|
1367
|
-
let localctx = new
|
|
1368
|
-
this.enterRule(localctx,
|
|
1467
|
+
generateGIS() {
|
|
1468
|
+
let localctx = new GenerateGISContext(this, this._ctx, this.state);
|
|
1469
|
+
this.enterRule(localctx, 60, GISGrammarParser.RULE_generateGIS);
|
|
1369
1470
|
try {
|
|
1370
1471
|
this.enterOuterAlt(localctx, 1);
|
|
1371
|
-
this.state =
|
|
1372
|
-
this.match(GISGrammarParser.
|
|
1472
|
+
this.state = 367;
|
|
1473
|
+
this.match(GISGrammarParser.GENERATE_SYMBOL);
|
|
1474
|
+
this.state = 368;
|
|
1475
|
+
this.match(GISGrammarParser.GIS_SYMBOL);
|
|
1476
|
+
this.state = 369;
|
|
1477
|
+
this.identifier();
|
|
1478
|
+
this.state = 370;
|
|
1479
|
+
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1373
1480
|
} catch (re) {
|
|
1374
1481
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1375
1482
|
localctx.exception = re;
|
|
@@ -1386,13 +1493,36 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1386
1493
|
|
|
1387
1494
|
|
|
1388
1495
|
|
|
1389
|
-
|
|
1390
|
-
let localctx = new
|
|
1391
|
-
this.enterRule(localctx,
|
|
1496
|
+
setDeployment() {
|
|
1497
|
+
let localctx = new SetDeploymentContext(this, this._ctx, this.state);
|
|
1498
|
+
this.enterRule(localctx, 62, GISGrammarParser.RULE_setDeployment);
|
|
1499
|
+
var _la = 0;
|
|
1392
1500
|
try {
|
|
1393
1501
|
this.enterOuterAlt(localctx, 1);
|
|
1394
|
-
this.state =
|
|
1395
|
-
this.match(GISGrammarParser.
|
|
1502
|
+
this.state = 372;
|
|
1503
|
+
this.match(GISGrammarParser.SET_SYMBOL);
|
|
1504
|
+
this.state = 373;
|
|
1505
|
+
this.match(GISGrammarParser.DEPLOYMENT_SYMBOL);
|
|
1506
|
+
this.state = 374;
|
|
1507
|
+
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1508
|
+
this.state = 375;
|
|
1509
|
+
this.deploymentProperty();
|
|
1510
|
+
this.state = 380;
|
|
1511
|
+
this._errHandler.sync(this);
|
|
1512
|
+
_la = this._input.LA(1);
|
|
1513
|
+
while(_la===55) {
|
|
1514
|
+
this.state = 376;
|
|
1515
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1516
|
+
this.state = 377;
|
|
1517
|
+
this.deploymentProperty();
|
|
1518
|
+
this.state = 382;
|
|
1519
|
+
this._errHandler.sync(this);
|
|
1520
|
+
_la = this._input.LA(1);
|
|
1521
|
+
}
|
|
1522
|
+
this.state = 383;
|
|
1523
|
+
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1524
|
+
this.state = 384;
|
|
1525
|
+
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1396
1526
|
} catch (re) {
|
|
1397
1527
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1398
1528
|
localctx.exception = re;
|
|
@@ -1409,13 +1539,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1409
1539
|
|
|
1410
1540
|
|
|
1411
1541
|
|
|
1412
|
-
|
|
1413
|
-
let localctx = new
|
|
1414
|
-
this.enterRule(localctx,
|
|
1542
|
+
deploymentProperty() {
|
|
1543
|
+
let localctx = new DeploymentPropertyContext(this, this._ctx, this.state);
|
|
1544
|
+
this.enterRule(localctx, 64, GISGrammarParser.RULE_deploymentProperty);
|
|
1415
1545
|
try {
|
|
1416
1546
|
this.enterOuterAlt(localctx, 1);
|
|
1417
|
-
this.state =
|
|
1418
|
-
this.
|
|
1547
|
+
this.state = 386;
|
|
1548
|
+
this.text();
|
|
1549
|
+
this.state = 387;
|
|
1550
|
+
this.text();
|
|
1419
1551
|
} catch (re) {
|
|
1420
1552
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
1421
1553
|
localctx.exception = re;
|
|
@@ -1431,20 +1563,383 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1431
1563
|
}
|
|
1432
1564
|
|
|
1433
1565
|
|
|
1434
|
-
}
|
|
1435
1566
|
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1567
|
+
property() {
|
|
1568
|
+
let localctx = new PropertyContext(this, this._ctx, this.state);
|
|
1569
|
+
this.enterRule(localctx, 66, GISGrammarParser.RULE_property);
|
|
1570
|
+
try {
|
|
1571
|
+
this.state = 391;
|
|
1572
|
+
this._errHandler.sync(this);
|
|
1573
|
+
var la_ = this._interp.adaptivePredict(this._input,37,this._ctx);
|
|
1574
|
+
switch(la_) {
|
|
1575
|
+
case 1:
|
|
1576
|
+
this.enterOuterAlt(localctx, 1);
|
|
1577
|
+
this.state = 389;
|
|
1578
|
+
this.propertyDefinition();
|
|
1579
|
+
break;
|
|
1580
|
+
|
|
1581
|
+
case 2:
|
|
1582
|
+
this.enterOuterAlt(localctx, 2);
|
|
1583
|
+
this.state = 390;
|
|
1584
|
+
this.relationshipDefinition();
|
|
1585
|
+
break;
|
|
1586
|
+
|
|
1587
|
+
}
|
|
1588
|
+
} catch (re) {
|
|
1589
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1590
|
+
localctx.exception = re;
|
|
1591
|
+
this._errHandler.reportError(this, re);
|
|
1592
|
+
this._errHandler.recover(this, re);
|
|
1593
|
+
} else {
|
|
1594
|
+
throw re;
|
|
1595
|
+
}
|
|
1596
|
+
} finally {
|
|
1597
|
+
this.exitRule();
|
|
1598
|
+
}
|
|
1599
|
+
return localctx;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
propertyDefinition() {
|
|
1605
|
+
let localctx = new PropertyDefinitionContext(this, this._ctx, this.state);
|
|
1606
|
+
this.enterRule(localctx, 68, GISGrammarParser.RULE_propertyDefinition);
|
|
1607
|
+
var _la = 0;
|
|
1608
|
+
try {
|
|
1609
|
+
this.enterOuterAlt(localctx, 1);
|
|
1610
|
+
this.state = 393;
|
|
1611
|
+
this.identifier();
|
|
1612
|
+
this.state = 394;
|
|
1613
|
+
this.match(GISGrammarParser.TYPE);
|
|
1614
|
+
this.state = 398;
|
|
1615
|
+
this._errHandler.sync(this);
|
|
1616
|
+
_la = this._input.LA(1);
|
|
1617
|
+
while((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0)) {
|
|
1618
|
+
this.state = 395;
|
|
1619
|
+
_la = this._input.LA(1);
|
|
1620
|
+
if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0))) {
|
|
1621
|
+
this._errHandler.recoverInline(this);
|
|
1622
|
+
}
|
|
1623
|
+
else {
|
|
1624
|
+
this._errHandler.reportMatch(this);
|
|
1625
|
+
this.consume();
|
|
1626
|
+
}
|
|
1627
|
+
this.state = 400;
|
|
1628
|
+
this._errHandler.sync(this);
|
|
1629
|
+
_la = this._input.LA(1);
|
|
1630
|
+
}
|
|
1631
|
+
} catch (re) {
|
|
1632
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1633
|
+
localctx.exception = re;
|
|
1634
|
+
this._errHandler.reportError(this, re);
|
|
1635
|
+
this._errHandler.recover(this, re);
|
|
1636
|
+
} else {
|
|
1637
|
+
throw re;
|
|
1638
|
+
}
|
|
1639
|
+
} finally {
|
|
1640
|
+
this.exitRule();
|
|
1641
|
+
}
|
|
1642
|
+
return localctx;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
relationshipDefinition() {
|
|
1648
|
+
let localctx = new RelationshipDefinitionContext(this, this._ctx, this.state);
|
|
1649
|
+
this.enterRule(localctx, 70, GISGrammarParser.RULE_relationshipDefinition);
|
|
1650
|
+
try {
|
|
1651
|
+
this.state = 403;
|
|
1652
|
+
this._errHandler.sync(this);
|
|
1653
|
+
var la_ = this._interp.adaptivePredict(this._input,39,this._ctx);
|
|
1654
|
+
switch(la_) {
|
|
1655
|
+
case 1:
|
|
1656
|
+
this.enterOuterAlt(localctx, 1);
|
|
1657
|
+
this.state = 401;
|
|
1658
|
+
this.ownedRelationshipDefinition();
|
|
1659
|
+
break;
|
|
1660
|
+
|
|
1661
|
+
case 2:
|
|
1662
|
+
this.enterOuterAlt(localctx, 2);
|
|
1663
|
+
this.state = 402;
|
|
1664
|
+
this.mappedRelationshipDefinition();
|
|
1665
|
+
break;
|
|
1666
|
+
|
|
1667
|
+
}
|
|
1668
|
+
} catch (re) {
|
|
1669
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1670
|
+
localctx.exception = re;
|
|
1671
|
+
this._errHandler.reportError(this, re);
|
|
1672
|
+
this._errHandler.recover(this, re);
|
|
1673
|
+
} else {
|
|
1674
|
+
throw re;
|
|
1675
|
+
}
|
|
1676
|
+
} finally {
|
|
1677
|
+
this.exitRule();
|
|
1678
|
+
}
|
|
1679
|
+
return localctx;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
mappedRelationshipDefinition() {
|
|
1685
|
+
let localctx = new MappedRelationshipDefinitionContext(this, this._ctx, this.state);
|
|
1686
|
+
this.enterRule(localctx, 72, GISGrammarParser.RULE_mappedRelationshipDefinition);
|
|
1687
|
+
try {
|
|
1688
|
+
this.enterOuterAlt(localctx, 1);
|
|
1689
|
+
this.state = 405;
|
|
1690
|
+
this.identifier();
|
|
1691
|
+
this.state = 406;
|
|
1692
|
+
this.identifier();
|
|
1693
|
+
this.state = 407;
|
|
1694
|
+
this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
|
|
1695
|
+
this.state = 408;
|
|
1696
|
+
this.match(GISGrammarParser.MAPPEDBY_SYMBOL);
|
|
1697
|
+
this.state = 409;
|
|
1698
|
+
this.identifier();
|
|
1699
|
+
} catch (re) {
|
|
1700
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1701
|
+
localctx.exception = re;
|
|
1702
|
+
this._errHandler.reportError(this, re);
|
|
1703
|
+
this._errHandler.recover(this, re);
|
|
1704
|
+
} else {
|
|
1705
|
+
throw re;
|
|
1706
|
+
}
|
|
1707
|
+
} finally {
|
|
1708
|
+
this.exitRule();
|
|
1709
|
+
}
|
|
1710
|
+
return localctx;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
ownedRelationshipDefinition() {
|
|
1716
|
+
let localctx = new OwnedRelationshipDefinitionContext(this, this._ctx, this.state);
|
|
1717
|
+
this.enterRule(localctx, 74, GISGrammarParser.RULE_ownedRelationshipDefinition);
|
|
1718
|
+
var _la = 0;
|
|
1719
|
+
try {
|
|
1720
|
+
this.enterOuterAlt(localctx, 1);
|
|
1721
|
+
this.state = 411;
|
|
1722
|
+
this.identifier();
|
|
1723
|
+
this.state = 412;
|
|
1724
|
+
this.identifier();
|
|
1725
|
+
this.state = 413;
|
|
1726
|
+
this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
|
|
1727
|
+
this.state = 414;
|
|
1728
|
+
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1729
|
+
this.state = 415;
|
|
1730
|
+
this.cardinality();
|
|
1731
|
+
this.state = 416;
|
|
1732
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1733
|
+
this.state = 417;
|
|
1734
|
+
this.cardinality();
|
|
1735
|
+
this.state = 418;
|
|
1736
|
+
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1737
|
+
this.state = 420;
|
|
1738
|
+
this._errHandler.sync(this);
|
|
1739
|
+
_la = this._input.LA(1);
|
|
1740
|
+
if(_la===12) {
|
|
1741
|
+
this.state = 419;
|
|
1742
|
+
this.match(GISGrammarParser.BIDIRECTIONAL_SYMBOL);
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
} catch (re) {
|
|
1746
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1747
|
+
localctx.exception = re;
|
|
1748
|
+
this._errHandler.reportError(this, re);
|
|
1749
|
+
this._errHandler.recover(this, re);
|
|
1750
|
+
} else {
|
|
1751
|
+
throw re;
|
|
1752
|
+
}
|
|
1753
|
+
} finally {
|
|
1754
|
+
this.exitRule();
|
|
1755
|
+
}
|
|
1756
|
+
return localctx;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
cardinality() {
|
|
1762
|
+
let localctx = new CardinalityContext(this, this._ctx, this.state);
|
|
1763
|
+
this.enterRule(localctx, 76, GISGrammarParser.RULE_cardinality);
|
|
1764
|
+
var _la = 0;
|
|
1765
|
+
try {
|
|
1766
|
+
this.enterOuterAlt(localctx, 1);
|
|
1767
|
+
this.state = 422;
|
|
1768
|
+
_la = this._input.LA(1);
|
|
1769
|
+
if(!(((((_la - 46)) & ~0x1f) === 0 && ((1 << (_la - 46)) & 15) !== 0))) {
|
|
1770
|
+
this._errHandler.recoverInline(this);
|
|
1771
|
+
}
|
|
1772
|
+
else {
|
|
1773
|
+
this._errHandler.reportMatch(this);
|
|
1774
|
+
this.consume();
|
|
1775
|
+
}
|
|
1776
|
+
} catch (re) {
|
|
1777
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1778
|
+
localctx.exception = re;
|
|
1779
|
+
this._errHandler.reportError(this, re);
|
|
1780
|
+
this._errHandler.recover(this, re);
|
|
1781
|
+
} else {
|
|
1782
|
+
throw re;
|
|
1783
|
+
}
|
|
1784
|
+
} finally {
|
|
1785
|
+
this.exitRule();
|
|
1786
|
+
}
|
|
1787
|
+
return localctx;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
srid() {
|
|
1793
|
+
let localctx = new SridContext(this, this._ctx, this.state);
|
|
1794
|
+
this.enterRule(localctx, 78, GISGrammarParser.RULE_srid);
|
|
1795
|
+
try {
|
|
1796
|
+
this.enterOuterAlt(localctx, 1);
|
|
1797
|
+
this.state = 424;
|
|
1798
|
+
this.match(GISGrammarParser.INT_NUMBER);
|
|
1799
|
+
} catch (re) {
|
|
1800
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1801
|
+
localctx.exception = re;
|
|
1802
|
+
this._errHandler.reportError(this, re);
|
|
1803
|
+
this._errHandler.recover(this, re);
|
|
1804
|
+
} else {
|
|
1805
|
+
throw re;
|
|
1806
|
+
}
|
|
1807
|
+
} finally {
|
|
1808
|
+
this.exitRule();
|
|
1809
|
+
}
|
|
1810
|
+
return localctx;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
identifier() {
|
|
1816
|
+
let localctx = new IdentifierContext(this, this._ctx, this.state);
|
|
1817
|
+
this.enterRule(localctx, 80, GISGrammarParser.RULE_identifier);
|
|
1818
|
+
try {
|
|
1819
|
+
this.enterOuterAlt(localctx, 1);
|
|
1820
|
+
this.state = 426;
|
|
1821
|
+
this.match(GISGrammarParser.IDENTIFIER);
|
|
1822
|
+
} catch (re) {
|
|
1823
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1824
|
+
localctx.exception = re;
|
|
1825
|
+
this._errHandler.reportError(this, re);
|
|
1826
|
+
this._errHandler.recover(this, re);
|
|
1827
|
+
} else {
|
|
1828
|
+
throw re;
|
|
1829
|
+
}
|
|
1830
|
+
} finally {
|
|
1831
|
+
this.exitRule();
|
|
1832
|
+
}
|
|
1833
|
+
return localctx;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
text() {
|
|
1839
|
+
let localctx = new TextContext(this, this._ctx, this.state);
|
|
1840
|
+
this.enterRule(localctx, 82, GISGrammarParser.RULE_text);
|
|
1841
|
+
try {
|
|
1842
|
+
this.enterOuterAlt(localctx, 1);
|
|
1843
|
+
this.state = 428;
|
|
1844
|
+
this.match(GISGrammarParser.QUOTED_TEXT);
|
|
1845
|
+
} catch (re) {
|
|
1846
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1847
|
+
localctx.exception = re;
|
|
1848
|
+
this._errHandler.reportError(this, re);
|
|
1849
|
+
this._errHandler.recover(this, re);
|
|
1850
|
+
} else {
|
|
1851
|
+
throw re;
|
|
1852
|
+
}
|
|
1853
|
+
} finally {
|
|
1854
|
+
this.exitRule();
|
|
1855
|
+
}
|
|
1856
|
+
return localctx;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
hexColor() {
|
|
1862
|
+
let localctx = new HexColorContext(this, this._ctx, this.state);
|
|
1863
|
+
this.enterRule(localctx, 84, GISGrammarParser.RULE_hexColor);
|
|
1864
|
+
try {
|
|
1865
|
+
this.enterOuterAlt(localctx, 1);
|
|
1866
|
+
this.state = 430;
|
|
1867
|
+
this.match(GISGrammarParser.HEX_COLOR);
|
|
1868
|
+
} catch (re) {
|
|
1869
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1870
|
+
localctx.exception = re;
|
|
1871
|
+
this._errHandler.reportError(this, re);
|
|
1872
|
+
this._errHandler.recover(this, re);
|
|
1873
|
+
} else {
|
|
1874
|
+
throw re;
|
|
1875
|
+
}
|
|
1876
|
+
} finally {
|
|
1877
|
+
this.exitRule();
|
|
1878
|
+
}
|
|
1879
|
+
return localctx;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
floatNumber() {
|
|
1885
|
+
let localctx = new FloatNumberContext(this, this._ctx, this.state);
|
|
1886
|
+
this.enterRule(localctx, 86, GISGrammarParser.RULE_floatNumber);
|
|
1887
|
+
try {
|
|
1888
|
+
this.enterOuterAlt(localctx, 1);
|
|
1889
|
+
this.state = 432;
|
|
1890
|
+
this.match(GISGrammarParser.FLOAT_NUMBER);
|
|
1891
|
+
} catch (re) {
|
|
1892
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1893
|
+
localctx.exception = re;
|
|
1894
|
+
this._errHandler.reportError(this, re);
|
|
1895
|
+
this._errHandler.recover(this, re);
|
|
1896
|
+
} else {
|
|
1897
|
+
throw re;
|
|
1898
|
+
}
|
|
1899
|
+
} finally {
|
|
1900
|
+
this.exitRule();
|
|
1901
|
+
}
|
|
1902
|
+
return localctx;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
intNumber() {
|
|
1908
|
+
let localctx = new IntNumberContext(this, this._ctx, this.state);
|
|
1909
|
+
this.enterRule(localctx, 88, GISGrammarParser.RULE_intNumber);
|
|
1910
|
+
try {
|
|
1911
|
+
this.enterOuterAlt(localctx, 1);
|
|
1912
|
+
this.state = 434;
|
|
1913
|
+
this.match(GISGrammarParser.INT_NUMBER);
|
|
1914
|
+
} catch (re) {
|
|
1915
|
+
if(re instanceof antlr4.error.RecognitionException) {
|
|
1916
|
+
localctx.exception = re;
|
|
1917
|
+
this._errHandler.reportError(this, re);
|
|
1918
|
+
this._errHandler.recover(this, re);
|
|
1919
|
+
} else {
|
|
1920
|
+
throw re;
|
|
1921
|
+
}
|
|
1922
|
+
} finally {
|
|
1923
|
+
this.exitRule();
|
|
1924
|
+
}
|
|
1925
|
+
return localctx;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
GISGrammarParser.EOF = antlr4.Token.EOF;
|
|
1932
|
+
GISGrammarParser.CREATE_SYMBOL = 1;
|
|
1933
|
+
GISGrammarParser.GIS_SYMBOL = 2;
|
|
1934
|
+
GISGrammarParser.ENTITY_SYMBOL = 3;
|
|
1935
|
+
GISGrammarParser.USING_SYMBOL = 4;
|
|
1936
|
+
GISGrammarParser.USE_SYMBOL = 5;
|
|
1937
|
+
GISGrammarParser.GENERATE_SYMBOL = 6;
|
|
1938
|
+
GISGrammarParser.IDENTIFIER_SYMBOL = 7;
|
|
1939
|
+
GISGrammarParser.RELATIONSHIP_SYMBOL = 8;
|
|
1940
|
+
GISGrammarParser.DISPLAYSTRING_SYMBOL = 9;
|
|
1941
|
+
GISGrammarParser.REQUIRED_SYMBOL = 10;
|
|
1942
|
+
GISGrammarParser.UNIQUE_SYMBOL = 11;
|
|
1448
1943
|
GISGrammarParser.BIDIRECTIONAL_SYMBOL = 12;
|
|
1449
1944
|
GISGrammarParser.MAPPEDBY_SYMBOL = 13;
|
|
1450
1945
|
GISGrammarParser.LAYER_SYMBOL = 14;
|
|
@@ -1467,58 +1962,770 @@ GISGrammarParser.SORTABLE_SYMBOL = 30;
|
|
|
1467
1962
|
GISGrammarParser.MAP_SYMBOL = 31;
|
|
1468
1963
|
GISGrammarParser.SET_SYMBOL = 32;
|
|
1469
1964
|
GISGrammarParser.DEPLOYMENT_SYMBOL = 33;
|
|
1470
|
-
GISGrammarParser.
|
|
1471
|
-
GISGrammarParser.
|
|
1472
|
-
GISGrammarParser.
|
|
1473
|
-
GISGrammarParser.
|
|
1474
|
-
GISGrammarParser.
|
|
1475
|
-
GISGrammarParser.
|
|
1476
|
-
GISGrammarParser.
|
|
1477
|
-
GISGrammarParser.
|
|
1478
|
-
GISGrammarParser.
|
|
1479
|
-
GISGrammarParser.
|
|
1480
|
-
GISGrammarParser.
|
|
1481
|
-
GISGrammarParser.
|
|
1482
|
-
GISGrammarParser.
|
|
1483
|
-
GISGrammarParser.
|
|
1484
|
-
GISGrammarParser.
|
|
1485
|
-
GISGrammarParser.
|
|
1486
|
-
GISGrammarParser.
|
|
1487
|
-
GISGrammarParser.
|
|
1965
|
+
GISGrammarParser.URL_WMS_SYMBOL = 34;
|
|
1966
|
+
GISGrammarParser.LAYERNAME_SYMBOL = 35;
|
|
1967
|
+
GISGrammarParser.FORMAT_SYMBOL = 36;
|
|
1968
|
+
GISGrammarParser.CRS_SYMBOL = 37;
|
|
1969
|
+
GISGrammarParser.BBOX_CRS_SYMBOL = 38;
|
|
1970
|
+
GISGrammarParser.MINX_SYMBOL = 39;
|
|
1971
|
+
GISGrammarParser.MINY_SYMBOL = 40;
|
|
1972
|
+
GISGrammarParser.MAXX_SYMBOL = 41;
|
|
1973
|
+
GISGrammarParser.MAXY_SYMBOL = 42;
|
|
1974
|
+
GISGrammarParser.QUERYABLE_SYMBOL = 43;
|
|
1975
|
+
GISGrammarParser.ATTRIBUTION_SYMBOL = 44;
|
|
1976
|
+
GISGrammarParser.VERSION_SYMBOL = 45;
|
|
1977
|
+
GISGrammarParser.ZERO_ONE_SYMBOL = 46;
|
|
1978
|
+
GISGrammarParser.ONE_ONE_SYMBOL = 47;
|
|
1979
|
+
GISGrammarParser.ZERO_MANY_SYMBOL = 48;
|
|
1980
|
+
GISGrammarParser.ONE_MANY_SYMBOL = 49;
|
|
1981
|
+
GISGrammarParser.TYPE = 50;
|
|
1982
|
+
GISGrammarParser.POUND_SYMBOL = 51;
|
|
1983
|
+
GISGrammarParser.DOT_SYMBOL = 52;
|
|
1984
|
+
GISGrammarParser.OPAR_SYMBOL = 53;
|
|
1985
|
+
GISGrammarParser.CPAR_SYMBOL = 54;
|
|
1986
|
+
GISGrammarParser.COMMA_SYMBOL = 55;
|
|
1987
|
+
GISGrammarParser.SCOL_SYMBOL = 56;
|
|
1988
|
+
GISGrammarParser.HEX_COLOR = 57;
|
|
1989
|
+
GISGrammarParser.INT_NUMBER = 58;
|
|
1990
|
+
GISGrammarParser.FLOAT_NUMBER = 59;
|
|
1991
|
+
GISGrammarParser.COMMENT = 60;
|
|
1992
|
+
GISGrammarParser.WHITESPACE = 61;
|
|
1993
|
+
GISGrammarParser.IDENTIFIER = 62;
|
|
1994
|
+
GISGrammarParser.QUOTED_TEXT = 63;
|
|
1995
|
+
|
|
1996
|
+
GISGrammarParser.RULE_parse = 0;
|
|
1997
|
+
GISGrammarParser.RULE_sentence = 1;
|
|
1998
|
+
GISGrammarParser.RULE_createStatement = 2;
|
|
1999
|
+
GISGrammarParser.RULE_createGIS = 3;
|
|
2000
|
+
GISGrammarParser.RULE_createEntity = 4;
|
|
2001
|
+
GISGrammarParser.RULE_createLayer = 5;
|
|
2002
|
+
GISGrammarParser.RULE_createTileLayer = 6;
|
|
2003
|
+
GISGrammarParser.RULE_createGeoJSONLayer = 7;
|
|
2004
|
+
GISGrammarParser.RULE_sldCustomBody = 8;
|
|
2005
|
+
GISGrammarParser.RULE_createWmsStyle = 9;
|
|
2006
|
+
GISGrammarParser.RULE_createWmsLayer = 10;
|
|
2007
|
+
GISGrammarParser.RULE_wmsSubLayer = 11;
|
|
2008
|
+
GISGrammarParser.RULE_wmsUrl = 12;
|
|
2009
|
+
GISGrammarParser.RULE_wmsLayerName = 13;
|
|
2010
|
+
GISGrammarParser.RULE_wmsFormatName = 14;
|
|
2011
|
+
GISGrammarParser.RULE_wmsCrs = 15;
|
|
2012
|
+
GISGrammarParser.RULE_wmsBboxCrs = 16;
|
|
2013
|
+
GISGrammarParser.RULE_wmsMinX = 17;
|
|
2014
|
+
GISGrammarParser.RULE_wmsMinY = 18;
|
|
2015
|
+
GISGrammarParser.RULE_wmsMaxX = 19;
|
|
2016
|
+
GISGrammarParser.RULE_wmsMaxY = 20;
|
|
2017
|
+
GISGrammarParser.RULE_wmsBboxGroup = 21;
|
|
2018
|
+
GISGrammarParser.RULE_wmsStyles = 22;
|
|
2019
|
+
GISGrammarParser.RULE_wmsQueryable = 23;
|
|
2020
|
+
GISGrammarParser.RULE_wmsAttribution = 24;
|
|
2021
|
+
GISGrammarParser.RULE_wmsVersion = 25;
|
|
2022
|
+
GISGrammarParser.RULE_createSortableMap = 26;
|
|
2023
|
+
GISGrammarParser.RULE_createMap = 27;
|
|
2024
|
+
GISGrammarParser.RULE_mapLayer = 28;
|
|
2025
|
+
GISGrammarParser.RULE_useGIS = 29;
|
|
2026
|
+
GISGrammarParser.RULE_generateGIS = 30;
|
|
2027
|
+
GISGrammarParser.RULE_setDeployment = 31;
|
|
2028
|
+
GISGrammarParser.RULE_deploymentProperty = 32;
|
|
2029
|
+
GISGrammarParser.RULE_property = 33;
|
|
2030
|
+
GISGrammarParser.RULE_propertyDefinition = 34;
|
|
2031
|
+
GISGrammarParser.RULE_relationshipDefinition = 35;
|
|
2032
|
+
GISGrammarParser.RULE_mappedRelationshipDefinition = 36;
|
|
2033
|
+
GISGrammarParser.RULE_ownedRelationshipDefinition = 37;
|
|
2034
|
+
GISGrammarParser.RULE_cardinality = 38;
|
|
2035
|
+
GISGrammarParser.RULE_srid = 39;
|
|
2036
|
+
GISGrammarParser.RULE_identifier = 40;
|
|
2037
|
+
GISGrammarParser.RULE_text = 41;
|
|
2038
|
+
GISGrammarParser.RULE_hexColor = 42;
|
|
2039
|
+
GISGrammarParser.RULE_floatNumber = 43;
|
|
2040
|
+
GISGrammarParser.RULE_intNumber = 44;
|
|
2041
|
+
|
|
2042
|
+
class ParseContext extends antlr4.ParserRuleContext {
|
|
2043
|
+
|
|
2044
|
+
constructor(parser, parent, invokingState) {
|
|
2045
|
+
if(parent===undefined) {
|
|
2046
|
+
parent = null;
|
|
2047
|
+
}
|
|
2048
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2049
|
+
invokingState = -1;
|
|
2050
|
+
}
|
|
2051
|
+
super(parent, invokingState);
|
|
2052
|
+
this.parser = parser;
|
|
2053
|
+
this.ruleIndex = GISGrammarParser.RULE_parse;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
sentence = function(i) {
|
|
2057
|
+
if(i===undefined) {
|
|
2058
|
+
i = null;
|
|
2059
|
+
}
|
|
2060
|
+
if(i===null) {
|
|
2061
|
+
return this.getTypedRuleContexts(SentenceContext);
|
|
2062
|
+
} else {
|
|
2063
|
+
return this.getTypedRuleContext(SentenceContext,i);
|
|
2064
|
+
}
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
enterRule(listener) {
|
|
2068
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2069
|
+
listener.enterParse(this);
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
exitRule(listener) {
|
|
2074
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2075
|
+
listener.exitParse(this);
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
accept(visitor) {
|
|
2080
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2081
|
+
return visitor.visitParse(this);
|
|
2082
|
+
} else {
|
|
2083
|
+
return visitor.visitChildren(this);
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
class SentenceContext extends antlr4.ParserRuleContext {
|
|
2093
|
+
|
|
2094
|
+
constructor(parser, parent, invokingState) {
|
|
2095
|
+
if(parent===undefined) {
|
|
2096
|
+
parent = null;
|
|
2097
|
+
}
|
|
2098
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2099
|
+
invokingState = -1;
|
|
2100
|
+
}
|
|
2101
|
+
super(parent, invokingState);
|
|
2102
|
+
this.parser = parser;
|
|
2103
|
+
this.ruleIndex = GISGrammarParser.RULE_sentence;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
createStatement() {
|
|
2107
|
+
return this.getTypedRuleContext(CreateStatementContext,0);
|
|
2108
|
+
};
|
|
2109
|
+
|
|
2110
|
+
useGIS() {
|
|
2111
|
+
return this.getTypedRuleContext(UseGISContext,0);
|
|
2112
|
+
};
|
|
2113
|
+
|
|
2114
|
+
generateGIS() {
|
|
2115
|
+
return this.getTypedRuleContext(GenerateGISContext,0);
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
setDeployment() {
|
|
2119
|
+
return this.getTypedRuleContext(SetDeploymentContext,0);
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
enterRule(listener) {
|
|
2123
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2124
|
+
listener.enterSentence(this);
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
exitRule(listener) {
|
|
2129
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2130
|
+
listener.exitSentence(this);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
accept(visitor) {
|
|
2135
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2136
|
+
return visitor.visitSentence(this);
|
|
2137
|
+
} else {
|
|
2138
|
+
return visitor.visitChildren(this);
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
class CreateStatementContext extends antlr4.ParserRuleContext {
|
|
2148
|
+
|
|
2149
|
+
constructor(parser, parent, invokingState) {
|
|
2150
|
+
if(parent===undefined) {
|
|
2151
|
+
parent = null;
|
|
2152
|
+
}
|
|
2153
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2154
|
+
invokingState = -1;
|
|
2155
|
+
}
|
|
2156
|
+
super(parent, invokingState);
|
|
2157
|
+
this.parser = parser;
|
|
2158
|
+
this.ruleIndex = GISGrammarParser.RULE_createStatement;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
CREATE_SYMBOL() {
|
|
2162
|
+
return this.getToken(GISGrammarParser.CREATE_SYMBOL, 0);
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
createGIS() {
|
|
2166
|
+
return this.getTypedRuleContext(CreateGISContext,0);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
createEntity() {
|
|
2170
|
+
return this.getTypedRuleContext(CreateEntityContext,0);
|
|
2171
|
+
};
|
|
2172
|
+
|
|
2173
|
+
createLayer() {
|
|
2174
|
+
return this.getTypedRuleContext(CreateLayerContext,0);
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
enterRule(listener) {
|
|
2178
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2179
|
+
listener.enterCreateStatement(this);
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
exitRule(listener) {
|
|
2184
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2185
|
+
listener.exitCreateStatement(this);
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
accept(visitor) {
|
|
2190
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2191
|
+
return visitor.visitCreateStatement(this);
|
|
2192
|
+
} else {
|
|
2193
|
+
return visitor.visitChildren(this);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
class CreateGISContext extends antlr4.ParserRuleContext {
|
|
2203
|
+
|
|
2204
|
+
constructor(parser, parent, invokingState) {
|
|
2205
|
+
if(parent===undefined) {
|
|
2206
|
+
parent = null;
|
|
2207
|
+
}
|
|
2208
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2209
|
+
invokingState = -1;
|
|
2210
|
+
}
|
|
2211
|
+
super(parent, invokingState);
|
|
2212
|
+
this.parser = parser;
|
|
2213
|
+
this.ruleIndex = GISGrammarParser.RULE_createGIS;
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
GIS_SYMBOL() {
|
|
2217
|
+
return this.getToken(GISGrammarParser.GIS_SYMBOL, 0);
|
|
2218
|
+
};
|
|
2219
|
+
|
|
2220
|
+
identifier() {
|
|
2221
|
+
return this.getTypedRuleContext(IdentifierContext,0);
|
|
2222
|
+
};
|
|
2223
|
+
|
|
2224
|
+
USING_SYMBOL() {
|
|
2225
|
+
return this.getToken(GISGrammarParser.USING_SYMBOL, 0);
|
|
2226
|
+
};
|
|
2227
|
+
|
|
2228
|
+
srid() {
|
|
2229
|
+
return this.getTypedRuleContext(SridContext,0);
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
SCOL_SYMBOL() {
|
|
2233
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
enterRule(listener) {
|
|
2237
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2238
|
+
listener.enterCreateGIS(this);
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
exitRule(listener) {
|
|
2243
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2244
|
+
listener.exitCreateGIS(this);
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
accept(visitor) {
|
|
2249
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2250
|
+
return visitor.visitCreateGIS(this);
|
|
2251
|
+
} else {
|
|
2252
|
+
return visitor.visitChildren(this);
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
class CreateEntityContext extends antlr4.ParserRuleContext {
|
|
2262
|
+
|
|
2263
|
+
constructor(parser, parent, invokingState) {
|
|
2264
|
+
if(parent===undefined) {
|
|
2265
|
+
parent = null;
|
|
2266
|
+
}
|
|
2267
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2268
|
+
invokingState = -1;
|
|
2269
|
+
}
|
|
2270
|
+
super(parent, invokingState);
|
|
2271
|
+
this.parser = parser;
|
|
2272
|
+
this.ruleIndex = GISGrammarParser.RULE_createEntity;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
ENTITY_SYMBOL() {
|
|
2276
|
+
return this.getToken(GISGrammarParser.ENTITY_SYMBOL, 0);
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
identifier() {
|
|
2280
|
+
return this.getTypedRuleContext(IdentifierContext,0);
|
|
2281
|
+
};
|
|
2282
|
+
|
|
2283
|
+
OPAR_SYMBOL() {
|
|
2284
|
+
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2287
|
+
property = function(i) {
|
|
2288
|
+
if(i===undefined) {
|
|
2289
|
+
i = null;
|
|
2290
|
+
}
|
|
2291
|
+
if(i===null) {
|
|
2292
|
+
return this.getTypedRuleContexts(PropertyContext);
|
|
2293
|
+
} else {
|
|
2294
|
+
return this.getTypedRuleContext(PropertyContext,i);
|
|
2295
|
+
}
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
CPAR_SYMBOL() {
|
|
2299
|
+
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2300
|
+
};
|
|
2301
|
+
|
|
2302
|
+
SCOL_SYMBOL() {
|
|
2303
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2304
|
+
};
|
|
2305
|
+
|
|
2306
|
+
COMMA_SYMBOL = function(i) {
|
|
2307
|
+
if(i===undefined) {
|
|
2308
|
+
i = null;
|
|
2309
|
+
}
|
|
2310
|
+
if(i===null) {
|
|
2311
|
+
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2312
|
+
} else {
|
|
2313
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
2314
|
+
}
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
enterRule(listener) {
|
|
2319
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2320
|
+
listener.enterCreateEntity(this);
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
exitRule(listener) {
|
|
2325
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2326
|
+
listener.exitCreateEntity(this);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
accept(visitor) {
|
|
2331
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2332
|
+
return visitor.visitCreateEntity(this);
|
|
2333
|
+
} else {
|
|
2334
|
+
return visitor.visitChildren(this);
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
class CreateLayerContext extends antlr4.ParserRuleContext {
|
|
2344
|
+
|
|
2345
|
+
constructor(parser, parent, invokingState) {
|
|
2346
|
+
if(parent===undefined) {
|
|
2347
|
+
parent = null;
|
|
2348
|
+
}
|
|
2349
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2350
|
+
invokingState = -1;
|
|
2351
|
+
}
|
|
2352
|
+
super(parent, invokingState);
|
|
2353
|
+
this.parser = parser;
|
|
2354
|
+
this.ruleIndex = GISGrammarParser.RULE_createLayer;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
createTileLayer() {
|
|
2358
|
+
return this.getTypedRuleContext(CreateTileLayerContext,0);
|
|
2359
|
+
};
|
|
2360
|
+
|
|
2361
|
+
createGeoJSONLayer() {
|
|
2362
|
+
return this.getTypedRuleContext(CreateGeoJSONLayerContext,0);
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
createWmsStyle() {
|
|
2366
|
+
return this.getTypedRuleContext(CreateWmsStyleContext,0);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
createWmsLayer() {
|
|
2370
|
+
return this.getTypedRuleContext(CreateWmsLayerContext,0);
|
|
2371
|
+
};
|
|
2372
|
+
|
|
2373
|
+
createMap() {
|
|
2374
|
+
return this.getTypedRuleContext(CreateMapContext,0);
|
|
2375
|
+
};
|
|
2376
|
+
|
|
2377
|
+
createSortableMap() {
|
|
2378
|
+
return this.getTypedRuleContext(CreateSortableMapContext,0);
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
enterRule(listener) {
|
|
2382
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2383
|
+
listener.enterCreateLayer(this);
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
exitRule(listener) {
|
|
2388
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2389
|
+
listener.exitCreateLayer(this);
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
accept(visitor) {
|
|
2394
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2395
|
+
return visitor.visitCreateLayer(this);
|
|
2396
|
+
} else {
|
|
2397
|
+
return visitor.visitChildren(this);
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
class CreateTileLayerContext extends antlr4.ParserRuleContext {
|
|
2407
|
+
|
|
2408
|
+
constructor(parser, parent, invokingState) {
|
|
2409
|
+
if(parent===undefined) {
|
|
2410
|
+
parent = null;
|
|
2411
|
+
}
|
|
2412
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2413
|
+
invokingState = -1;
|
|
2414
|
+
}
|
|
2415
|
+
super(parent, invokingState);
|
|
2416
|
+
this.parser = parser;
|
|
2417
|
+
this.ruleIndex = GISGrammarParser.RULE_createTileLayer;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
TILE_SYMBOL() {
|
|
2421
|
+
return this.getToken(GISGrammarParser.TILE_SYMBOL, 0);
|
|
2422
|
+
};
|
|
2423
|
+
|
|
2424
|
+
LAYER_SYMBOL() {
|
|
2425
|
+
return this.getToken(GISGrammarParser.LAYER_SYMBOL, 0);
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
identifier() {
|
|
2429
|
+
return this.getTypedRuleContext(IdentifierContext,0);
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
OPAR_SYMBOL() {
|
|
2433
|
+
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2436
|
+
URL_SYMBOL() {
|
|
2437
|
+
return this.getToken(GISGrammarParser.URL_SYMBOL, 0);
|
|
2438
|
+
};
|
|
2439
|
+
|
|
2440
|
+
text = function(i) {
|
|
2441
|
+
if(i===undefined) {
|
|
2442
|
+
i = null;
|
|
2443
|
+
}
|
|
2444
|
+
if(i===null) {
|
|
2445
|
+
return this.getTypedRuleContexts(TextContext);
|
|
2446
|
+
} else {
|
|
2447
|
+
return this.getTypedRuleContext(TextContext,i);
|
|
2448
|
+
}
|
|
2449
|
+
};
|
|
2450
|
+
|
|
2451
|
+
CPAR_SYMBOL() {
|
|
2452
|
+
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2453
|
+
};
|
|
2454
|
+
|
|
2455
|
+
SCOL_SYMBOL() {
|
|
2456
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2457
|
+
};
|
|
2458
|
+
|
|
2459
|
+
AS_SYMBOL() {
|
|
2460
|
+
return this.getToken(GISGrammarParser.AS_SYMBOL, 0);
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
enterRule(listener) {
|
|
2464
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2465
|
+
listener.enterCreateTileLayer(this);
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
exitRule(listener) {
|
|
2470
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2471
|
+
listener.exitCreateTileLayer(this);
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
accept(visitor) {
|
|
2476
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2477
|
+
return visitor.visitCreateTileLayer(this);
|
|
2478
|
+
} else {
|
|
2479
|
+
return visitor.visitChildren(this);
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
class CreateGeoJSONLayerContext extends antlr4.ParserRuleContext {
|
|
2489
|
+
|
|
2490
|
+
constructor(parser, parent, invokingState) {
|
|
2491
|
+
if(parent===undefined) {
|
|
2492
|
+
parent = null;
|
|
2493
|
+
}
|
|
2494
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2495
|
+
invokingState = -1;
|
|
2496
|
+
}
|
|
2497
|
+
super(parent, invokingState);
|
|
2498
|
+
this.parser = parser;
|
|
2499
|
+
this.ruleIndex = GISGrammarParser.RULE_createGeoJSONLayer;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
GEOJSON_SYMBOL() {
|
|
2503
|
+
return this.getToken(GISGrammarParser.GEOJSON_SYMBOL, 0);
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
LAYER_SYMBOL() {
|
|
2507
|
+
return this.getToken(GISGrammarParser.LAYER_SYMBOL, 0);
|
|
2508
|
+
};
|
|
2509
|
+
|
|
2510
|
+
identifier = function(i) {
|
|
2511
|
+
if(i===undefined) {
|
|
2512
|
+
i = null;
|
|
2513
|
+
}
|
|
2514
|
+
if(i===null) {
|
|
2515
|
+
return this.getTypedRuleContexts(IdentifierContext);
|
|
2516
|
+
} else {
|
|
2517
|
+
return this.getTypedRuleContext(IdentifierContext,i);
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
OPAR_SYMBOL() {
|
|
2522
|
+
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
COMMA_SYMBOL = function(i) {
|
|
2526
|
+
if(i===undefined) {
|
|
2527
|
+
i = null;
|
|
2528
|
+
}
|
|
2529
|
+
if(i===null) {
|
|
2530
|
+
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2531
|
+
} else {
|
|
2532
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
2533
|
+
}
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
FILL_COLOR_SYMBOL() {
|
|
2538
|
+
return this.getToken(GISGrammarParser.FILL_COLOR_SYMBOL, 0);
|
|
2539
|
+
};
|
|
2540
|
+
|
|
2541
|
+
hexColor = function(i) {
|
|
2542
|
+
if(i===undefined) {
|
|
2543
|
+
i = null;
|
|
2544
|
+
}
|
|
2545
|
+
if(i===null) {
|
|
2546
|
+
return this.getTypedRuleContexts(HexColorContext);
|
|
2547
|
+
} else {
|
|
2548
|
+
return this.getTypedRuleContext(HexColorContext,i);
|
|
2549
|
+
}
|
|
2550
|
+
};
|
|
2551
|
+
|
|
2552
|
+
STROKE_COLOR_SYMBOL() {
|
|
2553
|
+
return this.getToken(GISGrammarParser.STROKE_COLOR_SYMBOL, 0);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
FILL_OPACITY_SYMBOL() {
|
|
2557
|
+
return this.getToken(GISGrammarParser.FILL_OPACITY_SYMBOL, 0);
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2560
|
+
floatNumber = function(i) {
|
|
2561
|
+
if(i===undefined) {
|
|
2562
|
+
i = null;
|
|
2563
|
+
}
|
|
2564
|
+
if(i===null) {
|
|
2565
|
+
return this.getTypedRuleContexts(FloatNumberContext);
|
|
2566
|
+
} else {
|
|
2567
|
+
return this.getTypedRuleContext(FloatNumberContext,i);
|
|
2568
|
+
}
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2571
|
+
STROKE_OPACITY_SYMBOL() {
|
|
2572
|
+
return this.getToken(GISGrammarParser.STROKE_OPACITY_SYMBOL, 0);
|
|
2573
|
+
};
|
|
2574
|
+
|
|
2575
|
+
CPAR_SYMBOL() {
|
|
2576
|
+
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
SCOL_SYMBOL() {
|
|
2580
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
AS_SYMBOL() {
|
|
2584
|
+
return this.getToken(GISGrammarParser.AS_SYMBOL, 0);
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
text() {
|
|
2588
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2589
|
+
};
|
|
2590
|
+
|
|
2591
|
+
EDITABLE_SYMBOL() {
|
|
2592
|
+
return this.getToken(GISGrammarParser.EDITABLE_SYMBOL, 0);
|
|
2593
|
+
};
|
|
2594
|
+
|
|
2595
|
+
enterRule(listener) {
|
|
2596
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2597
|
+
listener.enterCreateGeoJSONLayer(this);
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
exitRule(listener) {
|
|
2602
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2603
|
+
listener.exitCreateGeoJSONLayer(this);
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
accept(visitor) {
|
|
2608
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2609
|
+
return visitor.visitCreateGeoJSONLayer(this);
|
|
2610
|
+
} else {
|
|
2611
|
+
return visitor.visitChildren(this);
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
class SldCustomBodyContext extends antlr4.ParserRuleContext {
|
|
2621
|
+
|
|
2622
|
+
constructor(parser, parent, invokingState) {
|
|
2623
|
+
if(parent===undefined) {
|
|
2624
|
+
parent = null;
|
|
2625
|
+
}
|
|
2626
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2627
|
+
invokingState = -1;
|
|
2628
|
+
}
|
|
2629
|
+
super(parent, invokingState);
|
|
2630
|
+
this.parser = parser;
|
|
2631
|
+
this.ruleIndex = GISGrammarParser.RULE_sldCustomBody;
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
GEOMETRY_TYPE_SYMBOL() {
|
|
2635
|
+
return this.getToken(GISGrammarParser.GEOMETRY_TYPE_SYMBOL, 0);
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
TYPE() {
|
|
2639
|
+
return this.getToken(GISGrammarParser.TYPE, 0);
|
|
2640
|
+
};
|
|
2641
|
+
|
|
2642
|
+
COMMA_SYMBOL = function(i) {
|
|
2643
|
+
if(i===undefined) {
|
|
2644
|
+
i = null;
|
|
2645
|
+
}
|
|
2646
|
+
if(i===null) {
|
|
2647
|
+
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2648
|
+
} else {
|
|
2649
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
2650
|
+
}
|
|
2651
|
+
};
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
FILL_COLOR_SYMBOL() {
|
|
2655
|
+
return this.getToken(GISGrammarParser.FILL_COLOR_SYMBOL, 0);
|
|
2656
|
+
};
|
|
2657
|
+
|
|
2658
|
+
hexColor = function(i) {
|
|
2659
|
+
if(i===undefined) {
|
|
2660
|
+
i = null;
|
|
2661
|
+
}
|
|
2662
|
+
if(i===null) {
|
|
2663
|
+
return this.getTypedRuleContexts(HexColorContext);
|
|
2664
|
+
} else {
|
|
2665
|
+
return this.getTypedRuleContext(HexColorContext,i);
|
|
2666
|
+
}
|
|
2667
|
+
};
|
|
2668
|
+
|
|
2669
|
+
STROKE_COLOR_SYMBOL() {
|
|
2670
|
+
return this.getToken(GISGrammarParser.STROKE_COLOR_SYMBOL, 0);
|
|
2671
|
+
};
|
|
2672
|
+
|
|
2673
|
+
FILL_OPACITY_SYMBOL() {
|
|
2674
|
+
return this.getToken(GISGrammarParser.FILL_OPACITY_SYMBOL, 0);
|
|
2675
|
+
};
|
|
2676
|
+
|
|
2677
|
+
floatNumber = function(i) {
|
|
2678
|
+
if(i===undefined) {
|
|
2679
|
+
i = null;
|
|
2680
|
+
}
|
|
2681
|
+
if(i===null) {
|
|
2682
|
+
return this.getTypedRuleContexts(FloatNumberContext);
|
|
2683
|
+
} else {
|
|
2684
|
+
return this.getTypedRuleContext(FloatNumberContext,i);
|
|
2685
|
+
}
|
|
2686
|
+
};
|
|
2687
|
+
|
|
2688
|
+
intNumber = function(i) {
|
|
2689
|
+
if(i===undefined) {
|
|
2690
|
+
i = null;
|
|
2691
|
+
}
|
|
2692
|
+
if(i===null) {
|
|
2693
|
+
return this.getTypedRuleContexts(IntNumberContext);
|
|
2694
|
+
} else {
|
|
2695
|
+
return this.getTypedRuleContext(IntNumberContext,i);
|
|
2696
|
+
}
|
|
2697
|
+
};
|
|
1488
2698
|
|
|
1489
|
-
|
|
1490
|
-
GISGrammarParser.
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
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;
|
|
2699
|
+
STROKE_OPACITY_SYMBOL() {
|
|
2700
|
+
return this.getToken(GISGrammarParser.STROKE_OPACITY_SYMBOL, 0);
|
|
2701
|
+
};
|
|
2702
|
+
|
|
2703
|
+
enterRule(listener) {
|
|
2704
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2705
|
+
listener.enterSldCustomBody(this);
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
exitRule(listener) {
|
|
2710
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2711
|
+
listener.exitSldCustomBody(this);
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
accept(visitor) {
|
|
2716
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2717
|
+
return visitor.visitSldCustomBody(this);
|
|
2718
|
+
} else {
|
|
2719
|
+
return visitor.visitChildren(this);
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
1520
2722
|
|
|
1521
|
-
|
|
2723
|
+
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
class CreateWmsStyleContext extends antlr4.ParserRuleContext {
|
|
1522
2729
|
|
|
1523
2730
|
constructor(parser, parent, invokingState) {
|
|
1524
2731
|
if(parent===undefined) {
|
|
@@ -1529,35 +2736,158 @@ class ParseContext extends antlr4.ParserRuleContext {
|
|
|
1529
2736
|
}
|
|
1530
2737
|
super(parent, invokingState);
|
|
1531
2738
|
this.parser = parser;
|
|
1532
|
-
this.ruleIndex = GISGrammarParser.
|
|
2739
|
+
this.ruleIndex = GISGrammarParser.RULE_createWmsStyle;
|
|
1533
2740
|
}
|
|
1534
2741
|
|
|
1535
|
-
|
|
2742
|
+
WMS_SYMBOL() {
|
|
2743
|
+
return this.getToken(GISGrammarParser.WMS_SYMBOL, 0);
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2746
|
+
STYLE_SYMBOL() {
|
|
2747
|
+
return this.getToken(GISGrammarParser.STYLE_SYMBOL, 0);
|
|
2748
|
+
};
|
|
2749
|
+
|
|
2750
|
+
identifier() {
|
|
2751
|
+
return this.getTypedRuleContext(IdentifierContext,0);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
OPAR_SYMBOL() {
|
|
2755
|
+
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2756
|
+
};
|
|
2757
|
+
|
|
2758
|
+
CPAR_SYMBOL() {
|
|
2759
|
+
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
SCOL_SYMBOL() {
|
|
2763
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2764
|
+
};
|
|
2765
|
+
|
|
2766
|
+
SLD_SYMBOL() {
|
|
2767
|
+
return this.getToken(GISGrammarParser.SLD_SYMBOL, 0);
|
|
2768
|
+
};
|
|
2769
|
+
|
|
2770
|
+
text() {
|
|
2771
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
COMMA_SYMBOL() {
|
|
2775
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
sldCustomBody() {
|
|
2779
|
+
return this.getTypedRuleContext(SldCustomBodyContext,0);
|
|
2780
|
+
};
|
|
2781
|
+
|
|
2782
|
+
enterRule(listener) {
|
|
2783
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2784
|
+
listener.enterCreateWmsStyle(this);
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
exitRule(listener) {
|
|
2789
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2790
|
+
listener.exitCreateWmsStyle(this);
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
accept(visitor) {
|
|
2795
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2796
|
+
return visitor.visitCreateWmsStyle(this);
|
|
2797
|
+
} else {
|
|
2798
|
+
return visitor.visitChildren(this);
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
class CreateWmsLayerContext extends antlr4.ParserRuleContext {
|
|
2808
|
+
|
|
2809
|
+
constructor(parser, parent, invokingState) {
|
|
2810
|
+
if(parent===undefined) {
|
|
2811
|
+
parent = null;
|
|
2812
|
+
}
|
|
2813
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2814
|
+
invokingState = -1;
|
|
2815
|
+
}
|
|
2816
|
+
super(parent, invokingState);
|
|
2817
|
+
this.parser = parser;
|
|
2818
|
+
this.ruleIndex = GISGrammarParser.RULE_createWmsLayer;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
WMS_SYMBOL() {
|
|
2822
|
+
return this.getToken(GISGrammarParser.WMS_SYMBOL, 0);
|
|
2823
|
+
};
|
|
2824
|
+
|
|
2825
|
+
LAYER_SYMBOL() {
|
|
2826
|
+
return this.getToken(GISGrammarParser.LAYER_SYMBOL, 0);
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
identifier() {
|
|
2830
|
+
return this.getTypedRuleContext(IdentifierContext,0);
|
|
2831
|
+
};
|
|
2832
|
+
|
|
2833
|
+
OPAR_SYMBOL() {
|
|
2834
|
+
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
wmsSubLayer = function(i) {
|
|
1536
2838
|
if(i===undefined) {
|
|
1537
2839
|
i = null;
|
|
1538
2840
|
}
|
|
1539
2841
|
if(i===null) {
|
|
1540
|
-
return this.getTypedRuleContexts(
|
|
2842
|
+
return this.getTypedRuleContexts(WmsSubLayerContext);
|
|
1541
2843
|
} else {
|
|
1542
|
-
return this.getTypedRuleContext(
|
|
2844
|
+
return this.getTypedRuleContext(WmsSubLayerContext,i);
|
|
2845
|
+
}
|
|
2846
|
+
};
|
|
2847
|
+
|
|
2848
|
+
CPAR_SYMBOL() {
|
|
2849
|
+
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2850
|
+
};
|
|
2851
|
+
|
|
2852
|
+
SCOL_SYMBOL() {
|
|
2853
|
+
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2854
|
+
};
|
|
2855
|
+
|
|
2856
|
+
AS_SYMBOL() {
|
|
2857
|
+
return this.getToken(GISGrammarParser.AS_SYMBOL, 0);
|
|
2858
|
+
};
|
|
2859
|
+
|
|
2860
|
+
text() {
|
|
2861
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
COMMA_SYMBOL = function(i) {
|
|
2865
|
+
if(i===undefined) {
|
|
2866
|
+
i = null;
|
|
2867
|
+
}
|
|
2868
|
+
if(i===null) {
|
|
2869
|
+
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2870
|
+
} else {
|
|
2871
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
1543
2872
|
}
|
|
1544
2873
|
};
|
|
1545
2874
|
|
|
2875
|
+
|
|
1546
2876
|
enterRule(listener) {
|
|
1547
2877
|
if(listener instanceof GISGrammarListener ) {
|
|
1548
|
-
listener.
|
|
2878
|
+
listener.enterCreateWmsLayer(this);
|
|
1549
2879
|
}
|
|
1550
2880
|
}
|
|
1551
2881
|
|
|
1552
2882
|
exitRule(listener) {
|
|
1553
2883
|
if(listener instanceof GISGrammarListener ) {
|
|
1554
|
-
listener.
|
|
2884
|
+
listener.exitCreateWmsLayer(this);
|
|
1555
2885
|
}
|
|
1556
2886
|
}
|
|
1557
2887
|
|
|
1558
2888
|
accept(visitor) {
|
|
1559
2889
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1560
|
-
return visitor.
|
|
2890
|
+
return visitor.visitCreateWmsLayer(this);
|
|
1561
2891
|
} else {
|
|
1562
2892
|
return visitor.visitChildren(this);
|
|
1563
2893
|
}
|
|
@@ -1568,7 +2898,7 @@ class ParseContext extends antlr4.ParserRuleContext {
|
|
|
1568
2898
|
|
|
1569
2899
|
|
|
1570
2900
|
|
|
1571
|
-
class
|
|
2901
|
+
class WmsSubLayerContext extends antlr4.ParserRuleContext {
|
|
1572
2902
|
|
|
1573
2903
|
constructor(parser, parent, invokingState) {
|
|
1574
2904
|
if(parent===undefined) {
|
|
@@ -1579,40 +2909,118 @@ class SentenceContext extends antlr4.ParserRuleContext {
|
|
|
1579
2909
|
}
|
|
1580
2910
|
super(parent, invokingState);
|
|
1581
2911
|
this.parser = parser;
|
|
1582
|
-
this.ruleIndex = GISGrammarParser.
|
|
2912
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsSubLayer;
|
|
1583
2913
|
}
|
|
1584
2914
|
|
|
1585
|
-
|
|
1586
|
-
|
|
2915
|
+
identifier = function(i) {
|
|
2916
|
+
if(i===undefined) {
|
|
2917
|
+
i = null;
|
|
2918
|
+
}
|
|
2919
|
+
if(i===null) {
|
|
2920
|
+
return this.getTypedRuleContexts(IdentifierContext);
|
|
2921
|
+
} else {
|
|
2922
|
+
return this.getTypedRuleContext(IdentifierContext,i);
|
|
2923
|
+
}
|
|
1587
2924
|
};
|
|
1588
2925
|
|
|
1589
|
-
|
|
1590
|
-
return this.getTypedRuleContext(
|
|
2926
|
+
wmsUrl() {
|
|
2927
|
+
return this.getTypedRuleContext(WmsUrlContext,0);
|
|
1591
2928
|
};
|
|
1592
2929
|
|
|
1593
|
-
|
|
1594
|
-
return this.getTypedRuleContext(
|
|
2930
|
+
wmsLayerName() {
|
|
2931
|
+
return this.getTypedRuleContext(WmsLayerNameContext,0);
|
|
1595
2932
|
};
|
|
1596
2933
|
|
|
1597
|
-
|
|
1598
|
-
return this.getTypedRuleContext(
|
|
2934
|
+
wmsFormatName() {
|
|
2935
|
+
return this.getTypedRuleContext(WmsFormatNameContext,0);
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
wmsCrs() {
|
|
2939
|
+
return this.getTypedRuleContext(WmsCrsContext,0);
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
wmsStyles() {
|
|
2943
|
+
return this.getTypedRuleContext(WmsStylesContext,0);
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
wmsQueryable() {
|
|
2947
|
+
return this.getTypedRuleContext(WmsQueryableContext,0);
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
wmsAttribution() {
|
|
2951
|
+
return this.getTypedRuleContext(WmsAttributionContext,0);
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
wmsBboxGroup() {
|
|
2955
|
+
return this.getTypedRuleContext(WmsBboxGroupContext,0);
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
wmsVersion() {
|
|
2959
|
+
return this.getTypedRuleContext(WmsVersionContext,0);
|
|
2960
|
+
};
|
|
2961
|
+
|
|
2962
|
+
enterRule(listener) {
|
|
2963
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2964
|
+
listener.enterWmsSubLayer(this);
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
exitRule(listener) {
|
|
2969
|
+
if(listener instanceof GISGrammarListener ) {
|
|
2970
|
+
listener.exitWmsSubLayer(this);
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
accept(visitor) {
|
|
2975
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2976
|
+
return visitor.visitWmsSubLayer(this);
|
|
2977
|
+
} else {
|
|
2978
|
+
return visitor.visitChildren(this);
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
class WmsUrlContext extends antlr4.ParserRuleContext {
|
|
2988
|
+
|
|
2989
|
+
constructor(parser, parent, invokingState) {
|
|
2990
|
+
if(parent===undefined) {
|
|
2991
|
+
parent = null;
|
|
2992
|
+
}
|
|
2993
|
+
if(invokingState===undefined || invokingState===null) {
|
|
2994
|
+
invokingState = -1;
|
|
2995
|
+
}
|
|
2996
|
+
super(parent, invokingState);
|
|
2997
|
+
this.parser = parser;
|
|
2998
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsUrl;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
URL_WMS_SYMBOL() {
|
|
3002
|
+
return this.getToken(GISGrammarParser.URL_WMS_SYMBOL, 0);
|
|
3003
|
+
};
|
|
3004
|
+
|
|
3005
|
+
text() {
|
|
3006
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
1599
3007
|
};
|
|
1600
3008
|
|
|
1601
3009
|
enterRule(listener) {
|
|
1602
3010
|
if(listener instanceof GISGrammarListener ) {
|
|
1603
|
-
listener.
|
|
3011
|
+
listener.enterWmsUrl(this);
|
|
1604
3012
|
}
|
|
1605
3013
|
}
|
|
1606
3014
|
|
|
1607
3015
|
exitRule(listener) {
|
|
1608
3016
|
if(listener instanceof GISGrammarListener ) {
|
|
1609
|
-
listener.
|
|
3017
|
+
listener.exitWmsUrl(this);
|
|
1610
3018
|
}
|
|
1611
3019
|
}
|
|
1612
3020
|
|
|
1613
3021
|
accept(visitor) {
|
|
1614
3022
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1615
|
-
return visitor.
|
|
3023
|
+
return visitor.visitWmsUrl(this);
|
|
1616
3024
|
} else {
|
|
1617
3025
|
return visitor.visitChildren(this);
|
|
1618
3026
|
}
|
|
@@ -1623,7 +3031,7 @@ class SentenceContext extends antlr4.ParserRuleContext {
|
|
|
1623
3031
|
|
|
1624
3032
|
|
|
1625
3033
|
|
|
1626
|
-
class
|
|
3034
|
+
class WmsLayerNameContext extends antlr4.ParserRuleContext {
|
|
1627
3035
|
|
|
1628
3036
|
constructor(parser, parent, invokingState) {
|
|
1629
3037
|
if(parent===undefined) {
|
|
@@ -1634,40 +3042,36 @@ class CreateStatementContext extends antlr4.ParserRuleContext {
|
|
|
1634
3042
|
}
|
|
1635
3043
|
super(parent, invokingState);
|
|
1636
3044
|
this.parser = parser;
|
|
1637
|
-
this.ruleIndex = GISGrammarParser.
|
|
3045
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsLayerName;
|
|
1638
3046
|
}
|
|
1639
3047
|
|
|
1640
|
-
|
|
1641
|
-
return this.getToken(GISGrammarParser.
|
|
1642
|
-
};
|
|
1643
|
-
|
|
1644
|
-
createGIS() {
|
|
1645
|
-
return this.getTypedRuleContext(CreateGISContext,0);
|
|
3048
|
+
COMMA_SYMBOL() {
|
|
3049
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
1646
3050
|
};
|
|
1647
3051
|
|
|
1648
|
-
|
|
1649
|
-
return this.
|
|
3052
|
+
LAYERNAME_SYMBOL() {
|
|
3053
|
+
return this.getToken(GISGrammarParser.LAYERNAME_SYMBOL, 0);
|
|
1650
3054
|
};
|
|
1651
3055
|
|
|
1652
|
-
|
|
1653
|
-
return this.getTypedRuleContext(
|
|
3056
|
+
text() {
|
|
3057
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
1654
3058
|
};
|
|
1655
3059
|
|
|
1656
3060
|
enterRule(listener) {
|
|
1657
3061
|
if(listener instanceof GISGrammarListener ) {
|
|
1658
|
-
listener.
|
|
3062
|
+
listener.enterWmsLayerName(this);
|
|
1659
3063
|
}
|
|
1660
3064
|
}
|
|
1661
3065
|
|
|
1662
3066
|
exitRule(listener) {
|
|
1663
3067
|
if(listener instanceof GISGrammarListener ) {
|
|
1664
|
-
listener.
|
|
3068
|
+
listener.exitWmsLayerName(this);
|
|
1665
3069
|
}
|
|
1666
3070
|
}
|
|
1667
3071
|
|
|
1668
3072
|
accept(visitor) {
|
|
1669
3073
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1670
|
-
return visitor.
|
|
3074
|
+
return visitor.visitWmsLayerName(this);
|
|
1671
3075
|
} else {
|
|
1672
3076
|
return visitor.visitChildren(this);
|
|
1673
3077
|
}
|
|
@@ -1678,7 +3082,7 @@ class CreateStatementContext extends antlr4.ParserRuleContext {
|
|
|
1678
3082
|
|
|
1679
3083
|
|
|
1680
3084
|
|
|
1681
|
-
class
|
|
3085
|
+
class WmsFormatNameContext extends antlr4.ParserRuleContext {
|
|
1682
3086
|
|
|
1683
3087
|
constructor(parser, parent, invokingState) {
|
|
1684
3088
|
if(parent===undefined) {
|
|
@@ -1689,44 +3093,36 @@ class CreateGISContext extends antlr4.ParserRuleContext {
|
|
|
1689
3093
|
}
|
|
1690
3094
|
super(parent, invokingState);
|
|
1691
3095
|
this.parser = parser;
|
|
1692
|
-
this.ruleIndex = GISGrammarParser.
|
|
3096
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsFormatName;
|
|
1693
3097
|
}
|
|
1694
3098
|
|
|
1695
|
-
|
|
1696
|
-
return this.getToken(GISGrammarParser.
|
|
1697
|
-
};
|
|
1698
|
-
|
|
1699
|
-
identifier() {
|
|
1700
|
-
return this.getTypedRuleContext(IdentifierContext,0);
|
|
1701
|
-
};
|
|
1702
|
-
|
|
1703
|
-
USING_SYMBOL() {
|
|
1704
|
-
return this.getToken(GISGrammarParser.USING_SYMBOL, 0);
|
|
3099
|
+
COMMA_SYMBOL() {
|
|
3100
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
1705
3101
|
};
|
|
1706
3102
|
|
|
1707
|
-
|
|
1708
|
-
return this.
|
|
3103
|
+
FORMAT_SYMBOL() {
|
|
3104
|
+
return this.getToken(GISGrammarParser.FORMAT_SYMBOL, 0);
|
|
1709
3105
|
};
|
|
1710
3106
|
|
|
1711
|
-
|
|
1712
|
-
return this.
|
|
3107
|
+
text() {
|
|
3108
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
1713
3109
|
};
|
|
1714
3110
|
|
|
1715
3111
|
enterRule(listener) {
|
|
1716
3112
|
if(listener instanceof GISGrammarListener ) {
|
|
1717
|
-
listener.
|
|
3113
|
+
listener.enterWmsFormatName(this);
|
|
1718
3114
|
}
|
|
1719
3115
|
}
|
|
1720
3116
|
|
|
1721
3117
|
exitRule(listener) {
|
|
1722
3118
|
if(listener instanceof GISGrammarListener ) {
|
|
1723
|
-
listener.
|
|
3119
|
+
listener.exitWmsFormatName(this);
|
|
1724
3120
|
}
|
|
1725
3121
|
}
|
|
1726
3122
|
|
|
1727
3123
|
accept(visitor) {
|
|
1728
3124
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1729
|
-
return visitor.
|
|
3125
|
+
return visitor.visitWmsFormatName(this);
|
|
1730
3126
|
} else {
|
|
1731
3127
|
return visitor.visitChildren(this);
|
|
1732
3128
|
}
|
|
@@ -1737,7 +3133,7 @@ class CreateGISContext extends antlr4.ParserRuleContext {
|
|
|
1737
3133
|
|
|
1738
3134
|
|
|
1739
3135
|
|
|
1740
|
-
class
|
|
3136
|
+
class WmsCrsContext extends antlr4.ParserRuleContext {
|
|
1741
3137
|
|
|
1742
3138
|
constructor(parser, parent, invokingState) {
|
|
1743
3139
|
if(parent===undefined) {
|
|
@@ -1748,67 +3144,36 @@ class CreateEntityContext extends antlr4.ParserRuleContext {
|
|
|
1748
3144
|
}
|
|
1749
3145
|
super(parent, invokingState);
|
|
1750
3146
|
this.parser = parser;
|
|
1751
|
-
this.ruleIndex = GISGrammarParser.
|
|
3147
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsCrs;
|
|
1752
3148
|
}
|
|
1753
3149
|
|
|
1754
|
-
|
|
1755
|
-
return this.getToken(GISGrammarParser.
|
|
1756
|
-
};
|
|
1757
|
-
|
|
1758
|
-
identifier() {
|
|
1759
|
-
return this.getTypedRuleContext(IdentifierContext,0);
|
|
1760
|
-
};
|
|
1761
|
-
|
|
1762
|
-
OPAR_SYMBOL() {
|
|
1763
|
-
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
1764
|
-
};
|
|
1765
|
-
|
|
1766
|
-
property = function(i) {
|
|
1767
|
-
if(i===undefined) {
|
|
1768
|
-
i = null;
|
|
1769
|
-
}
|
|
1770
|
-
if(i===null) {
|
|
1771
|
-
return this.getTypedRuleContexts(PropertyContext);
|
|
1772
|
-
} else {
|
|
1773
|
-
return this.getTypedRuleContext(PropertyContext,i);
|
|
1774
|
-
}
|
|
1775
|
-
};
|
|
1776
|
-
|
|
1777
|
-
CPAR_SYMBOL() {
|
|
1778
|
-
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
3150
|
+
COMMA_SYMBOL() {
|
|
3151
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
1779
3152
|
};
|
|
1780
3153
|
|
|
1781
|
-
|
|
1782
|
-
return this.getToken(GISGrammarParser.
|
|
3154
|
+
CRS_SYMBOL() {
|
|
3155
|
+
return this.getToken(GISGrammarParser.CRS_SYMBOL, 0);
|
|
1783
3156
|
};
|
|
1784
3157
|
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
i = null;
|
|
1788
|
-
}
|
|
1789
|
-
if(i===null) {
|
|
1790
|
-
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
1791
|
-
} else {
|
|
1792
|
-
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
1793
|
-
}
|
|
3158
|
+
text() {
|
|
3159
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
1794
3160
|
};
|
|
1795
3161
|
|
|
1796
|
-
|
|
1797
3162
|
enterRule(listener) {
|
|
1798
3163
|
if(listener instanceof GISGrammarListener ) {
|
|
1799
|
-
listener.
|
|
3164
|
+
listener.enterWmsCrs(this);
|
|
1800
3165
|
}
|
|
1801
3166
|
}
|
|
1802
3167
|
|
|
1803
3168
|
exitRule(listener) {
|
|
1804
3169
|
if(listener instanceof GISGrammarListener ) {
|
|
1805
|
-
listener.
|
|
3170
|
+
listener.exitWmsCrs(this);
|
|
1806
3171
|
}
|
|
1807
3172
|
}
|
|
1808
3173
|
|
|
1809
3174
|
accept(visitor) {
|
|
1810
3175
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1811
|
-
return visitor.
|
|
3176
|
+
return visitor.visitWmsCrs(this);
|
|
1812
3177
|
} else {
|
|
1813
3178
|
return visitor.visitChildren(this);
|
|
1814
3179
|
}
|
|
@@ -1819,7 +3184,7 @@ class CreateEntityContext extends antlr4.ParserRuleContext {
|
|
|
1819
3184
|
|
|
1820
3185
|
|
|
1821
3186
|
|
|
1822
|
-
class
|
|
3187
|
+
class WmsBboxCrsContext extends antlr4.ParserRuleContext {
|
|
1823
3188
|
|
|
1824
3189
|
constructor(parser, parent, invokingState) {
|
|
1825
3190
|
if(parent===undefined) {
|
|
@@ -1830,48 +3195,36 @@ class CreateLayerContext extends antlr4.ParserRuleContext {
|
|
|
1830
3195
|
}
|
|
1831
3196
|
super(parent, invokingState);
|
|
1832
3197
|
this.parser = parser;
|
|
1833
|
-
this.ruleIndex = GISGrammarParser.
|
|
3198
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsBboxCrs;
|
|
1834
3199
|
}
|
|
1835
3200
|
|
|
1836
|
-
|
|
1837
|
-
return this.
|
|
1838
|
-
};
|
|
1839
|
-
|
|
1840
|
-
createGeoJSONLayer() {
|
|
1841
|
-
return this.getTypedRuleContext(CreateGeoJSONLayerContext,0);
|
|
1842
|
-
};
|
|
1843
|
-
|
|
1844
|
-
createWmsStyle() {
|
|
1845
|
-
return this.getTypedRuleContext(CreateWmsStyleContext,0);
|
|
1846
|
-
};
|
|
1847
|
-
|
|
1848
|
-
createWmsLayer() {
|
|
1849
|
-
return this.getTypedRuleContext(CreateWmsLayerContext,0);
|
|
3201
|
+
COMMA_SYMBOL() {
|
|
3202
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
1850
3203
|
};
|
|
1851
3204
|
|
|
1852
|
-
|
|
1853
|
-
return this.
|
|
3205
|
+
BBOX_CRS_SYMBOL() {
|
|
3206
|
+
return this.getToken(GISGrammarParser.BBOX_CRS_SYMBOL, 0);
|
|
1854
3207
|
};
|
|
1855
3208
|
|
|
1856
|
-
|
|
1857
|
-
return this.getTypedRuleContext(
|
|
3209
|
+
text() {
|
|
3210
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
1858
3211
|
};
|
|
1859
3212
|
|
|
1860
3213
|
enterRule(listener) {
|
|
1861
3214
|
if(listener instanceof GISGrammarListener ) {
|
|
1862
|
-
listener.
|
|
3215
|
+
listener.enterWmsBboxCrs(this);
|
|
1863
3216
|
}
|
|
1864
3217
|
}
|
|
1865
3218
|
|
|
1866
3219
|
exitRule(listener) {
|
|
1867
3220
|
if(listener instanceof GISGrammarListener ) {
|
|
1868
|
-
listener.
|
|
3221
|
+
listener.exitWmsBboxCrs(this);
|
|
1869
3222
|
}
|
|
1870
3223
|
}
|
|
1871
3224
|
|
|
1872
3225
|
accept(visitor) {
|
|
1873
3226
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1874
|
-
return visitor.
|
|
3227
|
+
return visitor.visitWmsBboxCrs(this);
|
|
1875
3228
|
} else {
|
|
1876
3229
|
return visitor.visitChildren(this);
|
|
1877
3230
|
}
|
|
@@ -1882,7 +3235,7 @@ class CreateLayerContext extends antlr4.ParserRuleContext {
|
|
|
1882
3235
|
|
|
1883
3236
|
|
|
1884
3237
|
|
|
1885
|
-
class
|
|
3238
|
+
class WmsMinXContext extends antlr4.ParserRuleContext {
|
|
1886
3239
|
|
|
1887
3240
|
constructor(parser, parent, invokingState) {
|
|
1888
3241
|
if(parent===undefined) {
|
|
@@ -1893,67 +3246,36 @@ class CreateTileLayerContext extends antlr4.ParserRuleContext {
|
|
|
1893
3246
|
}
|
|
1894
3247
|
super(parent, invokingState);
|
|
1895
3248
|
this.parser = parser;
|
|
1896
|
-
this.ruleIndex = GISGrammarParser.
|
|
3249
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsMinX;
|
|
1897
3250
|
}
|
|
1898
3251
|
|
|
1899
|
-
|
|
1900
|
-
return this.getToken(GISGrammarParser.
|
|
1901
|
-
};
|
|
1902
|
-
|
|
1903
|
-
LAYER_SYMBOL() {
|
|
1904
|
-
return this.getToken(GISGrammarParser.LAYER_SYMBOL, 0);
|
|
1905
|
-
};
|
|
1906
|
-
|
|
1907
|
-
identifier() {
|
|
1908
|
-
return this.getTypedRuleContext(IdentifierContext,0);
|
|
1909
|
-
};
|
|
1910
|
-
|
|
1911
|
-
OPAR_SYMBOL() {
|
|
1912
|
-
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
1913
|
-
};
|
|
1914
|
-
|
|
1915
|
-
URL_SYMBOL() {
|
|
1916
|
-
return this.getToken(GISGrammarParser.URL_SYMBOL, 0);
|
|
1917
|
-
};
|
|
1918
|
-
|
|
1919
|
-
text = function(i) {
|
|
1920
|
-
if(i===undefined) {
|
|
1921
|
-
i = null;
|
|
1922
|
-
}
|
|
1923
|
-
if(i===null) {
|
|
1924
|
-
return this.getTypedRuleContexts(TextContext);
|
|
1925
|
-
} else {
|
|
1926
|
-
return this.getTypedRuleContext(TextContext,i);
|
|
1927
|
-
}
|
|
1928
|
-
};
|
|
1929
|
-
|
|
1930
|
-
CPAR_SYMBOL() {
|
|
1931
|
-
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
3252
|
+
COMMA_SYMBOL() {
|
|
3253
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
1932
3254
|
};
|
|
1933
3255
|
|
|
1934
|
-
|
|
1935
|
-
return this.getToken(GISGrammarParser.
|
|
3256
|
+
MINX_SYMBOL() {
|
|
3257
|
+
return this.getToken(GISGrammarParser.MINX_SYMBOL, 0);
|
|
1936
3258
|
};
|
|
1937
3259
|
|
|
1938
|
-
|
|
1939
|
-
return this.
|
|
3260
|
+
floatNumber() {
|
|
3261
|
+
return this.getTypedRuleContext(FloatNumberContext,0);
|
|
1940
3262
|
};
|
|
1941
3263
|
|
|
1942
3264
|
enterRule(listener) {
|
|
1943
3265
|
if(listener instanceof GISGrammarListener ) {
|
|
1944
|
-
listener.
|
|
3266
|
+
listener.enterWmsMinX(this);
|
|
1945
3267
|
}
|
|
1946
3268
|
}
|
|
1947
3269
|
|
|
1948
3270
|
exitRule(listener) {
|
|
1949
3271
|
if(listener instanceof GISGrammarListener ) {
|
|
1950
|
-
listener.
|
|
3272
|
+
listener.exitWmsMinX(this);
|
|
1951
3273
|
}
|
|
1952
3274
|
}
|
|
1953
3275
|
|
|
1954
3276
|
accept(visitor) {
|
|
1955
3277
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
1956
|
-
return visitor.
|
|
3278
|
+
return visitor.visitWmsMinX(this);
|
|
1957
3279
|
} else {
|
|
1958
3280
|
return visitor.visitChildren(this);
|
|
1959
3281
|
}
|
|
@@ -1964,7 +3286,7 @@ class CreateTileLayerContext extends antlr4.ParserRuleContext {
|
|
|
1964
3286
|
|
|
1965
3287
|
|
|
1966
3288
|
|
|
1967
|
-
class
|
|
3289
|
+
class WmsMinYContext extends antlr4.ParserRuleContext {
|
|
1968
3290
|
|
|
1969
3291
|
constructor(parser, parent, invokingState) {
|
|
1970
3292
|
if(parent===undefined) {
|
|
@@ -1975,117 +3297,36 @@ class CreateGeoJSONLayerContext extends antlr4.ParserRuleContext {
|
|
|
1975
3297
|
}
|
|
1976
3298
|
super(parent, invokingState);
|
|
1977
3299
|
this.parser = parser;
|
|
1978
|
-
this.ruleIndex = GISGrammarParser.
|
|
3300
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsMinY;
|
|
1979
3301
|
}
|
|
1980
3302
|
|
|
1981
|
-
|
|
1982
|
-
return this.getToken(GISGrammarParser.
|
|
1983
|
-
};
|
|
1984
|
-
|
|
1985
|
-
LAYER_SYMBOL() {
|
|
1986
|
-
return this.getToken(GISGrammarParser.LAYER_SYMBOL, 0);
|
|
1987
|
-
};
|
|
1988
|
-
|
|
1989
|
-
identifier = function(i) {
|
|
1990
|
-
if(i===undefined) {
|
|
1991
|
-
i = null;
|
|
1992
|
-
}
|
|
1993
|
-
if(i===null) {
|
|
1994
|
-
return this.getTypedRuleContexts(IdentifierContext);
|
|
1995
|
-
} else {
|
|
1996
|
-
return this.getTypedRuleContext(IdentifierContext,i);
|
|
1997
|
-
}
|
|
1998
|
-
};
|
|
1999
|
-
|
|
2000
|
-
OPAR_SYMBOL() {
|
|
2001
|
-
return this.getToken(GISGrammarParser.OPAR_SYMBOL, 0);
|
|
2002
|
-
};
|
|
2003
|
-
|
|
2004
|
-
COMMA_SYMBOL = function(i) {
|
|
2005
|
-
if(i===undefined) {
|
|
2006
|
-
i = null;
|
|
2007
|
-
}
|
|
2008
|
-
if(i===null) {
|
|
2009
|
-
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2010
|
-
} else {
|
|
2011
|
-
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
2012
|
-
}
|
|
2013
|
-
};
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
FILL_COLOR_SYMBOL() {
|
|
2017
|
-
return this.getToken(GISGrammarParser.FILL_COLOR_SYMBOL, 0);
|
|
2018
|
-
};
|
|
2019
|
-
|
|
2020
|
-
hexColor = function(i) {
|
|
2021
|
-
if(i===undefined) {
|
|
2022
|
-
i = null;
|
|
2023
|
-
}
|
|
2024
|
-
if(i===null) {
|
|
2025
|
-
return this.getTypedRuleContexts(HexColorContext);
|
|
2026
|
-
} else {
|
|
2027
|
-
return this.getTypedRuleContext(HexColorContext,i);
|
|
2028
|
-
}
|
|
2029
|
-
};
|
|
2030
|
-
|
|
2031
|
-
STROKE_COLOR_SYMBOL() {
|
|
2032
|
-
return this.getToken(GISGrammarParser.STROKE_COLOR_SYMBOL, 0);
|
|
2033
|
-
};
|
|
2034
|
-
|
|
2035
|
-
FILL_OPACITY_SYMBOL() {
|
|
2036
|
-
return this.getToken(GISGrammarParser.FILL_OPACITY_SYMBOL, 0);
|
|
2037
|
-
};
|
|
2038
|
-
|
|
2039
|
-
floatNumber = function(i) {
|
|
2040
|
-
if(i===undefined) {
|
|
2041
|
-
i = null;
|
|
2042
|
-
}
|
|
2043
|
-
if(i===null) {
|
|
2044
|
-
return this.getTypedRuleContexts(FloatNumberContext);
|
|
2045
|
-
} else {
|
|
2046
|
-
return this.getTypedRuleContext(FloatNumberContext,i);
|
|
2047
|
-
}
|
|
2048
|
-
};
|
|
2049
|
-
|
|
2050
|
-
STROKE_OPACITY_SYMBOL() {
|
|
2051
|
-
return this.getToken(GISGrammarParser.STROKE_OPACITY_SYMBOL, 0);
|
|
2052
|
-
};
|
|
2053
|
-
|
|
2054
|
-
CPAR_SYMBOL() {
|
|
2055
|
-
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2056
|
-
};
|
|
2057
|
-
|
|
2058
|
-
SCOL_SYMBOL() {
|
|
2059
|
-
return this.getToken(GISGrammarParser.SCOL_SYMBOL, 0);
|
|
2060
|
-
};
|
|
2061
|
-
|
|
2062
|
-
AS_SYMBOL() {
|
|
2063
|
-
return this.getToken(GISGrammarParser.AS_SYMBOL, 0);
|
|
3303
|
+
COMMA_SYMBOL() {
|
|
3304
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2064
3305
|
};
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
return this.
|
|
3306
|
+
|
|
3307
|
+
MINY_SYMBOL() {
|
|
3308
|
+
return this.getToken(GISGrammarParser.MINY_SYMBOL, 0);
|
|
2068
3309
|
};
|
|
2069
3310
|
|
|
2070
|
-
|
|
2071
|
-
return this.
|
|
3311
|
+
floatNumber() {
|
|
3312
|
+
return this.getTypedRuleContext(FloatNumberContext,0);
|
|
2072
3313
|
};
|
|
2073
3314
|
|
|
2074
3315
|
enterRule(listener) {
|
|
2075
3316
|
if(listener instanceof GISGrammarListener ) {
|
|
2076
|
-
listener.
|
|
3317
|
+
listener.enterWmsMinY(this);
|
|
2077
3318
|
}
|
|
2078
3319
|
}
|
|
2079
3320
|
|
|
2080
3321
|
exitRule(listener) {
|
|
2081
3322
|
if(listener instanceof GISGrammarListener ) {
|
|
2082
|
-
listener.
|
|
3323
|
+
listener.exitWmsMinY(this);
|
|
2083
3324
|
}
|
|
2084
3325
|
}
|
|
2085
3326
|
|
|
2086
3327
|
accept(visitor) {
|
|
2087
3328
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2088
|
-
return visitor.
|
|
3329
|
+
return visitor.visitWmsMinY(this);
|
|
2089
3330
|
} else {
|
|
2090
3331
|
return visitor.visitChildren(this);
|
|
2091
3332
|
}
|
|
@@ -2096,7 +3337,7 @@ class CreateGeoJSONLayerContext extends antlr4.ParserRuleContext {
|
|
|
2096
3337
|
|
|
2097
3338
|
|
|
2098
3339
|
|
|
2099
|
-
class
|
|
3340
|
+
class WmsMaxXContext extends antlr4.ParserRuleContext {
|
|
2100
3341
|
|
|
2101
3342
|
constructor(parser, parent, invokingState) {
|
|
2102
3343
|
if(parent===undefined) {
|
|
@@ -2107,93 +3348,87 @@ class SldCustomBodyContext extends antlr4.ParserRuleContext {
|
|
|
2107
3348
|
}
|
|
2108
3349
|
super(parent, invokingState);
|
|
2109
3350
|
this.parser = parser;
|
|
2110
|
-
this.ruleIndex = GISGrammarParser.
|
|
3351
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsMaxX;
|
|
2111
3352
|
}
|
|
2112
3353
|
|
|
2113
|
-
|
|
2114
|
-
return this.getToken(GISGrammarParser.
|
|
3354
|
+
COMMA_SYMBOL() {
|
|
3355
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2115
3356
|
};
|
|
2116
3357
|
|
|
2117
|
-
|
|
2118
|
-
return this.getToken(GISGrammarParser.
|
|
3358
|
+
MAXX_SYMBOL() {
|
|
3359
|
+
return this.getToken(GISGrammarParser.MAXX_SYMBOL, 0);
|
|
2119
3360
|
};
|
|
2120
3361
|
|
|
2121
|
-
|
|
2122
|
-
|
|
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
|
-
}
|
|
3362
|
+
floatNumber() {
|
|
3363
|
+
return this.getTypedRuleContext(FloatNumberContext,0);
|
|
2130
3364
|
};
|
|
2131
3365
|
|
|
3366
|
+
enterRule(listener) {
|
|
3367
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3368
|
+
listener.enterWmsMaxX(this);
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
2132
3371
|
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
3372
|
+
exitRule(listener) {
|
|
3373
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3374
|
+
listener.exitWmsMaxX(this);
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
2136
3377
|
|
|
2137
|
-
|
|
2138
|
-
if(
|
|
2139
|
-
|
|
2140
|
-
}
|
|
2141
|
-
if(i===null) {
|
|
2142
|
-
return this.getTypedRuleContexts(HexColorContext);
|
|
3378
|
+
accept(visitor) {
|
|
3379
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
3380
|
+
return visitor.visitWmsMaxX(this);
|
|
2143
3381
|
} else {
|
|
2144
|
-
return
|
|
3382
|
+
return visitor.visitChildren(this);
|
|
2145
3383
|
}
|
|
2146
|
-
}
|
|
3384
|
+
}
|
|
2147
3385
|
|
|
2148
|
-
STROKE_COLOR_SYMBOL() {
|
|
2149
|
-
return this.getToken(GISGrammarParser.STROKE_COLOR_SYMBOL, 0);
|
|
2150
|
-
};
|
|
2151
3386
|
|
|
2152
|
-
|
|
2153
|
-
return this.getToken(GISGrammarParser.FILL_OPACITY_SYMBOL, 0);
|
|
2154
|
-
};
|
|
3387
|
+
}
|
|
2155
3388
|
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
class WmsMaxYContext extends antlr4.ParserRuleContext {
|
|
3392
|
+
|
|
3393
|
+
constructor(parser, parent, invokingState) {
|
|
3394
|
+
if(parent===undefined) {
|
|
3395
|
+
parent = null;
|
|
3396
|
+
}
|
|
3397
|
+
if(invokingState===undefined || invokingState===null) {
|
|
3398
|
+
invokingState = -1;
|
|
3399
|
+
}
|
|
3400
|
+
super(parent, invokingState);
|
|
3401
|
+
this.parser = parser;
|
|
3402
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsMaxY;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
COMMA_SYMBOL() {
|
|
3406
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2165
3407
|
};
|
|
2166
3408
|
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
i = null;
|
|
2170
|
-
}
|
|
2171
|
-
if(i===null) {
|
|
2172
|
-
return this.getTypedRuleContexts(IntNumberContext);
|
|
2173
|
-
} else {
|
|
2174
|
-
return this.getTypedRuleContext(IntNumberContext,i);
|
|
2175
|
-
}
|
|
3409
|
+
MAXY_SYMBOL() {
|
|
3410
|
+
return this.getToken(GISGrammarParser.MAXY_SYMBOL, 0);
|
|
2176
3411
|
};
|
|
2177
3412
|
|
|
2178
|
-
|
|
2179
|
-
return this.
|
|
3413
|
+
floatNumber() {
|
|
3414
|
+
return this.getTypedRuleContext(FloatNumberContext,0);
|
|
2180
3415
|
};
|
|
2181
3416
|
|
|
2182
3417
|
enterRule(listener) {
|
|
2183
3418
|
if(listener instanceof GISGrammarListener ) {
|
|
2184
|
-
listener.
|
|
3419
|
+
listener.enterWmsMaxY(this);
|
|
2185
3420
|
}
|
|
2186
3421
|
}
|
|
2187
3422
|
|
|
2188
3423
|
exitRule(listener) {
|
|
2189
3424
|
if(listener instanceof GISGrammarListener ) {
|
|
2190
|
-
listener.
|
|
3425
|
+
listener.exitWmsMaxY(this);
|
|
2191
3426
|
}
|
|
2192
3427
|
}
|
|
2193
3428
|
|
|
2194
3429
|
accept(visitor) {
|
|
2195
3430
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2196
|
-
return visitor.
|
|
3431
|
+
return visitor.visitWmsMaxY(this);
|
|
2197
3432
|
} else {
|
|
2198
3433
|
return visitor.visitChildren(this);
|
|
2199
3434
|
}
|
|
@@ -2204,7 +3439,7 @@ class SldCustomBodyContext extends antlr4.ParserRuleContext {
|
|
|
2204
3439
|
|
|
2205
3440
|
|
|
2206
3441
|
|
|
2207
|
-
class
|
|
3442
|
+
class WmsBboxGroupContext extends antlr4.ParserRuleContext {
|
|
2208
3443
|
|
|
2209
3444
|
constructor(parser, parent, invokingState) {
|
|
2210
3445
|
if(parent===undefined) {
|
|
@@ -2215,64 +3450,95 @@ class CreateWmsStyleContext extends antlr4.ParserRuleContext {
|
|
|
2215
3450
|
}
|
|
2216
3451
|
super(parent, invokingState);
|
|
2217
3452
|
this.parser = parser;
|
|
2218
|
-
this.ruleIndex = GISGrammarParser.
|
|
3453
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsBboxGroup;
|
|
2219
3454
|
}
|
|
2220
3455
|
|
|
2221
|
-
|
|
2222
|
-
return this.
|
|
3456
|
+
wmsBboxCrs() {
|
|
3457
|
+
return this.getTypedRuleContext(WmsBboxCrsContext,0);
|
|
2223
3458
|
};
|
|
2224
3459
|
|
|
2225
|
-
|
|
2226
|
-
return this.
|
|
3460
|
+
wmsMinX() {
|
|
3461
|
+
return this.getTypedRuleContext(WmsMinXContext,0);
|
|
2227
3462
|
};
|
|
2228
3463
|
|
|
2229
|
-
|
|
2230
|
-
return this.getTypedRuleContext(
|
|
3464
|
+
wmsMinY() {
|
|
3465
|
+
return this.getTypedRuleContext(WmsMinYContext,0);
|
|
2231
3466
|
};
|
|
2232
3467
|
|
|
2233
|
-
|
|
2234
|
-
return this.
|
|
3468
|
+
wmsMaxX() {
|
|
3469
|
+
return this.getTypedRuleContext(WmsMaxXContext,0);
|
|
2235
3470
|
};
|
|
2236
3471
|
|
|
2237
|
-
|
|
2238
|
-
return this.
|
|
3472
|
+
wmsMaxY() {
|
|
3473
|
+
return this.getTypedRuleContext(WmsMaxYContext,0);
|
|
2239
3474
|
};
|
|
2240
3475
|
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
3476
|
+
enterRule(listener) {
|
|
3477
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3478
|
+
listener.enterWmsBboxGroup(this);
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
2244
3481
|
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
3482
|
+
exitRule(listener) {
|
|
3483
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3484
|
+
listener.exitWmsBboxGroup(this);
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
2248
3487
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
3488
|
+
accept(visitor) {
|
|
3489
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
3490
|
+
return visitor.visitWmsBboxGroup(this);
|
|
3491
|
+
} else {
|
|
3492
|
+
return visitor.visitChildren(this);
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
class WmsStylesContext extends antlr4.ParserRuleContext {
|
|
3502
|
+
|
|
3503
|
+
constructor(parser, parent, invokingState) {
|
|
3504
|
+
if(parent===undefined) {
|
|
3505
|
+
parent = null;
|
|
3506
|
+
}
|
|
3507
|
+
if(invokingState===undefined || invokingState===null) {
|
|
3508
|
+
invokingState = -1;
|
|
3509
|
+
}
|
|
3510
|
+
super(parent, invokingState);
|
|
3511
|
+
this.parser = parser;
|
|
3512
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsStyles;
|
|
3513
|
+
}
|
|
2252
3514
|
|
|
2253
3515
|
COMMA_SYMBOL() {
|
|
2254
3516
|
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2255
3517
|
};
|
|
2256
3518
|
|
|
2257
|
-
|
|
2258
|
-
return this.
|
|
3519
|
+
STYLE_SYMBOL() {
|
|
3520
|
+
return this.getToken(GISGrammarParser.STYLE_SYMBOL, 0);
|
|
3521
|
+
};
|
|
3522
|
+
|
|
3523
|
+
text() {
|
|
3524
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2259
3525
|
};
|
|
2260
3526
|
|
|
2261
3527
|
enterRule(listener) {
|
|
2262
3528
|
if(listener instanceof GISGrammarListener ) {
|
|
2263
|
-
listener.
|
|
3529
|
+
listener.enterWmsStyles(this);
|
|
2264
3530
|
}
|
|
2265
3531
|
}
|
|
2266
3532
|
|
|
2267
3533
|
exitRule(listener) {
|
|
2268
3534
|
if(listener instanceof GISGrammarListener ) {
|
|
2269
|
-
listener.
|
|
3535
|
+
listener.exitWmsStyles(this);
|
|
2270
3536
|
}
|
|
2271
3537
|
}
|
|
2272
3538
|
|
|
2273
3539
|
accept(visitor) {
|
|
2274
3540
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2275
|
-
return visitor.
|
|
3541
|
+
return visitor.visitWmsStyles(this);
|
|
2276
3542
|
} else {
|
|
2277
3543
|
return visitor.visitChildren(this);
|
|
2278
3544
|
}
|
|
@@ -2283,7 +3549,7 @@ class CreateWmsStyleContext extends antlr4.ParserRuleContext {
|
|
|
2283
3549
|
|
|
2284
3550
|
|
|
2285
3551
|
|
|
2286
|
-
class
|
|
3552
|
+
class WmsQueryableContext extends antlr4.ParserRuleContext {
|
|
2287
3553
|
|
|
2288
3554
|
constructor(parser, parent, invokingState) {
|
|
2289
3555
|
if(parent===undefined) {
|
|
@@ -2294,79 +3560,87 @@ class CreateWmsLayerContext extends antlr4.ParserRuleContext {
|
|
|
2294
3560
|
}
|
|
2295
3561
|
super(parent, invokingState);
|
|
2296
3562
|
this.parser = parser;
|
|
2297
|
-
this.ruleIndex = GISGrammarParser.
|
|
3563
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsQueryable;
|
|
2298
3564
|
}
|
|
2299
3565
|
|
|
2300
|
-
|
|
2301
|
-
return this.getToken(GISGrammarParser.
|
|
3566
|
+
COMMA_SYMBOL() {
|
|
3567
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2302
3568
|
};
|
|
2303
3569
|
|
|
2304
|
-
|
|
2305
|
-
return this.getToken(GISGrammarParser.
|
|
3570
|
+
QUERYABLE_SYMBOL() {
|
|
3571
|
+
return this.getToken(GISGrammarParser.QUERYABLE_SYMBOL, 0);
|
|
2306
3572
|
};
|
|
2307
3573
|
|
|
2308
|
-
|
|
2309
|
-
return this.getTypedRuleContext(
|
|
3574
|
+
text() {
|
|
3575
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2310
3576
|
};
|
|
2311
3577
|
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
3578
|
+
enterRule(listener) {
|
|
3579
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3580
|
+
listener.enterWmsQueryable(this);
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
2315
3583
|
|
|
2316
|
-
|
|
2317
|
-
if(
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
3584
|
+
exitRule(listener) {
|
|
3585
|
+
if(listener instanceof GISGrammarListener ) {
|
|
3586
|
+
listener.exitWmsQueryable(this);
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
|
|
3590
|
+
accept(visitor) {
|
|
3591
|
+
if ( visitor instanceof GISGrammarVisitor ) {
|
|
3592
|
+
return visitor.visitWmsQueryable(this);
|
|
2322
3593
|
} else {
|
|
2323
|
-
return
|
|
3594
|
+
return visitor.visitChildren(this);
|
|
2324
3595
|
}
|
|
2325
|
-
}
|
|
3596
|
+
}
|
|
2326
3597
|
|
|
2327
|
-
CPAR_SYMBOL() {
|
|
2328
|
-
return this.getToken(GISGrammarParser.CPAR_SYMBOL, 0);
|
|
2329
|
-
};
|
|
2330
3598
|
|
|
2331
|
-
|
|
2332
|
-
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
|
|
3603
|
+
class WmsAttributionContext extends antlr4.ParserRuleContext {
|
|
3604
|
+
|
|
3605
|
+
constructor(parser, parent, invokingState) {
|
|
3606
|
+
if(parent===undefined) {
|
|
3607
|
+
parent = null;
|
|
3608
|
+
}
|
|
3609
|
+
if(invokingState===undefined || invokingState===null) {
|
|
3610
|
+
invokingState = -1;
|
|
3611
|
+
}
|
|
3612
|
+
super(parent, invokingState);
|
|
3613
|
+
this.parser = parser;
|
|
3614
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsAttribution;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
COMMA_SYMBOL() {
|
|
3618
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
2333
3619
|
};
|
|
2334
3620
|
|
|
2335
|
-
|
|
2336
|
-
return this.getToken(GISGrammarParser.
|
|
3621
|
+
ATTRIBUTION_SYMBOL() {
|
|
3622
|
+
return this.getToken(GISGrammarParser.ATTRIBUTION_SYMBOL, 0);
|
|
2337
3623
|
};
|
|
2338
3624
|
|
|
2339
3625
|
text() {
|
|
2340
3626
|
return this.getTypedRuleContext(TextContext,0);
|
|
2341
3627
|
};
|
|
2342
3628
|
|
|
2343
|
-
COMMA_SYMBOL = function(i) {
|
|
2344
|
-
if(i===undefined) {
|
|
2345
|
-
i = null;
|
|
2346
|
-
}
|
|
2347
|
-
if(i===null) {
|
|
2348
|
-
return this.getTokens(GISGrammarParser.COMMA_SYMBOL);
|
|
2349
|
-
} else {
|
|
2350
|
-
return this.getToken(GISGrammarParser.COMMA_SYMBOL, i);
|
|
2351
|
-
}
|
|
2352
|
-
};
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
3629
|
enterRule(listener) {
|
|
2356
3630
|
if(listener instanceof GISGrammarListener ) {
|
|
2357
|
-
listener.
|
|
3631
|
+
listener.enterWmsAttribution(this);
|
|
2358
3632
|
}
|
|
2359
3633
|
}
|
|
2360
3634
|
|
|
2361
3635
|
exitRule(listener) {
|
|
2362
3636
|
if(listener instanceof GISGrammarListener ) {
|
|
2363
|
-
listener.
|
|
3637
|
+
listener.exitWmsAttribution(this);
|
|
2364
3638
|
}
|
|
2365
3639
|
}
|
|
2366
3640
|
|
|
2367
3641
|
accept(visitor) {
|
|
2368
3642
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2369
|
-
return visitor.
|
|
3643
|
+
return visitor.visitWmsAttribution(this);
|
|
2370
3644
|
} else {
|
|
2371
3645
|
return visitor.visitChildren(this);
|
|
2372
3646
|
}
|
|
@@ -2377,7 +3651,7 @@ class CreateWmsLayerContext extends antlr4.ParserRuleContext {
|
|
|
2377
3651
|
|
|
2378
3652
|
|
|
2379
3653
|
|
|
2380
|
-
class
|
|
3654
|
+
class WmsVersionContext extends antlr4.ParserRuleContext {
|
|
2381
3655
|
|
|
2382
3656
|
constructor(parser, parent, invokingState) {
|
|
2383
3657
|
if(parent===undefined) {
|
|
@@ -2388,35 +3662,36 @@ class WmsSubLayerContext extends antlr4.ParserRuleContext {
|
|
|
2388
3662
|
}
|
|
2389
3663
|
super(parent, invokingState);
|
|
2390
3664
|
this.parser = parser;
|
|
2391
|
-
this.ruleIndex = GISGrammarParser.
|
|
3665
|
+
this.ruleIndex = GISGrammarParser.RULE_wmsVersion;
|
|
2392
3666
|
}
|
|
2393
3667
|
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
3668
|
+
COMMA_SYMBOL() {
|
|
3669
|
+
return this.getToken(GISGrammarParser.COMMA_SYMBOL, 0);
|
|
3670
|
+
};
|
|
3671
|
+
|
|
3672
|
+
VERSION_SYMBOL() {
|
|
3673
|
+
return this.getToken(GISGrammarParser.VERSION_SYMBOL, 0);
|
|
3674
|
+
};
|
|
3675
|
+
|
|
3676
|
+
text() {
|
|
3677
|
+
return this.getTypedRuleContext(TextContext,0);
|
|
2403
3678
|
};
|
|
2404
3679
|
|
|
2405
3680
|
enterRule(listener) {
|
|
2406
3681
|
if(listener instanceof GISGrammarListener ) {
|
|
2407
|
-
listener.
|
|
3682
|
+
listener.enterWmsVersion(this);
|
|
2408
3683
|
}
|
|
2409
3684
|
}
|
|
2410
3685
|
|
|
2411
3686
|
exitRule(listener) {
|
|
2412
3687
|
if(listener instanceof GISGrammarListener ) {
|
|
2413
|
-
listener.
|
|
3688
|
+
listener.exitWmsVersion(this);
|
|
2414
3689
|
}
|
|
2415
3690
|
}
|
|
2416
3691
|
|
|
2417
3692
|
accept(visitor) {
|
|
2418
3693
|
if ( visitor instanceof GISGrammarVisitor ) {
|
|
2419
|
-
return visitor.
|
|
3694
|
+
return visitor.visitWmsVersion(this);
|
|
2420
3695
|
} else {
|
|
2421
3696
|
return visitor.visitChildren(this);
|
|
2422
3697
|
}
|
|
@@ -3511,6 +4786,20 @@ GISGrammarParser.SldCustomBodyContext = SldCustomBodyContext;
|
|
|
3511
4786
|
GISGrammarParser.CreateWmsStyleContext = CreateWmsStyleContext;
|
|
3512
4787
|
GISGrammarParser.CreateWmsLayerContext = CreateWmsLayerContext;
|
|
3513
4788
|
GISGrammarParser.WmsSubLayerContext = WmsSubLayerContext;
|
|
4789
|
+
GISGrammarParser.WmsUrlContext = WmsUrlContext;
|
|
4790
|
+
GISGrammarParser.WmsLayerNameContext = WmsLayerNameContext;
|
|
4791
|
+
GISGrammarParser.WmsFormatNameContext = WmsFormatNameContext;
|
|
4792
|
+
GISGrammarParser.WmsCrsContext = WmsCrsContext;
|
|
4793
|
+
GISGrammarParser.WmsBboxCrsContext = WmsBboxCrsContext;
|
|
4794
|
+
GISGrammarParser.WmsMinXContext = WmsMinXContext;
|
|
4795
|
+
GISGrammarParser.WmsMinYContext = WmsMinYContext;
|
|
4796
|
+
GISGrammarParser.WmsMaxXContext = WmsMaxXContext;
|
|
4797
|
+
GISGrammarParser.WmsMaxYContext = WmsMaxYContext;
|
|
4798
|
+
GISGrammarParser.WmsBboxGroupContext = WmsBboxGroupContext;
|
|
4799
|
+
GISGrammarParser.WmsStylesContext = WmsStylesContext;
|
|
4800
|
+
GISGrammarParser.WmsQueryableContext = WmsQueryableContext;
|
|
4801
|
+
GISGrammarParser.WmsAttributionContext = WmsAttributionContext;
|
|
4802
|
+
GISGrammarParser.WmsVersionContext = WmsVersionContext;
|
|
3514
4803
|
GISGrammarParser.CreateSortableMapContext = CreateSortableMapContext;
|
|
3515
4804
|
GISGrammarParser.CreateMapContext = CreateMapContext;
|
|
3516
4805
|
GISGrammarParser.MapLayerContext = MapLayerContext;
|