@lbdudc/gp-gis-dsl 0.3.3 → 0.3.4
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/.antlr/GISGrammar.interp +3 -1
- package/grammar/.antlr/GISGrammar.tokens +49 -48
- package/grammar/.antlr/GISGrammarLexer.interp +4 -1
- package/grammar/.antlr/GISGrammarLexer.java +532 -523
- package/grammar/.antlr/GISGrammarLexer.tokens +49 -48
- package/grammar/.antlr/GISGrammarParser.java +428 -383
- package/grammar/GISGrammar.g4 +4 -2
- package/package.json +1 -1
- package/src/GISVisitor.js +440 -436
- package/src/lib/GISGrammar.interp +3 -1
- package/src/lib/GISGrammar.tokens +49 -48
- package/src/lib/GISGrammarLexer.interp +4 -1
- package/src/lib/GISGrammarLexer.js +323 -315
- package/src/lib/GISGrammarLexer.tokens +49 -48
- package/src/lib/GISGrammarParser.js +405 -368
- package/src/spl/WMSStyleCustom.js +24 -22
- package/test-output/agriculture.json +2 -1
- package/test-output/basic.json +88 -130
- package/test-output/complete.json +2 -1
- package/test-output/emergency.json +4 -2
- package/test-output/environmental.json +6 -3
- package/test-output/gis.json +54 -54
- package/test-output/tourism.json +6 -3
- package/test-output/transportation.json +2 -1
- package/test-output/utilities.json +6 -3
|
@@ -4,7 +4,7 @@ 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,64,447,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,
|
|
@@ -18,127 +18,131 @@ 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,
|
|
|
18
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,
|
|
19
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
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,
|
|
22
|
-
3,
|
|
23
|
-
8,
|
|
24
|
-
10,
|
|
25
|
-
11,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
1,
|
|
30
|
-
|
|
31
|
-
1,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
1,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
0,
|
|
45
|
-
0,0,
|
|
46
|
-
0,0,0,
|
|
47
|
-
1,0,0,0,
|
|
48
|
-
1,0,0,0,
|
|
49
|
-
1,0,0,0,
|
|
50
|
-
1,0,0,0,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
0,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
134,3,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
3,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
0,
|
|
76
|
-
|
|
77
|
-
0,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
0,0,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
0,
|
|
87
|
-
|
|
88
|
-
0,0,
|
|
89
|
-
0,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
1,0,0,0,
|
|
99
|
-
0,
|
|
100
|
-
|
|
101
|
-
0,0,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
0,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
0,0,
|
|
119
|
-
|
|
120
|
-
1,0,0,0,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
0,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
0,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
0,
|
|
140
|
-
|
|
141
|
-
|
|
21
|
+
3,8,208,8,8,1,8,1,8,3,8,212,8,8,1,8,3,8,215,8,8,1,8,3,8,218,8,8,1,8,1,8,
|
|
22
|
+
3,8,222,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,230,8,9,1,9,3,9,233,8,9,1,9,3,9,
|
|
23
|
+
236,8,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,3,10,246,8,10,1,10,1,10,1,10,
|
|
24
|
+
1,10,5,10,252,8,10,10,10,12,10,255,9,10,1,10,1,10,1,10,1,11,1,11,1,11,1,
|
|
25
|
+
11,1,11,1,11,3,11,266,8,11,1,11,3,11,269,8,11,1,11,3,11,272,8,11,1,11,3,
|
|
26
|
+
11,275,8,11,1,11,3,11,278,8,11,1,11,3,11,281,8,11,1,11,3,11,284,8,11,3,11,
|
|
27
|
+
286,8,11,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,
|
|
28
|
+
1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,
|
|
29
|
+
19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,21,1,22,
|
|
30
|
+
1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,
|
|
31
|
+
25,1,26,1,26,1,26,1,27,1,27,1,27,1,27,3,27,352,8,27,1,27,1,27,1,27,1,27,
|
|
32
|
+
5,27,358,8,27,10,27,12,27,361,9,27,1,27,1,27,1,27,1,28,1,28,3,28,368,8,28,
|
|
33
|
+
1,28,3,28,371,8,28,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,31,
|
|
34
|
+
1,31,1,31,1,31,1,31,1,31,5,31,389,8,31,10,31,12,31,392,9,31,1,31,1,31,1,
|
|
35
|
+
31,1,32,1,32,1,32,1,33,1,33,3,33,402,8,33,1,34,1,34,1,34,5,34,407,8,34,10,
|
|
36
|
+
34,12,34,410,9,34,1,35,1,35,3,35,414,8,35,1,36,1,36,1,36,1,36,1,36,1,36,
|
|
37
|
+
1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,431,8,37,1,38,1,38,1,39,
|
|
38
|
+
1,39,1,40,1,40,1,41,1,41,1,42,1,42,1,43,1,43,1,44,1,44,1,44,0,0,45,0,2,4,
|
|
39
|
+
6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,
|
|
40
|
+
56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,0,2,2,0,7,7,9,11,1,0,
|
|
41
|
+
47,50,455,0,91,1,0,0,0,2,99,1,0,0,0,4,101,1,0,0,0,6,107,1,0,0,0,8,113,1,
|
|
42
|
+
0,0,0,10,133,1,0,0,0,12,135,1,0,0,0,14,148,1,0,0,0,16,175,1,0,0,0,18,223,
|
|
43
|
+
1,0,0,0,20,240,1,0,0,0,22,285,1,0,0,0,24,287,1,0,0,0,26,290,1,0,0,0,28,294,
|
|
44
|
+
1,0,0,0,30,298,1,0,0,0,32,302,1,0,0,0,34,306,1,0,0,0,36,310,1,0,0,0,38,314,
|
|
45
|
+
1,0,0,0,40,318,1,0,0,0,42,322,1,0,0,0,44,328,1,0,0,0,46,332,1,0,0,0,48,336,
|
|
46
|
+
1,0,0,0,50,340,1,0,0,0,52,344,1,0,0,0,54,347,1,0,0,0,56,365,1,0,0,0,58,372,
|
|
47
|
+
1,0,0,0,60,377,1,0,0,0,62,382,1,0,0,0,64,396,1,0,0,0,66,401,1,0,0,0,68,403,
|
|
48
|
+
1,0,0,0,70,413,1,0,0,0,72,415,1,0,0,0,74,421,1,0,0,0,76,432,1,0,0,0,78,434,
|
|
49
|
+
1,0,0,0,80,436,1,0,0,0,82,438,1,0,0,0,84,440,1,0,0,0,86,442,1,0,0,0,88,444,
|
|
50
|
+
1,0,0,0,90,92,3,2,1,0,91,90,1,0,0,0,92,93,1,0,0,0,93,91,1,0,0,0,93,94,1,
|
|
51
|
+
0,0,0,94,1,1,0,0,0,95,100,3,4,2,0,96,100,3,58,29,0,97,100,3,60,30,0,98,100,
|
|
52
|
+
3,62,31,0,99,95,1,0,0,0,99,96,1,0,0,0,99,97,1,0,0,0,99,98,1,0,0,0,100,3,
|
|
53
|
+
1,0,0,0,101,105,5,1,0,0,102,106,3,6,3,0,103,106,3,8,4,0,104,106,3,10,5,0,
|
|
54
|
+
105,102,1,0,0,0,105,103,1,0,0,0,105,104,1,0,0,0,106,5,1,0,0,0,107,108,5,
|
|
55
|
+
2,0,0,108,109,3,80,40,0,109,110,5,4,0,0,110,111,3,78,39,0,111,112,5,57,0,
|
|
56
|
+
0,112,7,1,0,0,0,113,114,5,3,0,0,114,115,3,80,40,0,115,116,5,54,0,0,116,121,
|
|
57
|
+
3,66,33,0,117,118,5,56,0,0,118,120,3,66,33,0,119,117,1,0,0,0,120,123,1,0,
|
|
58
|
+
0,0,121,119,1,0,0,0,121,122,1,0,0,0,122,124,1,0,0,0,123,121,1,0,0,0,124,
|
|
59
|
+
125,5,55,0,0,125,126,5,57,0,0,126,9,1,0,0,0,127,134,3,12,6,0,128,134,3,14,
|
|
60
|
+
7,0,129,134,3,18,9,0,130,134,3,20,10,0,131,134,3,54,27,0,132,134,3,52,26,
|
|
61
|
+
0,133,127,1,0,0,0,133,128,1,0,0,0,133,129,1,0,0,0,133,130,1,0,0,0,133,131,
|
|
62
|
+
1,0,0,0,133,132,1,0,0,0,134,11,1,0,0,0,135,136,5,15,0,0,136,137,5,14,0,0,
|
|
63
|
+
137,140,3,80,40,0,138,139,5,18,0,0,139,141,3,82,41,0,140,138,1,0,0,0,140,
|
|
64
|
+
141,1,0,0,0,141,142,1,0,0,0,142,143,5,54,0,0,143,144,5,19,0,0,144,145,3,
|
|
65
|
+
82,41,0,145,146,5,55,0,0,146,147,5,57,0,0,147,13,1,0,0,0,148,149,5,16,0,
|
|
66
|
+
0,149,150,5,14,0,0,150,153,3,80,40,0,151,152,5,18,0,0,152,154,3,82,41,0,
|
|
67
|
+
153,151,1,0,0,0,153,154,1,0,0,0,154,155,1,0,0,0,155,156,5,54,0,0,156,158,
|
|
68
|
+
3,80,40,0,157,159,5,21,0,0,158,157,1,0,0,0,158,159,1,0,0,0,159,160,1,0,0,
|
|
69
|
+
0,160,161,5,56,0,0,161,162,5,22,0,0,162,163,3,84,42,0,163,164,5,56,0,0,164,
|
|
70
|
+
165,5,23,0,0,165,166,3,84,42,0,166,167,5,56,0,0,167,168,5,24,0,0,168,169,
|
|
71
|
+
3,86,43,0,169,170,5,56,0,0,170,171,5,25,0,0,171,172,3,86,43,0,172,173,5,
|
|
72
|
+
55,0,0,173,174,5,57,0,0,174,15,1,0,0,0,175,176,5,17,0,0,176,177,5,51,0,0,
|
|
73
|
+
177,179,5,56,0,0,178,180,5,22,0,0,179,178,1,0,0,0,179,180,1,0,0,0,180,182,
|
|
74
|
+
1,0,0,0,181,183,3,84,42,0,182,181,1,0,0,0,182,183,1,0,0,0,183,185,1,0,0,
|
|
75
|
+
0,184,186,5,56,0,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,
|
|
76
|
+
5,23,0,0,188,187,1,0,0,0,188,189,1,0,0,0,189,191,1,0,0,0,190,192,3,84,42,
|
|
77
|
+
0,191,190,1,0,0,0,191,192,1,0,0,0,192,194,1,0,0,0,193,195,5,56,0,0,194,193,
|
|
78
|
+
1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,5,24,0,0,197,196,1,0,0,0,
|
|
79
|
+
197,198,1,0,0,0,198,201,1,0,0,0,199,202,3,86,43,0,200,202,3,88,44,0,201,
|
|
80
|
+
199,1,0,0,0,201,200,1,0,0,0,201,202,1,0,0,0,202,204,1,0,0,0,203,205,5,56,
|
|
81
|
+
0,0,204,203,1,0,0,0,204,205,1,0,0,0,205,207,1,0,0,0,206,208,5,25,0,0,207,
|
|
82
|
+
206,1,0,0,0,207,208,1,0,0,0,208,211,1,0,0,0,209,212,3,86,43,0,210,212,3,
|
|
83
|
+
88,44,0,211,209,1,0,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,214,1,0,0,0,
|
|
84
|
+
213,215,5,56,0,0,214,213,1,0,0,0,214,215,1,0,0,0,215,217,1,0,0,0,216,218,
|
|
85
|
+
5,26,0,0,217,216,1,0,0,0,217,218,1,0,0,0,218,221,1,0,0,0,219,222,3,86,43,
|
|
86
|
+
0,220,222,3,88,44,0,221,219,1,0,0,0,221,220,1,0,0,0,221,222,1,0,0,0,222,
|
|
87
|
+
17,1,0,0,0,223,224,5,27,0,0,224,225,5,28,0,0,225,226,3,80,40,0,226,229,5,
|
|
88
|
+
54,0,0,227,228,5,20,0,0,228,230,3,82,41,0,229,227,1,0,0,0,229,230,1,0,0,
|
|
89
|
+
0,230,232,1,0,0,0,231,233,5,56,0,0,232,231,1,0,0,0,232,233,1,0,0,0,233,235,
|
|
90
|
+
1,0,0,0,234,236,3,16,8,0,235,234,1,0,0,0,235,236,1,0,0,0,236,237,1,0,0,0,
|
|
91
|
+
237,238,5,55,0,0,238,239,5,57,0,0,239,19,1,0,0,0,240,241,5,27,0,0,241,242,
|
|
92
|
+
5,14,0,0,242,245,3,80,40,0,243,244,5,18,0,0,244,246,3,82,41,0,245,243,1,
|
|
93
|
+
0,0,0,245,246,1,0,0,0,246,247,1,0,0,0,247,248,5,54,0,0,248,253,3,22,11,0,
|
|
94
|
+
249,250,5,56,0,0,250,252,3,22,11,0,251,249,1,0,0,0,252,255,1,0,0,0,253,251,
|
|
95
|
+
1,0,0,0,253,254,1,0,0,0,254,256,1,0,0,0,255,253,1,0,0,0,256,257,5,55,0,0,
|
|
96
|
+
257,258,5,57,0,0,258,21,1,0,0,0,259,260,3,80,40,0,260,261,3,80,40,0,261,
|
|
97
|
+
286,1,0,0,0,262,263,3,24,12,0,263,265,3,26,13,0,264,266,3,28,14,0,265,264,
|
|
98
|
+
1,0,0,0,265,266,1,0,0,0,266,268,1,0,0,0,267,269,3,30,15,0,268,267,1,0,0,
|
|
99
|
+
0,268,269,1,0,0,0,269,271,1,0,0,0,270,272,3,44,22,0,271,270,1,0,0,0,271,
|
|
100
|
+
272,1,0,0,0,272,274,1,0,0,0,273,275,3,46,23,0,274,273,1,0,0,0,274,275,1,
|
|
101
|
+
0,0,0,275,277,1,0,0,0,276,278,3,48,24,0,277,276,1,0,0,0,277,278,1,0,0,0,
|
|
102
|
+
278,280,1,0,0,0,279,281,3,42,21,0,280,279,1,0,0,0,280,281,1,0,0,0,281,283,
|
|
103
|
+
1,0,0,0,282,284,3,50,25,0,283,282,1,0,0,0,283,284,1,0,0,0,284,286,1,0,0,
|
|
104
|
+
0,285,259,1,0,0,0,285,262,1,0,0,0,286,23,1,0,0,0,287,288,5,35,0,0,288,289,
|
|
105
|
+
3,82,41,0,289,25,1,0,0,0,290,291,5,56,0,0,291,292,5,36,0,0,292,293,3,82,
|
|
106
|
+
41,0,293,27,1,0,0,0,294,295,5,56,0,0,295,296,5,37,0,0,296,297,3,82,41,0,
|
|
107
|
+
297,29,1,0,0,0,298,299,5,56,0,0,299,300,5,38,0,0,300,301,3,82,41,0,301,31,
|
|
108
|
+
1,0,0,0,302,303,5,56,0,0,303,304,5,39,0,0,304,305,3,82,41,0,305,33,1,0,0,
|
|
109
|
+
0,306,307,5,56,0,0,307,308,5,40,0,0,308,309,3,86,43,0,309,35,1,0,0,0,310,
|
|
110
|
+
311,5,56,0,0,311,312,5,41,0,0,312,313,3,86,43,0,313,37,1,0,0,0,314,315,5,
|
|
111
|
+
56,0,0,315,316,5,42,0,0,316,317,3,86,43,0,317,39,1,0,0,0,318,319,5,56,0,
|
|
112
|
+
0,319,320,5,43,0,0,320,321,3,86,43,0,321,41,1,0,0,0,322,323,3,32,16,0,323,
|
|
113
|
+
324,3,34,17,0,324,325,3,36,18,0,325,326,3,38,19,0,326,327,3,40,20,0,327,
|
|
114
|
+
43,1,0,0,0,328,329,5,56,0,0,329,330,5,28,0,0,330,331,3,82,41,0,331,45,1,
|
|
115
|
+
0,0,0,332,333,5,56,0,0,333,334,5,44,0,0,334,335,3,82,41,0,335,47,1,0,0,0,
|
|
116
|
+
336,337,5,56,0,0,337,338,5,45,0,0,338,339,3,82,41,0,339,49,1,0,0,0,340,341,
|
|
117
|
+
5,56,0,0,341,342,5,46,0,0,342,343,3,82,41,0,343,51,1,0,0,0,344,345,5,31,
|
|
118
|
+
0,0,345,346,3,54,27,0,346,53,1,0,0,0,347,348,5,32,0,0,348,351,3,80,40,0,
|
|
119
|
+
349,350,5,18,0,0,350,352,3,82,41,0,351,349,1,0,0,0,351,352,1,0,0,0,352,353,
|
|
120
|
+
1,0,0,0,353,354,5,54,0,0,354,359,3,56,28,0,355,356,5,56,0,0,356,358,3,56,
|
|
121
|
+
28,0,357,355,1,0,0,0,358,361,1,0,0,0,359,357,1,0,0,0,359,360,1,0,0,0,360,
|
|
122
|
+
362,1,0,0,0,361,359,1,0,0,0,362,363,5,55,0,0,363,364,5,57,0,0,364,55,1,0,
|
|
123
|
+
0,0,365,367,3,80,40,0,366,368,5,29,0,0,367,366,1,0,0,0,367,368,1,0,0,0,368,
|
|
124
|
+
370,1,0,0,0,369,371,5,30,0,0,370,369,1,0,0,0,370,371,1,0,0,0,371,57,1,0,
|
|
125
|
+
0,0,372,373,5,5,0,0,373,374,5,2,0,0,374,375,3,80,40,0,375,376,5,57,0,0,376,
|
|
126
|
+
59,1,0,0,0,377,378,5,6,0,0,378,379,5,2,0,0,379,380,3,80,40,0,380,381,5,57,
|
|
127
|
+
0,0,381,61,1,0,0,0,382,383,5,33,0,0,383,384,5,34,0,0,384,385,5,54,0,0,385,
|
|
128
|
+
390,3,64,32,0,386,387,5,56,0,0,387,389,3,64,32,0,388,386,1,0,0,0,389,392,
|
|
129
|
+
1,0,0,0,390,388,1,0,0,0,390,391,1,0,0,0,391,393,1,0,0,0,392,390,1,0,0,0,
|
|
130
|
+
393,394,5,55,0,0,394,395,5,57,0,0,395,63,1,0,0,0,396,397,3,82,41,0,397,398,
|
|
131
|
+
3,82,41,0,398,65,1,0,0,0,399,402,3,68,34,0,400,402,3,70,35,0,401,399,1,0,
|
|
132
|
+
0,0,401,400,1,0,0,0,402,67,1,0,0,0,403,404,3,80,40,0,404,408,5,51,0,0,405,
|
|
133
|
+
407,7,0,0,0,406,405,1,0,0,0,407,410,1,0,0,0,408,406,1,0,0,0,408,409,1,0,
|
|
134
|
+
0,0,409,69,1,0,0,0,410,408,1,0,0,0,411,414,3,74,37,0,412,414,3,72,36,0,413,
|
|
135
|
+
411,1,0,0,0,413,412,1,0,0,0,414,71,1,0,0,0,415,416,3,80,40,0,416,417,3,80,
|
|
136
|
+
40,0,417,418,5,8,0,0,418,419,5,13,0,0,419,420,3,80,40,0,420,73,1,0,0,0,421,
|
|
137
|
+
422,3,80,40,0,422,423,3,80,40,0,423,424,5,8,0,0,424,425,5,54,0,0,425,426,
|
|
138
|
+
3,76,38,0,426,427,5,56,0,0,427,428,3,76,38,0,428,430,5,55,0,0,429,431,5,
|
|
139
|
+
12,0,0,430,429,1,0,0,0,430,431,1,0,0,0,431,75,1,0,0,0,432,433,7,1,0,0,433,
|
|
140
|
+
77,1,0,0,0,434,435,5,59,0,0,435,79,1,0,0,0,436,437,5,63,0,0,437,81,1,0,0,
|
|
141
|
+
0,438,439,5,64,0,0,439,83,1,0,0,0,440,441,5,58,0,0,441,85,1,0,0,0,442,443,
|
|
142
|
+
5,60,0,0,443,87,1,0,0,0,444,445,5,59,0,0,445,89,1,0,0,0,44,93,99,105,121,
|
|
143
|
+
133,140,153,158,179,182,185,188,191,194,197,201,204,207,211,214,217,221,
|
|
144
|
+
229,232,235,245,253,265,268,271,274,277,280,283,285,351,359,367,370,390,
|
|
145
|
+
401,408,413,430];
|
|
142
146
|
|
|
143
147
|
|
|
144
148
|
const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
|
|
@@ -155,7 +159,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
155
159
|
null, null, null, null, null, null, null, null,
|
|
156
160
|
null, null, null, null, null, null, null, null,
|
|
157
161
|
null, null, null, null, null, null, null, null,
|
|
158
|
-
null, null, null, null, null, null, "'0..1'",
|
|
162
|
+
null, null, null, null, null, null, null, "'0..1'",
|
|
159
163
|
"'1..1'", "'0..*'", "'1..*'", null, "'#'", "'.'",
|
|
160
164
|
"'('", "')'", "','", "';'" ];
|
|
161
165
|
static symbolicNames = [ null, "CREATE_SYMBOL", "GIS_SYMBOL", "ENTITY_SYMBOL",
|
|
@@ -167,19 +171,19 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
167
171
|
"GEOMETRY_TYPE_SYMBOL", "AS_SYMBOL", "URL_SYMBOL",
|
|
168
172
|
"SLD_SYMBOL", "EDITABLE_SYMBOL", "FILL_COLOR_SYMBOL",
|
|
169
173
|
"STROKE_COLOR_SYMBOL", "FILL_OPACITY_SYMBOL",
|
|
170
|
-
"STROKE_OPACITY_SYMBOL", "
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"IDENTIFIER", "QUOTED_TEXT" ];
|
|
174
|
+
"STROKE_OPACITY_SYMBOL", "STROKE_WIDTH_SYMBOL",
|
|
175
|
+
"WMS_SYMBOL", "STYLE_SYMBOL", "IS_BASE_LAYER_SYMBOL",
|
|
176
|
+
"HIDDEN_SYMBOL", "SORTABLE_SYMBOL", "MAP_SYMBOL",
|
|
177
|
+
"SET_SYMBOL", "DEPLOYMENT_SYMBOL", "URL_WMS_SYMBOL",
|
|
178
|
+
"LAYERNAME_SYMBOL", "FORMAT_SYMBOL", "CRS_SYMBOL",
|
|
179
|
+
"BBOX_CRS_SYMBOL", "MINX_SYMBOL", "MINY_SYMBOL",
|
|
180
|
+
"MAXX_SYMBOL", "MAXY_SYMBOL", "QUERYABLE_SYMBOL",
|
|
181
|
+
"ATTRIBUTION_SYMBOL", "VERSION_SYMBOL", "ZERO_ONE_SYMBOL",
|
|
182
|
+
"ONE_ONE_SYMBOL", "ZERO_MANY_SYMBOL", "ONE_MANY_SYMBOL",
|
|
183
|
+
"TYPE", "POUND_SYMBOL", "DOT_SYMBOL", "OPAR_SYMBOL",
|
|
184
|
+
"CPAR_SYMBOL", "COMMA_SYMBOL", "SCOL_SYMBOL",
|
|
185
|
+
"HEX_COLOR", "INT_NUMBER", "FLOAT_NUMBER",
|
|
186
|
+
"COMMENT", "WHITESPACE", "IDENTIFIER", "QUOTED_TEXT" ];
|
|
183
187
|
static ruleNames = [ "parse", "sentence", "createStatement", "createGIS",
|
|
184
188
|
"createEntity", "createLayer", "createTileLayer",
|
|
185
189
|
"createGeoJSONLayer", "sldCustomBody", "createWmsStyle",
|
|
@@ -220,7 +224,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
220
224
|
this.state = 93;
|
|
221
225
|
this._errHandler.sync(this);
|
|
222
226
|
_la = this._input.LA(1);
|
|
223
|
-
} while((((
|
|
227
|
+
} while((((_la) & ~0x1f) === 0 && ((1 << _la) & 98) !== 0) || _la===33);
|
|
224
228
|
} catch (re) {
|
|
225
229
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
226
230
|
localctx.exception = re;
|
|
@@ -259,7 +263,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
259
263
|
this.state = 97;
|
|
260
264
|
this.generateGIS();
|
|
261
265
|
break;
|
|
262
|
-
case
|
|
266
|
+
case 33:
|
|
263
267
|
this.enterOuterAlt(localctx, 4);
|
|
264
268
|
this.state = 98;
|
|
265
269
|
this.setDeployment();
|
|
@@ -303,9 +307,9 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
303
307
|
break;
|
|
304
308
|
case 15:
|
|
305
309
|
case 16:
|
|
306
|
-
case
|
|
307
|
-
case 30:
|
|
310
|
+
case 27:
|
|
308
311
|
case 31:
|
|
312
|
+
case 32:
|
|
309
313
|
this.state = 104;
|
|
310
314
|
this.createLayer();
|
|
311
315
|
break;
|
|
@@ -376,7 +380,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
376
380
|
this.state = 121;
|
|
377
381
|
this._errHandler.sync(this);
|
|
378
382
|
_la = this._input.LA(1);
|
|
379
|
-
while(_la===
|
|
383
|
+
while(_la===56) {
|
|
380
384
|
this.state = 117;
|
|
381
385
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
382
386
|
this.state = 118;
|
|
@@ -639,7 +643,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
639
643
|
this.state = 191;
|
|
640
644
|
this._errHandler.sync(this);
|
|
641
645
|
_la = this._input.LA(1);
|
|
642
|
-
if(_la===
|
|
646
|
+
if(_la===58) {
|
|
643
647
|
this.state = 190;
|
|
644
648
|
this.hexColor();
|
|
645
649
|
}
|
|
@@ -674,12 +678,12 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
674
678
|
}
|
|
675
679
|
this.state = 204;
|
|
676
680
|
this._errHandler.sync(this);
|
|
677
|
-
|
|
678
|
-
if(
|
|
681
|
+
var la_ = this._interp.adaptivePredict(this._input,16,this._ctx);
|
|
682
|
+
if(la_===1) {
|
|
679
683
|
this.state = 203;
|
|
680
684
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
681
|
-
}
|
|
682
685
|
|
|
686
|
+
}
|
|
683
687
|
this.state = 207;
|
|
684
688
|
this._errHandler.sync(this);
|
|
685
689
|
_la = this._input.LA(1);
|
|
@@ -690,16 +694,44 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
690
694
|
|
|
691
695
|
this.state = 211;
|
|
692
696
|
this._errHandler.sync(this);
|
|
697
|
+
var la_ = this._interp.adaptivePredict(this._input,18,this._ctx);
|
|
698
|
+
if(la_===1) {
|
|
699
|
+
this.state = 209;
|
|
700
|
+
this.floatNumber();
|
|
701
|
+
|
|
702
|
+
} else if(la_===2) {
|
|
703
|
+
this.state = 210;
|
|
704
|
+
this.intNumber();
|
|
705
|
+
|
|
706
|
+
}
|
|
707
|
+
this.state = 214;
|
|
708
|
+
this._errHandler.sync(this);
|
|
709
|
+
_la = this._input.LA(1);
|
|
710
|
+
if(_la===56) {
|
|
711
|
+
this.state = 213;
|
|
712
|
+
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
this.state = 217;
|
|
716
|
+
this._errHandler.sync(this);
|
|
717
|
+
_la = this._input.LA(1);
|
|
718
|
+
if(_la===26) {
|
|
719
|
+
this.state = 216;
|
|
720
|
+
this.match(GISGrammarParser.STROKE_WIDTH_SYMBOL);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
this.state = 221;
|
|
724
|
+
this._errHandler.sync(this);
|
|
693
725
|
switch (this._input.LA(1)) {
|
|
694
|
-
case
|
|
695
|
-
this.state =
|
|
726
|
+
case 60:
|
|
727
|
+
this.state = 219;
|
|
696
728
|
this.floatNumber();
|
|
697
729
|
break;
|
|
698
|
-
case
|
|
699
|
-
this.state =
|
|
730
|
+
case 59:
|
|
731
|
+
this.state = 220;
|
|
700
732
|
this.intNumber();
|
|
701
733
|
break;
|
|
702
|
-
case
|
|
734
|
+
case 55:
|
|
703
735
|
break;
|
|
704
736
|
default:
|
|
705
737
|
break;
|
|
@@ -726,43 +758,43 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
726
758
|
var _la = 0;
|
|
727
759
|
try {
|
|
728
760
|
this.enterOuterAlt(localctx, 1);
|
|
729
|
-
this.state =
|
|
761
|
+
this.state = 223;
|
|
730
762
|
this.match(GISGrammarParser.WMS_SYMBOL);
|
|
731
|
-
this.state =
|
|
763
|
+
this.state = 224;
|
|
732
764
|
this.match(GISGrammarParser.STYLE_SYMBOL);
|
|
733
|
-
this.state =
|
|
765
|
+
this.state = 225;
|
|
734
766
|
this.identifier();
|
|
735
|
-
this.state =
|
|
767
|
+
this.state = 226;
|
|
736
768
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
737
|
-
this.state =
|
|
769
|
+
this.state = 229;
|
|
738
770
|
this._errHandler.sync(this);
|
|
739
771
|
_la = this._input.LA(1);
|
|
740
772
|
if(_la===20) {
|
|
741
|
-
this.state =
|
|
773
|
+
this.state = 227;
|
|
742
774
|
this.match(GISGrammarParser.SLD_SYMBOL);
|
|
743
|
-
this.state =
|
|
775
|
+
this.state = 228;
|
|
744
776
|
this.text();
|
|
745
777
|
}
|
|
746
778
|
|
|
747
|
-
this.state =
|
|
779
|
+
this.state = 232;
|
|
748
780
|
this._errHandler.sync(this);
|
|
749
781
|
_la = this._input.LA(1);
|
|
750
|
-
if(_la===
|
|
751
|
-
this.state =
|
|
782
|
+
if(_la===56) {
|
|
783
|
+
this.state = 231;
|
|
752
784
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
753
785
|
}
|
|
754
786
|
|
|
755
|
-
this.state =
|
|
787
|
+
this.state = 235;
|
|
756
788
|
this._errHandler.sync(this);
|
|
757
789
|
_la = this._input.LA(1);
|
|
758
790
|
if(_la===17) {
|
|
759
|
-
this.state =
|
|
791
|
+
this.state = 234;
|
|
760
792
|
this.sldCustomBody();
|
|
761
793
|
}
|
|
762
794
|
|
|
763
|
-
this.state =
|
|
795
|
+
this.state = 237;
|
|
764
796
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
765
|
-
this.state =
|
|
797
|
+
this.state = 238;
|
|
766
798
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
767
799
|
} catch (re) {
|
|
768
800
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -786,41 +818,41 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
786
818
|
var _la = 0;
|
|
787
819
|
try {
|
|
788
820
|
this.enterOuterAlt(localctx, 1);
|
|
789
|
-
this.state =
|
|
821
|
+
this.state = 240;
|
|
790
822
|
this.match(GISGrammarParser.WMS_SYMBOL);
|
|
791
|
-
this.state =
|
|
823
|
+
this.state = 241;
|
|
792
824
|
this.match(GISGrammarParser.LAYER_SYMBOL);
|
|
793
|
-
this.state =
|
|
825
|
+
this.state = 242;
|
|
794
826
|
this.identifier();
|
|
795
|
-
this.state =
|
|
827
|
+
this.state = 245;
|
|
796
828
|
this._errHandler.sync(this);
|
|
797
829
|
_la = this._input.LA(1);
|
|
798
830
|
if(_la===18) {
|
|
799
|
-
this.state =
|
|
831
|
+
this.state = 243;
|
|
800
832
|
this.match(GISGrammarParser.AS_SYMBOL);
|
|
801
|
-
this.state =
|
|
833
|
+
this.state = 244;
|
|
802
834
|
this.text();
|
|
803
835
|
}
|
|
804
836
|
|
|
805
|
-
this.state =
|
|
837
|
+
this.state = 247;
|
|
806
838
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
807
|
-
this.state =
|
|
839
|
+
this.state = 248;
|
|
808
840
|
this.wmsSubLayer();
|
|
809
|
-
this.state =
|
|
841
|
+
this.state = 253;
|
|
810
842
|
this._errHandler.sync(this);
|
|
811
843
|
_la = this._input.LA(1);
|
|
812
|
-
while(_la===
|
|
813
|
-
this.state =
|
|
844
|
+
while(_la===56) {
|
|
845
|
+
this.state = 249;
|
|
814
846
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
815
|
-
this.state =
|
|
847
|
+
this.state = 250;
|
|
816
848
|
this.wmsSubLayer();
|
|
817
|
-
this.state =
|
|
849
|
+
this.state = 255;
|
|
818
850
|
this._errHandler.sync(this);
|
|
819
851
|
_la = this._input.LA(1);
|
|
820
852
|
}
|
|
821
|
-
this.state =
|
|
853
|
+
this.state = 256;
|
|
822
854
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
823
|
-
this.state =
|
|
855
|
+
this.state = 257;
|
|
824
856
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
825
857
|
} catch (re) {
|
|
826
858
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -842,75 +874,75 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
842
874
|
let localctx = new WmsSubLayerContext(this, this._ctx, this.state);
|
|
843
875
|
this.enterRule(localctx, 22, GISGrammarParser.RULE_wmsSubLayer);
|
|
844
876
|
try {
|
|
845
|
-
this.state =
|
|
877
|
+
this.state = 285;
|
|
846
878
|
this._errHandler.sync(this);
|
|
847
879
|
switch(this._input.LA(1)) {
|
|
848
|
-
case
|
|
880
|
+
case 63:
|
|
849
881
|
this.enterOuterAlt(localctx, 1);
|
|
850
|
-
this.state =
|
|
882
|
+
this.state = 259;
|
|
851
883
|
this.identifier();
|
|
852
|
-
this.state =
|
|
884
|
+
this.state = 260;
|
|
853
885
|
this.identifier();
|
|
854
886
|
break;
|
|
855
|
-
case
|
|
887
|
+
case 35:
|
|
856
888
|
this.enterOuterAlt(localctx, 2);
|
|
857
|
-
this.state =
|
|
889
|
+
this.state = 262;
|
|
858
890
|
this.wmsUrl();
|
|
859
|
-
this.state =
|
|
891
|
+
this.state = 263;
|
|
860
892
|
this.wmsLayerName();
|
|
861
|
-
this.state =
|
|
893
|
+
this.state = 265;
|
|
862
894
|
this._errHandler.sync(this);
|
|
863
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
895
|
+
var la_ = this._interp.adaptivePredict(this._input,27,this._ctx);
|
|
864
896
|
if(la_===1) {
|
|
865
|
-
this.state =
|
|
897
|
+
this.state = 264;
|
|
866
898
|
this.wmsFormatName();
|
|
867
899
|
|
|
868
900
|
}
|
|
869
|
-
this.state =
|
|
901
|
+
this.state = 268;
|
|
870
902
|
this._errHandler.sync(this);
|
|
871
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
903
|
+
var la_ = this._interp.adaptivePredict(this._input,28,this._ctx);
|
|
872
904
|
if(la_===1) {
|
|
873
|
-
this.state =
|
|
905
|
+
this.state = 267;
|
|
874
906
|
this.wmsCrs();
|
|
875
907
|
|
|
876
908
|
}
|
|
877
|
-
this.state =
|
|
909
|
+
this.state = 271;
|
|
878
910
|
this._errHandler.sync(this);
|
|
879
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
911
|
+
var la_ = this._interp.adaptivePredict(this._input,29,this._ctx);
|
|
880
912
|
if(la_===1) {
|
|
881
|
-
this.state =
|
|
913
|
+
this.state = 270;
|
|
882
914
|
this.wmsStyles();
|
|
883
915
|
|
|
884
916
|
}
|
|
885
|
-
this.state =
|
|
917
|
+
this.state = 274;
|
|
886
918
|
this._errHandler.sync(this);
|
|
887
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
919
|
+
var la_ = this._interp.adaptivePredict(this._input,30,this._ctx);
|
|
888
920
|
if(la_===1) {
|
|
889
|
-
this.state =
|
|
921
|
+
this.state = 273;
|
|
890
922
|
this.wmsQueryable();
|
|
891
923
|
|
|
892
924
|
}
|
|
893
|
-
this.state =
|
|
925
|
+
this.state = 277;
|
|
894
926
|
this._errHandler.sync(this);
|
|
895
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
927
|
+
var la_ = this._interp.adaptivePredict(this._input,31,this._ctx);
|
|
896
928
|
if(la_===1) {
|
|
897
|
-
this.state =
|
|
929
|
+
this.state = 276;
|
|
898
930
|
this.wmsAttribution();
|
|
899
931
|
|
|
900
932
|
}
|
|
901
|
-
this.state =
|
|
933
|
+
this.state = 280;
|
|
902
934
|
this._errHandler.sync(this);
|
|
903
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
935
|
+
var la_ = this._interp.adaptivePredict(this._input,32,this._ctx);
|
|
904
936
|
if(la_===1) {
|
|
905
|
-
this.state =
|
|
937
|
+
this.state = 279;
|
|
906
938
|
this.wmsBboxGroup();
|
|
907
939
|
|
|
908
940
|
}
|
|
909
|
-
this.state =
|
|
941
|
+
this.state = 283;
|
|
910
942
|
this._errHandler.sync(this);
|
|
911
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
943
|
+
var la_ = this._interp.adaptivePredict(this._input,33,this._ctx);
|
|
912
944
|
if(la_===1) {
|
|
913
|
-
this.state =
|
|
945
|
+
this.state = 282;
|
|
914
946
|
this.wmsVersion();
|
|
915
947
|
|
|
916
948
|
}
|
|
@@ -939,9 +971,9 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
939
971
|
this.enterRule(localctx, 24, GISGrammarParser.RULE_wmsUrl);
|
|
940
972
|
try {
|
|
941
973
|
this.enterOuterAlt(localctx, 1);
|
|
942
|
-
this.state =
|
|
974
|
+
this.state = 287;
|
|
943
975
|
this.match(GISGrammarParser.URL_WMS_SYMBOL);
|
|
944
|
-
this.state =
|
|
976
|
+
this.state = 288;
|
|
945
977
|
this.text();
|
|
946
978
|
} catch (re) {
|
|
947
979
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -964,11 +996,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
964
996
|
this.enterRule(localctx, 26, GISGrammarParser.RULE_wmsLayerName);
|
|
965
997
|
try {
|
|
966
998
|
this.enterOuterAlt(localctx, 1);
|
|
967
|
-
this.state =
|
|
999
|
+
this.state = 290;
|
|
968
1000
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
969
|
-
this.state =
|
|
1001
|
+
this.state = 291;
|
|
970
1002
|
this.match(GISGrammarParser.LAYERNAME_SYMBOL);
|
|
971
|
-
this.state =
|
|
1003
|
+
this.state = 292;
|
|
972
1004
|
this.text();
|
|
973
1005
|
} catch (re) {
|
|
974
1006
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -991,11 +1023,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
991
1023
|
this.enterRule(localctx, 28, GISGrammarParser.RULE_wmsFormatName);
|
|
992
1024
|
try {
|
|
993
1025
|
this.enterOuterAlt(localctx, 1);
|
|
994
|
-
this.state =
|
|
1026
|
+
this.state = 294;
|
|
995
1027
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
996
|
-
this.state =
|
|
1028
|
+
this.state = 295;
|
|
997
1029
|
this.match(GISGrammarParser.FORMAT_SYMBOL);
|
|
998
|
-
this.state =
|
|
1030
|
+
this.state = 296;
|
|
999
1031
|
this.text();
|
|
1000
1032
|
} catch (re) {
|
|
1001
1033
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1018,11 +1050,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1018
1050
|
this.enterRule(localctx, 30, GISGrammarParser.RULE_wmsCrs);
|
|
1019
1051
|
try {
|
|
1020
1052
|
this.enterOuterAlt(localctx, 1);
|
|
1021
|
-
this.state =
|
|
1053
|
+
this.state = 298;
|
|
1022
1054
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1023
|
-
this.state =
|
|
1055
|
+
this.state = 299;
|
|
1024
1056
|
this.match(GISGrammarParser.CRS_SYMBOL);
|
|
1025
|
-
this.state =
|
|
1057
|
+
this.state = 300;
|
|
1026
1058
|
this.text();
|
|
1027
1059
|
} catch (re) {
|
|
1028
1060
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1045,11 +1077,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1045
1077
|
this.enterRule(localctx, 32, GISGrammarParser.RULE_wmsBboxCrs);
|
|
1046
1078
|
try {
|
|
1047
1079
|
this.enterOuterAlt(localctx, 1);
|
|
1048
|
-
this.state =
|
|
1080
|
+
this.state = 302;
|
|
1049
1081
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1050
|
-
this.state =
|
|
1082
|
+
this.state = 303;
|
|
1051
1083
|
this.match(GISGrammarParser.BBOX_CRS_SYMBOL);
|
|
1052
|
-
this.state =
|
|
1084
|
+
this.state = 304;
|
|
1053
1085
|
this.text();
|
|
1054
1086
|
} catch (re) {
|
|
1055
1087
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1072,11 +1104,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1072
1104
|
this.enterRule(localctx, 34, GISGrammarParser.RULE_wmsMinX);
|
|
1073
1105
|
try {
|
|
1074
1106
|
this.enterOuterAlt(localctx, 1);
|
|
1075
|
-
this.state =
|
|
1107
|
+
this.state = 306;
|
|
1076
1108
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1077
|
-
this.state =
|
|
1109
|
+
this.state = 307;
|
|
1078
1110
|
this.match(GISGrammarParser.MINX_SYMBOL);
|
|
1079
|
-
this.state =
|
|
1111
|
+
this.state = 308;
|
|
1080
1112
|
this.floatNumber();
|
|
1081
1113
|
} catch (re) {
|
|
1082
1114
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1099,11 +1131,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1099
1131
|
this.enterRule(localctx, 36, GISGrammarParser.RULE_wmsMinY);
|
|
1100
1132
|
try {
|
|
1101
1133
|
this.enterOuterAlt(localctx, 1);
|
|
1102
|
-
this.state =
|
|
1134
|
+
this.state = 310;
|
|
1103
1135
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1104
|
-
this.state =
|
|
1136
|
+
this.state = 311;
|
|
1105
1137
|
this.match(GISGrammarParser.MINY_SYMBOL);
|
|
1106
|
-
this.state =
|
|
1138
|
+
this.state = 312;
|
|
1107
1139
|
this.floatNumber();
|
|
1108
1140
|
} catch (re) {
|
|
1109
1141
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1126,11 +1158,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1126
1158
|
this.enterRule(localctx, 38, GISGrammarParser.RULE_wmsMaxX);
|
|
1127
1159
|
try {
|
|
1128
1160
|
this.enterOuterAlt(localctx, 1);
|
|
1129
|
-
this.state =
|
|
1161
|
+
this.state = 314;
|
|
1130
1162
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1131
|
-
this.state =
|
|
1163
|
+
this.state = 315;
|
|
1132
1164
|
this.match(GISGrammarParser.MAXX_SYMBOL);
|
|
1133
|
-
this.state =
|
|
1165
|
+
this.state = 316;
|
|
1134
1166
|
this.floatNumber();
|
|
1135
1167
|
} catch (re) {
|
|
1136
1168
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1153,11 +1185,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1153
1185
|
this.enterRule(localctx, 40, GISGrammarParser.RULE_wmsMaxY);
|
|
1154
1186
|
try {
|
|
1155
1187
|
this.enterOuterAlt(localctx, 1);
|
|
1156
|
-
this.state =
|
|
1188
|
+
this.state = 318;
|
|
1157
1189
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1158
|
-
this.state =
|
|
1190
|
+
this.state = 319;
|
|
1159
1191
|
this.match(GISGrammarParser.MAXY_SYMBOL);
|
|
1160
|
-
this.state =
|
|
1192
|
+
this.state = 320;
|
|
1161
1193
|
this.floatNumber();
|
|
1162
1194
|
} catch (re) {
|
|
1163
1195
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1180,15 +1212,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1180
1212
|
this.enterRule(localctx, 42, GISGrammarParser.RULE_wmsBboxGroup);
|
|
1181
1213
|
try {
|
|
1182
1214
|
this.enterOuterAlt(localctx, 1);
|
|
1183
|
-
this.state =
|
|
1215
|
+
this.state = 322;
|
|
1184
1216
|
this.wmsBboxCrs();
|
|
1185
|
-
this.state =
|
|
1217
|
+
this.state = 323;
|
|
1186
1218
|
this.wmsMinX();
|
|
1187
|
-
this.state =
|
|
1219
|
+
this.state = 324;
|
|
1188
1220
|
this.wmsMinY();
|
|
1189
|
-
this.state =
|
|
1221
|
+
this.state = 325;
|
|
1190
1222
|
this.wmsMaxX();
|
|
1191
|
-
this.state =
|
|
1223
|
+
this.state = 326;
|
|
1192
1224
|
this.wmsMaxY();
|
|
1193
1225
|
} catch (re) {
|
|
1194
1226
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1211,11 +1243,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1211
1243
|
this.enterRule(localctx, 44, GISGrammarParser.RULE_wmsStyles);
|
|
1212
1244
|
try {
|
|
1213
1245
|
this.enterOuterAlt(localctx, 1);
|
|
1214
|
-
this.state =
|
|
1246
|
+
this.state = 328;
|
|
1215
1247
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1216
|
-
this.state =
|
|
1248
|
+
this.state = 329;
|
|
1217
1249
|
this.match(GISGrammarParser.STYLE_SYMBOL);
|
|
1218
|
-
this.state =
|
|
1250
|
+
this.state = 330;
|
|
1219
1251
|
this.text();
|
|
1220
1252
|
} catch (re) {
|
|
1221
1253
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1238,11 +1270,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1238
1270
|
this.enterRule(localctx, 46, GISGrammarParser.RULE_wmsQueryable);
|
|
1239
1271
|
try {
|
|
1240
1272
|
this.enterOuterAlt(localctx, 1);
|
|
1241
|
-
this.state =
|
|
1273
|
+
this.state = 332;
|
|
1242
1274
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1243
|
-
this.state =
|
|
1275
|
+
this.state = 333;
|
|
1244
1276
|
this.match(GISGrammarParser.QUERYABLE_SYMBOL);
|
|
1245
|
-
this.state =
|
|
1277
|
+
this.state = 334;
|
|
1246
1278
|
this.text();
|
|
1247
1279
|
} catch (re) {
|
|
1248
1280
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1265,11 +1297,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1265
1297
|
this.enterRule(localctx, 48, GISGrammarParser.RULE_wmsAttribution);
|
|
1266
1298
|
try {
|
|
1267
1299
|
this.enterOuterAlt(localctx, 1);
|
|
1268
|
-
this.state =
|
|
1300
|
+
this.state = 336;
|
|
1269
1301
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1270
|
-
this.state =
|
|
1302
|
+
this.state = 337;
|
|
1271
1303
|
this.match(GISGrammarParser.ATTRIBUTION_SYMBOL);
|
|
1272
|
-
this.state =
|
|
1304
|
+
this.state = 338;
|
|
1273
1305
|
this.text();
|
|
1274
1306
|
} catch (re) {
|
|
1275
1307
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1292,11 +1324,11 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1292
1324
|
this.enterRule(localctx, 50, GISGrammarParser.RULE_wmsVersion);
|
|
1293
1325
|
try {
|
|
1294
1326
|
this.enterOuterAlt(localctx, 1);
|
|
1295
|
-
this.state =
|
|
1327
|
+
this.state = 340;
|
|
1296
1328
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1297
|
-
this.state =
|
|
1329
|
+
this.state = 341;
|
|
1298
1330
|
this.match(GISGrammarParser.VERSION_SYMBOL);
|
|
1299
|
-
this.state =
|
|
1331
|
+
this.state = 342;
|
|
1300
1332
|
this.text();
|
|
1301
1333
|
} catch (re) {
|
|
1302
1334
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1319,9 +1351,9 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1319
1351
|
this.enterRule(localctx, 52, GISGrammarParser.RULE_createSortableMap);
|
|
1320
1352
|
try {
|
|
1321
1353
|
this.enterOuterAlt(localctx, 1);
|
|
1322
|
-
this.state =
|
|
1354
|
+
this.state = 344;
|
|
1323
1355
|
this.match(GISGrammarParser.SORTABLE_SYMBOL);
|
|
1324
|
-
this.state =
|
|
1356
|
+
this.state = 345;
|
|
1325
1357
|
this.createMap();
|
|
1326
1358
|
} catch (re) {
|
|
1327
1359
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1345,39 +1377,39 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1345
1377
|
var _la = 0;
|
|
1346
1378
|
try {
|
|
1347
1379
|
this.enterOuterAlt(localctx, 1);
|
|
1348
|
-
this.state =
|
|
1380
|
+
this.state = 347;
|
|
1349
1381
|
this.match(GISGrammarParser.MAP_SYMBOL);
|
|
1350
|
-
this.state =
|
|
1382
|
+
this.state = 348;
|
|
1351
1383
|
this.identifier();
|
|
1352
|
-
this.state =
|
|
1384
|
+
this.state = 351;
|
|
1353
1385
|
this._errHandler.sync(this);
|
|
1354
1386
|
_la = this._input.LA(1);
|
|
1355
1387
|
if(_la===18) {
|
|
1356
|
-
this.state =
|
|
1388
|
+
this.state = 349;
|
|
1357
1389
|
this.match(GISGrammarParser.AS_SYMBOL);
|
|
1358
|
-
this.state =
|
|
1390
|
+
this.state = 350;
|
|
1359
1391
|
this.text();
|
|
1360
1392
|
}
|
|
1361
1393
|
|
|
1362
|
-
this.state =
|
|
1394
|
+
this.state = 353;
|
|
1363
1395
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1364
|
-
this.state =
|
|
1396
|
+
this.state = 354;
|
|
1365
1397
|
this.mapLayer();
|
|
1366
|
-
this.state =
|
|
1398
|
+
this.state = 359;
|
|
1367
1399
|
this._errHandler.sync(this);
|
|
1368
1400
|
_la = this._input.LA(1);
|
|
1369
|
-
while(_la===
|
|
1370
|
-
this.state =
|
|
1401
|
+
while(_la===56) {
|
|
1402
|
+
this.state = 355;
|
|
1371
1403
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1372
|
-
this.state =
|
|
1404
|
+
this.state = 356;
|
|
1373
1405
|
this.mapLayer();
|
|
1374
|
-
this.state =
|
|
1406
|
+
this.state = 361;
|
|
1375
1407
|
this._errHandler.sync(this);
|
|
1376
1408
|
_la = this._input.LA(1);
|
|
1377
1409
|
}
|
|
1378
|
-
this.state =
|
|
1410
|
+
this.state = 362;
|
|
1379
1411
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1380
|
-
this.state =
|
|
1412
|
+
this.state = 363;
|
|
1381
1413
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1382
1414
|
} catch (re) {
|
|
1383
1415
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1401,21 +1433,21 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1401
1433
|
var _la = 0;
|
|
1402
1434
|
try {
|
|
1403
1435
|
this.enterOuterAlt(localctx, 1);
|
|
1404
|
-
this.state =
|
|
1436
|
+
this.state = 365;
|
|
1405
1437
|
this.identifier();
|
|
1406
|
-
this.state =
|
|
1438
|
+
this.state = 367;
|
|
1407
1439
|
this._errHandler.sync(this);
|
|
1408
1440
|
_la = this._input.LA(1);
|
|
1409
|
-
if(_la===
|
|
1410
|
-
this.state =
|
|
1441
|
+
if(_la===29) {
|
|
1442
|
+
this.state = 366;
|
|
1411
1443
|
this.match(GISGrammarParser.IS_BASE_LAYER_SYMBOL);
|
|
1412
1444
|
}
|
|
1413
1445
|
|
|
1414
|
-
this.state =
|
|
1446
|
+
this.state = 370;
|
|
1415
1447
|
this._errHandler.sync(this);
|
|
1416
1448
|
_la = this._input.LA(1);
|
|
1417
|
-
if(_la===
|
|
1418
|
-
this.state =
|
|
1449
|
+
if(_la===30) {
|
|
1450
|
+
this.state = 369;
|
|
1419
1451
|
this.match(GISGrammarParser.HIDDEN_SYMBOL);
|
|
1420
1452
|
}
|
|
1421
1453
|
|
|
@@ -1440,13 +1472,13 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1440
1472
|
this.enterRule(localctx, 58, GISGrammarParser.RULE_useGIS);
|
|
1441
1473
|
try {
|
|
1442
1474
|
this.enterOuterAlt(localctx, 1);
|
|
1443
|
-
this.state =
|
|
1475
|
+
this.state = 372;
|
|
1444
1476
|
this.match(GISGrammarParser.USE_SYMBOL);
|
|
1445
|
-
this.state =
|
|
1477
|
+
this.state = 373;
|
|
1446
1478
|
this.match(GISGrammarParser.GIS_SYMBOL);
|
|
1447
|
-
this.state =
|
|
1479
|
+
this.state = 374;
|
|
1448
1480
|
this.identifier();
|
|
1449
|
-
this.state =
|
|
1481
|
+
this.state = 375;
|
|
1450
1482
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1451
1483
|
} catch (re) {
|
|
1452
1484
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1469,13 +1501,13 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1469
1501
|
this.enterRule(localctx, 60, GISGrammarParser.RULE_generateGIS);
|
|
1470
1502
|
try {
|
|
1471
1503
|
this.enterOuterAlt(localctx, 1);
|
|
1472
|
-
this.state =
|
|
1504
|
+
this.state = 377;
|
|
1473
1505
|
this.match(GISGrammarParser.GENERATE_SYMBOL);
|
|
1474
|
-
this.state =
|
|
1506
|
+
this.state = 378;
|
|
1475
1507
|
this.match(GISGrammarParser.GIS_SYMBOL);
|
|
1476
|
-
this.state =
|
|
1508
|
+
this.state = 379;
|
|
1477
1509
|
this.identifier();
|
|
1478
|
-
this.state =
|
|
1510
|
+
this.state = 380;
|
|
1479
1511
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1480
1512
|
} catch (re) {
|
|
1481
1513
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1499,29 +1531,29 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1499
1531
|
var _la = 0;
|
|
1500
1532
|
try {
|
|
1501
1533
|
this.enterOuterAlt(localctx, 1);
|
|
1502
|
-
this.state =
|
|
1534
|
+
this.state = 382;
|
|
1503
1535
|
this.match(GISGrammarParser.SET_SYMBOL);
|
|
1504
|
-
this.state =
|
|
1536
|
+
this.state = 383;
|
|
1505
1537
|
this.match(GISGrammarParser.DEPLOYMENT_SYMBOL);
|
|
1506
|
-
this.state =
|
|
1538
|
+
this.state = 384;
|
|
1507
1539
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1508
|
-
this.state =
|
|
1540
|
+
this.state = 385;
|
|
1509
1541
|
this.deploymentProperty();
|
|
1510
|
-
this.state =
|
|
1542
|
+
this.state = 390;
|
|
1511
1543
|
this._errHandler.sync(this);
|
|
1512
1544
|
_la = this._input.LA(1);
|
|
1513
|
-
while(_la===
|
|
1514
|
-
this.state =
|
|
1545
|
+
while(_la===56) {
|
|
1546
|
+
this.state = 386;
|
|
1515
1547
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1516
|
-
this.state =
|
|
1548
|
+
this.state = 387;
|
|
1517
1549
|
this.deploymentProperty();
|
|
1518
|
-
this.state =
|
|
1550
|
+
this.state = 392;
|
|
1519
1551
|
this._errHandler.sync(this);
|
|
1520
1552
|
_la = this._input.LA(1);
|
|
1521
1553
|
}
|
|
1522
|
-
this.state =
|
|
1554
|
+
this.state = 393;
|
|
1523
1555
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1524
|
-
this.state =
|
|
1556
|
+
this.state = 394;
|
|
1525
1557
|
this.match(GISGrammarParser.SCOL_SYMBOL);
|
|
1526
1558
|
} catch (re) {
|
|
1527
1559
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1544,9 +1576,9 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1544
1576
|
this.enterRule(localctx, 64, GISGrammarParser.RULE_deploymentProperty);
|
|
1545
1577
|
try {
|
|
1546
1578
|
this.enterOuterAlt(localctx, 1);
|
|
1547
|
-
this.state =
|
|
1579
|
+
this.state = 396;
|
|
1548
1580
|
this.text();
|
|
1549
|
-
this.state =
|
|
1581
|
+
this.state = 397;
|
|
1550
1582
|
this.text();
|
|
1551
1583
|
} catch (re) {
|
|
1552
1584
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1568,19 +1600,19 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1568
1600
|
let localctx = new PropertyContext(this, this._ctx, this.state);
|
|
1569
1601
|
this.enterRule(localctx, 66, GISGrammarParser.RULE_property);
|
|
1570
1602
|
try {
|
|
1571
|
-
this.state =
|
|
1603
|
+
this.state = 401;
|
|
1572
1604
|
this._errHandler.sync(this);
|
|
1573
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
1605
|
+
var la_ = this._interp.adaptivePredict(this._input,40,this._ctx);
|
|
1574
1606
|
switch(la_) {
|
|
1575
1607
|
case 1:
|
|
1576
1608
|
this.enterOuterAlt(localctx, 1);
|
|
1577
|
-
this.state =
|
|
1609
|
+
this.state = 399;
|
|
1578
1610
|
this.propertyDefinition();
|
|
1579
1611
|
break;
|
|
1580
1612
|
|
|
1581
1613
|
case 2:
|
|
1582
1614
|
this.enterOuterAlt(localctx, 2);
|
|
1583
|
-
this.state =
|
|
1615
|
+
this.state = 400;
|
|
1584
1616
|
this.relationshipDefinition();
|
|
1585
1617
|
break;
|
|
1586
1618
|
|
|
@@ -1607,15 +1639,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1607
1639
|
var _la = 0;
|
|
1608
1640
|
try {
|
|
1609
1641
|
this.enterOuterAlt(localctx, 1);
|
|
1610
|
-
this.state =
|
|
1642
|
+
this.state = 403;
|
|
1611
1643
|
this.identifier();
|
|
1612
|
-
this.state =
|
|
1644
|
+
this.state = 404;
|
|
1613
1645
|
this.match(GISGrammarParser.TYPE);
|
|
1614
|
-
this.state =
|
|
1646
|
+
this.state = 408;
|
|
1615
1647
|
this._errHandler.sync(this);
|
|
1616
1648
|
_la = this._input.LA(1);
|
|
1617
1649
|
while((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0)) {
|
|
1618
|
-
this.state =
|
|
1650
|
+
this.state = 405;
|
|
1619
1651
|
_la = this._input.LA(1);
|
|
1620
1652
|
if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 3712) !== 0))) {
|
|
1621
1653
|
this._errHandler.recoverInline(this);
|
|
@@ -1624,7 +1656,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1624
1656
|
this._errHandler.reportMatch(this);
|
|
1625
1657
|
this.consume();
|
|
1626
1658
|
}
|
|
1627
|
-
this.state =
|
|
1659
|
+
this.state = 410;
|
|
1628
1660
|
this._errHandler.sync(this);
|
|
1629
1661
|
_la = this._input.LA(1);
|
|
1630
1662
|
}
|
|
@@ -1648,19 +1680,19 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1648
1680
|
let localctx = new RelationshipDefinitionContext(this, this._ctx, this.state);
|
|
1649
1681
|
this.enterRule(localctx, 70, GISGrammarParser.RULE_relationshipDefinition);
|
|
1650
1682
|
try {
|
|
1651
|
-
this.state =
|
|
1683
|
+
this.state = 413;
|
|
1652
1684
|
this._errHandler.sync(this);
|
|
1653
|
-
var la_ = this._interp.adaptivePredict(this._input,
|
|
1685
|
+
var la_ = this._interp.adaptivePredict(this._input,42,this._ctx);
|
|
1654
1686
|
switch(la_) {
|
|
1655
1687
|
case 1:
|
|
1656
1688
|
this.enterOuterAlt(localctx, 1);
|
|
1657
|
-
this.state =
|
|
1689
|
+
this.state = 411;
|
|
1658
1690
|
this.ownedRelationshipDefinition();
|
|
1659
1691
|
break;
|
|
1660
1692
|
|
|
1661
1693
|
case 2:
|
|
1662
1694
|
this.enterOuterAlt(localctx, 2);
|
|
1663
|
-
this.state =
|
|
1695
|
+
this.state = 412;
|
|
1664
1696
|
this.mappedRelationshipDefinition();
|
|
1665
1697
|
break;
|
|
1666
1698
|
|
|
@@ -1686,15 +1718,15 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1686
1718
|
this.enterRule(localctx, 72, GISGrammarParser.RULE_mappedRelationshipDefinition);
|
|
1687
1719
|
try {
|
|
1688
1720
|
this.enterOuterAlt(localctx, 1);
|
|
1689
|
-
this.state =
|
|
1721
|
+
this.state = 415;
|
|
1690
1722
|
this.identifier();
|
|
1691
|
-
this.state =
|
|
1723
|
+
this.state = 416;
|
|
1692
1724
|
this.identifier();
|
|
1693
|
-
this.state =
|
|
1725
|
+
this.state = 417;
|
|
1694
1726
|
this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
|
|
1695
|
-
this.state =
|
|
1727
|
+
this.state = 418;
|
|
1696
1728
|
this.match(GISGrammarParser.MAPPEDBY_SYMBOL);
|
|
1697
|
-
this.state =
|
|
1729
|
+
this.state = 419;
|
|
1698
1730
|
this.identifier();
|
|
1699
1731
|
} catch (re) {
|
|
1700
1732
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1718,27 +1750,27 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1718
1750
|
var _la = 0;
|
|
1719
1751
|
try {
|
|
1720
1752
|
this.enterOuterAlt(localctx, 1);
|
|
1721
|
-
this.state =
|
|
1753
|
+
this.state = 421;
|
|
1722
1754
|
this.identifier();
|
|
1723
|
-
this.state =
|
|
1755
|
+
this.state = 422;
|
|
1724
1756
|
this.identifier();
|
|
1725
|
-
this.state =
|
|
1757
|
+
this.state = 423;
|
|
1726
1758
|
this.match(GISGrammarParser.RELATIONSHIP_SYMBOL);
|
|
1727
|
-
this.state =
|
|
1759
|
+
this.state = 424;
|
|
1728
1760
|
this.match(GISGrammarParser.OPAR_SYMBOL);
|
|
1729
|
-
this.state =
|
|
1761
|
+
this.state = 425;
|
|
1730
1762
|
this.cardinality();
|
|
1731
|
-
this.state =
|
|
1763
|
+
this.state = 426;
|
|
1732
1764
|
this.match(GISGrammarParser.COMMA_SYMBOL);
|
|
1733
|
-
this.state =
|
|
1765
|
+
this.state = 427;
|
|
1734
1766
|
this.cardinality();
|
|
1735
|
-
this.state =
|
|
1767
|
+
this.state = 428;
|
|
1736
1768
|
this.match(GISGrammarParser.CPAR_SYMBOL);
|
|
1737
|
-
this.state =
|
|
1769
|
+
this.state = 430;
|
|
1738
1770
|
this._errHandler.sync(this);
|
|
1739
1771
|
_la = this._input.LA(1);
|
|
1740
1772
|
if(_la===12) {
|
|
1741
|
-
this.state =
|
|
1773
|
+
this.state = 429;
|
|
1742
1774
|
this.match(GISGrammarParser.BIDIRECTIONAL_SYMBOL);
|
|
1743
1775
|
}
|
|
1744
1776
|
|
|
@@ -1764,9 +1796,9 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1764
1796
|
var _la = 0;
|
|
1765
1797
|
try {
|
|
1766
1798
|
this.enterOuterAlt(localctx, 1);
|
|
1767
|
-
this.state =
|
|
1799
|
+
this.state = 432;
|
|
1768
1800
|
_la = this._input.LA(1);
|
|
1769
|
-
if(!(((((_la -
|
|
1801
|
+
if(!(((((_la - 47)) & ~0x1f) === 0 && ((1 << (_la - 47)) & 15) !== 0))) {
|
|
1770
1802
|
this._errHandler.recoverInline(this);
|
|
1771
1803
|
}
|
|
1772
1804
|
else {
|
|
@@ -1794,7 +1826,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1794
1826
|
this.enterRule(localctx, 78, GISGrammarParser.RULE_srid);
|
|
1795
1827
|
try {
|
|
1796
1828
|
this.enterOuterAlt(localctx, 1);
|
|
1797
|
-
this.state =
|
|
1829
|
+
this.state = 434;
|
|
1798
1830
|
this.match(GISGrammarParser.INT_NUMBER);
|
|
1799
1831
|
} catch (re) {
|
|
1800
1832
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1817,7 +1849,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1817
1849
|
this.enterRule(localctx, 80, GISGrammarParser.RULE_identifier);
|
|
1818
1850
|
try {
|
|
1819
1851
|
this.enterOuterAlt(localctx, 1);
|
|
1820
|
-
this.state =
|
|
1852
|
+
this.state = 436;
|
|
1821
1853
|
this.match(GISGrammarParser.IDENTIFIER);
|
|
1822
1854
|
} catch (re) {
|
|
1823
1855
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1840,7 +1872,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1840
1872
|
this.enterRule(localctx, 82, GISGrammarParser.RULE_text);
|
|
1841
1873
|
try {
|
|
1842
1874
|
this.enterOuterAlt(localctx, 1);
|
|
1843
|
-
this.state =
|
|
1875
|
+
this.state = 438;
|
|
1844
1876
|
this.match(GISGrammarParser.QUOTED_TEXT);
|
|
1845
1877
|
} catch (re) {
|
|
1846
1878
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1863,7 +1895,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1863
1895
|
this.enterRule(localctx, 84, GISGrammarParser.RULE_hexColor);
|
|
1864
1896
|
try {
|
|
1865
1897
|
this.enterOuterAlt(localctx, 1);
|
|
1866
|
-
this.state =
|
|
1898
|
+
this.state = 440;
|
|
1867
1899
|
this.match(GISGrammarParser.HEX_COLOR);
|
|
1868
1900
|
} catch (re) {
|
|
1869
1901
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1886,7 +1918,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1886
1918
|
this.enterRule(localctx, 86, GISGrammarParser.RULE_floatNumber);
|
|
1887
1919
|
try {
|
|
1888
1920
|
this.enterOuterAlt(localctx, 1);
|
|
1889
|
-
this.state =
|
|
1921
|
+
this.state = 442;
|
|
1890
1922
|
this.match(GISGrammarParser.FLOAT_NUMBER);
|
|
1891
1923
|
} catch (re) {
|
|
1892
1924
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1909,7 +1941,7 @@ export default class GISGrammarParser extends antlr4.Parser {
|
|
|
1909
1941
|
this.enterRule(localctx, 88, GISGrammarParser.RULE_intNumber);
|
|
1910
1942
|
try {
|
|
1911
1943
|
this.enterOuterAlt(localctx, 1);
|
|
1912
|
-
this.state =
|
|
1944
|
+
this.state = 444;
|
|
1913
1945
|
this.match(GISGrammarParser.INT_NUMBER);
|
|
1914
1946
|
} catch (re) {
|
|
1915
1947
|
if(re instanceof antlr4.error.RecognitionException) {
|
|
@@ -1954,44 +1986,45 @@ GISGrammarParser.FILL_COLOR_SYMBOL = 22;
|
|
|
1954
1986
|
GISGrammarParser.STROKE_COLOR_SYMBOL = 23;
|
|
1955
1987
|
GISGrammarParser.FILL_OPACITY_SYMBOL = 24;
|
|
1956
1988
|
GISGrammarParser.STROKE_OPACITY_SYMBOL = 25;
|
|
1957
|
-
GISGrammarParser.
|
|
1958
|
-
GISGrammarParser.
|
|
1959
|
-
GISGrammarParser.
|
|
1960
|
-
GISGrammarParser.
|
|
1961
|
-
GISGrammarParser.
|
|
1962
|
-
GISGrammarParser.
|
|
1963
|
-
GISGrammarParser.
|
|
1964
|
-
GISGrammarParser.
|
|
1965
|
-
GISGrammarParser.
|
|
1966
|
-
GISGrammarParser.
|
|
1967
|
-
GISGrammarParser.
|
|
1968
|
-
GISGrammarParser.
|
|
1969
|
-
GISGrammarParser.
|
|
1970
|
-
GISGrammarParser.
|
|
1971
|
-
GISGrammarParser.
|
|
1972
|
-
GISGrammarParser.
|
|
1973
|
-
GISGrammarParser.
|
|
1974
|
-
GISGrammarParser.
|
|
1975
|
-
GISGrammarParser.
|
|
1976
|
-
GISGrammarParser.
|
|
1977
|
-
GISGrammarParser.
|
|
1978
|
-
GISGrammarParser.
|
|
1979
|
-
GISGrammarParser.
|
|
1980
|
-
GISGrammarParser.
|
|
1981
|
-
GISGrammarParser.
|
|
1982
|
-
GISGrammarParser.
|
|
1983
|
-
GISGrammarParser.
|
|
1984
|
-
GISGrammarParser.
|
|
1985
|
-
GISGrammarParser.
|
|
1986
|
-
GISGrammarParser.
|
|
1987
|
-
GISGrammarParser.
|
|
1988
|
-
GISGrammarParser.
|
|
1989
|
-
GISGrammarParser.
|
|
1990
|
-
GISGrammarParser.
|
|
1991
|
-
GISGrammarParser.
|
|
1992
|
-
GISGrammarParser.
|
|
1993
|
-
GISGrammarParser.
|
|
1994
|
-
GISGrammarParser.
|
|
1989
|
+
GISGrammarParser.STROKE_WIDTH_SYMBOL = 26;
|
|
1990
|
+
GISGrammarParser.WMS_SYMBOL = 27;
|
|
1991
|
+
GISGrammarParser.STYLE_SYMBOL = 28;
|
|
1992
|
+
GISGrammarParser.IS_BASE_LAYER_SYMBOL = 29;
|
|
1993
|
+
GISGrammarParser.HIDDEN_SYMBOL = 30;
|
|
1994
|
+
GISGrammarParser.SORTABLE_SYMBOL = 31;
|
|
1995
|
+
GISGrammarParser.MAP_SYMBOL = 32;
|
|
1996
|
+
GISGrammarParser.SET_SYMBOL = 33;
|
|
1997
|
+
GISGrammarParser.DEPLOYMENT_SYMBOL = 34;
|
|
1998
|
+
GISGrammarParser.URL_WMS_SYMBOL = 35;
|
|
1999
|
+
GISGrammarParser.LAYERNAME_SYMBOL = 36;
|
|
2000
|
+
GISGrammarParser.FORMAT_SYMBOL = 37;
|
|
2001
|
+
GISGrammarParser.CRS_SYMBOL = 38;
|
|
2002
|
+
GISGrammarParser.BBOX_CRS_SYMBOL = 39;
|
|
2003
|
+
GISGrammarParser.MINX_SYMBOL = 40;
|
|
2004
|
+
GISGrammarParser.MINY_SYMBOL = 41;
|
|
2005
|
+
GISGrammarParser.MAXX_SYMBOL = 42;
|
|
2006
|
+
GISGrammarParser.MAXY_SYMBOL = 43;
|
|
2007
|
+
GISGrammarParser.QUERYABLE_SYMBOL = 44;
|
|
2008
|
+
GISGrammarParser.ATTRIBUTION_SYMBOL = 45;
|
|
2009
|
+
GISGrammarParser.VERSION_SYMBOL = 46;
|
|
2010
|
+
GISGrammarParser.ZERO_ONE_SYMBOL = 47;
|
|
2011
|
+
GISGrammarParser.ONE_ONE_SYMBOL = 48;
|
|
2012
|
+
GISGrammarParser.ZERO_MANY_SYMBOL = 49;
|
|
2013
|
+
GISGrammarParser.ONE_MANY_SYMBOL = 50;
|
|
2014
|
+
GISGrammarParser.TYPE = 51;
|
|
2015
|
+
GISGrammarParser.POUND_SYMBOL = 52;
|
|
2016
|
+
GISGrammarParser.DOT_SYMBOL = 53;
|
|
2017
|
+
GISGrammarParser.OPAR_SYMBOL = 54;
|
|
2018
|
+
GISGrammarParser.CPAR_SYMBOL = 55;
|
|
2019
|
+
GISGrammarParser.COMMA_SYMBOL = 56;
|
|
2020
|
+
GISGrammarParser.SCOL_SYMBOL = 57;
|
|
2021
|
+
GISGrammarParser.HEX_COLOR = 58;
|
|
2022
|
+
GISGrammarParser.INT_NUMBER = 59;
|
|
2023
|
+
GISGrammarParser.FLOAT_NUMBER = 60;
|
|
2024
|
+
GISGrammarParser.COMMENT = 61;
|
|
2025
|
+
GISGrammarParser.WHITESPACE = 62;
|
|
2026
|
+
GISGrammarParser.IDENTIFIER = 63;
|
|
2027
|
+
GISGrammarParser.QUOTED_TEXT = 64;
|
|
1995
2028
|
|
|
1996
2029
|
GISGrammarParser.RULE_parse = 0;
|
|
1997
2030
|
GISGrammarParser.RULE_sentence = 1;
|
|
@@ -2700,6 +2733,10 @@ class SldCustomBodyContext extends antlr4.ParserRuleContext {
|
|
|
2700
2733
|
return this.getToken(GISGrammarParser.STROKE_OPACITY_SYMBOL, 0);
|
|
2701
2734
|
};
|
|
2702
2735
|
|
|
2736
|
+
STROKE_WIDTH_SYMBOL() {
|
|
2737
|
+
return this.getToken(GISGrammarParser.STROKE_WIDTH_SYMBOL, 0);
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2703
2740
|
enterRule(listener) {
|
|
2704
2741
|
if(listener instanceof GISGrammarListener ) {
|
|
2705
2742
|
listener.enterSldCustomBody(this);
|