org.chocosolver.parser.flatzinc.Flatzinc4Lexer.interp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of choco-parsers Show documentation
Show all versions of choco-parsers Show documentation
Provide parsers from FlatZinc, XCSP3 and MSP to Choco-solver.
token literal names:
null
'bool'
'true'
'false'
'int'
'float'
'set'
'of'
'array'
'var'
'par'
'predicate'
'constraint'
'solve'
'satisfy'
'minimize'
'maximize'
'..'
'.'
'{'
'}'
','
'['
']'
'='
'+'
'-'
';'
':'
'::'
'('
')'
null
null
null
null
null
null
null
token symbolic names:
null
BOOL
TRUE
FALSE
INT
FLOAT
SET
OF
ARRAY
VAR
PAR
PREDICATE
CONSTRAINT
SOLVE
SATISFY
MINIMIZE
MAXIMIZE
DD
DO
LB
RB
CM
LS
RS
EQ
PL
MN
SC
CL
DC
LP
RP
IDENTIFIER
COMMENT
WS
INT_CONST
FLOAT_CONST
STRING
CHAR
rule names:
BOOL
TRUE
FALSE
INT
FLOAT
SET
OF
ARRAY
VAR
PAR
PREDICATE
CONSTRAINT
SOLVE
SATISFY
MINIMIZE
MAXIMIZE
DD
DO
LB
RB
CM
LS
RS
EQ
PL
MN
SC
CL
DC
LP
RP
IDENTIFIER
COMMENT
WS
INT_CONST
FLOAT_CONST
STRING
CHAR
EXPONENT
ESC_SEQ
OCTAL_ESC
HEX_DIGIT
UNICODE_ESC
channel names:
DEFAULT_TOKEN_CHANNEL
HIDDEN
mode names:
DEFAULT_MODE
atn:
[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 40, 334, 8, 1, 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, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 3, 2, 3, 2, 3, 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, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 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, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 3, 21, 3, 21, 3, 22, 3, 22, 3, 23, 3, 23, 3, 24, 3, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 27, 3, 27, 3, 28, 3, 28, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 32, 3, 32, 3, 33, 3, 33, 7, 33, 224, 10, 33, 12, 33, 14, 33, 227, 11, 33, 3, 34, 3, 34, 7, 34, 231, 10, 34, 12, 34, 14, 34, 234, 11, 34, 3, 34, 5, 34, 237, 10, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 36, 5, 36, 248, 10, 36, 3, 36, 6, 36, 251, 10, 36, 13, 36, 14, 36, 252, 3, 37, 5, 37, 256, 10, 37, 3, 37, 6, 37, 259, 10, 37, 13, 37, 14, 37, 260, 3, 37, 3, 37, 6, 37, 265, 10, 37, 13, 37, 14, 37, 266, 3, 37, 5, 37, 270, 10, 37, 3, 37, 5, 37, 273, 10, 37, 3, 37, 6, 37, 276, 10, 37, 13, 37, 14, 37, 277, 3, 37, 5, 37, 281, 10, 37, 3, 38, 3, 38, 3, 38, 7, 38, 286, 10, 38, 12, 38, 14, 38, 289, 11, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 5, 39, 296, 10, 39, 3, 39, 3, 39, 3, 40, 3, 40, 5, 40, 302, 10, 40, 3, 40, 6, 40, 305, 10, 40, 13, 40, 14, 40, 306, 3, 41, 3, 41, 3, 41, 3, 41, 5, 41, 313, 10, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 5, 42, 324, 10, 42, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 2, 2, 45, 3, 3, 5, 4, 7, 5, 9, 6, 11, 7, 13, 8, 15, 9, 17, 10, 19, 11, 21, 12, 23, 13, 25, 14, 27, 15, 29, 16, 31, 17, 33, 18, 35, 19, 37, 20, 39, 21, 41, 22, 43, 23, 45, 24, 47, 25, 49, 26, 51, 27, 53, 28, 55, 29, 57, 30, 59, 31, 61, 32, 63, 33, 65, 34, 67, 35, 69, 36, 71, 37, 73, 38, 75, 39, 77, 40, 79, 2, 81, 2, 83, 2, 85, 2, 87, 2, 3, 2, 12, 5, 2, 67, 92, 97, 97, 99, 124, 6, 2, 50, 59, 67, 92, 97, 97, 99, 124, 4, 2, 12, 12, 15, 15, 5, 2, 11, 12, 15, 15, 34, 34, 4, 2, 36, 36, 94, 94, 4, 2, 41, 41, 94, 94, 4, 2, 71, 71, 103, 103, 4, 2, 45, 45, 47, 47, 10, 2, 36, 36, 41, 41, 94, 94, 100, 100, 104, 104, 112, 112, 116, 116, 118, 118, 5, 2, 50, 59, 67, 72, 99, 104, 2, 349, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2, 2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3, 2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 29, 3, 2, 2, 2, 2, 31, 3, 2, 2, 2, 2, 33, 3, 2, 2, 2, 2, 35, 3, 2, 2, 2, 2, 37, 3, 2, 2, 2, 2, 39, 3, 2, 2, 2, 2, 41, 3, 2, 2, 2, 2, 43, 3, 2, 2, 2, 2, 45, 3, 2, 2, 2, 2, 47, 3, 2, 2, 2, 2, 49, 3, 2, 2, 2, 2, 51, 3, 2, 2, 2, 2, 53, 3, 2, 2, 2, 2, 55, 3, 2, 2, 2, 2, 57, 3, 2, 2, 2, 2, 59, 3, 2, 2, 2, 2, 61, 3, 2, 2, 2, 2, 63, 3, 2, 2, 2, 2, 65, 3, 2, 2, 2, 2, 67, 3, 2, 2, 2, 2, 69, 3, 2, 2, 2, 2, 71, 3, 2, 2, 2, 2, 73, 3, 2, 2, 2, 2, 75, 3, 2, 2, 2, 2, 77, 3, 2, 2, 2, 3, 89, 3, 2, 2, 2, 5, 94, 3, 2, 2, 2, 7, 99, 3, 2, 2, 2, 9, 105, 3, 2, 2, 2, 11, 109, 3, 2, 2, 2, 13, 115, 3, 2, 2, 2, 15, 119, 3, 2, 2, 2, 17, 122, 3, 2, 2, 2, 19, 128, 3, 2, 2, 2, 21, 132, 3, 2, 2, 2, 23, 136, 3, 2, 2, 2, 25, 146, 3, 2, 2, 2, 27, 157, 3, 2, 2, 2, 29, 163, 3, 2, 2, 2, 31, 171, 3, 2, 2, 2, 33, 180, 3, 2, 2, 2, 35, 189, 3, 2, 2, 2, 37, 192, 3, 2, 2, 2, 39, 194, 3, 2, 2, 2, 41, 196, 3, 2, 2, 2, 43, 198, 3, 2, 2, 2, 45, 200, 3, 2, 2, 2, 47, 202, 3, 2, 2, 2, 49, 204, 3, 2, 2, 2, 51, 206, 3, 2, 2, 2, 53, 208, 3, 2, 2, 2, 55, 210, 3, 2, 2, 2, 57, 212, 3, 2, 2, 2, 59, 214, 3, 2, 2, 2, 61, 217, 3, 2, 2, 2, 63, 219, 3, 2, 2, 2, 65, 221, 3, 2, 2, 2, 67, 228, 3, 2, 2, 2, 69, 242, 3, 2, 2, 2, 71, 247, 3, 2, 2, 2, 73, 280, 3, 2, 2, 2, 75, 282, 3, 2, 2, 2, 77, 292, 3, 2, 2, 2, 79, 299, 3, 2, 2, 2, 81, 312, 3, 2, 2, 2, 83, 323, 3, 2, 2, 2, 85, 325, 3, 2, 2, 2, 87, 327, 3, 2, 2, 2, 89, 90, 7, 100, 2, 2, 90, 91, 7, 113, 2, 2, 91, 92, 7, 113, 2, 2, 92, 93, 7, 110, 2, 2, 93, 4, 3, 2, 2, 2, 94, 95, 7, 118, 2, 2, 95, 96, 7, 116, 2, 2, 96, 97, 7, 119, 2, 2, 97, 98, 7, 103, 2, 2, 98, 6, 3, 2, 2, 2, 99, 100, 7, 104, 2, 2, 100, 101, 7, 99, 2, 2, 101, 102, 7, 110, 2, 2, 102, 103, 7, 117, 2, 2, 103, 104, 7, 103, 2, 2, 104, 8, 3, 2, 2, 2, 105, 106, 7, 107, 2, 2, 106, 107, 7, 112, 2, 2, 107, 108, 7, 118, 2, 2, 108, 10, 3, 2, 2, 2, 109, 110, 7, 104, 2, 2, 110, 111, 7, 110, 2, 2, 111, 112, 7, 113, 2, 2, 112, 113, 7, 99, 2, 2, 113, 114, 7, 118, 2, 2, 114, 12, 3, 2, 2, 2, 115, 116, 7, 117, 2, 2, 116, 117, 7, 103, 2, 2, 117, 118, 7, 118, 2, 2, 118, 14, 3, 2, 2, 2, 119, 120, 7, 113, 2, 2, 120, 121, 7, 104, 2, 2, 121, 16, 3, 2, 2, 2, 122, 123, 7, 99, 2, 2, 123, 124, 7, 116, 2, 2, 124, 125, 7, 116, 2, 2, 125, 126, 7, 99, 2, 2, 126, 127, 7, 123, 2, 2, 127, 18, 3, 2, 2, 2, 128, 129, 7, 120, 2, 2, 129, 130, 7, 99, 2, 2, 130, 131, 7, 116, 2, 2, 131, 20, 3, 2, 2, 2, 132, 133, 7, 114, 2, 2, 133, 134, 7, 99, 2, 2, 134, 135, 7, 116, 2, 2, 135, 22, 3, 2, 2, 2, 136, 137, 7, 114, 2, 2, 137, 138, 7, 116, 2, 2, 138, 139, 7, 103, 2, 2, 139, 140, 7, 102, 2, 2, 140, 141, 7, 107, 2, 2, 141, 142, 7, 101, 2, 2, 142, 143, 7, 99, 2, 2, 143, 144, 7, 118, 2, 2, 144, 145, 7, 103, 2, 2, 145, 24, 3, 2, 2, 2, 146, 147, 7, 101, 2, 2, 147, 148, 7, 113, 2, 2, 148, 149, 7, 112, 2, 2, 149, 150, 7, 117, 2, 2, 150, 151, 7, 118, 2, 2, 151, 152, 7, 116, 2, 2, 152, 153, 7, 99, 2, 2, 153, 154, 7, 107, 2, 2, 154, 155, 7, 112, 2, 2, 155, 156, 7, 118, 2, 2, 156, 26, 3, 2, 2, 2, 157, 158, 7, 117, 2, 2, 158, 159, 7, 113, 2, 2, 159, 160, 7, 110, 2, 2, 160, 161, 7, 120, 2, 2, 161, 162, 7, 103, 2, 2, 162, 28, 3, 2, 2, 2, 163, 164, 7, 117, 2, 2, 164, 165, 7, 99, 2, 2, 165, 166, 7, 118, 2, 2, 166, 167, 7, 107, 2, 2, 167, 168, 7, 117, 2, 2, 168, 169, 7, 104, 2, 2, 169, 170, 7, 123, 2, 2, 170, 30, 3, 2, 2, 2, 171, 172, 7, 111, 2, 2, 172, 173, 7, 107, 2, 2, 173, 174, 7, 112, 2, 2, 174, 175, 7, 107, 2, 2, 175, 176, 7, 111, 2, 2, 176, 177, 7, 107, 2, 2, 177, 178, 7, 124, 2, 2, 178, 179, 7, 103, 2, 2, 179, 32, 3, 2, 2, 2, 180, 181, 7, 111, 2, 2, 181, 182, 7, 99, 2, 2, 182, 183, 7, 122, 2, 2, 183, 184, 7, 107, 2, 2, 184, 185, 7, 111, 2, 2, 185, 186, 7, 107, 2, 2, 186, 187, 7, 124, 2, 2, 187, 188, 7, 103, 2, 2, 188, 34, 3, 2, 2, 2, 189, 190, 7, 48, 2, 2, 190, 191, 7, 48, 2, 2, 191, 36, 3, 2, 2, 2, 192, 193, 7, 48, 2, 2, 193, 38, 3, 2, 2, 2, 194, 195, 7, 125, 2, 2, 195, 40, 3, 2, 2, 2, 196, 197, 7, 127, 2, 2, 197, 42, 3, 2, 2, 2, 198, 199, 7, 46, 2, 2, 199, 44, 3, 2, 2, 2, 200, 201, 7, 93, 2, 2, 201, 46, 3, 2, 2, 2, 202, 203, 7, 95, 2, 2, 203, 48, 3, 2, 2, 2, 204, 205, 7, 63, 2, 2, 205, 50, 3, 2, 2, 2, 206, 207, 7, 45, 2, 2, 207, 52, 3, 2, 2, 2, 208, 209, 7, 47, 2, 2, 209, 54, 3, 2, 2, 2, 210, 211, 7, 61, 2, 2, 211, 56, 3, 2, 2, 2, 212, 213, 7, 60, 2, 2, 213, 58, 3, 2, 2, 2, 214, 215, 7, 60, 2, 2, 215, 216, 7, 60, 2, 2, 216, 60, 3, 2, 2, 2, 217, 218, 7, 42, 2, 2, 218, 62, 3, 2, 2, 2, 219, 220, 7, 43, 2, 2, 220, 64, 3, 2, 2, 2, 221, 225, 9, 2, 2, 2, 222, 224, 9, 3, 2, 2, 223, 222, 3, 2, 2, 2, 224, 227, 3, 2, 2, 2, 225, 223, 3, 2, 2, 2, 225, 226, 3, 2, 2, 2, 226, 66, 3, 2, 2, 2, 227, 225, 3, 2, 2, 2, 228, 232, 7, 39, 2, 2, 229, 231, 10, 4, 2, 2, 230, 229, 3, 2, 2, 2, 231, 234, 3, 2, 2, 2, 232, 230, 3, 2, 2, 2, 232, 233, 3, 2, 2, 2, 233, 236, 3, 2, 2, 2, 234, 232, 3, 2, 2, 2, 235, 237, 7, 15, 2, 2, 236, 235, 3, 2, 2, 2, 236, 237, 3, 2, 2, 2, 237, 238, 3, 2, 2, 2, 238, 239, 7, 12, 2, 2, 239, 240, 3, 2, 2, 2, 240, 241, 8, 34, 2, 2, 241, 68, 3, 2, 2, 2, 242, 243, 9, 5, 2, 2, 243, 244, 3, 2, 2, 2, 244, 245, 8, 35, 2, 2, 245, 70, 3, 2, 2, 2, 246, 248, 7, 47, 2, 2, 247, 246, 3, 2, 2, 2, 247, 248, 3, 2, 2, 2, 248, 250, 3, 2, 2, 2, 249, 251, 4, 50, 59, 2, 250, 249, 3, 2, 2, 2, 251, 252, 3, 2, 2, 2, 252, 250, 3, 2, 2, 2, 252, 253, 3, 2, 2, 2, 253, 72, 3, 2, 2, 2, 254, 256, 7, 47, 2, 2, 255, 254, 3, 2, 2, 2, 255, 256, 3, 2, 2, 2, 256, 258, 3, 2, 2, 2, 257, 259, 4, 50, 59, 2, 258, 257, 3, 2, 2, 2, 259, 260, 3, 2, 2, 2, 260, 258, 3, 2, 2, 2, 260, 261, 3, 2, 2, 2, 261, 262, 3, 2, 2, 2, 262, 264, 7, 48, 2, 2, 263, 265, 4, 50, 59, 2, 264, 263, 3, 2, 2, 2, 265, 266, 3, 2, 2, 2, 266, 264, 3, 2, 2, 2, 266, 267, 3, 2, 2, 2, 267, 269, 3, 2, 2, 2, 268, 270, 5, 79, 40, 2, 269, 268, 3, 2, 2, 2, 269, 270, 3, 2, 2, 2, 270, 281, 3, 2, 2, 2, 271, 273, 7, 47, 2, 2, 272, 271, 3, 2, 2, 2, 272, 273, 3, 2, 2, 2, 273, 275, 3, 2, 2, 2, 274, 276, 4, 50, 59, 2, 275, 274, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 275, 3, 2, 2, 2, 277, 278, 3, 2, 2, 2, 278, 279, 3, 2, 2, 2, 279, 281, 5, 79, 40, 2, 280, 255, 3, 2, 2, 2, 280, 272, 3, 2, 2, 2, 281, 74, 3, 2, 2, 2, 282, 287, 7, 36, 2, 2, 283, 286, 5, 81, 41, 2, 284, 286, 10, 6, 2, 2, 285, 283, 3, 2, 2, 2, 285, 284, 3, 2, 2, 2, 286, 289, 3, 2, 2, 2, 287, 285, 3, 2, 2, 2, 287, 288, 3, 2, 2, 2, 288, 290, 3, 2, 2, 2, 289, 287, 3, 2, 2, 2, 290, 291, 7, 36, 2, 2, 291, 76, 3, 2, 2, 2, 292, 295, 7, 41, 2, 2, 293, 296, 5, 81, 41, 2, 294, 296, 10, 7, 2, 2, 295, 293, 3, 2, 2, 2, 295, 294, 3, 2, 2, 2, 296, 297, 3, 2, 2, 2, 297, 298, 7, 41, 2, 2, 298, 78, 3, 2, 2, 2, 299, 301, 9, 8, 2, 2, 300, 302, 9, 9, 2, 2, 301, 300, 3, 2, 2, 2, 301, 302, 3, 2, 2, 2, 302, 304, 3, 2, 2, 2, 303, 305, 4, 50, 59, 2, 304, 303, 3, 2, 2, 2, 305, 306, 3, 2, 2, 2, 306, 304, 3, 2, 2, 2, 306, 307, 3, 2, 2, 2, 307, 80, 3, 2, 2, 2, 308, 309, 7, 94, 2, 2, 309, 313, 9, 10, 2, 2, 310, 313, 5, 87, 44, 2, 311, 313, 5, 83, 42, 2, 312, 308, 3, 2, 2, 2, 312, 310, 3, 2, 2, 2, 312, 311, 3, 2, 2, 2, 313, 82, 3, 2, 2, 2, 314, 315, 7, 94, 2, 2, 315, 316, 4, 50, 53, 2, 316, 317, 4, 50, 57, 2, 317, 324, 4, 50, 57, 2, 318, 319, 7, 94, 2, 2, 319, 320, 4, 50, 57, 2, 320, 324, 4, 50, 57, 2, 321, 322, 7, 94, 2, 2, 322, 324, 4, 50, 57, 2, 323, 314, 3, 2, 2, 2, 323, 318, 3, 2, 2, 2, 323, 321, 3, 2, 2, 2, 324, 84, 3, 2, 2, 2, 325, 326, 9, 11, 2, 2, 326, 86, 3, 2, 2, 2, 327, 328, 7, 94, 2, 2, 328, 329, 7, 119, 2, 2, 329, 330, 5, 85, 43, 2, 330, 331, 5, 85, 43, 2, 331, 332, 5, 85, 43, 2, 332, 333, 5, 85, 43, 2, 333, 88, 3, 2, 2, 2, 22, 2, 225, 232, 236, 247, 252, 255, 260, 266, 269, 272, 277, 280, 285, 287, 295, 301, 306, 312, 323, 3, 8, 2, 2]