1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | // This file was generated by qlalr - DO NOT EDIT! |
5 | #include "grammar_p.h" |
6 | |
7 | QT_BEGIN_NAMESPACE |
8 | |
9 | const char *const grammar::spell [] = { |
10 | "end of file" , "identifier" , "string literal" , "%decl" , "%expect" , "%expect-lr" , "%impl" , "%left" , "%merged_output" , "%nonassoc" , |
11 | "%parser" , "%prec" , "%right" , "%start" , "%token" , "%token_prefix" , ":" , "|" , ";" , nullptr, |
12 | nullptr, nullptr |
13 | }; |
14 | |
15 | const short grammar::lhs [] = { |
16 | 22, 23, 23, 29, 25, 28, 28, 28, 28, 28, |
17 | 28, 28, 24, 24, 31, 32, 32, 33, 33, 34, |
18 | 34, 34, 31, 35, 35, 36, 37, 37, 38, 38, |
19 | 30, 30, 26, 26, 40, 39, 41, 41, 44, 43, |
20 | 43, 42, 42, 27, 45 |
21 | }; |
22 | |
23 | const short grammar::rhs [] = { |
24 | 4, 1, 2, 2, 2, 2, 2, 2, 2, 2, |
25 | 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, |
26 | 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, |
27 | 0, 1, 1, 2, 2, 4, 3, 6, 0, 0, |
28 | 2, 1, 2, 0, 2 |
29 | }; |
30 | |
31 | const short grammar::action_default [] = { |
32 | 44, 2, 44, 0, 0, 0, 0, 13, 0, 0, |
33 | 3, 0, 0, 0, 8, 10, 11, 9, 7, 6, |
34 | 12, 20, 22, 0, 21, 0, 44, 31, 0, 14, |
35 | 26, 24, 23, 25, 4, 33, 1, 0, 34, 44, |
36 | 35, 42, 39, 40, 0, 31, 44, 40, 43, 0, |
37 | 31, 41, 29, 27, 28, 32, 38, 30, 36, 31, |
38 | 37, 5, 44, 16, 15, 18, 19, 17, 45 |
39 | }; |
40 | |
41 | const short grammar::goto_default [] = { |
42 | 3, 2, 13, 26, 36, 41, 10, 27, 61, 29, |
43 | 64, 63, 23, 32, 31, 52, 55, 38, 39, 42, |
44 | 43, 59, 44, 0 |
45 | }; |
46 | |
47 | const short grammar::action_index [] = { |
48 | -22, -22, 30, 1, 2, 3, 4, -22, 5, 6, |
49 | -22, 8, -1, 35, -22, -22, -22, -22, -22, -22, |
50 | -22, -22, -22, 13, -22, 7, -22, -2, 20, -22, |
51 | -22, -22, 11, -22, -22, -22, 15, -6, -22, -22, |
52 | -22, -22, -3, 19, -4, 12, -22, 18, -22, 10, |
53 | -2, -22, -22, -22, -22, -2, -22, -22, -22, -2, |
54 | -22, -22, 0, -22, 20, -22, -22, -22, -22, |
55 | |
56 | 0, -24, 3, -24, -24, -24, -24, -24, -24, -24, |
57 | -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, |
58 | -24, -24, -24, -24, -24, -24, -2, -24, -24, -24, |
59 | -24, -24, -7, -24, -24, -24, -24, -24, -24, -24, |
60 | -24, -24, -24, -24, -24, 17, -19, -11, -24, -24, |
61 | 1, -24, -24, -24, -24, -15, -24, -24, -24, -6, |
62 | -24, -24, -1, -24, -5, -24, -24, -24, -24 |
63 | }; |
64 | |
65 | const short grammar::action_info [] = { |
66 | 20, 68, 66, 14, 15, 16, 17, 18, 34, 19, |
67 | 40, 51, 30, 46, 30, 45, 37, 53, 54, 48, |
68 | 48, 62, 0, 0, 0, 0, 0, 0, 0, 49, |
69 | 49, 53, 54, 4, 5, 6, 8, 0, 9, 0, |
70 | 11, 0, 21, 0, 22, 12, 0, 24, 25, 28, |
71 | 0, 0, 0, 0, 0, 0, 0, |
72 | |
73 | 57, 47, 60, 35, 65, 1, 67, 33, 7, 56, |
74 | 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
75 | 0, 0, 0, 0, 0, 58, 0, 0, 0, 0, |
76 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
77 | 0 |
78 | }; |
79 | |
80 | const short grammar::action_check [] = { |
81 | 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, |
82 | 16, 1, 1, 17, 1, 18, 1, 19, 20, 1, |
83 | 1, 1, -1, -1, -1, -1, -1, -1, -1, 11, |
84 | 11, 19, 20, 3, 4, 5, 6, -1, 8, -1, |
85 | 10, -1, 7, -1, 9, 15, -1, 12, 13, 14, |
86 | -1, -1, -1, -1, -1, -1, -1, |
87 | |
88 | 15, 20, 8, 5, 5, 5, 11, 14, 5, 8, |
89 | 21, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
90 | -1, -1, -1, -1, -1, 8, -1, -1, -1, -1, |
91 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
92 | -1 |
93 | }; |
94 | |
95 | QT_END_NAMESPACE |
96 | |