use dsntk_common::Result;
#[derive(Clone)]
pub enum TokenType {
YyEmpty = -2,
YyEof = 0,
YyError = 256,
YyUndef = 257,
StartExpression = 258,
StartBoxedExpression = 259,
StartTextualExpression = 260,
StartTextualExpressions = 261,
StartUnaryTests = 262,
StartSimpleExpression = 263,
StartSimpleExpressions = 264,
StartSimpleValue = 265,
StartRangeLiteral = 266,
At = 267,
Not = 268,
Colon = 269,
Comma = 270,
Every = 271,
For = 272,
LeftBrace = 273,
Null = 274,
RightArrow = 275,
Of = 276,
List = 277,
Range = 278,
Context = 279,
Then = 280,
Function = 281,
External = 282,
If = 283,
RightBrace = 284,
Return = 285,
Some = 286,
Numeric = 287,
String = 288,
Boolean = 289,
Satisfies = 290,
Else = 291,
Or = 292,
And = 293,
Eq = 294,
Ne = 295,
Lt = 296,
Le = 297,
Gt = 298,
Ge = 299,
Between = 300,
BetweenAnd = 301,
In = 302,
Minus = 303,
Plus = 304,
Mul = 305,
Div = 306,
Exp = 307,
Instance = 309,
Name = 310,
NameDateTime = 311,
BuiltInTypeName = 312,
LeftParen = 313,
RightParen = 314,
LeftBracket = 315,
RightBracket = 316,
Ellipsis = 317,
Dot = 318,
}
#[allow(clippy::enum_variant_names)]
pub enum SymbolKind {
YyEmpty = -2,
YyEof = 0,
YyError = 1,
YyUndef = 2,
YyAccept = 64,
}
pub const YY_PACT_N_INF: i16 = -197;
pub const YY_TABLE_N_INF: i16 = -120;
pub const YY_FINAL: usize = 68;
pub const YY_LAST: i16 = 1075;
pub const YY_N_TOKENS: usize = 64;
pub const YY_TRANSLATE: [i8; 319] = [
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
];
pub const YY_PACT: [i16; 342] = [
1064, 401, 126, 401, 401, -197, 448, 448, 21, 59, 29, 6, -197, -197, -197, -197, -17, 401, -197, -197, -197, -197, 401, 401, 401, 401, 401, 401, 401, -197, -12, 401, 495, 401,
856, -197, -197, -197, 401, -197, -197, -197, -197, -197, 495, -197, 856, 62, 34, -197, 254, 401, 36, 883, -197, -197, 52, -197, 58, -197, 12, -197, -197, 28, 118, 56, -197,
184, -197, -197, -197, -197, 9, -197, 693, -197, 245, 245, 245, 245, 245, 245, 245, -197, 748, 19, 219, 572, 44, -197, 910, 72, 401, 401, 401, 401, 401, 401, 401, 401, -197,
542, 401, 401, 401, 401, 401, 66, 304, 401, -197, -197, 86, 572, 401, 79, 401, 665, -197, -197, 149, -197, 401, 401, 401, 401, 401, 448, 81, -197, -197, 82, -197, 92, 95, -197,
100, -197, -197, -197, 123, 104, 151, 113, 139, 158, 121, -197, -197, -197, -197, 50, 166, 77, 401, 157, 304, -197, -197, 401, -197, -197, -197, -197, 936, 961, 986, 986, 986,
986, 986, 986, 401, 401, 1003, 205, 205, 107, 107, 245, -197, 180, -197, 603, -197, -197, -11, -197, 775, 143, -197, -197, -197, -197, 401, 401, 150, 20, 127, 141, 148, 160,
-197, -197, -197, -197, -197, -197, -197, -197, -197, 401, -197, -197, 401, -197, -197, 11, -197, -197, 401, 201, -197, 354, -197, 721, 401, -197, 572, 802, 634, -197, 381, 401,
401, -197, -197, 169, -197, -197, -197, -197, 162, -197, -197, 14, 856, -197, 179, 856, -197, 181, 50, 856, -197, 401, 856, -197, 0, 401, 856, -197, 401, 401, 186, 188, 189,
193, -197, -197, -197, 856, 603, 180, -11, -197, -197, 225, 182, 401, 401, -197, 381, 856, 187, -197, -197, 856, 1003, 190, -197, -197, 191, 217, -197, -197, -197, 215, -197,
856, 829, -197, -197, -197, -197, 381, 381, 248, -197, 2, -197, 244, 381, -197, 401, 0, 226, 233, -197, 191, -197, -197, -197, 13, -197, 856, -197, -197, -197, 381, 2, 381,
-197, -197, -197, -197, -197, -197, -197, 381, 13, -197,
];
pub const YY_DEF_ACT: [u8; 342] = [
0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 22, 17, 93, 86, 0, 0, 20, 87, 88, 89, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 2, 12, 13, 55, 0, 54, 85, 16, 14, 15, 0, 3, 0, 13, 13, 5, 0, 0,
56, 0, 8, 72, 85, 83, 74, 9, 119, 10, 84, 0, 0, 0, 11, 0, 1, 90, 149, 142, 0, 152, 0, 149, 46, 47, 42, 43, 44, 45, 41, 91, 82, 0, 103, 82, 0, 102, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0,
24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 75, 0, 0, 0, 0, 60, 64, 7, 62, 41, 117, 0, 0, 0, 0, 0, 0, 0, 176, 177, 0, 166, 0, 0, 167, 0, 171, 172, 165, 0, 0, 148, 0, 0, 141, 0, 95, 101,
100, 94, 0, 0, 0, 0, 0, 0, 57, 76, 0, 105, 104, 78, 77, 26, 27, 28, 29, 30, 31, 32, 33, 0, 0, 35, 37, 36, 38, 39, 40, 48, 56, 107, 0, 53, 108, 0, 109, 0, 0, 79, 80, 81, 58, 0,
0, 0, 37, 36, 38, 39, 40, 73, 178, 179, 168, 170, 169, 173, 174, 175, 0, 149, 150, 0, 142, 143, 0, 98, 96, 0, 162, 154, 0, 155, 0, 0, 92, 0, 0, 82, 34, 0, 0, 0, 115, 114, 0,
112, 110, 52, 51, 0, 63, 118, 0, 23, 147, 0, 18, 140, 0, 0, 97, 160, 0, 164, 153, 0, 0, 21, 106, 0, 0, 0, 0, 0, 0, 120, 121, 49, 111, 0, 0, 0, 61, 184, 0, 0, 0, 0, 99, 0, 163,
0, 157, 156, 19, 25, 0, 122, 124, 0, 135, 116, 113, 185, 0, 180, 151, 145, 144, 161, 158, 65, 0, 0, 0, 126, 0, 134, 0, 0, 181, 0, 0, 0, 0, 130, 0, 132, 129, 127, 0, 182, 146,
159, 123, 125, 0, 0, 0, 138, 137, 136, 183, 131, 133, 128, 0, 0, 139,
];
pub const YY_P_GOTO: [i16; 82] = [
-197, -197, -197, -1, 275, 15, -197, -197, -197, -197, -197, -197, 167, -197, -181, -197, 277, 163, -197, -197, -197, 25, 276, -197, 4, -197, -197, -197, -197, 74, 37, -197,
-197, -197, 64, 144, -197, 67, 27, -197, 35, 1, -197, -196, -197, -197, -197, -197, -13, -197, -19, -197, -197, -23, -197, 103, -197, -197, -197, -197, -74, -197, -197, -197,
-197, -197, -197, -197, 10, -197, 40, -197, -197, -197, -197, -197, 124, -197, -197, -197, -197, -197,
];
pub const YY_DEF_GOTO: [i16; 82] = [
0, 10, 50, 117, 35, 36, 71, 75, 70, 172, 232, 189, 49, 118, 119, 231, 58, 59, 37, 38, 111, 85, 55, 39, 40, 156, 41, 72, 150, 151, 219, 152, 42, 89, 161, 184, 185, 186, 239, 187,
236, 269, 196, 270, 305, 306, 331, 308, 309, 329, 321, 311, 312, 334, 339, 144, 145, 146, 251, 301, 141, 142, 143, 248, 43, 153, 223, 258, 286, 315, 224, 282, 257, 66, 67, 139,
133, 245, 278, 324, 335, 296,
];
pub const YY_TABLE: [i16; 1076] = [
34, 155, 46, 46, 237, 53, 53, 57, 57, 57, 56, 56, 62, 242, 243, 284, 74, 319, 47, 48, -67, 76, 77, 78, 79, 80, 81, 82, 332, 68, 84, 87, 90, 11, -59, -67, -119, 90, 147, 69, 128,
73, 148, 113, 148, 320, 83, 276, 238, 114, 120, -119, -84, 19, 20, 21, 333, 88, 91, 285, 129, 130, -4, 112, 149, 217, 149, -84, 128, 277, 104, 105, 106, 127, 107, 121, 60, 30,
108, 218, 109, 158, 289, 110, 131, 90, 302, 180, 129, 130, 132, 164, 165, 166, 167, 168, 169, 170, 171, 121, 174, 175, 176, 177, 178, 179, 162, 183, 188, 316, 317, 91, 131, 46,
203, 82, 323, 63, 135, 64, 65, 197, 198, 199, 200, 201, 53, -66, 57, 48, 128, 56, 221, 336, 163, 338, 222, 194, 247, 211, 204, -68, -66, 340, 14, 190, 191, 192, -69, -71, 129,
130, 16, 225, 205, 183, -68, 206, 228, 106, -70, 107, 207, -69, -71, 108, 212, 109, 213, 214, 110, 229, 230, 215, 131, -70, 216, 104, 105, 106, 220, 107, 208, 209, 210, 108, 44,
109, 134, 136, 110, 140, 226, 106, 233, 107, 128, 244, 241, 108, 106, 109, 107, 107, 110, 60, 108, 108, 109, 109, 246, 110, 110, 249, 107, 254, 129, 130, 108, 253, 109, 275,
256, 110, 273, 260, 279, 290, 280, 291, 292, 11, 271, 272, 293, 12, 13, 14, 15, 297, 131, 298, 221, 137, 138, 16, 307, 17, 313, 304, 18, 19, 20, 21, 283, 104, 105, 106, 287,
107, 310, 288, 318, 108, 322, 109, 11, 115, 110, 327, 12, 13, 14, 15, 29, 30, 328, 45, 299, 300, 16, 193, 17, 54, 61, 18, 19, 20, 21, 281, 202, 252, 261, 22, 23, 24, 25, 26, 27,
107, 227, 295, 116, 108, 274, 109, 330, 294, 110, 29, 30, 337, 31, 325, 32, 33, 11, 341, 250, 0, 12, 13, 14, 15, 303, 326, 0, 0, 0, 0, 16, 0, 17, 0, 0, 18, 19, 20, 21, 0, 0, 0,
0, 22, 23, 24, 25, 26, 27, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 181, 30, 0, 31, 182, 32, 33, 11, 0, 0, 0, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 16, 255, 17, 0, 0, 18, 19, 20, 21, 0, 0, 0,
0, 22, 23, 24, 25, 26, 27, 0, 0, 0, 28, 264, 265, 266, 0, 267, 0, 29, 30, 0, 31, 11, 32, 33, 0, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 16, 0, 17, 0, 0, 18, 19, 20, 21, 60, 0, 268, 0,
22, 23, 24, 25, 26, 27, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 29, 30, 0, 31, 11, 32, 33, 0, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 16, 0, 17, 0, 0, 18, 19, 20, 21, 0, 0, 0, 0, 22, 23, 24,
25, 26, 27, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 52, 30, 0, 31, 11, 32, 33, 0, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 16, 0, 17, 0, 0, 18, 19, 20, 21, 0, 0, 0, 0, 22, 23, 24, 25, 26, 27,
0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 29, 30, 0, 31, 11, 32, 86, 0, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 16, 0, 17, 0, 0, 18, 19, 20, 21, 0, 0, 0, 0, 22, 23, 24, 25, 26, 27, 159, 0, 0,
28, 0, 0, 0, 0, 0, 0, 29, 30, 0, 173, 0, 32, 33, 0, 0, 0, 0, 0, 92, 93, 94, 95, 96, 97, 98, 99, 100, 234, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 160, 0,
110, 0, 0, 0, 0, 92, 93, 94, 95, 96, 97, 98, 99, 100, 263, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 235, 109, 0, 0, 110, 0, 0, 0, 0, 92, 93, 94, 95, 96, 97, 98, 99,
100, 195, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 157, 109, 0, 0, 110, 0, 0, 0, 0, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 154, 107, 0,
0, 0, 108, 0, 109, 0, 0, 110, 0, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 259, 92, 93, 94, 95, 96, 97, 98,
99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108,
157, 109, 0, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 240, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 262,
101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0,
314, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 122, 123,
124, 125, 126, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 92, 93, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 0, 0, 0, 110, 93, 94, 95,
96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 94, 95, 96, 97, 98, 99, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0,
108, 0, 109, 0, 0, 110, -120, -120, -120, -120, -120, -120, 100, 0, 101, 102, 103, 104, 105, 106, 0, 107, 0, 0, 0, 108, 0, 109, 0, 0, 110, 101, 102, 103, 104, 105, 106, 0, 107,
0, 0, 0, 108, 0, 109, 0, 0, 110, 1, 2, 3, 4, 5, 6, 7, 8, 9,
];
pub const YY_CHECK: [i16; 1076] = [
1, 75, 3, 4, 15, 6, 7, 6, 7, 8, 6, 7, 8, 194, 195, 15, 17, 15, 3, 4, 0, 22, 23, 24, 25, 26, 27, 28, 15, 0, 31, 32, 33, 12, 0, 15, 0, 38, 29, 33, 12, 58, 33, 44, 33, 43, 58, 33,
59, 15, 51, 15, 0, 32, 33, 34, 43, 32, 33, 59, 32, 33, 0, 38, 55, 15, 55, 15, 12, 55, 50, 51, 52, 15, 54, 63, 55, 56, 58, 29, 60, 62, 263, 63, 56, 86, 282, 21, 32, 33, 62, 92,
93, 94, 95, 96, 97, 98, 99, 63, 101, 102, 103, 104, 105, 106, 62, 108, 109, 305, 306, 86, 56, 114, 33, 116, 312, 58, 62, 60, 61, 122, 123, 124, 125, 126, 127, 0, 127, 114, 12,
127, 55, 329, 62, 331, 59, 58, 212, 35, 58, 0, 15, 339, 18, 59, 60, 61, 0, 0, 32, 33, 26, 154, 62, 156, 15, 62, 159, 52, 0, 54, 62, 15, 15, 58, 15, 60, 55, 30, 63, 172, 173, 15,
56, 15, 55, 50, 51, 52, 14, 54, 59, 60, 61, 58, 60, 60, 64, 65, 63, 67, 35, 52, 14, 54, 12, 196, 55, 58, 52, 60, 54, 54, 63, 55, 58, 58, 60, 60, 211, 63, 63, 214, 54, 14, 32,
33, 58, 220, 60, 59, 223, 63, 55, 226, 47, 41, 47, 41, 41, 12, 233, 234, 41, 16, 17, 18, 19, 14, 56, 59, 55, 59, 60, 26, 55, 28, 33, 59, 31, 32, 33, 34, 255, 50, 51, 52, 259,
54, 43, 262, 14, 58, 20, 60, 12, 13, 63, 43, 16, 17, 18, 19, 55, 56, 43, 2, 279, 280, 26, 114, 28, 6, 8, 31, 32, 33, 34, 252, 127, 217, 228, 39, 40, 41, 42, 43, 44, 54, 156,
274, 48, 58, 237, 60, 319, 272, 63, 55, 56, 330, 58, 314, 60, 61, 12, 340, 215, -1, 16, 17, 18, 19, 284, 315, -1, -1, -1, -1, 26, -1, 28, -1, -1, 31, 32, 33, 34, -1, -1, -1, -1,
39, 40, 41, 42, 43, 44, -1, -1, -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, -1, 58, 59, 60, 61, 12, -1, -1, -1, 16, 17, 18, 19, -1, -1, -1, -1, -1, -1, 26, 27, 28, -1, -1, 31, 32,
33, 34, -1, -1, -1, -1, 39, 40, 41, 42, 43, 44, -1, -1, -1, 48, 22, 23, 24, -1, 26, -1, 55, 56, -1, 58, 12, 60, 61, -1, 16, 17, 18, 19, -1, -1, -1, -1, -1, -1, 26, -1, 28, -1,
-1, 31, 32, 33, 34, 55, -1, 57, -1, 39, 40, 41, 42, 43, 44, -1, -1, -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, -1, 58, 12, 60, 61, -1, 16, 17, 18, 19, -1, -1, -1, -1, -1, -1, 26,
-1, 28, -1, -1, 31, 32, 33, 34, -1, -1, -1, -1, 39, 40, 41, 42, 43, 44, -1, -1, -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, -1, 58, 12, 60, 61, -1, 16, 17, 18, 19, -1, -1, -1, -1,
-1, -1, 26, -1, 28, -1, -1, 31, 32, 33, 34, -1, -1, -1, -1, 39, 40, 41, 42, 43, 44, -1, -1, -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, -1, 58, 12, 60, 61, -1, 16, 17, 18, 19, -1,
-1, -1, -1, -1, -1, 26, -1, 28, -1, -1, 31, 32, 33, 34, -1, -1, -1, -1, 39, 40, 41, 42, 43, 44, 15, -1, -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, -1, 58, -1, 60, 61, -1, -1, -1,
-1, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 15, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, 61, -1, 63, -1, -1, -1, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 15, 47,
48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, 59, 60, -1, -1, 63, -1, -1, -1, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 15, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, 59, 60,
-1, -1, 63, -1, -1, -1, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, 25, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45,
-1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1,
-1, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, 59, 60, -1, -1, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51,
52, -1, 54, -1, -1, -1, 58, -1, 60, 61, -1, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 37, 38, 39, 40, 41,
42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, 62, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58,
-1, 60, -1, -1, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48,
49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, -1, -1, -1, 63, 38, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 39, 40, 41,
42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 39, 40, 41, 42, 43, 44, 45, -1, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60,
-1, -1, 63, 47, 48, 49, 50, 51, 52, -1, 54, -1, -1, -1, 58, -1, 60, -1, -1, 63, 3, 4, 5, 6, 7, 8, 9, 10, 11,
];
pub const YY_R1: [u8; 186] = [
0, 64, 65, 65, 65, 65, 66, 65, 65, 65, 65, 65, 67, 67, 68, 68, 68, 70, 69, 69, 71, 69, 72, 69, 73, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
69, 69, 69, 69, 74, 69, 75, 69, 69, 69, 69, 69, 69, 69, 76, 76, 77, 77, 77, 78, 78, 79, 80, 80, 80, 80, 80, 80, 80, 81, 81, 82, 83, 83, 83, 84, 84, 84, 85, 86, 86, 87, 87, 88,
88, 88, 88, 89, 88, 91, 90, 92, 92, 93, 94, 94, 95, 95, 96, 97, 97, 98, 98, 99, 99, 99, 100, 101, 102, 102, 103, 104, 104, 106, 105, 105, 107, 107, 108, 107, 109, 107, 107, 110,
107, 111, 113, 112, 114, 114, 115, 116, 115, 117, 118, 117, 119, 119, 121, 122, 120, 123, 123, 124, 124, 126, 127, 125, 129, 128, 130, 131, 130, 132, 133, 132, 135, 134, 134,
136, 136, 137, 138, 138, 138, 138, 138, 139, 139, 139, 139, 139, 140, 140, 140, 141, 140, 143, 144, 142, 145, 142,
];
pub const YY_R2: [i8; 186] = [
0, 2, 2, 2, 2, 2, 0, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 0, 5, 6, 0, 5, 0, 5, 0, 6, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 0, 5, 0, 4, 4, 3, 1, 1, 1, 3, 3,
1, 1, 4, 1, 3, 1, 4, 3, 3, 3, 3, 3, 2, 1, 3, 1, 2, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 4, 0, 3, 1, 2, 3, 1, 3, 1, 1, 2, 1, 2, 1, 3, 1, 1, 1, 2, 3, 1, 3, 2, 1, 3, 0,
4, 1, 1, 1, 0, 5, 0, 5, 3, 0, 6, 2, 0, 4, 1, 3, 1, 0, 3, 1, 0, 4, 3, 1, 0, 0, 5, 1, 3, 3, 1, 0, 0, 5, 0, 5, 1, 0, 3, 1, 0, 4, 0, 4, 1, 2, 1, 2, 2, 2, 3, 3, 3, 1, 1, 2, 2, 2, 1,
1, 2, 0, 5, 0, 0, 5, 0, 2,
];
pub trait ReduceActions {
fn action_addition(&mut self) -> Result<()>;
fn action_after_dot(&mut self) -> Result<()>;
fn action_between(&mut self) -> Result<()>;
fn action_between_begin(&mut self) -> Result<()>;
fn action_built_in_type_name(&mut self) -> Result<()>;
fn action_comparison_eq(&mut self) -> Result<()>;
fn action_comparison_ge(&mut self) -> Result<()>;
fn action_comparison_gt(&mut self) -> Result<()>;
fn action_comparison_in(&mut self) -> Result<()>;
fn action_comparison_le(&mut self) -> Result<()>;
fn action_comparison_lt(&mut self) -> Result<()>;
fn action_comparison_ne(&mut self) -> Result<()>;
fn action_comparison_unary_eq(&mut self) -> Result<()>;
fn action_comparison_unary_ge(&mut self) -> Result<()>;
fn action_comparison_unary_gt(&mut self) -> Result<()>;
fn action_comparison_unary_le(&mut self) -> Result<()>;
fn action_comparison_unary_lt(&mut self) -> Result<()>;
fn action_comparison_unary_ne(&mut self) -> Result<()>;
fn action_conjunction(&mut self) -> Result<()>;
fn action_context_begin(&mut self) -> Result<()>;
fn action_context_end(&mut self) -> Result<()>;
fn action_context_entry(&mut self) -> Result<()>;
fn action_context_entry_tail(&mut self) -> Result<()>;
fn action_context_type_entry(&mut self) -> Result<()>;
fn action_context_type_entry_tail(&mut self) -> Result<()>;
fn action_disjunction(&mut self) -> Result<()>;
fn action_division(&mut self) -> Result<()>;
fn action_empty_context(&mut self) -> Result<()>;
fn action_every(&mut self) -> Result<()>;
fn action_every_begin(&mut self) -> Result<()>;
fn action_exponentiation(&mut self) -> Result<()>;
fn action_expression_list_tail(&mut self) -> Result<()>;
fn action_filter(&mut self) -> Result<()>;
fn action_for(&mut self) -> Result<()>;
fn action_for_begin(&mut self) -> Result<()>;
fn action_formal_parameter_with_type(&mut self) -> Result<()>;
fn action_formal_parameter_without_type(&mut self) -> Result<()>;
fn action_formal_parameters_begin(&mut self) -> Result<()>;
fn action_formal_parameters_empty(&mut self) -> Result<()>;
fn action_formal_parameters_first(&mut self) -> Result<()>;
fn action_formal_parameters_tail(&mut self) -> Result<()>;
fn action_function_body(&mut self) -> Result<()>;
fn action_function_body_external(&mut self) -> Result<()>;
fn action_function_definition(&mut self) -> Result<()>;
fn action_function_invocation(&mut self) -> Result<()>;
fn action_function_invocation_no_parameters(&mut self) -> Result<()>;
fn action_function_type(&mut self) -> Result<()>;
fn action_function_type_parameters_empty(&mut self) -> Result<()>;
fn action_function_type_parameters_tail(&mut self) -> Result<()>;
fn action_if(&mut self) -> Result<()>;
fn action_instance_of(&mut self) -> Result<()>;
fn action_interval(&mut self) -> Result<()>;
fn action_interval_end(&mut self) -> Result<()>;
fn action_interval_start(&mut self) -> Result<()>;
fn action_iteration_context_value_range(&mut self) -> Result<()>;
fn action_iteration_context_value_single(&mut self) -> Result<()>;
fn action_iteration_context_variable_name(&mut self) -> Result<()>;
fn action_iteration_context_variable_name_begin(&mut self) -> Result<()>;
fn action_iteration_contexts_tail(&mut self) -> Result<()>;
fn action_key_name(&mut self) -> Result<()>;
fn action_key_string(&mut self) -> Result<()>;
fn action_list(&mut self) -> Result<()>;
fn action_list_empty(&mut self) -> Result<()>;
fn action_list_tail(&mut self) -> Result<()>;
fn action_list_type(&mut self) -> Result<()>;
fn action_literal_at(&mut self) -> Result<()>;
fn action_literal_boolean(&mut self) -> Result<()>;
fn action_literal_date_time(&mut self) -> Result<()>;
fn action_literal_null(&mut self) -> Result<()>;
fn action_literal_numeric(&mut self) -> Result<()>;
fn action_literal_string(&mut self) -> Result<()>;
fn action_multiplication(&mut self) -> Result<()>;
fn action_name(&mut self) -> Result<()>;
fn action_named_parameter(&mut self) -> Result<()>;
fn action_named_parameters_tail(&mut self) -> Result<()>;
fn action_negation(&mut self) -> Result<()>;
fn action_path(&mut self) -> Result<()>;
fn action_positional_parameters_tail(&mut self) -> Result<()>;
fn action_qualified_name(&mut self) -> Result<()>;
fn action_qualified_name_tail(&mut self) -> Result<()>;
fn action_quantified_expression(&mut self) -> Result<()>;
fn action_quantified_expression_variable_name(&mut self) -> Result<()>;
fn action_quantified_expression_variable_name_begin(&mut self) -> Result<()>;
fn action_quantified_expressions_tail(&mut self) -> Result<()>;
fn action_range_literal(&mut self) -> Result<()>;
fn action_range_literal_empty_end(&mut self) -> Result<()>;
fn action_range_literal_empty_start(&mut self) -> Result<()>;
fn action_range_literal_end(&mut self) -> Result<()>;
fn action_range_literal_start(&mut self) -> Result<()>;
fn action_range_type(&mut self) -> Result<()>;
fn action_some(&mut self) -> Result<()>;
fn action_some_begin(&mut self) -> Result<()>;
fn action_subtraction(&mut self) -> Result<()>;
fn action_type_name(&mut self) -> Result<()>;
fn action_unary_tests_begin(&mut self) -> Result<()>;
fn action_unary_tests_irrelevant(&mut self) -> Result<()>;
fn action_unary_tests_negated(&mut self) -> Result<()>;
}
pub fn reduce(reduce_actions: &mut impl ReduceActions, rule_number: i16) -> Result<()> {
match rule_number {
6 => reduce_actions.action_unary_tests_begin(),
17 => reduce_actions.action_for_begin(),
18 => reduce_actions.action_for(),
19 => reduce_actions.action_if(),
20 => reduce_actions.action_some_begin(),
21 => reduce_actions.action_some(),
22 => reduce_actions.action_every_begin(),
23 => reduce_actions.action_every(),
24 => reduce_actions.action_between_begin(),
25 => reduce_actions.action_between(),
26 => reduce_actions.action_disjunction(),
27 => reduce_actions.action_conjunction(),
28 => reduce_actions.action_comparison_eq(),
29 => reduce_actions.action_comparison_ne(),
30 => reduce_actions.action_comparison_lt(),
31 => reduce_actions.action_comparison_le(),
32 => reduce_actions.action_comparison_gt(),
33 => reduce_actions.action_comparison_ge(),
34 => reduce_actions.action_comparison_in(),
35 => reduce_actions.action_comparison_in(),
36 => reduce_actions.action_addition(),
37 => reduce_actions.action_subtraction(),
38 => reduce_actions.action_multiplication(),
39 => reduce_actions.action_division(),
40 => reduce_actions.action_exponentiation(),
41 => reduce_actions.action_negation(),
42 => reduce_actions.action_comparison_unary_lt(),
43 => reduce_actions.action_comparison_unary_le(),
44 => reduce_actions.action_comparison_unary_gt(),
45 => reduce_actions.action_comparison_unary_ge(),
46 => reduce_actions.action_comparison_unary_eq(),
47 => reduce_actions.action_comparison_unary_ne(),
48 => reduce_actions.action_type_name(),
49 => reduce_actions.action_instance_of(),
50 => reduce_actions.action_after_dot(),
51 => reduce_actions.action_path(),
52 => reduce_actions.action_filter(),
56 => reduce_actions.action_name(),
58 => reduce_actions.action_expression_list_tail(),
59 => reduce_actions.action_expression_list_tail(),
60 => reduce_actions.action_unary_tests_irrelevant(),
61 => reduce_actions.action_unary_tests_negated(),
63 => reduce_actions.action_expression_list_tail(),
64 => reduce_actions.action_expression_list_tail(),
65 => reduce_actions.action_expression_list_tail(),
66 => reduce_actions.action_addition(),
67 => reduce_actions.action_subtraction(),
68 => reduce_actions.action_multiplication(),
69 => reduce_actions.action_division(),
70 => reduce_actions.action_exponentiation(),
71 => reduce_actions.action_negation(),
73 => reduce_actions.action_expression_list_tail(),
74 => reduce_actions.action_expression_list_tail(),
75 => reduce_actions.action_interval(),
76 => reduce_actions.action_interval_start(),
77 => reduce_actions.action_interval_start(),
78 => reduce_actions.action_interval_start(),
79 => reduce_actions.action_interval_end(),
80 => reduce_actions.action_interval_end(),
81 => reduce_actions.action_interval_end(),
86 => reduce_actions.action_literal_null(),
87 => reduce_actions.action_literal_numeric(),
88 => reduce_actions.action_literal_string(),
89 => reduce_actions.action_literal_boolean(),
90 => reduce_actions.action_literal_at(),
91 => reduce_actions.action_literal_date_time(),
93 => reduce_actions.action_context_begin(),
94 => reduce_actions.action_context_end(),
95 => reduce_actions.action_empty_context(),
96 => reduce_actions.action_context_entry_tail(),
97 => reduce_actions.action_context_entry(),
99 => reduce_actions.action_context_entry_tail(),
100 => reduce_actions.action_key_name(),
101 => reduce_actions.action_key_string(),
102 => reduce_actions.action_list(),
103 => reduce_actions.action_list_empty(),
104 => reduce_actions.action_list_tail(),
106 => reduce_actions.action_list_tail(),
107 => reduce_actions.action_function_invocation_no_parameters(),
108 => reduce_actions.action_function_invocation(),
109 => reduce_actions.action_function_invocation(),
110 => reduce_actions.action_named_parameters_tail(),
111 => reduce_actions.action_named_parameter(),
113 => reduce_actions.action_named_parameters_tail(),
114 => reduce_actions.action_positional_parameters_tail(),
116 => reduce_actions.action_positional_parameters_tail(),
117 => reduce_actions.action_after_dot(),
118 => reduce_actions.action_qualified_name_tail(),
119 => reduce_actions.action_qualified_name(),
120 => reduce_actions.action_built_in_type_name(),
122 => reduce_actions.action_type_name(),
123 => reduce_actions.action_list_type(),
124 => reduce_actions.action_type_name(),
125 => reduce_actions.action_range_type(),
127 => reduce_actions.action_type_name(),
128 => reduce_actions.action_function_type(),
129 => reduce_actions.action_context_type_entry_tail(),
130 => reduce_actions.action_type_name(),
131 => reduce_actions.action_context_type_entry(),
133 => reduce_actions.action_context_type_entry_tail(),
134 => reduce_actions.action_function_type_parameters_empty(),
135 => reduce_actions.action_type_name(),
136 => reduce_actions.action_function_type_parameters_tail(),
138 => reduce_actions.action_type_name(),
139 => reduce_actions.action_function_type_parameters_tail(),
140 => reduce_actions.action_iteration_contexts_tail(),
141 => reduce_actions.action_iteration_contexts_tail(),
142 => reduce_actions.action_iteration_context_variable_name_begin(),
143 => reduce_actions.action_iteration_context_variable_name(),
145 => reduce_actions.action_iteration_context_value_single(),
146 => reduce_actions.action_iteration_context_value_range(),
147 => reduce_actions.action_quantified_expressions_tail(),
148 => reduce_actions.action_quantified_expressions_tail(),
149 => reduce_actions.action_quantified_expression_variable_name_begin(),
150 => reduce_actions.action_quantified_expression_variable_name(),
151 => reduce_actions.action_quantified_expression(),
152 => reduce_actions.action_formal_parameters_begin(),
153 => reduce_actions.action_function_definition(),
154 => reduce_actions.action_formal_parameters_empty(),
155 => reduce_actions.action_formal_parameters_first(),
158 => reduce_actions.action_formal_parameters_tail(),
160 => reduce_actions.action_type_name(),
161 => reduce_actions.action_formal_parameter_with_type(),
162 => reduce_actions.action_formal_parameter_without_type(),
163 => reduce_actions.action_function_body_external(),
164 => reduce_actions.action_function_body(),
165 => reduce_actions.action_range_literal(),
166 => reduce_actions.action_range_literal_empty_start(),
167 => reduce_actions.action_range_literal_empty_start(),
168 => reduce_actions.action_range_literal_start(),
169 => reduce_actions.action_range_literal_start(),
170 => reduce_actions.action_range_literal_start(),
171 => reduce_actions.action_range_literal_empty_end(),
172 => reduce_actions.action_range_literal_empty_end(),
173 => reduce_actions.action_range_literal_end(),
174 => reduce_actions.action_range_literal_end(),
175 => reduce_actions.action_range_literal_end(),
176 => reduce_actions.action_literal_numeric(),
177 => reduce_actions.action_literal_string(),
178 => reduce_actions.action_literal_at(),
179 => reduce_actions.action_literal_date_time(),
180 => reduce_actions.action_function_invocation(),
181 => reduce_actions.action_literal_string(),
182 => reduce_actions.action_named_parameter(),
183 => reduce_actions.action_named_parameters_tail(),
184 => reduce_actions.action_literal_string(),
185 => reduce_actions.action_positional_parameters_tail(),
_ => Ok(()),
}
}