diff --git a/LDE.g4 b/LDE.g4 index bb94d47..b521abf 100644 --- a/LDE.g4 +++ b/LDE.g4 @@ -1,9 +1,7 @@ grammar LDE; rules - : rules atomicRule - | atomicRule - | EOF + : atomicRule* EOF ; atomicRule diff --git a/internal/parser/LDE.interp b/internal/parser/LDE.interp index dac5f11..581e940 100644 --- a/internal/parser/LDE.interp +++ b/internal/parser/LDE.interp @@ -87,4 +87,4 @@ fieldType atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 27, 262, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 3, 2, 3, 2, 3, 2, 5, 2, 64, 10, 2, 3, 2, 3, 2, 7, 2, 68, 10, 2, 12, 2, 14, 2, 71, 11, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 93, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 113, 10, 5, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 126, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 136, 10, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 148, 10, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 5, 22, 217, 10, 22, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 5, 24, 236, 10, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 2, 3, 2, 31, 2, 4, 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, 56, 58, 2, 4, 3, 2, 23, 24, 3, 2, 20, 21, 2, 264, 2, 63, 3, 2, 2, 2, 4, 72, 3, 2, 2, 2, 6, 92, 3, 2, 2, 2, 8, 112, 3, 2, 2, 2, 10, 114, 3, 2, 2, 2, 12, 125, 3, 2, 2, 2, 14, 135, 3, 2, 2, 2, 16, 147, 3, 2, 2, 2, 18, 149, 3, 2, 2, 2, 20, 155, 3, 2, 2, 2, 22, 158, 3, 2, 2, 2, 24, 162, 3, 2, 2, 2, 26, 165, 3, 2, 2, 2, 28, 169, 3, 2, 2, 2, 30, 175, 3, 2, 2, 2, 32, 181, 3, 2, 2, 2, 34, 188, 3, 2, 2, 2, 36, 195, 3, 2, 2, 2, 38, 200, 3, 2, 2, 2, 40, 206, 3, 2, 2, 2, 42, 216, 3, 2, 2, 2, 44, 218, 3, 2, 2, 2, 46, 235, 3, 2, 2, 2, 48, 237, 3, 2, 2, 2, 50, 239, 3, 2, 2, 2, 52, 245, 3, 2, 2, 2, 54, 250, 3, 2, 2, 2, 56, 255, 3, 2, 2, 2, 58, 259, 3, 2, 2, 2, 60, 61, 8, 2, 1, 2, 61, 64, 5, 4, 3, 2, 62, 64, 7, 2, 2, 3, 63, 60, 3, 2, 2, 2, 63, 62, 3, 2, 2, 2, 64, 69, 3, 2, 2, 2, 65, 66, 12, 5, 2, 2, 66, 68, 5, 4, 3, 2, 67, 65, 3, 2, 2, 2, 68, 71, 3, 2, 2, 2, 69, 67, 3, 2, 2, 2, 69, 70, 3, 2, 2, 2, 70, 3, 3, 2, 2, 2, 71, 69, 3, 2, 2, 2, 72, 73, 7, 20, 2, 2, 73, 74, 7, 3, 2, 2, 74, 75, 5, 6, 4, 2, 75, 76, 7, 4, 2, 2, 76, 5, 3, 2, 2, 2, 77, 78, 7, 27, 2, 2, 78, 93, 5, 6, 4, 2, 79, 80, 7, 5, 2, 2, 80, 81, 5, 6, 4, 2, 81, 82, 7, 6, 2, 2, 82, 83, 5, 6, 4, 2, 83, 93, 3, 2, 2, 2, 84, 85, 7, 5, 2, 2, 85, 86, 5, 6, 4, 2, 86, 87, 7, 6, 2, 2, 87, 93, 3, 2, 2, 2, 88, 89, 5, 8, 5, 2, 89, 90, 5, 6, 4, 2, 90, 93, 3, 2, 2, 2, 91, 93, 5, 8, 5, 2, 92, 77, 3, 2, 2, 2, 92, 79, 3, 2, 2, 2, 92, 84, 3, 2, 2, 2, 92, 88, 3, 2, 2, 2, 92, 91, 3, 2, 2, 2, 93, 7, 3, 2, 2, 2, 94, 113, 5, 12, 7, 2, 95, 113, 5, 14, 8, 2, 96, 113, 5, 10, 6, 2, 97, 113, 5, 16, 9, 2, 98, 113, 5, 18, 10, 2, 99, 113, 5, 24, 13, 2, 100, 113, 5, 26, 14, 2, 101, 113, 5, 20, 11, 2, 102, 113, 5, 22, 12, 2, 103, 113, 5, 28, 15, 2, 104, 113, 5, 30, 16, 2, 105, 113, 5, 32, 17, 2, 106, 113, 5, 34, 18, 2, 107, 113, 5, 36, 19, 2, 108, 113, 5, 38, 20, 2, 109, 113, 5, 40, 21, 2, 110, 113, 5, 42, 22, 2, 111, 113, 5, 44, 23, 2, 112, 94, 3, 2, 2, 2, 112, 95, 3, 2, 2, 2, 112, 96, 3, 2, 2, 2, 112, 97, 3, 2, 2, 2, 112, 98, 3, 2, 2, 2, 112, 99, 3, 2, 2, 2, 112, 100, 3, 2, 2, 2, 112, 101, 3, 2, 2, 2, 112, 102, 3, 2, 2, 2, 112, 103, 3, 2, 2, 2, 112, 104, 3, 2, 2, 2, 112, 105, 3, 2, 2, 2, 112, 106, 3, 2, 2, 2, 112, 107, 3, 2, 2, 2, 112, 108, 3, 2, 2, 2, 112, 109, 3, 2, 2, 2, 112, 110, 3, 2, 2, 2, 112, 111, 3, 2, 2, 2, 113, 9, 3, 2, 2, 2, 114, 115, 7, 7, 2, 2, 115, 116, 7, 24, 2, 2, 116, 11, 3, 2, 2, 2, 117, 118, 7, 8, 2, 2, 118, 119, 5, 48, 25, 2, 119, 120, 7, 9, 2, 2, 120, 121, 7, 22, 2, 2, 121, 122, 7, 10, 2, 2, 122, 126, 3, 2, 2, 2, 123, 124, 7, 8, 2, 2, 124, 126, 5, 48, 25, 2, 125, 117, 3, 2, 2, 2, 125, 123, 3, 2, 2, 2, 126, 13, 3, 2, 2, 2, 127, 128, 7, 11, 2, 2, 128, 129, 5, 48, 25, 2, 129, 130, 7, 9, 2, 2, 130, 131, 7, 22, 2, 2, 131, 132, 7, 10, 2, 2, 132, 136, 3, 2, 2, 2, 133, 134, 7, 11, 2, 2, 134, 136, 5, 48, 25, 2, 135, 127, 3, 2, 2, 2, 135, 133, 3, 2, 2, 2, 136, 15, 3, 2, 2, 2, 137, 138, 7, 12, 2, 2, 138, 139, 7, 8, 2, 2, 139, 140, 5, 48, 25, 2, 140, 141, 7, 9, 2, 2, 141, 142, 7, 22, 2, 2, 142, 143, 7, 10, 2, 2, 143, 148, 3, 2, 2, 2, 144, 145, 7, 12, 2, 2, 145, 146, 7, 8, 2, 2, 146, 148, 5, 48, 25, 2, 147, 137, 3, 2, 2, 2, 147, 144, 3, 2, 2, 2, 148, 17, 3, 2, 2, 2, 149, 150, 7, 13, 2, 2, 150, 151, 7, 9, 2, 2, 151, 152, 7, 22, 2, 2, 152, 153, 7, 14, 2, 2, 153, 154, 7, 10, 2, 2, 154, 19, 3, 2, 2, 2, 155, 156, 7, 15, 2, 2, 156, 157, 5, 46, 24, 2, 157, 21, 3, 2, 2, 2, 158, 159, 7, 12, 2, 2, 159, 160, 7, 15, 2, 2, 160, 161, 5, 46, 24, 2, 161, 23, 3, 2, 2, 2, 162, 163, 7, 13, 2, 2, 163, 164, 5, 46, 24, 2, 164, 25, 3, 2, 2, 2, 165, 166, 7, 12, 2, 2, 166, 167, 7, 13, 2, 2, 167, 168, 5, 46, 24, 2, 168, 27, 3, 2, 2, 2, 169, 170, 7, 20, 2, 2, 170, 171, 7, 5, 2, 2, 171, 172, 5, 58, 30, 2, 172, 173, 7, 6, 2, 2, 173, 174, 5, 46, 24, 2, 174, 29, 3, 2, 2, 2, 175, 176, 7, 20, 2, 2, 176, 177, 7, 9, 2, 2, 177, 178, 5, 58, 30, 2, 178, 179, 7, 10, 2, 2, 179, 180, 5, 46, 24, 2, 180, 31, 3, 2, 2, 2, 181, 182, 7, 20, 2, 2, 182, 183, 7, 5, 2, 2, 183, 184, 5, 58, 30, 2, 184, 185, 7, 6, 2, 2, 185, 186, 7, 12, 2, 2, 186, 187, 5, 46, 24, 2, 187, 33, 3, 2, 2, 2, 188, 189, 7, 20, 2, 2, 189, 190, 7, 9, 2, 2, 190, 191, 5, 58, 30, 2, 191, 192, 7, 10, 2, 2, 192, 193, 7, 12, 2, 2, 193, 194, 5, 46, 24, 2, 194, 35, 3, 2, 2, 2, 195, 196, 7, 20, 2, 2, 196, 197, 7, 5, 2, 2, 197, 198, 5, 58, 30, 2, 198, 199, 7, 6, 2, 2, 199, 37, 3, 2, 2, 2, 200, 201, 7, 12, 2, 2, 201, 202, 7, 20, 2, 2, 202, 203, 7, 5, 2, 2, 203, 204, 5, 6, 4, 2, 204, 205, 7, 6, 2, 2, 205, 39, 3, 2, 2, 2, 206, 207, 7, 12, 2, 2, 207, 208, 7, 5, 2, 2, 208, 209, 5, 6, 4, 2, 209, 210, 7, 6, 2, 2, 210, 41, 3, 2, 2, 2, 211, 212, 7, 16, 2, 2, 212, 217, 7, 22, 2, 2, 213, 214, 7, 16, 2, 2, 214, 215, 7, 19, 2, 2, 215, 217, 7, 22, 2, 2, 216, 211, 3, 2, 2, 2, 216, 213, 3, 2, 2, 2, 217, 43, 3, 2, 2, 2, 218, 219, 7, 17, 2, 2, 219, 45, 3, 2, 2, 2, 220, 221, 5, 48, 25, 2, 221, 222, 5, 50, 26, 2, 222, 236, 3, 2, 2, 2, 223, 224, 5, 48, 25, 2, 224, 225, 5, 52, 27, 2, 225, 236, 3, 2, 2, 2, 226, 227, 5, 48, 25, 2, 227, 228, 5, 56, 29, 2, 228, 236, 3, 2, 2, 2, 229, 230, 5, 48, 25, 2, 230, 231, 5, 54, 28, 2, 231, 236, 3, 2, 2, 2, 232, 236, 5, 48, 25, 2, 233, 234, 7, 18, 2, 2, 234, 236, 5, 46, 24, 2, 235, 220, 3, 2, 2, 2, 235, 223, 3, 2, 2, 2, 235, 226, 3, 2, 2, 2, 235, 229, 3, 2, 2, 2, 235, 232, 3, 2, 2, 2, 235, 233, 3, 2, 2, 2, 236, 47, 3, 2, 2, 2, 237, 238, 9, 2, 2, 2, 238, 49, 3, 2, 2, 2, 239, 240, 7, 9, 2, 2, 240, 241, 7, 22, 2, 2, 241, 242, 7, 14, 2, 2, 242, 243, 7, 22, 2, 2, 243, 244, 7, 10, 2, 2, 244, 51, 3, 2, 2, 2, 245, 246, 7, 9, 2, 2, 246, 247, 7, 14, 2, 2, 247, 248, 7, 22, 2, 2, 248, 249, 7, 10, 2, 2, 249, 53, 3, 2, 2, 2, 250, 251, 7, 9, 2, 2, 251, 252, 7, 22, 2, 2, 252, 253, 7, 14, 2, 2, 253, 254, 7, 10, 2, 2, 254, 55, 3, 2, 2, 2, 255, 256, 7, 9, 2, 2, 256, 257, 7, 22, 2, 2, 257, 258, 7, 10, 2, 2, 258, 57, 3, 2, 2, 2, 259, 260, 9, 3, 2, 2, 260, 59, 3, 2, 2, 2, 11, 63, 69, 92, 112, 125, 135, 147, 216, 235] \ No newline at end of file +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 27, 258, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 3, 2, 7, 2, 62, 10, 2, 12, 2, 14, 2, 65, 11, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 89, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 109, 10, 5, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 122, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 132, 10, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 144, 10, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 5, 22, 213, 10, 22, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 5, 24, 232, 10, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 2, 2, 31, 2, 4, 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, 56, 58, 2, 4, 3, 2, 23, 24, 3, 2, 20, 21, 2, 259, 2, 63, 3, 2, 2, 2, 4, 68, 3, 2, 2, 2, 6, 88, 3, 2, 2, 2, 8, 108, 3, 2, 2, 2, 10, 110, 3, 2, 2, 2, 12, 121, 3, 2, 2, 2, 14, 131, 3, 2, 2, 2, 16, 143, 3, 2, 2, 2, 18, 145, 3, 2, 2, 2, 20, 151, 3, 2, 2, 2, 22, 154, 3, 2, 2, 2, 24, 158, 3, 2, 2, 2, 26, 161, 3, 2, 2, 2, 28, 165, 3, 2, 2, 2, 30, 171, 3, 2, 2, 2, 32, 177, 3, 2, 2, 2, 34, 184, 3, 2, 2, 2, 36, 191, 3, 2, 2, 2, 38, 196, 3, 2, 2, 2, 40, 202, 3, 2, 2, 2, 42, 212, 3, 2, 2, 2, 44, 214, 3, 2, 2, 2, 46, 231, 3, 2, 2, 2, 48, 233, 3, 2, 2, 2, 50, 235, 3, 2, 2, 2, 52, 241, 3, 2, 2, 2, 54, 246, 3, 2, 2, 2, 56, 251, 3, 2, 2, 2, 58, 255, 3, 2, 2, 2, 60, 62, 5, 4, 3, 2, 61, 60, 3, 2, 2, 2, 62, 65, 3, 2, 2, 2, 63, 61, 3, 2, 2, 2, 63, 64, 3, 2, 2, 2, 64, 66, 3, 2, 2, 2, 65, 63, 3, 2, 2, 2, 66, 67, 7, 2, 2, 3, 67, 3, 3, 2, 2, 2, 68, 69, 7, 20, 2, 2, 69, 70, 7, 3, 2, 2, 70, 71, 5, 6, 4, 2, 71, 72, 7, 4, 2, 2, 72, 5, 3, 2, 2, 2, 73, 74, 7, 27, 2, 2, 74, 89, 5, 6, 4, 2, 75, 76, 7, 5, 2, 2, 76, 77, 5, 6, 4, 2, 77, 78, 7, 6, 2, 2, 78, 79, 5, 6, 4, 2, 79, 89, 3, 2, 2, 2, 80, 81, 7, 5, 2, 2, 81, 82, 5, 6, 4, 2, 82, 83, 7, 6, 2, 2, 83, 89, 3, 2, 2, 2, 84, 85, 5, 8, 5, 2, 85, 86, 5, 6, 4, 2, 86, 89, 3, 2, 2, 2, 87, 89, 5, 8, 5, 2, 88, 73, 3, 2, 2, 2, 88, 75, 3, 2, 2, 2, 88, 80, 3, 2, 2, 2, 88, 84, 3, 2, 2, 2, 88, 87, 3, 2, 2, 2, 89, 7, 3, 2, 2, 2, 90, 109, 5, 12, 7, 2, 91, 109, 5, 14, 8, 2, 92, 109, 5, 10, 6, 2, 93, 109, 5, 16, 9, 2, 94, 109, 5, 18, 10, 2, 95, 109, 5, 24, 13, 2, 96, 109, 5, 26, 14, 2, 97, 109, 5, 20, 11, 2, 98, 109, 5, 22, 12, 2, 99, 109, 5, 28, 15, 2, 100, 109, 5, 30, 16, 2, 101, 109, 5, 32, 17, 2, 102, 109, 5, 34, 18, 2, 103, 109, 5, 36, 19, 2, 104, 109, 5, 38, 20, 2, 105, 109, 5, 40, 21, 2, 106, 109, 5, 42, 22, 2, 107, 109, 5, 44, 23, 2, 108, 90, 3, 2, 2, 2, 108, 91, 3, 2, 2, 2, 108, 92, 3, 2, 2, 2, 108, 93, 3, 2, 2, 2, 108, 94, 3, 2, 2, 2, 108, 95, 3, 2, 2, 2, 108, 96, 3, 2, 2, 2, 108, 97, 3, 2, 2, 2, 108, 98, 3, 2, 2, 2, 108, 99, 3, 2, 2, 2, 108, 100, 3, 2, 2, 2, 108, 101, 3, 2, 2, 2, 108, 102, 3, 2, 2, 2, 108, 103, 3, 2, 2, 2, 108, 104, 3, 2, 2, 2, 108, 105, 3, 2, 2, 2, 108, 106, 3, 2, 2, 2, 108, 107, 3, 2, 2, 2, 109, 9, 3, 2, 2, 2, 110, 111, 7, 7, 2, 2, 111, 112, 7, 24, 2, 2, 112, 11, 3, 2, 2, 2, 113, 114, 7, 8, 2, 2, 114, 115, 5, 48, 25, 2, 115, 116, 7, 9, 2, 2, 116, 117, 7, 22, 2, 2, 117, 118, 7, 10, 2, 2, 118, 122, 3, 2, 2, 2, 119, 120, 7, 8, 2, 2, 120, 122, 5, 48, 25, 2, 121, 113, 3, 2, 2, 2, 121, 119, 3, 2, 2, 2, 122, 13, 3, 2, 2, 2, 123, 124, 7, 11, 2, 2, 124, 125, 5, 48, 25, 2, 125, 126, 7, 9, 2, 2, 126, 127, 7, 22, 2, 2, 127, 128, 7, 10, 2, 2, 128, 132, 3, 2, 2, 2, 129, 130, 7, 11, 2, 2, 130, 132, 5, 48, 25, 2, 131, 123, 3, 2, 2, 2, 131, 129, 3, 2, 2, 2, 132, 15, 3, 2, 2, 2, 133, 134, 7, 12, 2, 2, 134, 135, 7, 8, 2, 2, 135, 136, 5, 48, 25, 2, 136, 137, 7, 9, 2, 2, 137, 138, 7, 22, 2, 2, 138, 139, 7, 10, 2, 2, 139, 144, 3, 2, 2, 2, 140, 141, 7, 12, 2, 2, 141, 142, 7, 8, 2, 2, 142, 144, 5, 48, 25, 2, 143, 133, 3, 2, 2, 2, 143, 140, 3, 2, 2, 2, 144, 17, 3, 2, 2, 2, 145, 146, 7, 13, 2, 2, 146, 147, 7, 9, 2, 2, 147, 148, 7, 22, 2, 2, 148, 149, 7, 14, 2, 2, 149, 150, 7, 10, 2, 2, 150, 19, 3, 2, 2, 2, 151, 152, 7, 15, 2, 2, 152, 153, 5, 46, 24, 2, 153, 21, 3, 2, 2, 2, 154, 155, 7, 12, 2, 2, 155, 156, 7, 15, 2, 2, 156, 157, 5, 46, 24, 2, 157, 23, 3, 2, 2, 2, 158, 159, 7, 13, 2, 2, 159, 160, 5, 46, 24, 2, 160, 25, 3, 2, 2, 2, 161, 162, 7, 12, 2, 2, 162, 163, 7, 13, 2, 2, 163, 164, 5, 46, 24, 2, 164, 27, 3, 2, 2, 2, 165, 166, 7, 20, 2, 2, 166, 167, 7, 5, 2, 2, 167, 168, 5, 58, 30, 2, 168, 169, 7, 6, 2, 2, 169, 170, 5, 46, 24, 2, 170, 29, 3, 2, 2, 2, 171, 172, 7, 20, 2, 2, 172, 173, 7, 9, 2, 2, 173, 174, 5, 58, 30, 2, 174, 175, 7, 10, 2, 2, 175, 176, 5, 46, 24, 2, 176, 31, 3, 2, 2, 2, 177, 178, 7, 20, 2, 2, 178, 179, 7, 5, 2, 2, 179, 180, 5, 58, 30, 2, 180, 181, 7, 6, 2, 2, 181, 182, 7, 12, 2, 2, 182, 183, 5, 46, 24, 2, 183, 33, 3, 2, 2, 2, 184, 185, 7, 20, 2, 2, 185, 186, 7, 9, 2, 2, 186, 187, 5, 58, 30, 2, 187, 188, 7, 10, 2, 2, 188, 189, 7, 12, 2, 2, 189, 190, 5, 46, 24, 2, 190, 35, 3, 2, 2, 2, 191, 192, 7, 20, 2, 2, 192, 193, 7, 5, 2, 2, 193, 194, 5, 58, 30, 2, 194, 195, 7, 6, 2, 2, 195, 37, 3, 2, 2, 2, 196, 197, 7, 12, 2, 2, 197, 198, 7, 20, 2, 2, 198, 199, 7, 5, 2, 2, 199, 200, 5, 6, 4, 2, 200, 201, 7, 6, 2, 2, 201, 39, 3, 2, 2, 2, 202, 203, 7, 12, 2, 2, 203, 204, 7, 5, 2, 2, 204, 205, 5, 6, 4, 2, 205, 206, 7, 6, 2, 2, 206, 41, 3, 2, 2, 2, 207, 208, 7, 16, 2, 2, 208, 213, 7, 22, 2, 2, 209, 210, 7, 16, 2, 2, 210, 211, 7, 19, 2, 2, 211, 213, 7, 22, 2, 2, 212, 207, 3, 2, 2, 2, 212, 209, 3, 2, 2, 2, 213, 43, 3, 2, 2, 2, 214, 215, 7, 17, 2, 2, 215, 45, 3, 2, 2, 2, 216, 217, 5, 48, 25, 2, 217, 218, 5, 50, 26, 2, 218, 232, 3, 2, 2, 2, 219, 220, 5, 48, 25, 2, 220, 221, 5, 52, 27, 2, 221, 232, 3, 2, 2, 2, 222, 223, 5, 48, 25, 2, 223, 224, 5, 56, 29, 2, 224, 232, 3, 2, 2, 2, 225, 226, 5, 48, 25, 2, 226, 227, 5, 54, 28, 2, 227, 232, 3, 2, 2, 2, 228, 232, 5, 48, 25, 2, 229, 230, 7, 18, 2, 2, 230, 232, 5, 46, 24, 2, 231, 216, 3, 2, 2, 2, 231, 219, 3, 2, 2, 2, 231, 222, 3, 2, 2, 2, 231, 225, 3, 2, 2, 2, 231, 228, 3, 2, 2, 2, 231, 229, 3, 2, 2, 2, 232, 47, 3, 2, 2, 2, 233, 234, 9, 2, 2, 2, 234, 49, 3, 2, 2, 2, 235, 236, 7, 9, 2, 2, 236, 237, 7, 22, 2, 2, 237, 238, 7, 14, 2, 2, 238, 239, 7, 22, 2, 2, 239, 240, 7, 10, 2, 2, 240, 51, 3, 2, 2, 2, 241, 242, 7, 9, 2, 2, 242, 243, 7, 14, 2, 2, 243, 244, 7, 22, 2, 2, 244, 245, 7, 10, 2, 2, 245, 53, 3, 2, 2, 2, 246, 247, 7, 9, 2, 2, 247, 248, 7, 22, 2, 2, 248, 249, 7, 14, 2, 2, 249, 250, 7, 10, 2, 2, 250, 55, 3, 2, 2, 2, 251, 252, 7, 9, 2, 2, 252, 253, 7, 22, 2, 2, 253, 254, 7, 10, 2, 2, 254, 57, 3, 2, 2, 2, 255, 256, 9, 3, 2, 2, 256, 59, 3, 2, 2, 2, 10, 63, 88, 108, 121, 131, 143, 212, 231] \ No newline at end of file diff --git a/internal/parser/lde_base_listener.go b/internal/parser/lde_base_listener.go index 7209eeb..93f2425 100644 --- a/internal/parser/lde_base_listener.go +++ b/internal/parser/lde_base_listener.go @@ -1,4 +1,4 @@ -// Code generated from LDE.g4 by ANTLR 4.7.2. DO NOT EDIT. +// Code generated from LDE.g4 by ANTLR 4.7.1. DO NOT EDIT. package parser // LDE diff --git a/internal/parser/lde_lexer.go b/internal/parser/lde_lexer.go index c5c3b5c..5d2e77b 100644 --- a/internal/parser/lde_lexer.go +++ b/internal/parser/lde_lexer.go @@ -1,4 +1,4 @@ -// Code generated from LDE.g4 by ANTLR 4.7.2. DO NOT EDIT. +// Code generated from LDE.g4 by ANTLR 4.7.1. DO NOT EDIT. package parser diff --git a/internal/parser/lde_listener.go b/internal/parser/lde_listener.go index 8348a27..a259288 100644 --- a/internal/parser/lde_listener.go +++ b/internal/parser/lde_listener.go @@ -1,4 +1,4 @@ -// Code generated from LDE.g4 by ANTLR 4.7.2. DO NOT EDIT. +// Code generated from LDE.g4 by ANTLR 4.7.1. DO NOT EDIT. package parser // LDE diff --git a/internal/parser/lde_parser.go b/internal/parser/lde_parser.go index 7bdd0a8..3d08396 100644 --- a/internal/parser/lde_parser.go +++ b/internal/parser/lde_parser.go @@ -1,4 +1,4 @@ -// Code generated from LDE.g4 by ANTLR 4.7.2. DO NOT EDIT. +// Code generated from LDE.g4 by ANTLR 4.7.1. DO NOT EDIT. package parser // LDE @@ -16,114 +16,112 @@ var _ = reflect.Copy var _ = strconv.Itoa var parserATN = []uint16{ - 3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 27, 262, + 3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 27, 258, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, - 29, 9, 29, 4, 30, 9, 30, 3, 2, 3, 2, 3, 2, 5, 2, 64, 10, 2, 3, 2, 3, 2, - 7, 2, 68, 10, 2, 12, 2, 14, 2, 71, 11, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, - 3, 4, 3, 4, 3, 4, 5, 4, 93, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, - 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, - 5, 5, 113, 10, 5, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, - 3, 7, 3, 7, 5, 7, 126, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, - 3, 8, 5, 8, 136, 10, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, - 3, 9, 3, 9, 5, 9, 148, 10, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, - 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, - 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, - 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, - 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, - 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, - 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 5, 22, 217, - 10, 22, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, - 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 5, 24, 236, 10, - 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, - 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, - 29, 3, 29, 3, 30, 3, 30, 3, 30, 2, 3, 2, 31, 2, 4, 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, 56, 58, 2, 4, 3, 2, 23, 24, 3, 2, 20, 21, 2, 264, 2, 63, 3, 2, 2, 2, - 4, 72, 3, 2, 2, 2, 6, 92, 3, 2, 2, 2, 8, 112, 3, 2, 2, 2, 10, 114, 3, 2, - 2, 2, 12, 125, 3, 2, 2, 2, 14, 135, 3, 2, 2, 2, 16, 147, 3, 2, 2, 2, 18, - 149, 3, 2, 2, 2, 20, 155, 3, 2, 2, 2, 22, 158, 3, 2, 2, 2, 24, 162, 3, - 2, 2, 2, 26, 165, 3, 2, 2, 2, 28, 169, 3, 2, 2, 2, 30, 175, 3, 2, 2, 2, - 32, 181, 3, 2, 2, 2, 34, 188, 3, 2, 2, 2, 36, 195, 3, 2, 2, 2, 38, 200, - 3, 2, 2, 2, 40, 206, 3, 2, 2, 2, 42, 216, 3, 2, 2, 2, 44, 218, 3, 2, 2, - 2, 46, 235, 3, 2, 2, 2, 48, 237, 3, 2, 2, 2, 50, 239, 3, 2, 2, 2, 52, 245, - 3, 2, 2, 2, 54, 250, 3, 2, 2, 2, 56, 255, 3, 2, 2, 2, 58, 259, 3, 2, 2, - 2, 60, 61, 8, 2, 1, 2, 61, 64, 5, 4, 3, 2, 62, 64, 7, 2, 2, 3, 63, 60, - 3, 2, 2, 2, 63, 62, 3, 2, 2, 2, 64, 69, 3, 2, 2, 2, 65, 66, 12, 5, 2, 2, - 66, 68, 5, 4, 3, 2, 67, 65, 3, 2, 2, 2, 68, 71, 3, 2, 2, 2, 69, 67, 3, - 2, 2, 2, 69, 70, 3, 2, 2, 2, 70, 3, 3, 2, 2, 2, 71, 69, 3, 2, 2, 2, 72, - 73, 7, 20, 2, 2, 73, 74, 7, 3, 2, 2, 74, 75, 5, 6, 4, 2, 75, 76, 7, 4, - 2, 2, 76, 5, 3, 2, 2, 2, 77, 78, 7, 27, 2, 2, 78, 93, 5, 6, 4, 2, 79, 80, - 7, 5, 2, 2, 80, 81, 5, 6, 4, 2, 81, 82, 7, 6, 2, 2, 82, 83, 5, 6, 4, 2, - 83, 93, 3, 2, 2, 2, 84, 85, 7, 5, 2, 2, 85, 86, 5, 6, 4, 2, 86, 87, 7, - 6, 2, 2, 87, 93, 3, 2, 2, 2, 88, 89, 5, 8, 5, 2, 89, 90, 5, 6, 4, 2, 90, - 93, 3, 2, 2, 2, 91, 93, 5, 8, 5, 2, 92, 77, 3, 2, 2, 2, 92, 79, 3, 2, 2, - 2, 92, 84, 3, 2, 2, 2, 92, 88, 3, 2, 2, 2, 92, 91, 3, 2, 2, 2, 93, 7, 3, - 2, 2, 2, 94, 113, 5, 12, 7, 2, 95, 113, 5, 14, 8, 2, 96, 113, 5, 10, 6, - 2, 97, 113, 5, 16, 9, 2, 98, 113, 5, 18, 10, 2, 99, 113, 5, 24, 13, 2, - 100, 113, 5, 26, 14, 2, 101, 113, 5, 20, 11, 2, 102, 113, 5, 22, 12, 2, - 103, 113, 5, 28, 15, 2, 104, 113, 5, 30, 16, 2, 105, 113, 5, 32, 17, 2, - 106, 113, 5, 34, 18, 2, 107, 113, 5, 36, 19, 2, 108, 113, 5, 38, 20, 2, - 109, 113, 5, 40, 21, 2, 110, 113, 5, 42, 22, 2, 111, 113, 5, 44, 23, 2, - 112, 94, 3, 2, 2, 2, 112, 95, 3, 2, 2, 2, 112, 96, 3, 2, 2, 2, 112, 97, - 3, 2, 2, 2, 112, 98, 3, 2, 2, 2, 112, 99, 3, 2, 2, 2, 112, 100, 3, 2, 2, - 2, 112, 101, 3, 2, 2, 2, 112, 102, 3, 2, 2, 2, 112, 103, 3, 2, 2, 2, 112, - 104, 3, 2, 2, 2, 112, 105, 3, 2, 2, 2, 112, 106, 3, 2, 2, 2, 112, 107, - 3, 2, 2, 2, 112, 108, 3, 2, 2, 2, 112, 109, 3, 2, 2, 2, 112, 110, 3, 2, - 2, 2, 112, 111, 3, 2, 2, 2, 113, 9, 3, 2, 2, 2, 114, 115, 7, 7, 2, 2, 115, - 116, 7, 24, 2, 2, 116, 11, 3, 2, 2, 2, 117, 118, 7, 8, 2, 2, 118, 119, - 5, 48, 25, 2, 119, 120, 7, 9, 2, 2, 120, 121, 7, 22, 2, 2, 121, 122, 7, - 10, 2, 2, 122, 126, 3, 2, 2, 2, 123, 124, 7, 8, 2, 2, 124, 126, 5, 48, - 25, 2, 125, 117, 3, 2, 2, 2, 125, 123, 3, 2, 2, 2, 126, 13, 3, 2, 2, 2, - 127, 128, 7, 11, 2, 2, 128, 129, 5, 48, 25, 2, 129, 130, 7, 9, 2, 2, 130, - 131, 7, 22, 2, 2, 131, 132, 7, 10, 2, 2, 132, 136, 3, 2, 2, 2, 133, 134, - 7, 11, 2, 2, 134, 136, 5, 48, 25, 2, 135, 127, 3, 2, 2, 2, 135, 133, 3, - 2, 2, 2, 136, 15, 3, 2, 2, 2, 137, 138, 7, 12, 2, 2, 138, 139, 7, 8, 2, - 2, 139, 140, 5, 48, 25, 2, 140, 141, 7, 9, 2, 2, 141, 142, 7, 22, 2, 2, - 142, 143, 7, 10, 2, 2, 143, 148, 3, 2, 2, 2, 144, 145, 7, 12, 2, 2, 145, - 146, 7, 8, 2, 2, 146, 148, 5, 48, 25, 2, 147, 137, 3, 2, 2, 2, 147, 144, - 3, 2, 2, 2, 148, 17, 3, 2, 2, 2, 149, 150, 7, 13, 2, 2, 150, 151, 7, 9, - 2, 2, 151, 152, 7, 22, 2, 2, 152, 153, 7, 14, 2, 2, 153, 154, 7, 10, 2, - 2, 154, 19, 3, 2, 2, 2, 155, 156, 7, 15, 2, 2, 156, 157, 5, 46, 24, 2, - 157, 21, 3, 2, 2, 2, 158, 159, 7, 12, 2, 2, 159, 160, 7, 15, 2, 2, 160, - 161, 5, 46, 24, 2, 161, 23, 3, 2, 2, 2, 162, 163, 7, 13, 2, 2, 163, 164, - 5, 46, 24, 2, 164, 25, 3, 2, 2, 2, 165, 166, 7, 12, 2, 2, 166, 167, 7, - 13, 2, 2, 167, 168, 5, 46, 24, 2, 168, 27, 3, 2, 2, 2, 169, 170, 7, 20, - 2, 2, 170, 171, 7, 5, 2, 2, 171, 172, 5, 58, 30, 2, 172, 173, 7, 6, 2, - 2, 173, 174, 5, 46, 24, 2, 174, 29, 3, 2, 2, 2, 175, 176, 7, 20, 2, 2, - 176, 177, 7, 9, 2, 2, 177, 178, 5, 58, 30, 2, 178, 179, 7, 10, 2, 2, 179, - 180, 5, 46, 24, 2, 180, 31, 3, 2, 2, 2, 181, 182, 7, 20, 2, 2, 182, 183, - 7, 5, 2, 2, 183, 184, 5, 58, 30, 2, 184, 185, 7, 6, 2, 2, 185, 186, 7, - 12, 2, 2, 186, 187, 5, 46, 24, 2, 187, 33, 3, 2, 2, 2, 188, 189, 7, 20, - 2, 2, 189, 190, 7, 9, 2, 2, 190, 191, 5, 58, 30, 2, 191, 192, 7, 10, 2, - 2, 192, 193, 7, 12, 2, 2, 193, 194, 5, 46, 24, 2, 194, 35, 3, 2, 2, 2, - 195, 196, 7, 20, 2, 2, 196, 197, 7, 5, 2, 2, 197, 198, 5, 58, 30, 2, 198, - 199, 7, 6, 2, 2, 199, 37, 3, 2, 2, 2, 200, 201, 7, 12, 2, 2, 201, 202, - 7, 20, 2, 2, 202, 203, 7, 5, 2, 2, 203, 204, 5, 6, 4, 2, 204, 205, 7, 6, - 2, 2, 205, 39, 3, 2, 2, 2, 206, 207, 7, 12, 2, 2, 207, 208, 7, 5, 2, 2, - 208, 209, 5, 6, 4, 2, 209, 210, 7, 6, 2, 2, 210, 41, 3, 2, 2, 2, 211, 212, - 7, 16, 2, 2, 212, 217, 7, 22, 2, 2, 213, 214, 7, 16, 2, 2, 214, 215, 7, - 19, 2, 2, 215, 217, 7, 22, 2, 2, 216, 211, 3, 2, 2, 2, 216, 213, 3, 2, - 2, 2, 217, 43, 3, 2, 2, 2, 218, 219, 7, 17, 2, 2, 219, 45, 3, 2, 2, 2, - 220, 221, 5, 48, 25, 2, 221, 222, 5, 50, 26, 2, 222, 236, 3, 2, 2, 2, 223, - 224, 5, 48, 25, 2, 224, 225, 5, 52, 27, 2, 225, 236, 3, 2, 2, 2, 226, 227, - 5, 48, 25, 2, 227, 228, 5, 56, 29, 2, 228, 236, 3, 2, 2, 2, 229, 230, 5, - 48, 25, 2, 230, 231, 5, 54, 28, 2, 231, 236, 3, 2, 2, 2, 232, 236, 5, 48, - 25, 2, 233, 234, 7, 18, 2, 2, 234, 236, 5, 46, 24, 2, 235, 220, 3, 2, 2, - 2, 235, 223, 3, 2, 2, 2, 235, 226, 3, 2, 2, 2, 235, 229, 3, 2, 2, 2, 235, - 232, 3, 2, 2, 2, 235, 233, 3, 2, 2, 2, 236, 47, 3, 2, 2, 2, 237, 238, 9, - 2, 2, 2, 238, 49, 3, 2, 2, 2, 239, 240, 7, 9, 2, 2, 240, 241, 7, 22, 2, - 2, 241, 242, 7, 14, 2, 2, 242, 243, 7, 22, 2, 2, 243, 244, 7, 10, 2, 2, - 244, 51, 3, 2, 2, 2, 245, 246, 7, 9, 2, 2, 246, 247, 7, 14, 2, 2, 247, - 248, 7, 22, 2, 2, 248, 249, 7, 10, 2, 2, 249, 53, 3, 2, 2, 2, 250, 251, - 7, 9, 2, 2, 251, 252, 7, 22, 2, 2, 252, 253, 7, 14, 2, 2, 253, 254, 7, - 10, 2, 2, 254, 55, 3, 2, 2, 2, 255, 256, 7, 9, 2, 2, 256, 257, 7, 22, 2, - 2, 257, 258, 7, 10, 2, 2, 258, 57, 3, 2, 2, 2, 259, 260, 9, 3, 2, 2, 260, - 59, 3, 2, 2, 2, 11, 63, 69, 92, 112, 125, 135, 147, 216, 235, + 29, 9, 29, 4, 30, 9, 30, 3, 2, 7, 2, 62, 10, 2, 12, 2, 14, 2, 65, 11, 2, + 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, + 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 89, 10, + 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, + 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 109, 10, 5, 3, 6, 3, 6, 3, + 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 122, 10, 7, 3, + 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 132, 10, 8, 3, 9, 3, + 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 144, 10, 9, 3, + 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, + 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, + 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, + 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, + 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, + 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, + 22, 3, 22, 3, 22, 3, 22, 5, 22, 213, 10, 22, 3, 23, 3, 23, 3, 24, 3, 24, + 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, + 24, 3, 24, 3, 24, 5, 24, 232, 10, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, + 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, + 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 2, 2, + 31, 2, 4, 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, 56, 58, 2, 4, 3, 2, 23, 24, 3, 2, 20, + 21, 2, 259, 2, 63, 3, 2, 2, 2, 4, 68, 3, 2, 2, 2, 6, 88, 3, 2, 2, 2, 8, + 108, 3, 2, 2, 2, 10, 110, 3, 2, 2, 2, 12, 121, 3, 2, 2, 2, 14, 131, 3, + 2, 2, 2, 16, 143, 3, 2, 2, 2, 18, 145, 3, 2, 2, 2, 20, 151, 3, 2, 2, 2, + 22, 154, 3, 2, 2, 2, 24, 158, 3, 2, 2, 2, 26, 161, 3, 2, 2, 2, 28, 165, + 3, 2, 2, 2, 30, 171, 3, 2, 2, 2, 32, 177, 3, 2, 2, 2, 34, 184, 3, 2, 2, + 2, 36, 191, 3, 2, 2, 2, 38, 196, 3, 2, 2, 2, 40, 202, 3, 2, 2, 2, 42, 212, + 3, 2, 2, 2, 44, 214, 3, 2, 2, 2, 46, 231, 3, 2, 2, 2, 48, 233, 3, 2, 2, + 2, 50, 235, 3, 2, 2, 2, 52, 241, 3, 2, 2, 2, 54, 246, 3, 2, 2, 2, 56, 251, + 3, 2, 2, 2, 58, 255, 3, 2, 2, 2, 60, 62, 5, 4, 3, 2, 61, 60, 3, 2, 2, 2, + 62, 65, 3, 2, 2, 2, 63, 61, 3, 2, 2, 2, 63, 64, 3, 2, 2, 2, 64, 66, 3, + 2, 2, 2, 65, 63, 3, 2, 2, 2, 66, 67, 7, 2, 2, 3, 67, 3, 3, 2, 2, 2, 68, + 69, 7, 20, 2, 2, 69, 70, 7, 3, 2, 2, 70, 71, 5, 6, 4, 2, 71, 72, 7, 4, + 2, 2, 72, 5, 3, 2, 2, 2, 73, 74, 7, 27, 2, 2, 74, 89, 5, 6, 4, 2, 75, 76, + 7, 5, 2, 2, 76, 77, 5, 6, 4, 2, 77, 78, 7, 6, 2, 2, 78, 79, 5, 6, 4, 2, + 79, 89, 3, 2, 2, 2, 80, 81, 7, 5, 2, 2, 81, 82, 5, 6, 4, 2, 82, 83, 7, + 6, 2, 2, 83, 89, 3, 2, 2, 2, 84, 85, 5, 8, 5, 2, 85, 86, 5, 6, 4, 2, 86, + 89, 3, 2, 2, 2, 87, 89, 5, 8, 5, 2, 88, 73, 3, 2, 2, 2, 88, 75, 3, 2, 2, + 2, 88, 80, 3, 2, 2, 2, 88, 84, 3, 2, 2, 2, 88, 87, 3, 2, 2, 2, 89, 7, 3, + 2, 2, 2, 90, 109, 5, 12, 7, 2, 91, 109, 5, 14, 8, 2, 92, 109, 5, 10, 6, + 2, 93, 109, 5, 16, 9, 2, 94, 109, 5, 18, 10, 2, 95, 109, 5, 24, 13, 2, + 96, 109, 5, 26, 14, 2, 97, 109, 5, 20, 11, 2, 98, 109, 5, 22, 12, 2, 99, + 109, 5, 28, 15, 2, 100, 109, 5, 30, 16, 2, 101, 109, 5, 32, 17, 2, 102, + 109, 5, 34, 18, 2, 103, 109, 5, 36, 19, 2, 104, 109, 5, 38, 20, 2, 105, + 109, 5, 40, 21, 2, 106, 109, 5, 42, 22, 2, 107, 109, 5, 44, 23, 2, 108, + 90, 3, 2, 2, 2, 108, 91, 3, 2, 2, 2, 108, 92, 3, 2, 2, 2, 108, 93, 3, 2, + 2, 2, 108, 94, 3, 2, 2, 2, 108, 95, 3, 2, 2, 2, 108, 96, 3, 2, 2, 2, 108, + 97, 3, 2, 2, 2, 108, 98, 3, 2, 2, 2, 108, 99, 3, 2, 2, 2, 108, 100, 3, + 2, 2, 2, 108, 101, 3, 2, 2, 2, 108, 102, 3, 2, 2, 2, 108, 103, 3, 2, 2, + 2, 108, 104, 3, 2, 2, 2, 108, 105, 3, 2, 2, 2, 108, 106, 3, 2, 2, 2, 108, + 107, 3, 2, 2, 2, 109, 9, 3, 2, 2, 2, 110, 111, 7, 7, 2, 2, 111, 112, 7, + 24, 2, 2, 112, 11, 3, 2, 2, 2, 113, 114, 7, 8, 2, 2, 114, 115, 5, 48, 25, + 2, 115, 116, 7, 9, 2, 2, 116, 117, 7, 22, 2, 2, 117, 118, 7, 10, 2, 2, + 118, 122, 3, 2, 2, 2, 119, 120, 7, 8, 2, 2, 120, 122, 5, 48, 25, 2, 121, + 113, 3, 2, 2, 2, 121, 119, 3, 2, 2, 2, 122, 13, 3, 2, 2, 2, 123, 124, 7, + 11, 2, 2, 124, 125, 5, 48, 25, 2, 125, 126, 7, 9, 2, 2, 126, 127, 7, 22, + 2, 2, 127, 128, 7, 10, 2, 2, 128, 132, 3, 2, 2, 2, 129, 130, 7, 11, 2, + 2, 130, 132, 5, 48, 25, 2, 131, 123, 3, 2, 2, 2, 131, 129, 3, 2, 2, 2, + 132, 15, 3, 2, 2, 2, 133, 134, 7, 12, 2, 2, 134, 135, 7, 8, 2, 2, 135, + 136, 5, 48, 25, 2, 136, 137, 7, 9, 2, 2, 137, 138, 7, 22, 2, 2, 138, 139, + 7, 10, 2, 2, 139, 144, 3, 2, 2, 2, 140, 141, 7, 12, 2, 2, 141, 142, 7, + 8, 2, 2, 142, 144, 5, 48, 25, 2, 143, 133, 3, 2, 2, 2, 143, 140, 3, 2, + 2, 2, 144, 17, 3, 2, 2, 2, 145, 146, 7, 13, 2, 2, 146, 147, 7, 9, 2, 2, + 147, 148, 7, 22, 2, 2, 148, 149, 7, 14, 2, 2, 149, 150, 7, 10, 2, 2, 150, + 19, 3, 2, 2, 2, 151, 152, 7, 15, 2, 2, 152, 153, 5, 46, 24, 2, 153, 21, + 3, 2, 2, 2, 154, 155, 7, 12, 2, 2, 155, 156, 7, 15, 2, 2, 156, 157, 5, + 46, 24, 2, 157, 23, 3, 2, 2, 2, 158, 159, 7, 13, 2, 2, 159, 160, 5, 46, + 24, 2, 160, 25, 3, 2, 2, 2, 161, 162, 7, 12, 2, 2, 162, 163, 7, 13, 2, + 2, 163, 164, 5, 46, 24, 2, 164, 27, 3, 2, 2, 2, 165, 166, 7, 20, 2, 2, + 166, 167, 7, 5, 2, 2, 167, 168, 5, 58, 30, 2, 168, 169, 7, 6, 2, 2, 169, + 170, 5, 46, 24, 2, 170, 29, 3, 2, 2, 2, 171, 172, 7, 20, 2, 2, 172, 173, + 7, 9, 2, 2, 173, 174, 5, 58, 30, 2, 174, 175, 7, 10, 2, 2, 175, 176, 5, + 46, 24, 2, 176, 31, 3, 2, 2, 2, 177, 178, 7, 20, 2, 2, 178, 179, 7, 5, + 2, 2, 179, 180, 5, 58, 30, 2, 180, 181, 7, 6, 2, 2, 181, 182, 7, 12, 2, + 2, 182, 183, 5, 46, 24, 2, 183, 33, 3, 2, 2, 2, 184, 185, 7, 20, 2, 2, + 185, 186, 7, 9, 2, 2, 186, 187, 5, 58, 30, 2, 187, 188, 7, 10, 2, 2, 188, + 189, 7, 12, 2, 2, 189, 190, 5, 46, 24, 2, 190, 35, 3, 2, 2, 2, 191, 192, + 7, 20, 2, 2, 192, 193, 7, 5, 2, 2, 193, 194, 5, 58, 30, 2, 194, 195, 7, + 6, 2, 2, 195, 37, 3, 2, 2, 2, 196, 197, 7, 12, 2, 2, 197, 198, 7, 20, 2, + 2, 198, 199, 7, 5, 2, 2, 199, 200, 5, 6, 4, 2, 200, 201, 7, 6, 2, 2, 201, + 39, 3, 2, 2, 2, 202, 203, 7, 12, 2, 2, 203, 204, 7, 5, 2, 2, 204, 205, + 5, 6, 4, 2, 205, 206, 7, 6, 2, 2, 206, 41, 3, 2, 2, 2, 207, 208, 7, 16, + 2, 2, 208, 213, 7, 22, 2, 2, 209, 210, 7, 16, 2, 2, 210, 211, 7, 19, 2, + 2, 211, 213, 7, 22, 2, 2, 212, 207, 3, 2, 2, 2, 212, 209, 3, 2, 2, 2, 213, + 43, 3, 2, 2, 2, 214, 215, 7, 17, 2, 2, 215, 45, 3, 2, 2, 2, 216, 217, 5, + 48, 25, 2, 217, 218, 5, 50, 26, 2, 218, 232, 3, 2, 2, 2, 219, 220, 5, 48, + 25, 2, 220, 221, 5, 52, 27, 2, 221, 232, 3, 2, 2, 2, 222, 223, 5, 48, 25, + 2, 223, 224, 5, 56, 29, 2, 224, 232, 3, 2, 2, 2, 225, 226, 5, 48, 25, 2, + 226, 227, 5, 54, 28, 2, 227, 232, 3, 2, 2, 2, 228, 232, 5, 48, 25, 2, 229, + 230, 7, 18, 2, 2, 230, 232, 5, 46, 24, 2, 231, 216, 3, 2, 2, 2, 231, 219, + 3, 2, 2, 2, 231, 222, 3, 2, 2, 2, 231, 225, 3, 2, 2, 2, 231, 228, 3, 2, + 2, 2, 231, 229, 3, 2, 2, 2, 232, 47, 3, 2, 2, 2, 233, 234, 9, 2, 2, 2, + 234, 49, 3, 2, 2, 2, 235, 236, 7, 9, 2, 2, 236, 237, 7, 22, 2, 2, 237, + 238, 7, 14, 2, 2, 238, 239, 7, 22, 2, 2, 239, 240, 7, 10, 2, 2, 240, 51, + 3, 2, 2, 2, 241, 242, 7, 9, 2, 2, 242, 243, 7, 14, 2, 2, 243, 244, 7, 22, + 2, 2, 244, 245, 7, 10, 2, 2, 245, 53, 3, 2, 2, 2, 246, 247, 7, 9, 2, 2, + 247, 248, 7, 22, 2, 2, 248, 249, 7, 14, 2, 2, 249, 250, 7, 10, 2, 2, 250, + 55, 3, 2, 2, 2, 251, 252, 7, 9, 2, 2, 252, 253, 7, 22, 2, 2, 253, 254, + 7, 10, 2, 2, 254, 57, 3, 2, 2, 2, 255, 256, 9, 3, 2, 2, 256, 59, 3, 2, + 2, 2, 10, 63, 88, 108, 121, 131, 143, 212, 231, } var deserializer = antlr.NewATNDeserializer(nil) var deserializedATN = deserializer.DeserializeFromUInt16(parserATN) @@ -274,28 +272,31 @@ func NewRulesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invoki func (s *RulesContext) GetParser() antlr.Parser { return s.parser } -func (s *RulesContext) AtomicRule() IAtomicRuleContext { - var t = s.GetTypedRuleContext(reflect.TypeOf((*IAtomicRuleContext)(nil)).Elem(), 0) +func (s *RulesContext) EOF() antlr.TerminalNode { + return s.GetToken(LDEParserEOF, 0) +} - if t == nil { - return nil - } +func (s *RulesContext) AllAtomicRule() []IAtomicRuleContext { + var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IAtomicRuleContext)(nil)).Elem()) + var tst = make([]IAtomicRuleContext, len(ts)) - return t.(IAtomicRuleContext) -} + for i, t := range ts { + if t != nil { + tst[i] = t.(IAtomicRuleContext) + } + } -func (s *RulesContext) EOF() antlr.TerminalNode { - return s.GetToken(LDEParserEOF, 0) + return tst } -func (s *RulesContext) Rules() IRulesContext { - var t = s.GetTypedRuleContext(reflect.TypeOf((*IRulesContext)(nil)).Elem(), 0) +func (s *RulesContext) AtomicRule(i int) IAtomicRuleContext { + var t = s.GetTypedRuleContext(reflect.TypeOf((*IAtomicRuleContext)(nil)).Elem(), i) if t == nil { return nil } - return t.(IRulesContext) + return t.(IAtomicRuleContext) } func (s *RulesContext) GetRuleContext() antlr.RuleContext { @@ -319,20 +320,12 @@ func (s *RulesContext) ExitRule(listener antlr.ParseTreeListener) { } func (p *LDEParser) Rules() (localctx IRulesContext) { - return p.rules(0) -} - -func (p *LDEParser) rules(_p int) (localctx IRulesContext) { - var _parentctx antlr.ParserRuleContext = p.GetParserRuleContext() - _parentState := p.GetState() - localctx = NewRulesContext(p, p.GetParserRuleContext(), _parentState) - var _prevctx IRulesContext = localctx - var _ antlr.ParserRuleContext = _prevctx // TODO: To prevent unused variable warning. - _startState := 0 - p.EnterRecursionRule(localctx, 0, LDEParserRULE_rules, _p) + localctx = NewRulesContext(p, p.GetParserRuleContext(), p.GetState()) + p.EnterRule(localctx, 0, LDEParserRULE_rules) + var _la int defer func() { - p.UnrollRecursionContexts(_parentctx) + p.ExitRule() }() defer func() { @@ -347,55 +340,24 @@ func (p *LDEParser) rules(_p int) (localctx IRulesContext) { } }() - var _alt int - p.EnterOuterAlt(localctx, 1) p.SetState(61) p.GetErrorHandler().Sync(p) + _la = p.GetTokenStream().LA(1) - switch p.GetTokenStream().LA(1) { - case LDEParserIdentifier: + for _la == LDEParserIdentifier { { - p.SetState(59) + p.SetState(58) p.AtomicRule() } - case LDEParserEOF: - { - p.SetState(60) - p.Match(LDEParserEOF) - } - - default: - panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil)) - } - p.GetParserRuleContext().SetStop(p.GetTokenStream().LT(-1)) - p.SetState(67) - p.GetErrorHandler().Sync(p) - _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 1, p.GetParserRuleContext()) - - for _alt != 2 && _alt != antlr.ATNInvalidAltNumber { - if _alt == 1 { - if p.GetParseListeners() != nil { - p.TriggerExitRuleEvent() - } - _prevctx = localctx - localctx = NewRulesContext(p, _parentctx, _parentState) - p.PushNewRecursionContext(localctx, _startState, LDEParserRULE_rules) - p.SetState(63) - - if !(p.Precpred(p.GetParserRuleContext(), 3)) { - panic(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 3)", "")) - } - { - p.SetState(64) - p.AtomicRule() - } - - } - p.SetState(69) + p.SetState(63) p.GetErrorHandler().Sync(p) - _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 1, p.GetParserRuleContext()) + _la = p.GetTokenStream().LA(1) + } + { + p.SetState(64) + p.Match(LDEParserEOF) } return localctx @@ -495,19 +457,19 @@ func (p *LDEParser) AtomicRule() (localctx IAtomicRuleContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(70) + p.SetState(66) p.Match(LDEParserIdentifier) } { - p.SetState(71) + p.SetState(67) p.Match(LDEParserT__0) } { - p.SetState(72) + p.SetState(68) p.BaseAction() } { - p.SetState(73) + p.SetState(69) p.Match(LDEParserT__1) } @@ -629,69 +591,69 @@ func (p *LDEParser) BaseAction() (localctx IBaseActionContext) { } }() - p.SetState(90) + p.SetState(86) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 2, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 1, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(75) + p.SetState(71) p.Match(LDEParserStress) } { - p.SetState(76) + p.SetState(72) p.BaseAction() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(77) + p.SetState(73) p.Match(LDEParserT__2) } { - p.SetState(78) + p.SetState(74) p.BaseAction() } { - p.SetState(79) + p.SetState(75) p.Match(LDEParserT__3) } { - p.SetState(80) + p.SetState(76) p.BaseAction() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(82) + p.SetState(78) p.Match(LDEParserT__2) } { - p.SetState(83) + p.SetState(79) p.BaseAction() } { - p.SetState(84) + p.SetState(80) p.Match(LDEParserT__3) } case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(86) + p.SetState(82) p.AtomicAction() } { - p.SetState(87) + p.SetState(83) p.BaseAction() } case 5: p.EnterOuterAlt(localctx, 5) { - p.SetState(89) + p.SetState(85) p.AtomicAction() } @@ -958,132 +920,132 @@ func (p *LDEParser) AtomicAction() (localctx IAtomicActionContext) { } }() - p.SetState(110) + p.SetState(106) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 3, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 2, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(92) + p.SetState(88) p.PassTargetPrefix() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(93) + p.SetState(89) p.CheckTargetPrefix() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(94) + p.SetState(90) p.PassHeadingCharacters() } case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(95) + p.SetState(91) p.MayBePassTargetPrefix() } case 5: p.EnterOuterAlt(localctx, 5) { - p.SetState(96) + p.SetState(92) p.PassChars() } case 6: p.EnterOuterAlt(localctx, 6) { - p.SetState(97) + p.SetState(93) p.PassUntil() } case 7: p.EnterOuterAlt(localctx, 7) { - p.SetState(98) + p.SetState(94) p.MayPassUntil() } case 8: p.EnterOuterAlt(localctx, 8) { - p.SetState(99) + p.SetState(95) p.GoUntil() } case 9: p.EnterOuterAlt(localctx, 9) { - p.SetState(100) + p.SetState(96) p.MayGoUntil() } case 10: p.EnterOuterAlt(localctx, 10) { - p.SetState(101) + p.SetState(97) p.TakeUntil() } case 11: p.EnterOuterAlt(localctx, 11) { - p.SetState(102) + p.SetState(98) p.TakeUntilIncluding() } case 12: p.EnterOuterAlt(localctx, 12) { - p.SetState(103) + p.SetState(99) p.TakeUntilOrRest() } case 13: p.EnterOuterAlt(localctx, 13) { - p.SetState(104) + p.SetState(100) p.TakeUntilIncludingOrRest() } case 14: p.EnterOuterAlt(localctx, 14) { - p.SetState(105) + p.SetState(101) p.TakeUntilRest() } case 15: p.EnterOuterAlt(localctx, 15) { - p.SetState(106) + p.SetState(102) p.OptionalNamedArea() } case 16: p.EnterOuterAlt(localctx, 16) { - p.SetState(107) + p.SetState(103) p.OptionalArea() } case 17: p.EnterOuterAlt(localctx, 17) { - p.SetState(108) + p.SetState(104) p.RestCheck() } case 18: p.EnterOuterAlt(localctx, 18) { - p.SetState(109) + p.SetState(105) p.AtEnd() } @@ -1176,11 +1138,11 @@ func (p *LDEParser) PassHeadingCharacters() (localctx IPassHeadingCharactersCont p.EnterOuterAlt(localctx, 1) { - p.SetState(112) + p.SetState(108) p.Match(LDEParserT__4) } { - p.SetState(113) + p.SetState(109) p.Match(LDEParserCharLit) } @@ -1279,40 +1241,40 @@ func (p *LDEParser) PassTargetPrefix() (localctx IPassTargetPrefixContext) { } }() - p.SetState(123) + p.SetState(119) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 4, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 3, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(115) + p.SetState(111) p.Match(LDEParserT__5) } { - p.SetState(116) + p.SetState(112) p.TargetLit() } { - p.SetState(117) + p.SetState(113) p.Match(LDEParserT__6) } { - p.SetState(118) + p.SetState(114) p.Match(LDEParserIntLit) } { - p.SetState(119) + p.SetState(115) p.Match(LDEParserT__7) } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(121) + p.SetState(117) p.Match(LDEParserT__5) } { - p.SetState(122) + p.SetState(118) p.TargetLit() } @@ -1413,40 +1375,40 @@ func (p *LDEParser) CheckTargetPrefix() (localctx ICheckTargetPrefixContext) { } }() - p.SetState(133) + p.SetState(129) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 5, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 4, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(125) + p.SetState(121) p.Match(LDEParserT__8) } { - p.SetState(126) + p.SetState(122) p.TargetLit() } { - p.SetState(127) + p.SetState(123) p.Match(LDEParserT__6) } { - p.SetState(128) + p.SetState(124) p.Match(LDEParserIntLit) } { - p.SetState(129) + p.SetState(125) p.Match(LDEParserT__7) } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(131) + p.SetState(127) p.Match(LDEParserT__8) } { - p.SetState(132) + p.SetState(128) p.TargetLit() } @@ -1547,48 +1509,48 @@ func (p *LDEParser) MayBePassTargetPrefix() (localctx IMayBePassTargetPrefixCont } }() - p.SetState(145) + p.SetState(141) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 6, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 5, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(135) + p.SetState(131) p.Match(LDEParserT__9) } { - p.SetState(136) + p.SetState(132) p.Match(LDEParserT__5) } { - p.SetState(137) + p.SetState(133) p.TargetLit() } { - p.SetState(138) + p.SetState(134) p.Match(LDEParserT__6) } { - p.SetState(139) + p.SetState(135) p.Match(LDEParserIntLit) } { - p.SetState(140) + p.SetState(136) p.Match(LDEParserT__7) } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(142) + p.SetState(138) p.Match(LDEParserT__9) } { - p.SetState(143) + p.SetState(139) p.Match(LDEParserT__5) } { - p.SetState(144) + p.SetState(140) p.TargetLit() } @@ -1681,23 +1643,23 @@ func (p *LDEParser) PassChars() (localctx IPassCharsContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(147) + p.SetState(143) p.Match(LDEParserT__10) } { - p.SetState(148) + p.SetState(144) p.Match(LDEParserT__6) } { - p.SetState(149) + p.SetState(145) p.Match(LDEParserIntLit) } { - p.SetState(150) + p.SetState(146) p.Match(LDEParserT__11) } { - p.SetState(151) + p.SetState(147) p.Match(LDEParserT__7) } @@ -1794,11 +1756,11 @@ func (p *LDEParser) GoUntil() (localctx IGoUntilContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(153) + p.SetState(149) p.Match(LDEParserT__12) } { - p.SetState(154) + p.SetState(150) p.Target() } @@ -1895,15 +1857,15 @@ func (p *LDEParser) MayGoUntil() (localctx IMayGoUntilContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(156) + p.SetState(152) p.Match(LDEParserT__9) } { - p.SetState(157) + p.SetState(153) p.Match(LDEParserT__12) } { - p.SetState(158) + p.SetState(154) p.Target() } @@ -2000,11 +1962,11 @@ func (p *LDEParser) PassUntil() (localctx IPassUntilContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(160) + p.SetState(156) p.Match(LDEParserT__10) } { - p.SetState(161) + p.SetState(157) p.Target() } @@ -2101,15 +2063,15 @@ func (p *LDEParser) MayPassUntil() (localctx IMayPassUntilContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(163) + p.SetState(159) p.Match(LDEParserT__9) } { - p.SetState(164) + p.SetState(160) p.Match(LDEParserT__10) } { - p.SetState(165) + p.SetState(161) p.Target() } @@ -2220,23 +2182,23 @@ func (p *LDEParser) TakeUntil() (localctx ITakeUntilContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(167) + p.SetState(163) p.Match(LDEParserIdentifier) } { - p.SetState(168) + p.SetState(164) p.Match(LDEParserT__2) } { - p.SetState(169) + p.SetState(165) p.FieldType() } { - p.SetState(170) + p.SetState(166) p.Match(LDEParserT__3) } { - p.SetState(171) + p.SetState(167) p.Target() } @@ -2347,23 +2309,23 @@ func (p *LDEParser) TakeUntilIncluding() (localctx ITakeUntilIncludingContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(173) + p.SetState(169) p.Match(LDEParserIdentifier) } { - p.SetState(174) + p.SetState(170) p.Match(LDEParserT__6) } { - p.SetState(175) + p.SetState(171) p.FieldType() } { - p.SetState(176) + p.SetState(172) p.Match(LDEParserT__7) } { - p.SetState(177) + p.SetState(173) p.Target() } @@ -2474,27 +2436,27 @@ func (p *LDEParser) TakeUntilOrRest() (localctx ITakeUntilOrRestContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(179) + p.SetState(175) p.Match(LDEParserIdentifier) } { - p.SetState(180) + p.SetState(176) p.Match(LDEParserT__2) } { - p.SetState(181) + p.SetState(177) p.FieldType() } { - p.SetState(182) + p.SetState(178) p.Match(LDEParserT__3) } { - p.SetState(183) + p.SetState(179) p.Match(LDEParserT__9) } { - p.SetState(184) + p.SetState(180) p.Target() } @@ -2605,27 +2567,27 @@ func (p *LDEParser) TakeUntilIncludingOrRest() (localctx ITakeUntilIncludingOrRe p.EnterOuterAlt(localctx, 1) { - p.SetState(186) + p.SetState(182) p.Match(LDEParserIdentifier) } { - p.SetState(187) + p.SetState(183) p.Match(LDEParserT__6) } { - p.SetState(188) + p.SetState(184) p.FieldType() } { - p.SetState(189) + p.SetState(185) p.Match(LDEParserT__7) } { - p.SetState(190) + p.SetState(186) p.Match(LDEParserT__9) } { - p.SetState(191) + p.SetState(187) p.Target() } @@ -2726,19 +2688,19 @@ func (p *LDEParser) TakeUntilRest() (localctx ITakeUntilRestContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(193) + p.SetState(189) p.Match(LDEParserIdentifier) } { - p.SetState(194) + p.SetState(190) p.Match(LDEParserT__2) } { - p.SetState(195) + p.SetState(191) p.FieldType() } { - p.SetState(196) + p.SetState(192) p.Match(LDEParserT__3) } @@ -2839,23 +2801,23 @@ func (p *LDEParser) OptionalNamedArea() (localctx IOptionalNamedAreaContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(198) + p.SetState(194) p.Match(LDEParserT__9) } { - p.SetState(199) + p.SetState(195) p.Match(LDEParserIdentifier) } { - p.SetState(200) + p.SetState(196) p.Match(LDEParserT__2) } { - p.SetState(201) + p.SetState(197) p.BaseAction() } { - p.SetState(202) + p.SetState(198) p.Match(LDEParserT__3) } @@ -2952,19 +2914,19 @@ func (p *LDEParser) OptionalArea() (localctx IOptionalAreaContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(204) + p.SetState(200) p.Match(LDEParserT__9) } { - p.SetState(205) + p.SetState(201) p.Match(LDEParserT__2) } { - p.SetState(206) + p.SetState(202) p.BaseAction() } { - p.SetState(207) + p.SetState(203) p.Match(LDEParserT__3) } @@ -3057,32 +3019,32 @@ func (p *LDEParser) RestCheck() (localctx IRestCheckContext) { } }() - p.SetState(214) + p.SetState(210) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 7, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 6, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(209) + p.SetState(205) p.Match(LDEParserT__13) } { - p.SetState(210) + p.SetState(206) p.Match(LDEParserIntLit) } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(211) + p.SetState(207) p.Match(LDEParserT__13) } { - p.SetState(212) + p.SetState(208) p.Match(LDEParserComparisonOperator) } { - p.SetState(213) + p.SetState(209) p.Match(LDEParserIntLit) } @@ -3170,7 +3132,7 @@ func (p *LDEParser) AtEnd() (localctx IAtEndContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(216) + p.SetState(212) p.Match(LDEParserT__14) } @@ -3315,68 +3277,68 @@ func (p *LDEParser) Target() (localctx ITargetContext) { } }() - p.SetState(233) + p.SetState(229) p.GetErrorHandler().Sync(p) - switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 8, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 7, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(218) + p.SetState(214) p.TargetLit() } { - p.SetState(219) + p.SetState(215) p.Bound() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(221) + p.SetState(217) p.TargetLit() } { - p.SetState(222) + p.SetState(218) p.Limit() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(224) + p.SetState(220) p.TargetLit() } { - p.SetState(225) + p.SetState(221) p.Exact() } case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(227) + p.SetState(223) p.TargetLit() } { - p.SetState(228) + p.SetState(224) p.Jump() } case 5: p.EnterOuterAlt(localctx, 5) { - p.SetState(230) + p.SetState(226) p.TargetLit() } case 6: p.EnterOuterAlt(localctx, 6) { - p.SetState(231) + p.SetState(227) p.Match(LDEParserT__15) } { - p.SetState(232) + p.SetState(228) p.Target() } @@ -3474,7 +3436,7 @@ func (p *LDEParser) TargetLit() (localctx ITargetLitContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(235) + p.SetState(231) _la = p.GetTokenStream().LA(1) if !(_la == LDEParserStringLit || _la == LDEParserCharLit) { @@ -3576,23 +3538,23 @@ func (p *LDEParser) Bound() (localctx IBoundContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(237) + p.SetState(233) p.Match(LDEParserT__6) } { - p.SetState(238) + p.SetState(234) p.Match(LDEParserIntLit) } { - p.SetState(239) + p.SetState(235) p.Match(LDEParserT__11) } { - p.SetState(240) + p.SetState(236) p.Match(LDEParserIntLit) } { - p.SetState(241) + p.SetState(237) p.Match(LDEParserT__7) } @@ -3683,19 +3645,19 @@ func (p *LDEParser) Limit() (localctx ILimitContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(243) + p.SetState(239) p.Match(LDEParserT__6) } { - p.SetState(244) + p.SetState(240) p.Match(LDEParserT__11) } { - p.SetState(245) + p.SetState(241) p.Match(LDEParserIntLit) } { - p.SetState(246) + p.SetState(242) p.Match(LDEParserT__7) } @@ -3786,19 +3748,19 @@ func (p *LDEParser) Jump() (localctx IJumpContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(248) + p.SetState(244) p.Match(LDEParserT__6) } { - p.SetState(249) + p.SetState(245) p.Match(LDEParserIntLit) } { - p.SetState(250) + p.SetState(246) p.Match(LDEParserT__11) } { - p.SetState(251) + p.SetState(247) p.Match(LDEParserT__7) } @@ -3889,15 +3851,15 @@ func (p *LDEParser) Exact() (localctx IExactContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(253) + p.SetState(249) p.Match(LDEParserT__6) } { - p.SetState(254) + p.SetState(250) p.Match(LDEParserIntLit) } { - p.SetState(255) + p.SetState(251) p.Match(LDEParserT__7) } @@ -3993,7 +3955,7 @@ func (p *LDEParser) FieldType() (localctx IFieldTypeContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(257) + p.SetState(253) _la = p.GetTokenStream().LA(1) if !(_la == LDEParserIdentifier || _la == LDEParserIdentifierWithFraction) { @@ -4006,27 +3968,3 @@ func (p *LDEParser) FieldType() (localctx IFieldTypeContext) { return localctx } - -func (p *LDEParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool { - switch ruleIndex { - case 0: - var t *RulesContext = nil - if localctx != nil { - t = localctx.(*RulesContext) - } - return p.Rules_Sempred(t, predIndex) - - default: - panic("No predicate with index: " + fmt.Sprint(ruleIndex)) - } -} - -func (p *LDEParser) Rules_Sempred(localctx antlr.RuleContext, predIndex int) bool { - switch predIndex { - case 0: - return p.Precpred(p.GetParserRuleContext(), 3) - - default: - panic("No predicate with index: " + fmt.Sprint(predIndex)) - } -}