]> code.delx.au - gnu-emacs-elpa/blob - packages/ada-mode/gpr-grammar-wy.el
d5e00cd505899acd067cbcaf7da79e6848048014
[gnu-emacs-elpa] / packages / ada-mode / gpr-grammar-wy.el
1 ;;; gpr-grammar-wy.el --- Generated parser support file
2
3 ;; Copyright (C) 2013 Free Software Foundation, Inc.
4
5 ;; This program is free software; you can redistribute it and/or
6 ;; modify it under the terms of the GNU General Public License as
7 ;; published by the Free Software Foundation; either version 3, or (at
8 ;; your option) any later version.
9 ;;
10 ;; This software is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ;; General Public License for more details.
14 ;;
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17
18 (require 'wisi)
19 (require 'semantic/lex)
20 (require 'wisi-compile)
21
22 (defconst gpr-grammar-wy--keyword-table
23 (semantic-lex-make-keyword-table
24 '(
25 ("abstract" . ABSTRACT)
26 ("aggregate" . AGGREGATE)
27 ("case" . CASE)
28 ("configuration" . CONFIGURATION)
29 ("end" . END)
30 ("external" . EXTERNAL)
31 ("external_as_list" . EXTERNAL_AS_LIST)
32 ("for" . FOR)
33 ("is" . IS)
34 ("(" . LEFT_PAREN)
35 ("library" . LIBRARY)
36 ("null" . NULL)
37 ("others" . OTHERS)
38 ("package" . PACKAGE)
39 ("project" . PROJECT)
40 (")" . RIGHT_PAREN)
41 ("standard" . STANDARD)
42 ("type" . TYPE)
43 ("use" . USE)
44 ("when" . WHEN)
45 ("with" . WITH)
46 )
47 nil)
48 "Table of language keywords.")
49
50 (defconst gpr-grammar-wy--token-table
51 (semantic-lex-make-type-table
52 '(
53 ("punctuation"
54 (AMPERSAND . "&")
55 (COLON . ":")
56 (COLON_EQUALS . ":=")
57 (COMMA . ",")
58 (DOT . ".")
59 (EQUAL_GREATER . "=>")
60 (QUOTE . "'")
61 (SEMICOLON . ";")
62 (VERTICAL_BAR . "|")
63 )
64 ("symbol"
65 (IDENTIFIER)
66 )
67 ("string-double"
68 (STRING_LITERAL)
69 )
70 )
71 nil)
72 "Table of language tokens.")
73
74 (defconst gpr-grammar-wy--parse-table
75 (wisi-compile-grammar
76 '((AMPERSAND COLON COLON_EQUALS COMMA DOT EQUAL_GREATER QUOTE SEMICOLON VERTICAL_BAR IDENTIFIER STRING_LITERAL ABSTRACT AGGREGATE CASE CONFIGURATION END EXTERNAL EXTERNAL_AS_LIST FOR IS LEFT_PAREN LIBRARY NULL OTHERS PACKAGE PROJECT RIGHT_PAREN STANDARD TYPE USE WHEN WITH )
77 ((attribute_declaration
78 ((FOR IDENTIFIER USE expression SEMICOLON )
79 (progn
80 (wisi-statement-action 1 'statement-start 3 'statement-other 5 'statement-end)
81 (wisi-containing-action 3 4)))
82 ((FOR IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN USE expression SEMICOLON )
83 (progn
84 (wisi-statement-action 1 'statement-start 3 'open-paren 5 'close-paren 6 'statement-other 8 'statement-end)
85 (wisi-containing-action 6 7))))
86 (attribute_prefix
87 ((PROJECT ))
88 ((name )))
89 (attribute_reference
90 ((attribute_prefix QUOTE IDENTIFIER ))
91 ((attribute_prefix QUOTE IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN )
92 (wisi-statement-action 4 'open-paren 6 'close-paren)))
93 (case_statement
94 ((CASE name IS case_items END CASE SEMICOLON )
95 (progn
96 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
97 (wisi-containing-action 3 4))))
98 (case_item
99 ((WHEN discrete_choice_list EQUAL_GREATER declarative_items )
100 (progn
101 (wisi-statement-action 1 'block-middle 3 'block-start)
102 (wisi-containing-action 3 4))))
103 (case_items
104 (())
105 ((case_item ))
106 ((case_items case_item )))
107 (compilation_unit
108 ((context_clause_opt project_qualifier_opt project_declaration_opt )))
109 (context_clause
110 ((with_clause ))
111 ((context_clause with_clause )))
112 (context_clause_opt
113 (())
114 ((context_clause )))
115 (declarative_item
116 ((simple_declarative_item ))
117 ((typed_string_declaration ))
118 ((package_declaration )))
119 (declarative_items
120 (())
121 ((declarative_item ))
122 ((declarative_items declarative_item )))
123 (discrete_choice
124 (())
125 ((STRING_LITERAL ))
126 ((OTHERS )))
127 (discrete_choice_list
128 ((discrete_choice ))
129 ((discrete_choice_list VERTICAL_BAR discrete_choice )))
130 (expression
131 ((term ))
132 ((expression AMPERSAND term )))
133 (external_value
134 ((EXTERNAL LEFT_PAREN string_list RIGHT_PAREN )
135 (wisi-statement-action 2 'open-paren 4 'close-paren))
136 ((EXTERNAL_AS_LIST LEFT_PAREN string_list RIGHT_PAREN )
137 (wisi-statement-action 2 'open-paren 4 'close-paren)))
138 (identifier_opt
139 (())
140 ((IDENTIFIER )))
141 (name
142 ((identifier_opt ))
143 ((name DOT IDENTIFIER )))
144 (project_declaration_opt
145 (())
146 ((simple_project_declaration )))
147 (package_declaration
148 ((package_spec )))
149 (package_spec
150 ((PACKAGE identifier_opt IS simple_declarative_items END identifier_opt SEMICOLON )
151 (progn
152 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
153 (wisi-containing-action 3 4))))
154 (project_qualifier_opt
155 (())
156 ((ABSTRACT ))
157 ((STANDARD ))
158 ((AGGREGATE ))
159 ((AGGREGATE LIBRARY ))
160 ((LIBRARY ))
161 ((CONFIGURATION )))
162 (simple_declarative_item
163 ((IDENTIFIER COLON_EQUALS expression SEMICOLON )
164 (progn
165 (wisi-statement-action 1 'statement-start 4 'statement-end)
166 (wisi-containing-action 1 3)))
167 ((IDENTIFIER COLON IDENTIFIER COLON_EQUALS expression SEMICOLON )
168 (progn
169 (wisi-statement-action 1 'statement-start 6 'statement-end)
170 (wisi-containing-action 1 5)))
171 ((attribute_declaration ))
172 ((case_statement ))
173 ((NULL SEMICOLON )
174 (wisi-statement-action 1 'statement-start 2 'statement-end)))
175 (simple_declarative_items
176 (())
177 ((simple_declarative_item ))
178 ((simple_declarative_items simple_declarative_item )))
179 (simple_project_declaration
180 ((PROJECT identifier_opt IS declarative_items END identifier_opt SEMICOLON )
181 (progn
182 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
183 (wisi-containing-action 3 4))))
184 (string_expression
185 ((string_primary ))
186 ((string_expression AMPERSAND string_primary )))
187 (string_primary
188 ((STRING_LITERAL ))
189 ((name ))
190 ((external_value ))
191 ((attribute_reference )))
192 (string_list
193 ((string_expression ))
194 ((string_list COMMA string_expression )))
195 (term
196 ((string_expression ))
197 ((LEFT_PAREN RIGHT_PAREN ))
198 ((LEFT_PAREN string_list RIGHT_PAREN )
199 (wisi-statement-action
200 1 'open-paren
201 3 'close-paren)))
202 (typed_string_declaration
203 ((TYPE IDENTIFIER IS LEFT_PAREN string_list RIGHT_PAREN SEMICOLON )
204 (wisi-statement-action 1 'statement-start 4 'open-paren 6 'close-paren 7 'statement-end)))
205 (with_clause
206 ((WITH string_list SEMICOLON ))))
207 [((default . error) (ABSTRACT . (context_clause_opt . 0)) (AGGREGATE . (context_clause_opt . 0)) (CONFIGURATION . (context_clause_opt . 0)) (LIBRARY . (context_clause_opt . 0)) (STANDARD . (context_clause_opt . 0)) (PROJECT . (context_clause_opt . 0)) ($EOI . (context_clause_opt . 0)) (WITH . 7))
208 ((default . error) ($EOI . (project_qualifier_opt . 1)) (PROJECT . (project_qualifier_opt . 1)))
209 ((default . error) (LIBRARY . 30) ($EOI . (project_qualifier_opt . 3)) (PROJECT . (project_qualifier_opt . 3)))
210 ((default . error) ($EOI . (project_qualifier_opt . 6)) (PROJECT . (project_qualifier_opt . 6)))
211 ((default . error) ($EOI . (project_qualifier_opt . 5)) (PROJECT . (project_qualifier_opt . 5)))
212 ((default . error) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
213 ((default . error) ($EOI . (project_qualifier_opt . 2)) (PROJECT . (project_qualifier_opt . 2)))
214 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
215 ((default . error) ($EOI . 15))
216 ((default . error) (ABSTRACT . (context_clause_opt . 1)) (AGGREGATE . (context_clause_opt . 1)) (CONFIGURATION . (context_clause_opt . 1)) (LIBRARY . (context_clause_opt . 1)) (STANDARD . (context_clause_opt . 1)) (PROJECT . (context_clause_opt . 1)) ($EOI . (context_clause_opt . 1)) (WITH . 7))
217 ((default . error) (PROJECT . (project_qualifier_opt . 0)) ($EOI . (project_qualifier_opt . 0)) (ABSTRACT . 1) (STANDARD . 6) (AGGREGATE . 2) (LIBRARY . 4) (CONFIGURATION . 3))
218 ((default . error) ($EOI . (project_declaration_opt . 1)))
219 ((default . error) ($EOI . (context_clause . 0)) (PROJECT . (context_clause . 0)) (STANDARD . (context_clause . 0)) (LIBRARY . (context_clause . 0)) (CONFIGURATION . (context_clause . 0)) (AGGREGATE . (context_clause . 0)) (ABSTRACT . (context_clause . 0)) (WITH . (context_clause . 0)))
220 ((default . error) ($EOI . (project_declaration_opt . 0)) (PROJECT . 5))
221 ((default . error) (WITH . (context_clause . 1)) (ABSTRACT . (context_clause . 1)) (AGGREGATE . (context_clause . 1)) (CONFIGURATION . (context_clause . 1)) (LIBRARY . (context_clause . 1)) (STANDARD . (context_clause . 1)) (PROJECT . (context_clause . 1)) ($EOI . (context_clause . 1)))
222 ((default . error) ($EOI . accept) (WITH . accept) (WHEN . accept) (USE . accept) (TYPE . accept) (STANDARD . accept) (RIGHT_PAREN . accept) (PROJECT . accept) (PACKAGE . accept) (OTHERS . accept) (NULL . accept) (LIBRARY . accept) (LEFT_PAREN . accept) (IS . accept) (FOR . accept) (EXTERNAL_AS_LIST . accept) (EXTERNAL . accept) (END . accept) (CONFIGURATION . accept) (CASE . accept) (AGGREGATE . accept) (ABSTRACT . accept) (STRING_LITERAL . accept) (IDENTIFIER . accept) (VERTICAL_BAR . accept) (SEMICOLON . accept) (QUOTE . accept) (EQUAL_GREATER . accept) (DOT . accept) (COMMA . accept) (COLON_EQUALS . accept) (COLON . accept) (AMPERSAND . accept))
223 ((default . error) (IS . (identifier_opt . 1)) (RIGHT_PAREN . (identifier_opt . 1)) (COMMA . (identifier_opt . 1)) (DOT . (identifier_opt . 1)) (AMPERSAND . (identifier_opt . 1)) (SEMICOLON . (identifier_opt . 1)) (QUOTE . (identifier_opt . 1)))
224 ((default . error) (RIGHT_PAREN . (string_primary . 0)) (COMMA . (string_primary . 0)) (AMPERSAND . (string_primary . 0)) (SEMICOLON . (string_primary . 0)))
225 ((default . error) (LEFT_PAREN . 38))
226 ((default . error) (LEFT_PAREN . 37))
227 ((default . error) (QUOTE . (attribute_prefix . 0)))
228 ((default . error) (QUOTE . 36))
229 ((default . error) (RIGHT_PAREN . (string_primary . 3)) (COMMA . (string_primary . 3)) (AMPERSAND . (string_primary . 3)) (SEMICOLON . (string_primary . 3)))
230 ((default . error) (RIGHT_PAREN . (string_primary . 2)) (COMMA . (string_primary . 2)) (AMPERSAND . (string_primary . 2)) (SEMICOLON . (string_primary . 2)))
231 ((default . error) (IS . (name . 0)) (COMMA . (name . 0)) (RIGHT_PAREN . (name . 0)) (SEMICOLON . (name . 0)) (AMPERSAND . (name . 0)) (DOT . (name . 0)) (QUOTE . (name . 0)))
232 ((default . error) (RIGHT_PAREN . (string_primary . 1)) (COMMA . (string_primary . 1)) (AMPERSAND . (string_primary . 1)) (SEMICOLON . (string_primary . 1)) (DOT . 35) (QUOTE . (attribute_prefix . 1)))
233 ((default . error) (SEMICOLON . (string_list . 0)) (RIGHT_PAREN . (string_list . 0)) (COMMA . (string_list . 0)) (AMPERSAND . 34))
234 ((default . error) (COMMA . (string_expression . 0)) (RIGHT_PAREN . (string_expression . 0)) (SEMICOLON . (string_expression . 0)) (AMPERSAND . (string_expression . 0)))
235 ((default . error) (COMMA . 32) (SEMICOLON . 33))
236 ((default . error) (IS . 31))
237 ((default . error) ($EOI . (project_qualifier_opt . 4)) (PROJECT . (project_qualifier_opt . 4)))
238 ((default . error) (END . (declarative_items . 0)) (TYPE . ((declarative_items . 0) 51)) (IDENTIFIER . ((declarative_items . 0) 46)) (NULL . ((declarative_items . 0) 49)) (CASE . ((declarative_items . 0) 47)) (FOR . ((declarative_items . 0) 48)) (PACKAGE . ((declarative_items . 0) 50)))
239 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
240 ((default . error) (WITH . (with_clause . 0)) (ABSTRACT . (with_clause . 0)) (AGGREGATE . (with_clause . 0)) (CONFIGURATION . (with_clause . 0)) (LIBRARY . (with_clause . 0)) (STANDARD . (with_clause . 0)) (PROJECT . (with_clause . 0)) ($EOI . (with_clause . 0)))
241 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
242 ((default . error) (IDENTIFIER . 43))
243 ((default . error) (IDENTIFIER . 42))
244 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
245 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
246 ((default . error) ($EOI . (compilation_unit . 0)))
247 ((default . error) (COMMA . 32) (RIGHT_PAREN . 71))
248 ((default . error) (COMMA . 32) (RIGHT_PAREN . 70))
249 ((default . error) (LEFT_PAREN . 69) (COMMA . (attribute_reference . 0)) (RIGHT_PAREN . (attribute_reference . 0)) (SEMICOLON . (attribute_reference . 0)) (AMPERSAND . (attribute_reference . 0)))
250 ((default . error) (IS . (name . 1)) (COMMA . (name . 1)) (RIGHT_PAREN . (name . 1)) (SEMICOLON . (name . 1)) (AMPERSAND . (name . 1)) (DOT . (name . 1)) (QUOTE . (name . 1)))
251 ((default . error) (SEMICOLON . (string_expression . 1)) (COMMA . (string_expression . 1)) (RIGHT_PAREN . (string_expression . 1)) (AMPERSAND . (string_expression . 1)))
252 ((default . error) (AMPERSAND . 34) (RIGHT_PAREN . (string_list . 1)) (SEMICOLON . (string_list . 1)) (COMMA . (string_list . 1)))
253 ((default . error) (COLON . 67) (COLON_EQUALS . 68))
254 ((default . error) (DOT . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
255 ((default . error) (IDENTIFIER . 65))
256 ((default . error) (SEMICOLON . 64))
257 ((default . error) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
258 ((default . error) (IDENTIFIER . 62))
259 ((default . error) (WHEN . (simple_declarative_item . 2)) (END . (simple_declarative_item . 2)) (IDENTIFIER . (simple_declarative_item . 2)) (CASE . (simple_declarative_item . 2)) (FOR . (simple_declarative_item . 2)) (NULL . (simple_declarative_item . 2)) (PACKAGE . (simple_declarative_item . 2)) (TYPE . (simple_declarative_item . 2)))
260 ((default . error) (WHEN . (simple_declarative_item . 3)) (END . (simple_declarative_item . 3)) (IDENTIFIER . (simple_declarative_item . 3)) (CASE . (simple_declarative_item . 3)) (FOR . (simple_declarative_item . 3)) (NULL . (simple_declarative_item . 3)) (PACKAGE . (simple_declarative_item . 3)) (TYPE . (simple_declarative_item . 3)))
261 ((default . error) (WHEN . (declarative_items . 1)) (END . (declarative_items . 1)) (IDENTIFIER . (declarative_items . 1)) (CASE . (declarative_items . 1)) (FOR . (declarative_items . 1)) (NULL . (declarative_items . 1)) (PACKAGE . (declarative_items . 1)) (TYPE . (declarative_items . 1)))
262 ((default . error) (END . 60) (TYPE . 51) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48) (PACKAGE . 50))
263 ((default . error) (WHEN . (declarative_item . 2)) (END . (declarative_item . 2)) (TYPE . (declarative_item . 2)) (PACKAGE . (declarative_item . 2)) (NULL . (declarative_item . 2)) (FOR . (declarative_item . 2)) (CASE . (declarative_item . 2)) (IDENTIFIER . (declarative_item . 2)))
264 ((default . error) (WHEN . (package_declaration . 0)) (END . (package_declaration . 0)) (IDENTIFIER . (package_declaration . 0)) (CASE . (package_declaration . 0)) (FOR . (package_declaration . 0)) (NULL . (package_declaration . 0)) (PACKAGE . (package_declaration . 0)) (TYPE . (package_declaration . 0)))
265 ((default . error) (WHEN . (declarative_item . 0)) (END . (declarative_item . 0)) (TYPE . (declarative_item . 0)) (PACKAGE . (declarative_item . 0)) (NULL . (declarative_item . 0)) (FOR . (declarative_item . 0)) (CASE . (declarative_item . 0)) (IDENTIFIER . (declarative_item . 0)))
266 ((default . error) (WHEN . (declarative_item . 1)) (END . (declarative_item . 1)) (TYPE . (declarative_item . 1)) (PACKAGE . (declarative_item . 1)) (NULL . (declarative_item . 1)) (FOR . (declarative_item . 1)) (CASE . (declarative_item . 1)) (IDENTIFIER . (declarative_item . 1)))
267 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 16))
268 ((default . error) (WHEN . (declarative_items . 2)) (TYPE . (declarative_items . 2)) (PACKAGE . (declarative_items . 2)) (NULL . (declarative_items . 2)) (FOR . (declarative_items . 2)) (CASE . (declarative_items . 2)) (IDENTIFIER . (declarative_items . 2)) (END . (declarative_items . 2)))
269 ((default . error) (IS . 82))
270 ((default . error) (IS . 81))
271 ((default . error) (WHEN . (simple_declarative_item . 4)) (TYPE . (simple_declarative_item . 4)) (PACKAGE . (simple_declarative_item . 4)) (NULL . (simple_declarative_item . 4)) (FOR . (simple_declarative_item . 4)) (CASE . (simple_declarative_item . 4)) (IDENTIFIER . (simple_declarative_item . 4)) (END . (simple_declarative_item . 4)))
272 ((default . error) (USE . 80) (LEFT_PAREN . 79))
273 ((default . error) (DOT . 35) (IS . 78))
274 ((default . error) (IDENTIFIER . 77))
275 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
276 ((default . error) (STRING_LITERAL . 72))
277 ((default . error) (AMPERSAND . (external_value . 1)) (SEMICOLON . (external_value . 1)) (RIGHT_PAREN . (external_value . 1)) (COMMA . (external_value . 1)))
278 ((default . error) (AMPERSAND . (external_value . 0)) (SEMICOLON . (external_value . 0)) (RIGHT_PAREN . (external_value . 0)) (COMMA . (external_value . 0)))
279 ((default . error) (RIGHT_PAREN . 98))
280 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . ( 96 (identifier_opt . 0))) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
281 ((default . error) (AMPERSAND . 94) (SEMICOLON . 95))
282 ((default . error) (SEMICOLON . (term . 0)) (AMPERSAND . ((term . 0) 34)))
283 ((default . error) (SEMICOLON . (expression . 0)) (AMPERSAND . (expression . 0)))
284 ((default . error) (COLON_EQUALS . 93))
285 ((default . error) (END . (case_items . 0)) (WHEN . ((case_items . 0) 90)))
286 ((default . error) (STRING_LITERAL . 89))
287 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
288 ((default . error) (END . (simple_declarative_items . 0)) (IDENTIFIER . ((simple_declarative_items . 0) 46)) (NULL . ((simple_declarative_items . 0) 49)) (CASE . ((simple_declarative_items . 0) 47)) (FOR . ((simple_declarative_items . 0) 48)))
289 ((default . error) (LEFT_PAREN . 85))
290 ((default . error) (SEMICOLON . 84))
291 ((default . error) ($EOI . (simple_project_declaration . 0)))
292 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
293 ((default . error) (END . (simple_declarative_items . 1)) (IDENTIFIER . (simple_declarative_items . 1)) (CASE . (simple_declarative_items . 1)) (FOR . (simple_declarative_items . 1)) (NULL . (simple_declarative_items . 1)))
294 ((default . error) (END . 110) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48))
295 ((default . error) (AMPERSAND . 94) (SEMICOLON . 109))
296 ((default . error) (RIGHT_PAREN . 108))
297 ((default . error) (VERTICAL_BAR . (discrete_choice . 0)) (EQUAL_GREATER . (discrete_choice . 0)) (STRING_LITERAL . 104) (OTHERS . 105))
298 ((default . error) (END . (case_items . 1)) (WHEN . (case_items . 1)))
299 ((default . error) (END . 102) (WHEN . 90))
300 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
301 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
302 ((default . error) (WHEN . (simple_declarative_item . 0)) (TYPE . (simple_declarative_item . 0)) (PACKAGE . (simple_declarative_item . 0)) (NULL . (simple_declarative_item . 0)) (FOR . (simple_declarative_item . 0)) (CASE . (simple_declarative_item . 0)) (IDENTIFIER . (simple_declarative_item . 0)) (END . (simple_declarative_item . 0)))
303 ((default . error) (SEMICOLON . (term . 1)) (AMPERSAND . (term . 1)))
304 ((default . error) (COMMA . 32) (RIGHT_PAREN . 99))
305 ((default . error) (AMPERSAND . (attribute_reference . 1)) (SEMICOLON . (attribute_reference . 1)) (RIGHT_PAREN . (attribute_reference . 1)) (COMMA . (attribute_reference . 1)))
306 ((default . error) (AMPERSAND . (term . 2)) (SEMICOLON . (term . 2)))
307 ((default . error) (SEMICOLON . (expression . 1)) (AMPERSAND . (expression . 1)))
308 ((default . error) (AMPERSAND . 94) (SEMICOLON . 119))
309 ((default . error) (CASE . 118))
310 ((default . error) (WHEN . (case_items . 2)) (END . (case_items . 2)))
311 ((default . error) (VERTICAL_BAR . (discrete_choice . 1)) (EQUAL_GREATER . (discrete_choice . 1)))
312 ((default . error) (VERTICAL_BAR . (discrete_choice . 2)) (EQUAL_GREATER . (discrete_choice . 2)))
313 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 0)) (VERTICAL_BAR . (discrete_choice_list . 0)))
314 ((default . error) (VERTICAL_BAR . 117) (EQUAL_GREATER . 116))
315 ((default . error) (USE . 115))
316 ((default . error) (WHEN . (attribute_declaration . 0)) (END . (attribute_declaration . 0)) (TYPE . (attribute_declaration . 0)) (PACKAGE . (attribute_declaration . 0)) (NULL . (attribute_declaration . 0)) (FOR . (attribute_declaration . 0)) (CASE . (attribute_declaration . 0)) (IDENTIFIER . (attribute_declaration . 0)))
317 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 16))
318 ((default . error) (NULL . (simple_declarative_items . 2)) (FOR . (simple_declarative_items . 2)) (CASE . (simple_declarative_items . 2)) (IDENTIFIER . (simple_declarative_items . 2)) (END . (simple_declarative_items . 2)))
319 ((default . error) (COMMA . 32) (RIGHT_PAREN . 113))
320 ((default . error) (SEMICOLON . 125))
321 ((default . error) (SEMICOLON . 124))
322 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
323 ((default . error) (END . (declarative_items . 0)) (WHEN . (declarative_items . 0)) (TYPE . ((declarative_items . 0) 51)) (IDENTIFIER . ((declarative_items . 0) 46)) (NULL . ((declarative_items . 0) 49)) (CASE . ((declarative_items . 0) 47)) (FOR . ((declarative_items . 0) 48)) (PACKAGE . ((declarative_items . 0) 50)))
324 ((default . error) (EQUAL_GREATER . (discrete_choice . 0)) (VERTICAL_BAR . (discrete_choice . 0)) (STRING_LITERAL . 104) (OTHERS . 105))
325 ((default . error) (SEMICOLON . 120))
326 ((default . error) (WHEN . (simple_declarative_item . 1)) (TYPE . (simple_declarative_item . 1)) (PACKAGE . (simple_declarative_item . 1)) (NULL . (simple_declarative_item . 1)) (FOR . (simple_declarative_item . 1)) (CASE . (simple_declarative_item . 1)) (IDENTIFIER . (simple_declarative_item . 1)) (END . (simple_declarative_item . 1)))
327 ((default . error) (WHEN . (case_statement . 0)) (END . (case_statement . 0)) (TYPE . (case_statement . 0)) (PACKAGE . (case_statement . 0)) (NULL . (case_statement . 0)) (FOR . (case_statement . 0)) (CASE . (case_statement . 0)) (IDENTIFIER . (case_statement . 0)))
328 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 1)) (VERTICAL_BAR . (discrete_choice_list . 1)))
329 ((default . error) (END . (case_item . 0)) (WHEN . (case_item . 0)) (TYPE . 51) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48) (PACKAGE . 50))
330 ((default . error) (AMPERSAND . 94) (SEMICOLON . 126))
331 ((default . error) (WHEN . (package_spec . 0)) (END . (package_spec . 0)) (TYPE . (package_spec . 0)) (PACKAGE . (package_spec . 0)) (NULL . (package_spec . 0)) (FOR . (package_spec . 0)) (CASE . (package_spec . 0)) (IDENTIFIER . (package_spec . 0)))
332 ((default . error) (WHEN . (typed_string_declaration . 0)) (END . (typed_string_declaration . 0)) (IDENTIFIER . (typed_string_declaration . 0)) (CASE . (typed_string_declaration . 0)) (FOR . (typed_string_declaration . 0)) (NULL . (typed_string_declaration . 0)) (PACKAGE . (typed_string_declaration . 0)) (TYPE . (typed_string_declaration . 0)))
333 ((default . error) (WHEN . (attribute_declaration . 1)) (IDENTIFIER . (attribute_declaration . 1)) (CASE . (attribute_declaration . 1)) (FOR . (attribute_declaration . 1)) (NULL . (attribute_declaration . 1)) (PACKAGE . (attribute_declaration . 1)) (TYPE . (attribute_declaration . 1)) (END . (attribute_declaration . 1)))]
334 [((compilation_unit . 8)(context_clause . 9)(context_clause_opt . 10)(simple_project_declaration . 11)(with_clause . 12))
335 nil
336 nil
337 nil
338 nil
339 ((identifier_opt . 29))
340 nil
341 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 28))
342 nil
343 ((with_clause . 14))
344 ((project_qualifier_opt . 13))
345 nil
346 nil
347 ((project_declaration_opt . 39)(simple_project_declaration . 11))
348 nil
349 nil
350 nil
351 nil
352 nil
353 nil
354 nil
355 nil
356 nil
357 nil
358 nil
359 nil
360 nil
361 nil
362 nil
363 nil
364 nil
365 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 54)(declarative_items . 55)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
366 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 45)(string_primary . 27))
367 nil
368 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_primary . 44))
369 nil
370 nil
371 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 41))
372 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 40))
373 nil
374 nil
375 nil
376 nil
377 nil
378 nil
379 nil
380 nil
381 ((identifier_opt . 24)(name . 66))
382 nil
383 nil
384 ((identifier_opt . 63))
385 nil
386 nil
387 nil
388 nil
389 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 61)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
390 nil
391 nil
392 nil
393 nil
394 ((identifier_opt . 83))
395 nil
396 nil
397 nil
398 nil
399 nil
400 nil
401 nil
402 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 74)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
403 nil
404 nil
405 nil
406 nil
407 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 97))
408 nil
409 nil
410 nil
411 nil
412 ((case_item . 91)(case_items . 92))
413 nil
414 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 88)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
415 ((attribute_declaration . 52)(case_statement . 53)(simple_declarative_item . 86)(simple_declarative_items . 87))
416 nil
417 nil
418 nil
419 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 112))
420 nil
421 ((attribute_declaration . 52)(case_statement . 53)(simple_declarative_item . 111))
422 nil
423 nil
424 ((discrete_choice . 106)(discrete_choice_list . 107))
425 nil
426 ((case_item . 103))
427 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 101)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
428 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 100))
429 nil
430 nil
431 nil
432 nil
433 nil
434 nil
435 nil
436 nil
437 nil
438 nil
439 nil
440 nil
441 nil
442 nil
443 nil
444 ((identifier_opt . 114))
445 nil
446 nil
447 nil
448 nil
449 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 123)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
450 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 54)(declarative_items . 122)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
451 ((discrete_choice . 121))
452 nil
453 nil
454 nil
455 nil
456 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 61)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
457 nil
458 nil
459 nil
460 nil]))
461 "Parser table.")
462
463 (provide 'gpr-grammar-wy)
464
465 ;; end of file