diff --git a/more_math/Parser/.antlr/MathExpr.interp b/more_math/Parser/.antlr/MathExpr.interp deleted file mode 100644 index 0ee9ec2..0000000 --- a/more_math/Parser/.antlr/MathExpr.interp +++ /dev/null @@ -1,231 +0,0 @@ -token literal names: -null -'sin' -'cos' -'tan' -'asin' -'acos' -'atan' -'atan2' -'sinh' -'cosh' -'tanh' -'asinh' -'acosh' -'atanh' -'abs' -'sqrt' -'ln' -'log' -'exp' -'smin' -'smax' -'tmin' -'tmax' -'tnorm' -'snorm' -'floor' -'ceil' -'round' -'gamma' -'pow' -'sigm' -'clamp' -'fft' -'ifft' -'angle' -'print' -null -null -'lerp' -'step' -'smoothstep' -'fract' -'relu' -'softplus' -'gelu' -'sign' -'map' -null -null -'swap' -null -null -'range' -'topk' -'botk' -'pinv' -'sum' -'mean' -'std' -'var' -null -null -'quantile' -'dot' -'moment' -null -null -null -null -null -null -null -'cossim' -'flip' -'cov' -'sort' -'append' -'+' -'-' -'*' -'/' -'%' -'^' -'>=' -'>' -'<=' -'<' -'==' -'=' -'!=' -'|' -'(' -')' -',' -';' -'->' -'[' -']' -null -null -null -null - -token symbolic names: -null -SIN -COS -TAN -ASIN -ACOS -ATAN -ATAN2 -SINH -COSH -TANH -ASINH -ACOSH -ATANH -ABS -SQRT -LN -LOG -EXP -SMIN -SMAX -TMIN -TMAX -TNORM -SNORM -FLOOR -CEIL -ROUND -GAMMA -POWE -SIGM -CLAMP -SFFT -SIFFT -ANGL -PRNT -PRINT_SHAPE -NVL -LERP -STEP -SMOOTHSTEP -FRACT -RELU -SOFTPLUS -GELU -SIGN -MAP -EZCONV -CONV -SWAP -PERM -RESHAPE -RANGE -TOPK -BOTK -PINV -SUM -MEAN -STD -VAR -QUARTILE -PERCENTILE -QUANTILE -DOT -MOMENT -NOISE -RAND -CAUCHY -EXPONENTIAL -LOGNORMAL -BERNOULLI -POISSON -COSSIM -FLIP -COV -SORT -APPEND -PLUS -MINUS -MULT -DIV -MOD -POW -GE -GT -LE -LT -EQ -EQUEALS -NE -PIPE -LPAREN -RPAREN -COMMA -SEMICOLON -ARROW -LBRACKET -RBRACKET -CONSTANT -NUMBER -VARIABLE -WS - -rule names: -start -funcDef -varDef -paramList -expr -compExpr -addExpr -mulExpr -powExpr -unaryExpr -indexExpr -atom -exprList -func1 -func2 -func3 -func4 -funcN - - -atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 103, 717, 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, 3, 2, 7, 2, 40, 10, 2, 12, 2, 14, 2, 43, 11, 2, 3, 2, 7, 2, 46, 10, 2, 12, 2, 14, 2, 49, 11, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 5, 3, 57, 10, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 7, 5, 72, 10, 5, 12, 5, 14, 5, 75, 11, 5, 3, 6, 3, 6, 5, 6, 79, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 7, 7, 102, 10, 7, 12, 7, 14, 7, 105, 11, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 116, 10, 8, 12, 8, 14, 8, 119, 11, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 7, 9, 133, 10, 9, 12, 9, 14, 9, 136, 11, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 143, 10, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 5, 11, 150, 10, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 7, 12, 160, 10, 12, 12, 12, 14, 12, 163, 11, 12, 3, 12, 3, 12, 7, 12, 167, 10, 12, 12, 12, 14, 12, 170, 11, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 7, 13, 192, 10, 13, 12, 13, 14, 13, 195, 11, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 5, 13, 202, 10, 13, 3, 13, 5, 13, 205, 10, 13, 3, 14, 3, 14, 3, 14, 7, 14, 210, 10, 14, 12, 14, 14, 14, 213, 11, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 5, 15, 425, 10, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 553, 10, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 5, 17, 618, 10, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 5, 18, 642, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 7, 19, 649, 10, 19, 12, 19, 14, 19, 652, 11, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 7, 19, 661, 10, 19, 12, 19, 14, 19, 664, 11, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 6, 19, 673, 10, 19, 13, 19, 14, 19, 674, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 6, 19, 684, 10, 19, 13, 19, 14, 19, 685, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 6, 19, 695, 10, 19, 13, 19, 14, 19, 696, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 5, 19, 715, 10, 19, 3, 19, 2, 6, 12, 14, 16, 22, 20, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 2, 2, 2, 809, 2, 41, 3, 2, 2, 2, 4, 53, 3, 2, 2, 2, 6, 63, 3, 2, 2, 2, 8, 68, 3, 2, 2, 2, 10, 78, 3, 2, 2, 2, 12, 80, 3, 2, 2, 2, 14, 106, 3, 2, 2, 2, 16, 120, 3, 2, 2, 2, 18, 142, 3, 2, 2, 2, 20, 149, 3, 2, 2, 2, 22, 151, 3, 2, 2, 2, 24, 204, 3, 2, 2, 2, 26, 206, 3, 2, 2, 2, 28, 424, 3, 2, 2, 2, 30, 552, 3, 2, 2, 2, 32, 617, 3, 2, 2, 2, 34, 641, 3, 2, 2, 2, 36, 714, 3, 2, 2, 2, 38, 40, 5, 4, 3, 2, 39, 38, 3, 2, 2, 2, 40, 43, 3, 2, 2, 2, 41, 39, 3, 2, 2, 2, 41, 42, 3, 2, 2, 2, 42, 47, 3, 2, 2, 2, 43, 41, 3, 2, 2, 2, 44, 46, 5, 6, 4, 2, 45, 44, 3, 2, 2, 2, 46, 49, 3, 2, 2, 2, 47, 45, 3, 2, 2, 2, 47, 48, 3, 2, 2, 2, 48, 50, 3, 2, 2, 2, 49, 47, 3, 2, 2, 2, 50, 51, 5, 10, 6, 2, 51, 52, 7, 2, 2, 3, 52, 3, 3, 2, 2, 2, 53, 54, 7, 102, 2, 2, 54, 56, 7, 93, 2, 2, 55, 57, 5, 8, 5, 2, 56, 55, 3, 2, 2, 2, 56, 57, 3, 2, 2, 2, 57, 58, 3, 2, 2, 2, 58, 59, 7, 94, 2, 2, 59, 60, 7, 97, 2, 2, 60, 61, 5, 10, 6, 2, 61, 62, 7, 96, 2, 2, 62, 5, 3, 2, 2, 2, 63, 64, 7, 102, 2, 2, 64, 65, 7, 90, 2, 2, 65, 66, 5, 10, 6, 2, 66, 67, 7, 96, 2, 2, 67, 7, 3, 2, 2, 2, 68, 73, 7, 102, 2, 2, 69, 70, 7, 95, 2, 2, 70, 72, 7, 102, 2, 2, 71, 69, 3, 2, 2, 2, 72, 75, 3, 2, 2, 2, 73, 71, 3, 2, 2, 2, 73, 74, 3, 2, 2, 2, 74, 9, 3, 2, 2, 2, 75, 73, 3, 2, 2, 2, 76, 79, 5, 24, 13, 2, 77, 79, 5, 12, 7, 2, 78, 76, 3, 2, 2, 2, 78, 77, 3, 2, 2, 2, 79, 11, 3, 2, 2, 2, 80, 81, 8, 7, 1, 2, 81, 82, 5, 14, 8, 2, 82, 103, 3, 2, 2, 2, 83, 84, 12, 9, 2, 2, 84, 85, 7, 86, 2, 2, 85, 102, 5, 14, 8, 2, 86, 87, 12, 8, 2, 2, 87, 88, 7, 85, 2, 2, 88, 102, 5, 14, 8, 2, 89, 90, 12, 7, 2, 2, 90, 91, 7, 88, 2, 2, 91, 102, 5, 14, 8, 2, 92, 93, 12, 6, 2, 2, 93, 94, 7, 87, 2, 2, 94, 102, 5, 14, 8, 2, 95, 96, 12, 5, 2, 2, 96, 97, 7, 89, 2, 2, 97, 102, 5, 14, 8, 2, 98, 99, 12, 4, 2, 2, 99, 100, 7, 91, 2, 2, 100, 102, 5, 14, 8, 2, 101, 83, 3, 2, 2, 2, 101, 86, 3, 2, 2, 2, 101, 89, 3, 2, 2, 2, 101, 92, 3, 2, 2, 2, 101, 95, 3, 2, 2, 2, 101, 98, 3, 2, 2, 2, 102, 105, 3, 2, 2, 2, 103, 101, 3, 2, 2, 2, 103, 104, 3, 2, 2, 2, 104, 13, 3, 2, 2, 2, 105, 103, 3, 2, 2, 2, 106, 107, 8, 8, 1, 2, 107, 108, 5, 16, 9, 2, 108, 117, 3, 2, 2, 2, 109, 110, 12, 5, 2, 2, 110, 111, 7, 79, 2, 2, 111, 116, 5, 16, 9, 2, 112, 113, 12, 4, 2, 2, 113, 114, 7, 80, 2, 2, 114, 116, 5, 16, 9, 2, 115, 109, 3, 2, 2, 2, 115, 112, 3, 2, 2, 2, 116, 119, 3, 2, 2, 2, 117, 115, 3, 2, 2, 2, 117, 118, 3, 2, 2, 2, 118, 15, 3, 2, 2, 2, 119, 117, 3, 2, 2, 2, 120, 121, 8, 9, 1, 2, 121, 122, 5, 18, 10, 2, 122, 134, 3, 2, 2, 2, 123, 124, 12, 6, 2, 2, 124, 125, 7, 81, 2, 2, 125, 133, 5, 18, 10, 2, 126, 127, 12, 5, 2, 2, 127, 128, 7, 82, 2, 2, 128, 133, 5, 18, 10, 2, 129, 130, 12, 4, 2, 2, 130, 131, 7, 83, 2, 2, 131, 133, 5, 18, 10, 2, 132, 123, 3, 2, 2, 2, 132, 126, 3, 2, 2, 2, 132, 129, 3, 2, 2, 2, 133, 136, 3, 2, 2, 2, 134, 132, 3, 2, 2, 2, 134, 135, 3, 2, 2, 2, 135, 17, 3, 2, 2, 2, 136, 134, 3, 2, 2, 2, 137, 138, 5, 20, 11, 2, 138, 139, 7, 84, 2, 2, 139, 140, 5, 18, 10, 2, 140, 143, 3, 2, 2, 2, 141, 143, 5, 20, 11, 2, 142, 137, 3, 2, 2, 2, 142, 141, 3, 2, 2, 2, 143, 19, 3, 2, 2, 2, 144, 145, 7, 79, 2, 2, 145, 150, 5, 20, 11, 2, 146, 147, 7, 80, 2, 2, 147, 150, 5, 20, 11, 2, 148, 150, 5, 22, 12, 2, 149, 144, 3, 2, 2, 2, 149, 146, 3, 2, 2, 2, 149, 148, 3, 2, 2, 2, 150, 21, 3, 2, 2, 2, 151, 152, 8, 12, 1, 2, 152, 153, 5, 24, 13, 2, 153, 168, 3, 2, 2, 2, 154, 155, 12, 4, 2, 2, 155, 156, 7, 98, 2, 2, 156, 161, 5, 10, 6, 2, 157, 158, 7, 95, 2, 2, 158, 160, 5, 10, 6, 2, 159, 157, 3, 2, 2, 2, 160, 163, 3, 2, 2, 2, 161, 159, 3, 2, 2, 2, 161, 162, 3, 2, 2, 2, 162, 164, 3, 2, 2, 2, 163, 161, 3, 2, 2, 2, 164, 165, 7, 99, 2, 2, 165, 167, 3, 2, 2, 2, 166, 154, 3, 2, 2, 2, 167, 170, 3, 2, 2, 2, 168, 166, 3, 2, 2, 2, 168, 169, 3, 2, 2, 2, 169, 23, 3, 2, 2, 2, 170, 168, 3, 2, 2, 2, 171, 205, 5, 28, 15, 2, 172, 205, 5, 30, 16, 2, 173, 205, 5, 32, 17, 2, 174, 205, 5, 34, 18, 2, 175, 205, 5, 36, 19, 2, 176, 205, 7, 102, 2, 2, 177, 205, 7, 101, 2, 2, 178, 205, 7, 100, 2, 2, 179, 180, 7, 93, 2, 2, 180, 181, 5, 10, 6, 2, 181, 182, 7, 94, 2, 2, 182, 205, 3, 2, 2, 2, 183, 184, 7, 92, 2, 2, 184, 185, 5, 10, 6, 2, 185, 186, 7, 92, 2, 2, 186, 205, 3, 2, 2, 2, 187, 188, 7, 98, 2, 2, 188, 193, 5, 10, 6, 2, 189, 190, 7, 95, 2, 2, 190, 192, 5, 10, 6, 2, 191, 189, 3, 2, 2, 2, 192, 195, 3, 2, 2, 2, 193, 191, 3, 2, 2, 2, 193, 194, 3, 2, 2, 2, 194, 196, 3, 2, 2, 2, 195, 193, 3, 2, 2, 2, 196, 197, 7, 99, 2, 2, 197, 205, 3, 2, 2, 2, 198, 199, 7, 102, 2, 2, 199, 201, 7, 93, 2, 2, 200, 202, 5, 26, 14, 2, 201, 200, 3, 2, 2, 2, 201, 202, 3, 2, 2, 2, 202, 203, 3, 2, 2, 2, 203, 205, 7, 94, 2, 2, 204, 171, 3, 2, 2, 2, 204, 172, 3, 2, 2, 2, 204, 173, 3, 2, 2, 2, 204, 174, 3, 2, 2, 2, 204, 175, 3, 2, 2, 2, 204, 176, 3, 2, 2, 2, 204, 177, 3, 2, 2, 2, 204, 178, 3, 2, 2, 2, 204, 179, 3, 2, 2, 2, 204, 183, 3, 2, 2, 2, 204, 187, 3, 2, 2, 2, 204, 198, 3, 2, 2, 2, 205, 25, 3, 2, 2, 2, 206, 211, 5, 10, 6, 2, 207, 208, 7, 95, 2, 2, 208, 210, 5, 10, 6, 2, 209, 207, 3, 2, 2, 2, 210, 213, 3, 2, 2, 2, 211, 209, 3, 2, 2, 2, 211, 212, 3, 2, 2, 2, 212, 27, 3, 2, 2, 2, 213, 211, 3, 2, 2, 2, 214, 215, 7, 3, 2, 2, 215, 216, 7, 93, 2, 2, 216, 217, 5, 10, 6, 2, 217, 218, 7, 94, 2, 2, 218, 425, 3, 2, 2, 2, 219, 220, 7, 4, 2, 2, 220, 221, 7, 93, 2, 2, 221, 222, 5, 10, 6, 2, 222, 223, 7, 94, 2, 2, 223, 425, 3, 2, 2, 2, 224, 225, 7, 5, 2, 2, 225, 226, 7, 93, 2, 2, 226, 227, 5, 10, 6, 2, 227, 228, 7, 94, 2, 2, 228, 425, 3, 2, 2, 2, 229, 230, 7, 6, 2, 2, 230, 231, 7, 93, 2, 2, 231, 232, 5, 10, 6, 2, 232, 233, 7, 94, 2, 2, 233, 425, 3, 2, 2, 2, 234, 235, 7, 7, 2, 2, 235, 236, 7, 93, 2, 2, 236, 237, 5, 10, 6, 2, 237, 238, 7, 94, 2, 2, 238, 425, 3, 2, 2, 2, 239, 240, 7, 8, 2, 2, 240, 241, 7, 93, 2, 2, 241, 242, 5, 10, 6, 2, 242, 243, 7, 94, 2, 2, 243, 425, 3, 2, 2, 2, 244, 245, 7, 10, 2, 2, 245, 246, 7, 93, 2, 2, 246, 247, 5, 10, 6, 2, 247, 248, 7, 94, 2, 2, 248, 425, 3, 2, 2, 2, 249, 250, 7, 11, 2, 2, 250, 251, 7, 93, 2, 2, 251, 252, 5, 10, 6, 2, 252, 253, 7, 94, 2, 2, 253, 425, 3, 2, 2, 2, 254, 255, 7, 12, 2, 2, 255, 256, 7, 93, 2, 2, 256, 257, 5, 10, 6, 2, 257, 258, 7, 94, 2, 2, 258, 425, 3, 2, 2, 2, 259, 260, 7, 13, 2, 2, 260, 261, 7, 93, 2, 2, 261, 262, 5, 10, 6, 2, 262, 263, 7, 94, 2, 2, 263, 425, 3, 2, 2, 2, 264, 265, 7, 14, 2, 2, 265, 266, 7, 93, 2, 2, 266, 267, 5, 10, 6, 2, 267, 268, 7, 94, 2, 2, 268, 425, 3, 2, 2, 2, 269, 270, 7, 15, 2, 2, 270, 271, 7, 93, 2, 2, 271, 272, 5, 10, 6, 2, 272, 273, 7, 94, 2, 2, 273, 425, 3, 2, 2, 2, 274, 275, 7, 16, 2, 2, 275, 276, 7, 93, 2, 2, 276, 277, 5, 10, 6, 2, 277, 278, 7, 94, 2, 2, 278, 425, 3, 2, 2, 2, 279, 280, 7, 17, 2, 2, 280, 281, 7, 93, 2, 2, 281, 282, 5, 10, 6, 2, 282, 283, 7, 94, 2, 2, 283, 425, 3, 2, 2, 2, 284, 285, 7, 18, 2, 2, 285, 286, 7, 93, 2, 2, 286, 287, 5, 10, 6, 2, 287, 288, 7, 94, 2, 2, 288, 425, 3, 2, 2, 2, 289, 290, 7, 19, 2, 2, 290, 291, 7, 93, 2, 2, 291, 292, 5, 10, 6, 2, 292, 293, 7, 94, 2, 2, 293, 425, 3, 2, 2, 2, 294, 295, 7, 20, 2, 2, 295, 296, 7, 93, 2, 2, 296, 297, 5, 10, 6, 2, 297, 298, 7, 94, 2, 2, 298, 425, 3, 2, 2, 2, 299, 300, 7, 25, 2, 2, 300, 301, 7, 93, 2, 2, 301, 302, 5, 10, 6, 2, 302, 303, 7, 94, 2, 2, 303, 425, 3, 2, 2, 2, 304, 305, 7, 26, 2, 2, 305, 306, 7, 93, 2, 2, 306, 307, 5, 10, 6, 2, 307, 308, 7, 94, 2, 2, 308, 425, 3, 2, 2, 2, 309, 310, 7, 27, 2, 2, 310, 311, 7, 93, 2, 2, 311, 312, 5, 10, 6, 2, 312, 313, 7, 94, 2, 2, 313, 425, 3, 2, 2, 2, 314, 315, 7, 28, 2, 2, 315, 316, 7, 93, 2, 2, 316, 317, 5, 10, 6, 2, 317, 318, 7, 94, 2, 2, 318, 425, 3, 2, 2, 2, 319, 320, 7, 29, 2, 2, 320, 321, 7, 93, 2, 2, 321, 322, 5, 10, 6, 2, 322, 323, 7, 94, 2, 2, 323, 425, 3, 2, 2, 2, 324, 325, 7, 30, 2, 2, 325, 326, 7, 93, 2, 2, 326, 327, 5, 10, 6, 2, 327, 328, 7, 94, 2, 2, 328, 425, 3, 2, 2, 2, 329, 330, 7, 32, 2, 2, 330, 331, 7, 93, 2, 2, 331, 332, 5, 10, 6, 2, 332, 333, 7, 94, 2, 2, 333, 425, 3, 2, 2, 2, 334, 335, 7, 34, 2, 2, 335, 336, 7, 93, 2, 2, 336, 337, 5, 10, 6, 2, 337, 338, 7, 94, 2, 2, 338, 425, 3, 2, 2, 2, 339, 340, 7, 35, 2, 2, 340, 341, 7, 93, 2, 2, 341, 342, 5, 10, 6, 2, 342, 343, 7, 94, 2, 2, 343, 425, 3, 2, 2, 2, 344, 345, 7, 36, 2, 2, 345, 346, 7, 93, 2, 2, 346, 347, 5, 10, 6, 2, 347, 348, 7, 94, 2, 2, 348, 425, 3, 2, 2, 2, 349, 350, 7, 37, 2, 2, 350, 351, 7, 93, 2, 2, 351, 352, 5, 10, 6, 2, 352, 353, 7, 94, 2, 2, 353, 425, 3, 2, 2, 2, 354, 355, 7, 43, 2, 2, 355, 356, 7, 93, 2, 2, 356, 357, 5, 10, 6, 2, 357, 358, 7, 94, 2, 2, 358, 425, 3, 2, 2, 2, 359, 360, 7, 44, 2, 2, 360, 361, 7, 93, 2, 2, 361, 362, 5, 10, 6, 2, 362, 363, 7, 94, 2, 2, 363, 425, 3, 2, 2, 2, 364, 365, 7, 45, 2, 2, 365, 366, 7, 93, 2, 2, 366, 367, 5, 10, 6, 2, 367, 368, 7, 94, 2, 2, 368, 425, 3, 2, 2, 2, 369, 370, 7, 46, 2, 2, 370, 371, 7, 93, 2, 2, 371, 372, 5, 10, 6, 2, 372, 373, 7, 94, 2, 2, 373, 425, 3, 2, 2, 2, 374, 375, 7, 47, 2, 2, 375, 376, 7, 93, 2, 2, 376, 377, 5, 10, 6, 2, 377, 378, 7, 94, 2, 2, 378, 425, 3, 2, 2, 2, 379, 380, 7, 38, 2, 2, 380, 381, 7, 93, 2, 2, 381, 382, 5, 10, 6, 2, 382, 383, 7, 94, 2, 2, 383, 425, 3, 2, 2, 2, 384, 385, 7, 57, 2, 2, 385, 386, 7, 93, 2, 2, 386, 387, 5, 10, 6, 2, 387, 388, 7, 94, 2, 2, 388, 425, 3, 2, 2, 2, 389, 390, 7, 58, 2, 2, 390, 391, 7, 93, 2, 2, 391, 392, 5, 10, 6, 2, 392, 393, 7, 94, 2, 2, 393, 425, 3, 2, 2, 2, 394, 395, 7, 59, 2, 2, 395, 396, 7, 93, 2, 2, 396, 397, 5, 10, 6, 2, 397, 398, 7, 94, 2, 2, 398, 425, 3, 2, 2, 2, 399, 400, 7, 60, 2, 2, 400, 401, 7, 93, 2, 2, 401, 402, 5, 10, 6, 2, 402, 403, 7, 94, 2, 2, 403, 425, 3, 2, 2, 2, 404, 405, 7, 61, 2, 2, 405, 406, 7, 93, 2, 2, 406, 407, 5, 10, 6, 2, 407, 408, 7, 94, 2, 2, 408, 425, 3, 2, 2, 2, 409, 410, 7, 77, 2, 2, 410, 411, 7, 93, 2, 2, 411, 412, 5, 10, 6, 2, 412, 413, 7, 94, 2, 2, 413, 425, 3, 2, 2, 2, 414, 415, 7, 67, 2, 2, 415, 416, 7, 93, 2, 2, 416, 417, 5, 10, 6, 2, 417, 418, 7, 94, 2, 2, 418, 425, 3, 2, 2, 2, 419, 420, 7, 68, 2, 2, 420, 421, 7, 93, 2, 2, 421, 422, 5, 10, 6, 2, 422, 423, 7, 94, 2, 2, 423, 425, 3, 2, 2, 2, 424, 214, 3, 2, 2, 2, 424, 219, 3, 2, 2, 2, 424, 224, 3, 2, 2, 2, 424, 229, 3, 2, 2, 2, 424, 234, 3, 2, 2, 2, 424, 239, 3, 2, 2, 2, 424, 244, 3, 2, 2, 2, 424, 249, 3, 2, 2, 2, 424, 254, 3, 2, 2, 2, 424, 259, 3, 2, 2, 2, 424, 264, 3, 2, 2, 2, 424, 269, 3, 2, 2, 2, 424, 274, 3, 2, 2, 2, 424, 279, 3, 2, 2, 2, 424, 284, 3, 2, 2, 2, 424, 289, 3, 2, 2, 2, 424, 294, 3, 2, 2, 2, 424, 299, 3, 2, 2, 2, 424, 304, 3, 2, 2, 2, 424, 309, 3, 2, 2, 2, 424, 314, 3, 2, 2, 2, 424, 319, 3, 2, 2, 2, 424, 324, 3, 2, 2, 2, 424, 329, 3, 2, 2, 2, 424, 334, 3, 2, 2, 2, 424, 339, 3, 2, 2, 2, 424, 344, 3, 2, 2, 2, 424, 349, 3, 2, 2, 2, 424, 354, 3, 2, 2, 2, 424, 359, 3, 2, 2, 2, 424, 364, 3, 2, 2, 2, 424, 369, 3, 2, 2, 2, 424, 374, 3, 2, 2, 2, 424, 379, 3, 2, 2, 2, 424, 384, 3, 2, 2, 2, 424, 389, 3, 2, 2, 2, 424, 394, 3, 2, 2, 2, 424, 399, 3, 2, 2, 2, 424, 404, 3, 2, 2, 2, 424, 409, 3, 2, 2, 2, 424, 414, 3, 2, 2, 2, 424, 419, 3, 2, 2, 2, 425, 29, 3, 2, 2, 2, 426, 427, 7, 31, 2, 2, 427, 428, 7, 93, 2, 2, 428, 429, 5, 10, 6, 2, 429, 430, 7, 95, 2, 2, 430, 431, 5, 10, 6, 2, 431, 432, 7, 94, 2, 2, 432, 553, 3, 2, 2, 2, 433, 434, 7, 9, 2, 2, 434, 435, 7, 93, 2, 2, 435, 436, 5, 10, 6, 2, 436, 437, 7, 95, 2, 2, 437, 438, 5, 10, 6, 2, 438, 439, 7, 94, 2, 2, 439, 553, 3, 2, 2, 2, 440, 441, 7, 23, 2, 2, 441, 442, 7, 93, 2, 2, 442, 443, 5, 10, 6, 2, 443, 444, 7, 95, 2, 2, 444, 445, 5, 10, 6, 2, 445, 446, 7, 94, 2, 2, 446, 553, 3, 2, 2, 2, 447, 448, 7, 24, 2, 2, 448, 449, 7, 93, 2, 2, 449, 450, 5, 10, 6, 2, 450, 451, 7, 95, 2, 2, 451, 452, 5, 10, 6, 2, 452, 453, 7, 94, 2, 2, 453, 553, 3, 2, 2, 2, 454, 455, 7, 41, 2, 2, 455, 456, 7, 93, 2, 2, 456, 457, 5, 10, 6, 2, 457, 458, 7, 95, 2, 2, 458, 459, 5, 10, 6, 2, 459, 460, 7, 94, 2, 2, 460, 553, 3, 2, 2, 2, 461, 462, 7, 55, 2, 2, 462, 463, 7, 93, 2, 2, 463, 464, 5, 10, 6, 2, 464, 465, 7, 95, 2, 2, 465, 466, 5, 10, 6, 2, 466, 467, 7, 94, 2, 2, 467, 553, 3, 2, 2, 2, 468, 469, 7, 56, 2, 2, 469, 470, 7, 93, 2, 2, 470, 471, 5, 10, 6, 2, 471, 472, 7, 95, 2, 2, 472, 473, 5, 10, 6, 2, 473, 474, 7, 94, 2, 2, 474, 553, 3, 2, 2, 2, 475, 476, 7, 62, 2, 2, 476, 477, 7, 93, 2, 2, 477, 478, 5, 10, 6, 2, 478, 479, 7, 95, 2, 2, 479, 480, 5, 10, 6, 2, 480, 481, 7, 94, 2, 2, 481, 553, 3, 2, 2, 2, 482, 483, 7, 63, 2, 2, 483, 484, 7, 93, 2, 2, 484, 485, 5, 10, 6, 2, 485, 486, 7, 95, 2, 2, 486, 487, 5, 10, 6, 2, 487, 488, 7, 94, 2, 2, 488, 553, 3, 2, 2, 2, 489, 490, 7, 64, 2, 2, 490, 491, 7, 93, 2, 2, 491, 492, 5, 10, 6, 2, 492, 493, 7, 95, 2, 2, 493, 494, 5, 10, 6, 2, 494, 495, 7, 94, 2, 2, 495, 553, 3, 2, 2, 2, 496, 497, 7, 65, 2, 2, 497, 498, 7, 93, 2, 2, 498, 499, 5, 10, 6, 2, 499, 500, 7, 95, 2, 2, 500, 501, 5, 10, 6, 2, 501, 502, 7, 94, 2, 2, 502, 553, 3, 2, 2, 2, 503, 504, 7, 74, 2, 2, 504, 505, 7, 93, 2, 2, 505, 506, 5, 10, 6, 2, 506, 507, 7, 95, 2, 2, 507, 508, 5, 10, 6, 2, 508, 509, 7, 94, 2, 2, 509, 553, 3, 2, 2, 2, 510, 511, 7, 75, 2, 2, 511, 512, 7, 93, 2, 2, 512, 513, 5, 10, 6, 2, 513, 514, 7, 95, 2, 2, 514, 515, 5, 10, 6, 2, 515, 516, 7, 94, 2, 2, 516, 553, 3, 2, 2, 2, 517, 518, 7, 76, 2, 2, 518, 519, 7, 93, 2, 2, 519, 520, 5, 10, 6, 2, 520, 521, 7, 95, 2, 2, 521, 522, 5, 10, 6, 2, 522, 523, 7, 94, 2, 2, 523, 553, 3, 2, 2, 2, 524, 525, 7, 78, 2, 2, 525, 526, 7, 93, 2, 2, 526, 527, 5, 10, 6, 2, 527, 528, 7, 95, 2, 2, 528, 529, 5, 10, 6, 2, 529, 530, 7, 94, 2, 2, 530, 553, 3, 2, 2, 2, 531, 532, 7, 70, 2, 2, 532, 533, 7, 93, 2, 2, 533, 534, 5, 10, 6, 2, 534, 535, 7, 95, 2, 2, 535, 536, 5, 10, 6, 2, 536, 537, 7, 94, 2, 2, 537, 553, 3, 2, 2, 2, 538, 539, 7, 72, 2, 2, 539, 540, 7, 93, 2, 2, 540, 541, 5, 10, 6, 2, 541, 542, 7, 95, 2, 2, 542, 543, 5, 10, 6, 2, 543, 544, 7, 94, 2, 2, 544, 553, 3, 2, 2, 2, 545, 546, 7, 73, 2, 2, 546, 547, 7, 93, 2, 2, 547, 548, 5, 10, 6, 2, 548, 549, 7, 95, 2, 2, 549, 550, 5, 10, 6, 2, 550, 551, 7, 94, 2, 2, 551, 553, 3, 2, 2, 2, 552, 426, 3, 2, 2, 2, 552, 433, 3, 2, 2, 2, 552, 440, 3, 2, 2, 2, 552, 447, 3, 2, 2, 2, 552, 454, 3, 2, 2, 2, 552, 461, 3, 2, 2, 2, 552, 468, 3, 2, 2, 2, 552, 475, 3, 2, 2, 2, 552, 482, 3, 2, 2, 2, 552, 489, 3, 2, 2, 2, 552, 496, 3, 2, 2, 2, 552, 503, 3, 2, 2, 2, 552, 510, 3, 2, 2, 2, 552, 517, 3, 2, 2, 2, 552, 524, 3, 2, 2, 2, 552, 531, 3, 2, 2, 2, 552, 538, 3, 2, 2, 2, 552, 545, 3, 2, 2, 2, 553, 31, 3, 2, 2, 2, 554, 555, 7, 33, 2, 2, 555, 556, 7, 93, 2, 2, 556, 557, 5, 10, 6, 2, 557, 558, 7, 95, 2, 2, 558, 559, 5, 10, 6, 2, 559, 560, 7, 95, 2, 2, 560, 561, 5, 10, 6, 2, 561, 562, 7, 94, 2, 2, 562, 618, 3, 2, 2, 2, 563, 564, 7, 40, 2, 2, 564, 565, 7, 93, 2, 2, 565, 566, 5, 10, 6, 2, 566, 567, 7, 95, 2, 2, 567, 568, 5, 10, 6, 2, 568, 569, 7, 95, 2, 2, 569, 570, 5, 10, 6, 2, 570, 571, 7, 94, 2, 2, 571, 618, 3, 2, 2, 2, 572, 573, 7, 42, 2, 2, 573, 574, 7, 93, 2, 2, 574, 575, 5, 10, 6, 2, 575, 576, 7, 95, 2, 2, 576, 577, 5, 10, 6, 2, 577, 578, 7, 95, 2, 2, 578, 579, 5, 10, 6, 2, 579, 580, 7, 94, 2, 2, 580, 618, 3, 2, 2, 2, 581, 582, 7, 54, 2, 2, 582, 583, 7, 93, 2, 2, 583, 584, 5, 10, 6, 2, 584, 585, 7, 95, 2, 2, 585, 586, 5, 10, 6, 2, 586, 587, 7, 95, 2, 2, 587, 588, 5, 10, 6, 2, 588, 589, 7, 94, 2, 2, 589, 618, 3, 2, 2, 2, 590, 591, 7, 66, 2, 2, 591, 592, 7, 93, 2, 2, 592, 593, 5, 10, 6, 2, 593, 594, 7, 95, 2, 2, 594, 595, 5, 10, 6, 2, 595, 596, 7, 95, 2, 2, 596, 597, 5, 10, 6, 2, 597, 598, 7, 94, 2, 2, 598, 618, 3, 2, 2, 2, 599, 600, 7, 69, 2, 2, 600, 601, 7, 93, 2, 2, 601, 602, 5, 10, 6, 2, 602, 603, 7, 95, 2, 2, 603, 604, 5, 10, 6, 2, 604, 605, 7, 95, 2, 2, 605, 606, 5, 10, 6, 2, 606, 607, 7, 94, 2, 2, 607, 618, 3, 2, 2, 2, 608, 609, 7, 71, 2, 2, 609, 610, 7, 93, 2, 2, 610, 611, 5, 10, 6, 2, 611, 612, 7, 95, 2, 2, 612, 613, 5, 10, 6, 2, 613, 614, 7, 95, 2, 2, 614, 615, 5, 10, 6, 2, 615, 616, 7, 94, 2, 2, 616, 618, 3, 2, 2, 2, 617, 554, 3, 2, 2, 2, 617, 563, 3, 2, 2, 2, 617, 572, 3, 2, 2, 2, 617, 581, 3, 2, 2, 2, 617, 590, 3, 2, 2, 2, 617, 599, 3, 2, 2, 2, 617, 608, 3, 2, 2, 2, 618, 33, 3, 2, 2, 2, 619, 620, 7, 51, 2, 2, 620, 621, 7, 93, 2, 2, 621, 622, 5, 10, 6, 2, 622, 623, 7, 95, 2, 2, 623, 624, 5, 10, 6, 2, 624, 625, 7, 95, 2, 2, 625, 626, 5, 10, 6, 2, 626, 627, 7, 95, 2, 2, 627, 628, 5, 10, 6, 2, 628, 629, 7, 94, 2, 2, 629, 642, 3, 2, 2, 2, 630, 631, 7, 39, 2, 2, 631, 632, 7, 93, 2, 2, 632, 633, 5, 10, 6, 2, 633, 634, 7, 95, 2, 2, 634, 635, 5, 10, 6, 2, 635, 636, 7, 95, 2, 2, 636, 637, 5, 10, 6, 2, 637, 638, 7, 95, 2, 2, 638, 639, 5, 10, 6, 2, 639, 640, 7, 94, 2, 2, 640, 642, 3, 2, 2, 2, 641, 619, 3, 2, 2, 2, 641, 630, 3, 2, 2, 2, 642, 35, 3, 2, 2, 2, 643, 644, 7, 21, 2, 2, 644, 645, 7, 93, 2, 2, 645, 650, 5, 10, 6, 2, 646, 647, 7, 95, 2, 2, 647, 649, 5, 10, 6, 2, 648, 646, 3, 2, 2, 2, 649, 652, 3, 2, 2, 2, 650, 648, 3, 2, 2, 2, 650, 651, 3, 2, 2, 2, 651, 653, 3, 2, 2, 2, 652, 650, 3, 2, 2, 2, 653, 654, 7, 94, 2, 2, 654, 715, 3, 2, 2, 2, 655, 656, 7, 22, 2, 2, 656, 657, 7, 93, 2, 2, 657, 662, 5, 10, 6, 2, 658, 659, 7, 95, 2, 2, 659, 661, 5, 10, 6, 2, 660, 658, 3, 2, 2, 2, 661, 664, 3, 2, 2, 2, 662, 660, 3, 2, 2, 2, 662, 663, 3, 2, 2, 2, 663, 665, 3, 2, 2, 2, 664, 662, 3, 2, 2, 2, 665, 666, 7, 94, 2, 2, 666, 715, 3, 2, 2, 2, 667, 668, 7, 48, 2, 2, 668, 669, 7, 93, 2, 2, 669, 672, 5, 10, 6, 2, 670, 671, 7, 95, 2, 2, 671, 673, 5, 10, 6, 2, 672, 670, 3, 2, 2, 2, 673, 674, 3, 2, 2, 2, 674, 672, 3, 2, 2, 2, 674, 675, 3, 2, 2, 2, 675, 676, 3, 2, 2, 2, 676, 677, 7, 94, 2, 2, 677, 715, 3, 2, 2, 2, 678, 679, 7, 49, 2, 2, 679, 680, 7, 93, 2, 2, 680, 683, 5, 10, 6, 2, 681, 682, 7, 95, 2, 2, 682, 684, 5, 10, 6, 2, 683, 681, 3, 2, 2, 2, 684, 685, 3, 2, 2, 2, 685, 683, 3, 2, 2, 2, 685, 686, 3, 2, 2, 2, 686, 687, 3, 2, 2, 2, 687, 688, 7, 94, 2, 2, 688, 715, 3, 2, 2, 2, 689, 690, 7, 50, 2, 2, 690, 691, 7, 93, 2, 2, 691, 694, 5, 10, 6, 2, 692, 693, 7, 95, 2, 2, 693, 695, 5, 10, 6, 2, 694, 692, 3, 2, 2, 2, 695, 696, 3, 2, 2, 2, 696, 694, 3, 2, 2, 2, 696, 697, 3, 2, 2, 2, 697, 698, 3, 2, 2, 2, 698, 699, 7, 94, 2, 2, 699, 715, 3, 2, 2, 2, 700, 701, 7, 52, 2, 2, 701, 702, 7, 93, 2, 2, 702, 703, 5, 10, 6, 2, 703, 704, 7, 95, 2, 2, 704, 705, 5, 10, 6, 2, 705, 706, 7, 94, 2, 2, 706, 715, 3, 2, 2, 2, 707, 708, 7, 53, 2, 2, 708, 709, 7, 93, 2, 2, 709, 710, 5, 10, 6, 2, 710, 711, 7, 95, 2, 2, 711, 712, 5, 10, 6, 2, 712, 713, 7, 94, 2, 2, 713, 715, 3, 2, 2, 2, 714, 643, 3, 2, 2, 2, 714, 655, 3, 2, 2, 2, 714, 667, 3, 2, 2, 2, 714, 678, 3, 2, 2, 2, 714, 689, 3, 2, 2, 2, 714, 700, 3, 2, 2, 2, 714, 707, 3, 2, 2, 2, 715, 37, 3, 2, 2, 2, 31, 41, 47, 56, 73, 78, 101, 103, 115, 117, 132, 134, 142, 149, 161, 168, 193, 201, 204, 211, 424, 552, 617, 641, 650, 662, 674, 685, 696, 714] \ No newline at end of file diff --git a/more_math/Parser/.antlr/MathExpr.tokens b/more_math/Parser/.antlr/MathExpr.tokens deleted file mode 100644 index 659c1e4..0000000 --- a/more_math/Parser/.antlr/MathExpr.tokens +++ /dev/null @@ -1,183 +0,0 @@ -SIN=1 -COS=2 -TAN=3 -ASIN=4 -ACOS=5 -ATAN=6 -ATAN2=7 -SINH=8 -COSH=9 -TANH=10 -ASINH=11 -ACOSH=12 -ATANH=13 -ABS=14 -SQRT=15 -LN=16 -LOG=17 -EXP=18 -SMIN=19 -SMAX=20 -TMIN=21 -TMAX=22 -TNORM=23 -SNORM=24 -FLOOR=25 -CEIL=26 -ROUND=27 -GAMMA=28 -POWE=29 -SIGM=30 -CLAMP=31 -SFFT=32 -SIFFT=33 -ANGL=34 -PRNT=35 -PRINT_SHAPE=36 -NVL=37 -LERP=38 -STEP=39 -SMOOTHSTEP=40 -FRACT=41 -RELU=42 -SOFTPLUS=43 -GELU=44 -SIGN=45 -MAP=46 -EZCONV=47 -CONV=48 -SWAP=49 -PERM=50 -RESHAPE=51 -RANGE=52 -TOPK=53 -BOTK=54 -PINV=55 -SUM=56 -MEAN=57 -STD=58 -VAR=59 -QUARTILE=60 -PERCENTILE=61 -QUANTILE=62 -DOT=63 -MOMENT=64 -NOISE=65 -RAND=66 -CAUCHY=67 -EXPONENTIAL=68 -LOGNORMAL=69 -BERNOULLI=70 -POISSON=71 -COSSIM=72 -FLIP=73 -COV=74 -SORT=75 -APPEND=76 -PLUS=77 -MINUS=78 -MULT=79 -DIV=80 -MOD=81 -POW=82 -GE=83 -GT=84 -LE=85 -LT=86 -EQ=87 -EQUEALS=88 -NE=89 -PIPE=90 -LPAREN=91 -RPAREN=92 -COMMA=93 -SEMICOLON=94 -ARROW=95 -LBRACKET=96 -RBRACKET=97 -CONSTANT=98 -NUMBER=99 -VARIABLE=100 -WS=101 -'sin'=1 -'cos'=2 -'tan'=3 -'asin'=4 -'acos'=5 -'atan'=6 -'atan2'=7 -'sinh'=8 -'cosh'=9 -'tanh'=10 -'asinh'=11 -'acosh'=12 -'atanh'=13 -'abs'=14 -'sqrt'=15 -'ln'=16 -'log'=17 -'exp'=18 -'smin'=19 -'smax'=20 -'tmin'=21 -'tmax'=22 -'tnorm'=23 -'snorm'=24 -'floor'=25 -'ceil'=26 -'round'=27 -'gamma'=28 -'pow'=29 -'sigm'=30 -'clamp'=31 -'fft'=32 -'ifft'=33 -'angle'=34 -'print'=35 -'lerp'=38 -'step'=39 -'smoothstep'=40 -'fract'=41 -'relu'=42 -'softplus'=43 -'gelu'=44 -'sign'=45 -'map'=46 -'swap'=49 -'range'=52 -'topk'=53 -'botk'=54 -'pinv'=55 -'sum'=56 -'mean'=57 -'std'=58 -'var'=59 -'quantile'=62 -'dot'=63 -'moment'=64 -'cossim'=72 -'flip'=73 -'cov'=74 -'sort'=75 -'append'=76 -'+'=77 -'-'=78 -'*'=79 -'/'=80 -'%'=81 -'^'=82 -'>='=83 -'>'=84 -'<='=85 -'<'=86 -'=='=87 -'='=88 -'!='=89 -'|'=90 -'('=91 -')'=92 -','=93 -';'=94 -'->'=95 -'['=96 -']'=97 diff --git a/more_math/Parser/.antlr/MathExprBaseListener.java b/more_math/Parser/.antlr/MathExprBaseListener.java deleted file mode 100644 index 925ce74..0000000 --- a/more_math/Parser/.antlr/MathExprBaseListener.java +++ /dev/null @@ -1,1418 +0,0 @@ -// Generated from d:\stability\Data\Packages\ComfyUI\custom_nodes\more_math\more_math\Parser\MathExpr.g4 by ANTLR 4.9.2 - -import org.antlr.v4.runtime.ParserRuleContext; -import org.antlr.v4.runtime.tree.ErrorNode; -import org.antlr.v4.runtime.tree.TerminalNode; - -/** - * This class provides an empty implementation of {@link MathExprListener}, - * which can be extended to create a listener which only needs to handle a subset - * of the available methods. - */ -public class MathExprBaseListener implements MathExprListener { - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStart(MathExprParser.StartContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStart(MathExprParser.StartContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionDef(MathExprParser.FunctionDefContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionDef(MathExprParser.FunctionDefContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVarDef(MathExprParser.VarDefContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVarDef(MathExprParser.VarDefContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterParamList(MathExprParser.ParamListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitParamList(MathExprParser.ParamListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterExpr(MathExprParser.ExprContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitExpr(MathExprParser.ExprContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLtExp(MathExprParser.LtExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLtExp(MathExprParser.LtExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEqExp(MathExprParser.EqExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEqExp(MathExprParser.EqExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToAdd(MathExprParser.ToAddContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToAdd(MathExprParser.ToAddContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterGeExp(MathExprParser.GeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitGeExp(MathExprParser.GeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLeExp(MathExprParser.LeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLeExp(MathExprParser.LeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNeExp(MathExprParser.NeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNeExp(MathExprParser.NeExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterGtExp(MathExprParser.GtExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitGtExp(MathExprParser.GtExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAddExp(MathExprParser.AddExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAddExp(MathExprParser.AddExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToMul(MathExprParser.ToMulContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToMul(MathExprParser.ToMulContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSubExp(MathExprParser.SubExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSubExp(MathExprParser.SubExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMulExp(MathExprParser.MulExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMulExp(MathExprParser.MulExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterModExp(MathExprParser.ModExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitModExp(MathExprParser.ModExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDivExp(MathExprParser.DivExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDivExp(MathExprParser.DivExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToPow(MathExprParser.ToPowContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToPow(MathExprParser.ToPowContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPowExp(MathExprParser.PowExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPowExp(MathExprParser.PowExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToUnary(MathExprParser.ToUnaryContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToUnary(MathExprParser.ToUnaryContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterUnaryPlus(MathExprParser.UnaryPlusContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitUnaryPlus(MathExprParser.UnaryPlusContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterUnaryMinus(MathExprParser.UnaryMinusContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitUnaryMinus(MathExprParser.UnaryMinusContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToIndex(MathExprParser.ToIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToIndex(MathExprParser.ToIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterIndexExp(MathExprParser.IndexExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitIndexExp(MathExprParser.IndexExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterToAtom(MathExprParser.ToAtomContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitToAtom(MathExprParser.ToAtomContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunc1Exp(MathExprParser.Func1ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunc1Exp(MathExprParser.Func1ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunc2Exp(MathExprParser.Func2ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunc2Exp(MathExprParser.Func2ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunc3Exp(MathExprParser.Func3ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunc3Exp(MathExprParser.Func3ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunc4Exp(MathExprParser.Func4ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunc4Exp(MathExprParser.Func4ExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFuncNExp(MathExprParser.FuncNExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFuncNExp(MathExprParser.FuncNExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVariableExp(MathExprParser.VariableExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVariableExp(MathExprParser.VariableExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNumberExp(MathExprParser.NumberExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNumberExp(MathExprParser.NumberExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterConstantExp(MathExprParser.ConstantExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitConstantExp(MathExprParser.ConstantExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterParenExp(MathExprParser.ParenExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitParenExp(MathExprParser.ParenExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAbsExp(MathExprParser.AbsExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAbsExp(MathExprParser.AbsExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterListExp(MathExprParser.ListExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitListExp(MathExprParser.ListExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCallExp(MathExprParser.CallExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCallExp(MathExprParser.CallExpContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterExprList(MathExprParser.ExprListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitExprList(MathExprParser.ExprListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSinFunc(MathExprParser.SinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSinFunc(MathExprParser.SinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCosFunc(MathExprParser.CosFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCosFunc(MathExprParser.CosFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTanFunc(MathExprParser.TanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTanFunc(MathExprParser.TanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAsinFunc(MathExprParser.AsinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAsinFunc(MathExprParser.AsinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAcosFunc(MathExprParser.AcosFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAcosFunc(MathExprParser.AcosFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAtanFunc(MathExprParser.AtanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAtanFunc(MathExprParser.AtanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSinhFunc(MathExprParser.SinhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSinhFunc(MathExprParser.SinhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCoshFunc(MathExprParser.CoshFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCoshFunc(MathExprParser.CoshFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTanhFunc(MathExprParser.TanhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTanhFunc(MathExprParser.TanhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAsinhFunc(MathExprParser.AsinhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAsinhFunc(MathExprParser.AsinhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAcoshFunc(MathExprParser.AcoshFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAcoshFunc(MathExprParser.AcoshFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAtanhFunc(MathExprParser.AtanhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAtanhFunc(MathExprParser.AtanhFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAbsFunc(MathExprParser.AbsFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAbsFunc(MathExprParser.AbsFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSqrtFunc(MathExprParser.SqrtFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSqrtFunc(MathExprParser.SqrtFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLnFunc(MathExprParser.LnFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLnFunc(MathExprParser.LnFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLogFunc(MathExprParser.LogFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLogFunc(MathExprParser.LogFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterExpFunc(MathExprParser.ExpFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitExpFunc(MathExprParser.ExpFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTNormFunc(MathExprParser.TNormFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTNormFunc(MathExprParser.TNormFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSNormFunc(MathExprParser.SNormFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSNormFunc(MathExprParser.SNormFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFloorFunc(MathExprParser.FloorFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFloorFunc(MathExprParser.FloorFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCeilFunc(MathExprParser.CeilFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCeilFunc(MathExprParser.CeilFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterRoundFunc(MathExprParser.RoundFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitRoundFunc(MathExprParser.RoundFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterGammaFunc(MathExprParser.GammaFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitGammaFunc(MathExprParser.GammaFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSigmoidFunc(MathExprParser.SigmoidFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSigmoidFunc(MathExprParser.SigmoidFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSfftFunc(MathExprParser.SfftFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSfftFunc(MathExprParser.SfftFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSifftFunc(MathExprParser.SifftFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSifftFunc(MathExprParser.SifftFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAnglFunc(MathExprParser.AnglFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAnglFunc(MathExprParser.AnglFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPrintFunc(MathExprParser.PrintFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPrintFunc(MathExprParser.PrintFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFractFunc(MathExprParser.FractFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFractFunc(MathExprParser.FractFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterReluFunc(MathExprParser.ReluFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitReluFunc(MathExprParser.ReluFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSoftplusFunc(MathExprParser.SoftplusFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSoftplusFunc(MathExprParser.SoftplusFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterGeluFunc(MathExprParser.GeluFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitGeluFunc(MathExprParser.GeluFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSignFunc(MathExprParser.SignFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSignFunc(MathExprParser.SignFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPrintShapeFunc(MathExprParser.PrintShapeFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPrintShapeFunc(MathExprParser.PrintShapeFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPinvFunc(MathExprParser.PinvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPinvFunc(MathExprParser.PinvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSumFunc(MathExprParser.SumFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSumFunc(MathExprParser.SumFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMeanFunc(MathExprParser.MeanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMeanFunc(MathExprParser.MeanFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStdFunc(MathExprParser.StdFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStdFunc(MathExprParser.StdFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVarFunc(MathExprParser.VarFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVarFunc(MathExprParser.VarFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSortFunc(MathExprParser.SortFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSortFunc(MathExprParser.SortFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNoiseFunc(MathExprParser.NoiseFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNoiseFunc(MathExprParser.NoiseFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterRandFunc(MathExprParser.RandFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitRandFunc(MathExprParser.RandFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPowFunc(MathExprParser.PowFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPowFunc(MathExprParser.PowFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAtan2Func(MathExprParser.Atan2FuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAtan2Func(MathExprParser.Atan2FuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTMinFunc(MathExprParser.TMinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTMinFunc(MathExprParser.TMinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTMaxFunc(MathExprParser.TMaxFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTMaxFunc(MathExprParser.TMaxFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStepFunc(MathExprParser.StepFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStepFunc(MathExprParser.StepFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterTopkFunc(MathExprParser.TopkFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitTopkFunc(MathExprParser.TopkFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBotkFunc(MathExprParser.BotkFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBotkFunc(MathExprParser.BotkFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterQuartileFunc(MathExprParser.QuartileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitQuartileFunc(MathExprParser.QuartileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPercentileFunc(MathExprParser.PercentileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPercentileFunc(MathExprParser.PercentileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterQuantileFunc(MathExprParser.QuantileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitQuantileFunc(MathExprParser.QuantileFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDotFunc(MathExprParser.DotFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDotFunc(MathExprParser.DotFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCossimFunc(MathExprParser.CossimFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCossimFunc(MathExprParser.CossimFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFlipFunc(MathExprParser.FlipFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFlipFunc(MathExprParser.FlipFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCovFunc(MathExprParser.CovFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCovFunc(MathExprParser.CovFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAppendFunc(MathExprParser.AppendFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAppendFunc(MathExprParser.AppendFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterExponentialFunc(MathExprParser.ExponentialFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitExponentialFunc(MathExprParser.ExponentialFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBernoulliFunc(MathExprParser.BernoulliFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBernoulliFunc(MathExprParser.BernoulliFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPoissonFunc(MathExprParser.PoissonFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPoissonFunc(MathExprParser.PoissonFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterClampFunc(MathExprParser.ClampFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitClampFunc(MathExprParser.ClampFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLerpFunc(MathExprParser.LerpFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLerpFunc(MathExprParser.LerpFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSmoothstepFunc(MathExprParser.SmoothstepFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSmoothstepFunc(MathExprParser.SmoothstepFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterRangeFunc(MathExprParser.RangeFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitRangeFunc(MathExprParser.RangeFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMomentFunc(MathExprParser.MomentFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMomentFunc(MathExprParser.MomentFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCauchyFunc(MathExprParser.CauchyFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCauchyFunc(MathExprParser.CauchyFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLogNormalFunc(MathExprParser.LogNormalFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLogNormalFunc(MathExprParser.LogNormalFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSwapFunc(MathExprParser.SwapFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSwapFunc(MathExprParser.SwapFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNvlFunc(MathExprParser.NvlFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNvlFunc(MathExprParser.NvlFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSMinFunc(MathExprParser.SMinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSMinFunc(MathExprParser.SMinFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSMaxFunc(MathExprParser.SMaxFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSMaxFunc(MathExprParser.SMaxFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMapFunc(MathExprParser.MapFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMapFunc(MathExprParser.MapFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEzConvFunc(MathExprParser.EzConvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEzConvFunc(MathExprParser.EzConvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterConvFunc(MathExprParser.ConvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitConvFunc(MathExprParser.ConvFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPermuteFunc(MathExprParser.PermuteFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPermuteFunc(MathExprParser.PermuteFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterReshapeFunc(MathExprParser.ReshapeFuncContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitReshapeFunc(MathExprParser.ReshapeFuncContext ctx) { } - - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitTerminal(TerminalNode node) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitErrorNode(ErrorNode node) { } -} \ No newline at end of file diff --git a/more_math/Parser/.antlr/MathExprLexer.interp b/more_math/Parser/.antlr/MathExprLexer.interp deleted file mode 100644 index 896f17b..0000000 --- a/more_math/Parser/.antlr/MathExprLexer.interp +++ /dev/null @@ -1,320 +0,0 @@ -token literal names: -null -'sin' -'cos' -'tan' -'asin' -'acos' -'atan' -'atan2' -'sinh' -'cosh' -'tanh' -'asinh' -'acosh' -'atanh' -'abs' -'sqrt' -'ln' -'log' -'exp' -'smin' -'smax' -'tmin' -'tmax' -'tnorm' -'snorm' -'floor' -'ceil' -'round' -'gamma' -'pow' -'sigm' -'clamp' -'fft' -'ifft' -'angle' -'print' -null -null -'lerp' -'step' -'smoothstep' -'fract' -'relu' -'softplus' -'gelu' -'sign' -'map' -null -null -'swap' -null -null -'range' -'topk' -'botk' -'pinv' -'sum' -'mean' -'std' -'var' -null -null -'quantile' -'dot' -'moment' -null -null -null -null -null -null -null -'cossim' -'flip' -'cov' -'sort' -'append' -'+' -'-' -'*' -'/' -'%' -'^' -'>=' -'>' -'<=' -'<' -'==' -'=' -'!=' -'|' -'(' -')' -',' -';' -'->' -'[' -']' -null -null -null -null - -token symbolic names: -null -SIN -COS -TAN -ASIN -ACOS -ATAN -ATAN2 -SINH -COSH -TANH -ASINH -ACOSH -ATANH -ABS -SQRT -LN -LOG -EXP -SMIN -SMAX -TMIN -TMAX -TNORM -SNORM -FLOOR -CEIL -ROUND -GAMMA -POWE -SIGM -CLAMP -SFFT -SIFFT -ANGL -PRNT -PRINT_SHAPE -NVL -LERP -STEP -SMOOTHSTEP -FRACT -RELU -SOFTPLUS -GELU -SIGN -MAP -EZCONV -CONV -SWAP -PERM -RESHAPE -RANGE -TOPK -BOTK -PINV -SUM -MEAN -STD -VAR -QUARTILE -PERCENTILE -QUANTILE -DOT -MOMENT -NOISE -RAND -CAUCHY -EXPONENTIAL -LOGNORMAL -BERNOULLI -POISSON -COSSIM -FLIP -COV -SORT -APPEND -PLUS -MINUS -MULT -DIV -MOD -POW -GE -GT -LE -LT -EQ -EQUEALS -NE -PIPE -LPAREN -RPAREN -COMMA -SEMICOLON -ARROW -LBRACKET -RBRACKET -CONSTANT -NUMBER -VARIABLE -WS - -rule names: -SIN -COS -TAN -ASIN -ACOS -ATAN -ATAN2 -SINH -COSH -TANH -ASINH -ACOSH -ATANH -ABS -SQRT -LN -LOG -EXP -SMIN -SMAX -TMIN -TMAX -TNORM -SNORM -FLOOR -CEIL -ROUND -GAMMA -POWE -SIGM -CLAMP -SFFT -SIFFT -ANGL -PRNT -PRINT_SHAPE -NVL -LERP -STEP -SMOOTHSTEP -FRACT -RELU -SOFTPLUS -GELU -SIGN -MAP -EZCONV -CONV -SWAP -PERM -RESHAPE -RANGE -TOPK -BOTK -PINV -SUM -MEAN -STD -VAR -QUARTILE -PERCENTILE -QUANTILE -DOT -MOMENT -NOISE -RAND -CAUCHY -EXPONENTIAL -LOGNORMAL -BERNOULLI -POISSON -COSSIM -FLIP -COV -SORT -APPEND -PLUS -MINUS -MULT -DIV -MOD -POW -GE -GT -LE -LT -EQ -EQUEALS -NE -PIPE -LPAREN -RPAREN -COMMA -SEMICOLON -ARROW -LBRACKET -RBRACKET -CONSTANT -NUMBER -VARIABLE -WS - -channel names: -DEFAULT_TOKEN_CHANNEL -HIDDEN - -mode names: -DEFAULT_MODE - -atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 103, 903, 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, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9, 70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 4, 75, 9, 75, 4, 76, 9, 76, 4, 77, 9, 77, 4, 78, 9, 78, 4, 79, 9, 79, 4, 80, 9, 80, 4, 81, 9, 81, 4, 82, 9, 82, 4, 83, 9, 83, 4, 84, 9, 84, 4, 85, 9, 85, 4, 86, 9, 86, 4, 87, 9, 87, 4, 88, 9, 88, 4, 89, 9, 89, 4, 90, 9, 90, 4, 91, 9, 91, 4, 92, 9, 92, 4, 93, 9, 93, 4, 94, 9, 94, 4, 95, 9, 95, 4, 96, 9, 96, 4, 97, 9, 97, 4, 98, 9, 98, 4, 99, 9, 99, 4, 100, 9, 100, 4, 101, 9, 101, 4, 102, 9, 102, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 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, 14, 3, 14, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 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, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 25, 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, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 33, 3, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 398, 10, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 5, 38, 413, 10, 38, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 5, 48, 489, 10, 48, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 5, 49, 506, 10, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 5, 51, 524, 10, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 5, 52, 537, 10, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 57, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 59, 3, 59, 3, 59, 3, 59, 3, 60, 3, 60, 3, 60, 3, 60, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 5, 61, 592, 10, 61, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 5, 62, 609, 10, 62, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 64, 3, 64, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 5, 66, 654, 10, 66, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 679, 10, 67, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 5, 68, 699, 10, 68, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 5, 69, 724, 10, 69, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 5, 70, 749, 10, 70, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 5, 71, 772, 10, 71, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 5, 72, 793, 10, 72, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 75, 3, 75, 3, 75, 3, 75, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 78, 3, 78, 3, 79, 3, 79, 3, 80, 3, 80, 3, 81, 3, 81, 3, 82, 3, 82, 3, 83, 3, 83, 3, 84, 3, 84, 3, 84, 3, 85, 3, 85, 3, 86, 3, 86, 3, 86, 3, 87, 3, 87, 3, 88, 3, 88, 3, 88, 3, 89, 3, 89, 3, 90, 3, 90, 3, 90, 3, 91, 3, 91, 3, 92, 3, 92, 3, 93, 3, 93, 3, 94, 3, 94, 3, 95, 3, 95, 3, 96, 3, 96, 3, 96, 3, 97, 3, 97, 3, 98, 3, 98, 3, 99, 3, 99, 3, 99, 3, 99, 3, 99, 5, 99, 875, 10, 99, 3, 100, 6, 100, 878, 10, 100, 13, 100, 14, 100, 879, 3, 100, 3, 100, 6, 100, 884, 10, 100, 13, 100, 14, 100, 885, 5, 100, 888, 10, 100, 3, 101, 3, 101, 7, 101, 892, 10, 101, 12, 101, 14, 101, 895, 11, 101, 3, 102, 6, 102, 898, 10, 102, 13, 102, 14, 102, 899, 3, 102, 3, 102, 2, 2, 103, 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, 41, 81, 42, 83, 43, 85, 44, 87, 45, 89, 46, 91, 47, 93, 48, 95, 49, 97, 50, 99, 51, 101, 52, 103, 53, 105, 54, 107, 55, 109, 56, 111, 57, 113, 58, 115, 59, 117, 60, 119, 61, 121, 62, 123, 63, 125, 64, 127, 65, 129, 66, 131, 67, 133, 68, 135, 69, 137, 70, 139, 71, 141, 72, 143, 73, 145, 74, 147, 75, 149, 76, 151, 77, 153, 78, 155, 79, 157, 80, 159, 81, 161, 82, 163, 83, 165, 84, 167, 85, 169, 86, 171, 87, 173, 88, 175, 89, 177, 90, 179, 91, 181, 92, 183, 93, 185, 94, 187, 95, 189, 96, 191, 97, 193, 98, 195, 99, 197, 100, 199, 101, 201, 102, 203, 103, 3, 2, 7, 4, 2, 71, 71, 103, 103, 3, 2, 50, 59, 5, 2, 67, 92, 97, 97, 99, 124, 6, 2, 50, 59, 67, 92, 97, 97, 99, 124, 5, 2, 11, 12, 15, 15, 34, 34, 2, 926, 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, 2, 79, 3, 2, 2, 2, 2, 81, 3, 2, 2, 2, 2, 83, 3, 2, 2, 2, 2, 85, 3, 2, 2, 2, 2, 87, 3, 2, 2, 2, 2, 89, 3, 2, 2, 2, 2, 91, 3, 2, 2, 2, 2, 93, 3, 2, 2, 2, 2, 95, 3, 2, 2, 2, 2, 97, 3, 2, 2, 2, 2, 99, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2, 2, 105, 3, 2, 2, 2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3, 2, 2, 2, 2, 113, 3, 2, 2, 2, 2, 115, 3, 2, 2, 2, 2, 117, 3, 2, 2, 2, 2, 119, 3, 2, 2, 2, 2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 2, 127, 3, 2, 2, 2, 2, 129, 3, 2, 2, 2, 2, 131, 3, 2, 2, 2, 2, 133, 3, 2, 2, 2, 2, 135, 3, 2, 2, 2, 2, 137, 3, 2, 2, 2, 2, 139, 3, 2, 2, 2, 2, 141, 3, 2, 2, 2, 2, 143, 3, 2, 2, 2, 2, 145, 3, 2, 2, 2, 2, 147, 3, 2, 2, 2, 2, 149, 3, 2, 2, 2, 2, 151, 3, 2, 2, 2, 2, 153, 3, 2, 2, 2, 2, 155, 3, 2, 2, 2, 2, 157, 3, 2, 2, 2, 2, 159, 3, 2, 2, 2, 2, 161, 3, 2, 2, 2, 2, 163, 3, 2, 2, 2, 2, 165, 3, 2, 2, 2, 2, 167, 3, 2, 2, 2, 2, 169, 3, 2, 2, 2, 2, 171, 3, 2, 2, 2, 2, 173, 3, 2, 2, 2, 2, 175, 3, 2, 2, 2, 2, 177, 3, 2, 2, 2, 2, 179, 3, 2, 2, 2, 2, 181, 3, 2, 2, 2, 2, 183, 3, 2, 2, 2, 2, 185, 3, 2, 2, 2, 2, 187, 3, 2, 2, 2, 2, 189, 3, 2, 2, 2, 2, 191, 3, 2, 2, 2, 2, 193, 3, 2, 2, 2, 2, 195, 3, 2, 2, 2, 2, 197, 3, 2, 2, 2, 2, 199, 3, 2, 2, 2, 2, 201, 3, 2, 2, 2, 2, 203, 3, 2, 2, 2, 3, 205, 3, 2, 2, 2, 5, 209, 3, 2, 2, 2, 7, 213, 3, 2, 2, 2, 9, 217, 3, 2, 2, 2, 11, 222, 3, 2, 2, 2, 13, 227, 3, 2, 2, 2, 15, 232, 3, 2, 2, 2, 17, 238, 3, 2, 2, 2, 19, 243, 3, 2, 2, 2, 21, 248, 3, 2, 2, 2, 23, 253, 3, 2, 2, 2, 25, 259, 3, 2, 2, 2, 27, 265, 3, 2, 2, 2, 29, 271, 3, 2, 2, 2, 31, 275, 3, 2, 2, 2, 33, 280, 3, 2, 2, 2, 35, 283, 3, 2, 2, 2, 37, 287, 3, 2, 2, 2, 39, 291, 3, 2, 2, 2, 41, 296, 3, 2, 2, 2, 43, 301, 3, 2, 2, 2, 45, 306, 3, 2, 2, 2, 47, 311, 3, 2, 2, 2, 49, 317, 3, 2, 2, 2, 51, 323, 3, 2, 2, 2, 53, 329, 3, 2, 2, 2, 55, 334, 3, 2, 2, 2, 57, 340, 3, 2, 2, 2, 59, 346, 3, 2, 2, 2, 61, 350, 3, 2, 2, 2, 63, 355, 3, 2, 2, 2, 65, 361, 3, 2, 2, 2, 67, 365, 3, 2, 2, 2, 69, 370, 3, 2, 2, 2, 71, 376, 3, 2, 2, 2, 73, 397, 3, 2, 2, 2, 75, 412, 3, 2, 2, 2, 77, 414, 3, 2, 2, 2, 79, 419, 3, 2, 2, 2, 81, 424, 3, 2, 2, 2, 83, 435, 3, 2, 2, 2, 85, 441, 3, 2, 2, 2, 87, 446, 3, 2, 2, 2, 89, 455, 3, 2, 2, 2, 91, 460, 3, 2, 2, 2, 93, 465, 3, 2, 2, 2, 95, 488, 3, 2, 2, 2, 97, 505, 3, 2, 2, 2, 99, 507, 3, 2, 2, 2, 101, 523, 3, 2, 2, 2, 103, 536, 3, 2, 2, 2, 105, 538, 3, 2, 2, 2, 107, 544, 3, 2, 2, 2, 109, 549, 3, 2, 2, 2, 111, 554, 3, 2, 2, 2, 113, 559, 3, 2, 2, 2, 115, 563, 3, 2, 2, 2, 117, 568, 3, 2, 2, 2, 119, 572, 3, 2, 2, 2, 121, 591, 3, 2, 2, 2, 123, 608, 3, 2, 2, 2, 125, 610, 3, 2, 2, 2, 127, 619, 3, 2, 2, 2, 129, 623, 3, 2, 2, 2, 131, 653, 3, 2, 2, 2, 133, 678, 3, 2, 2, 2, 135, 698, 3, 2, 2, 2, 137, 723, 3, 2, 2, 2, 139, 748, 3, 2, 2, 2, 141, 771, 3, 2, 2, 2, 143, 792, 3, 2, 2, 2, 145, 794, 3, 2, 2, 2, 147, 801, 3, 2, 2, 2, 149, 806, 3, 2, 2, 2, 151, 810, 3, 2, 2, 2, 153, 815, 3, 2, 2, 2, 155, 822, 3, 2, 2, 2, 157, 824, 3, 2, 2, 2, 159, 826, 3, 2, 2, 2, 161, 828, 3, 2, 2, 2, 163, 830, 3, 2, 2, 2, 165, 832, 3, 2, 2, 2, 167, 834, 3, 2, 2, 2, 169, 837, 3, 2, 2, 2, 171, 839, 3, 2, 2, 2, 173, 842, 3, 2, 2, 2, 175, 844, 3, 2, 2, 2, 177, 847, 3, 2, 2, 2, 179, 849, 3, 2, 2, 2, 181, 852, 3, 2, 2, 2, 183, 854, 3, 2, 2, 2, 185, 856, 3, 2, 2, 2, 187, 858, 3, 2, 2, 2, 189, 860, 3, 2, 2, 2, 191, 862, 3, 2, 2, 2, 193, 865, 3, 2, 2, 2, 195, 867, 3, 2, 2, 2, 197, 874, 3, 2, 2, 2, 199, 877, 3, 2, 2, 2, 201, 889, 3, 2, 2, 2, 203, 897, 3, 2, 2, 2, 205, 206, 7, 117, 2, 2, 206, 207, 7, 107, 2, 2, 207, 208, 7, 112, 2, 2, 208, 4, 3, 2, 2, 2, 209, 210, 7, 101, 2, 2, 210, 211, 7, 113, 2, 2, 211, 212, 7, 117, 2, 2, 212, 6, 3, 2, 2, 2, 213, 214, 7, 118, 2, 2, 214, 215, 7, 99, 2, 2, 215, 216, 7, 112, 2, 2, 216, 8, 3, 2, 2, 2, 217, 218, 7, 99, 2, 2, 218, 219, 7, 117, 2, 2, 219, 220, 7, 107, 2, 2, 220, 221, 7, 112, 2, 2, 221, 10, 3, 2, 2, 2, 222, 223, 7, 99, 2, 2, 223, 224, 7, 101, 2, 2, 224, 225, 7, 113, 2, 2, 225, 226, 7, 117, 2, 2, 226, 12, 3, 2, 2, 2, 227, 228, 7, 99, 2, 2, 228, 229, 7, 118, 2, 2, 229, 230, 7, 99, 2, 2, 230, 231, 7, 112, 2, 2, 231, 14, 3, 2, 2, 2, 232, 233, 7, 99, 2, 2, 233, 234, 7, 118, 2, 2, 234, 235, 7, 99, 2, 2, 235, 236, 7, 112, 2, 2, 236, 237, 7, 52, 2, 2, 237, 16, 3, 2, 2, 2, 238, 239, 7, 117, 2, 2, 239, 240, 7, 107, 2, 2, 240, 241, 7, 112, 2, 2, 241, 242, 7, 106, 2, 2, 242, 18, 3, 2, 2, 2, 243, 244, 7, 101, 2, 2, 244, 245, 7, 113, 2, 2, 245, 246, 7, 117, 2, 2, 246, 247, 7, 106, 2, 2, 247, 20, 3, 2, 2, 2, 248, 249, 7, 118, 2, 2, 249, 250, 7, 99, 2, 2, 250, 251, 7, 112, 2, 2, 251, 252, 7, 106, 2, 2, 252, 22, 3, 2, 2, 2, 253, 254, 7, 99, 2, 2, 254, 255, 7, 117, 2, 2, 255, 256, 7, 107, 2, 2, 256, 257, 7, 112, 2, 2, 257, 258, 7, 106, 2, 2, 258, 24, 3, 2, 2, 2, 259, 260, 7, 99, 2, 2, 260, 261, 7, 101, 2, 2, 261, 262, 7, 113, 2, 2, 262, 263, 7, 117, 2, 2, 263, 264, 7, 106, 2, 2, 264, 26, 3, 2, 2, 2, 265, 266, 7, 99, 2, 2, 266, 267, 7, 118, 2, 2, 267, 268, 7, 99, 2, 2, 268, 269, 7, 112, 2, 2, 269, 270, 7, 106, 2, 2, 270, 28, 3, 2, 2, 2, 271, 272, 7, 99, 2, 2, 272, 273, 7, 100, 2, 2, 273, 274, 7, 117, 2, 2, 274, 30, 3, 2, 2, 2, 275, 276, 7, 117, 2, 2, 276, 277, 7, 115, 2, 2, 277, 278, 7, 116, 2, 2, 278, 279, 7, 118, 2, 2, 279, 32, 3, 2, 2, 2, 280, 281, 7, 110, 2, 2, 281, 282, 7, 112, 2, 2, 282, 34, 3, 2, 2, 2, 283, 284, 7, 110, 2, 2, 284, 285, 7, 113, 2, 2, 285, 286, 7, 105, 2, 2, 286, 36, 3, 2, 2, 2, 287, 288, 7, 103, 2, 2, 288, 289, 7, 122, 2, 2, 289, 290, 7, 114, 2, 2, 290, 38, 3, 2, 2, 2, 291, 292, 7, 117, 2, 2, 292, 293, 7, 111, 2, 2, 293, 294, 7, 107, 2, 2, 294, 295, 7, 112, 2, 2, 295, 40, 3, 2, 2, 2, 296, 297, 7, 117, 2, 2, 297, 298, 7, 111, 2, 2, 298, 299, 7, 99, 2, 2, 299, 300, 7, 122, 2, 2, 300, 42, 3, 2, 2, 2, 301, 302, 7, 118, 2, 2, 302, 303, 7, 111, 2, 2, 303, 304, 7, 107, 2, 2, 304, 305, 7, 112, 2, 2, 305, 44, 3, 2, 2, 2, 306, 307, 7, 118, 2, 2, 307, 308, 7, 111, 2, 2, 308, 309, 7, 99, 2, 2, 309, 310, 7, 122, 2, 2, 310, 46, 3, 2, 2, 2, 311, 312, 7, 118, 2, 2, 312, 313, 7, 112, 2, 2, 313, 314, 7, 113, 2, 2, 314, 315, 7, 116, 2, 2, 315, 316, 7, 111, 2, 2, 316, 48, 3, 2, 2, 2, 317, 318, 7, 117, 2, 2, 318, 319, 7, 112, 2, 2, 319, 320, 7, 113, 2, 2, 320, 321, 7, 116, 2, 2, 321, 322, 7, 111, 2, 2, 322, 50, 3, 2, 2, 2, 323, 324, 7, 104, 2, 2, 324, 325, 7, 110, 2, 2, 325, 326, 7, 113, 2, 2, 326, 327, 7, 113, 2, 2, 327, 328, 7, 116, 2, 2, 328, 52, 3, 2, 2, 2, 329, 330, 7, 101, 2, 2, 330, 331, 7, 103, 2, 2, 331, 332, 7, 107, 2, 2, 332, 333, 7, 110, 2, 2, 333, 54, 3, 2, 2, 2, 334, 335, 7, 116, 2, 2, 335, 336, 7, 113, 2, 2, 336, 337, 7, 119, 2, 2, 337, 338, 7, 112, 2, 2, 338, 339, 7, 102, 2, 2, 339, 56, 3, 2, 2, 2, 340, 341, 7, 105, 2, 2, 341, 342, 7, 99, 2, 2, 342, 343, 7, 111, 2, 2, 343, 344, 7, 111, 2, 2, 344, 345, 7, 99, 2, 2, 345, 58, 3, 2, 2, 2, 346, 347, 7, 114, 2, 2, 347, 348, 7, 113, 2, 2, 348, 349, 7, 121, 2, 2, 349, 60, 3, 2, 2, 2, 350, 351, 7, 117, 2, 2, 351, 352, 7, 107, 2, 2, 352, 353, 7, 105, 2, 2, 353, 354, 7, 111, 2, 2, 354, 62, 3, 2, 2, 2, 355, 356, 7, 101, 2, 2, 356, 357, 7, 110, 2, 2, 357, 358, 7, 99, 2, 2, 358, 359, 7, 111, 2, 2, 359, 360, 7, 114, 2, 2, 360, 64, 3, 2, 2, 2, 361, 362, 7, 104, 2, 2, 362, 363, 7, 104, 2, 2, 363, 364, 7, 118, 2, 2, 364, 66, 3, 2, 2, 2, 365, 366, 7, 107, 2, 2, 366, 367, 7, 104, 2, 2, 367, 368, 7, 104, 2, 2, 368, 369, 7, 118, 2, 2, 369, 68, 3, 2, 2, 2, 370, 371, 7, 99, 2, 2, 371, 372, 7, 112, 2, 2, 372, 373, 7, 105, 2, 2, 373, 374, 7, 110, 2, 2, 374, 375, 7, 103, 2, 2, 375, 70, 3, 2, 2, 2, 376, 377, 7, 114, 2, 2, 377, 378, 7, 116, 2, 2, 378, 379, 7, 107, 2, 2, 379, 380, 7, 112, 2, 2, 380, 381, 7, 118, 2, 2, 381, 72, 3, 2, 2, 2, 382, 383, 7, 114, 2, 2, 383, 384, 7, 116, 2, 2, 384, 385, 7, 107, 2, 2, 385, 386, 7, 112, 2, 2, 386, 387, 7, 118, 2, 2, 387, 388, 7, 97, 2, 2, 388, 389, 7, 117, 2, 2, 389, 390, 7, 106, 2, 2, 390, 391, 7, 99, 2, 2, 391, 392, 7, 114, 2, 2, 392, 398, 7, 103, 2, 2, 393, 394, 7, 114, 2, 2, 394, 395, 7, 117, 2, 2, 395, 396, 7, 106, 2, 2, 396, 398, 7, 114, 2, 2, 397, 382, 3, 2, 2, 2, 397, 393, 3, 2, 2, 2, 398, 74, 3, 2, 2, 2, 399, 400, 7, 112, 2, 2, 400, 401, 7, 120, 2, 2, 401, 413, 7, 110, 2, 2, 402, 403, 7, 112, 2, 2, 403, 404, 7, 99, 2, 2, 404, 405, 7, 112, 2, 2, 405, 406, 7, 97, 2, 2, 406, 407, 7, 118, 2, 2, 407, 408, 7, 113, 2, 2, 408, 409, 7, 97, 2, 2, 409, 410, 7, 112, 2, 2, 410, 411, 7, 119, 2, 2, 411, 413, 7, 111, 2, 2, 412, 399, 3, 2, 2, 2, 412, 402, 3, 2, 2, 2, 413, 76, 3, 2, 2, 2, 414, 415, 7, 110, 2, 2, 415, 416, 7, 103, 2, 2, 416, 417, 7, 116, 2, 2, 417, 418, 7, 114, 2, 2, 418, 78, 3, 2, 2, 2, 419, 420, 7, 117, 2, 2, 420, 421, 7, 118, 2, 2, 421, 422, 7, 103, 2, 2, 422, 423, 7, 114, 2, 2, 423, 80, 3, 2, 2, 2, 424, 425, 7, 117, 2, 2, 425, 426, 7, 111, 2, 2, 426, 427, 7, 113, 2, 2, 427, 428, 7, 113, 2, 2, 428, 429, 7, 118, 2, 2, 429, 430, 7, 106, 2, 2, 430, 431, 7, 117, 2, 2, 431, 432, 7, 118, 2, 2, 432, 433, 7, 103, 2, 2, 433, 434, 7, 114, 2, 2, 434, 82, 3, 2, 2, 2, 435, 436, 7, 104, 2, 2, 436, 437, 7, 116, 2, 2, 437, 438, 7, 99, 2, 2, 438, 439, 7, 101, 2, 2, 439, 440, 7, 118, 2, 2, 440, 84, 3, 2, 2, 2, 441, 442, 7, 116, 2, 2, 442, 443, 7, 103, 2, 2, 443, 444, 7, 110, 2, 2, 444, 445, 7, 119, 2, 2, 445, 86, 3, 2, 2, 2, 446, 447, 7, 117, 2, 2, 447, 448, 7, 113, 2, 2, 448, 449, 7, 104, 2, 2, 449, 450, 7, 118, 2, 2, 450, 451, 7, 114, 2, 2, 451, 452, 7, 110, 2, 2, 452, 453, 7, 119, 2, 2, 453, 454, 7, 117, 2, 2, 454, 88, 3, 2, 2, 2, 455, 456, 7, 105, 2, 2, 456, 457, 7, 103, 2, 2, 457, 458, 7, 110, 2, 2, 458, 459, 7, 119, 2, 2, 459, 90, 3, 2, 2, 2, 460, 461, 7, 117, 2, 2, 461, 462, 7, 107, 2, 2, 462, 463, 7, 105, 2, 2, 463, 464, 7, 112, 2, 2, 464, 92, 3, 2, 2, 2, 465, 466, 7, 111, 2, 2, 466, 467, 7, 99, 2, 2, 467, 468, 7, 114, 2, 2, 468, 94, 3, 2, 2, 2, 469, 470, 7, 103, 2, 2, 470, 471, 7, 124, 2, 2, 471, 472, 7, 101, 2, 2, 472, 473, 7, 113, 2, 2, 473, 474, 7, 112, 2, 2, 474, 475, 7, 120, 2, 2, 475, 476, 7, 113, 2, 2, 476, 477, 7, 110, 2, 2, 477, 478, 7, 119, 2, 2, 478, 479, 7, 118, 2, 2, 479, 480, 7, 107, 2, 2, 480, 481, 7, 113, 2, 2, 481, 489, 7, 112, 2, 2, 482, 483, 7, 103, 2, 2, 483, 484, 7, 124, 2, 2, 484, 485, 7, 101, 2, 2, 485, 486, 7, 113, 2, 2, 486, 487, 7, 112, 2, 2, 487, 489, 7, 120, 2, 2, 488, 469, 3, 2, 2, 2, 488, 482, 3, 2, 2, 2, 489, 96, 3, 2, 2, 2, 490, 491, 7, 101, 2, 2, 491, 492, 7, 113, 2, 2, 492, 493, 7, 112, 2, 2, 493, 494, 7, 120, 2, 2, 494, 495, 7, 113, 2, 2, 495, 496, 7, 110, 2, 2, 496, 497, 7, 119, 2, 2, 497, 498, 7, 118, 2, 2, 498, 499, 7, 107, 2, 2, 499, 500, 7, 113, 2, 2, 500, 506, 7, 112, 2, 2, 501, 502, 7, 101, 2, 2, 502, 503, 7, 113, 2, 2, 503, 504, 7, 112, 2, 2, 504, 506, 7, 120, 2, 2, 505, 490, 3, 2, 2, 2, 505, 501, 3, 2, 2, 2, 506, 98, 3, 2, 2, 2, 507, 508, 7, 117, 2, 2, 508, 509, 7, 121, 2, 2, 509, 510, 7, 99, 2, 2, 510, 511, 7, 114, 2, 2, 511, 100, 3, 2, 2, 2, 512, 513, 7, 114, 2, 2, 513, 514, 7, 103, 2, 2, 514, 515, 7, 116, 2, 2, 515, 516, 7, 111, 2, 2, 516, 517, 7, 119, 2, 2, 517, 518, 7, 118, 2, 2, 518, 524, 7, 103, 2, 2, 519, 520, 7, 114, 2, 2, 520, 521, 7, 103, 2, 2, 521, 522, 7, 116, 2, 2, 522, 524, 7, 111, 2, 2, 523, 512, 3, 2, 2, 2, 523, 519, 3, 2, 2, 2, 524, 102, 3, 2, 2, 2, 525, 526, 7, 116, 2, 2, 526, 527, 7, 103, 2, 2, 527, 528, 7, 117, 2, 2, 528, 529, 7, 106, 2, 2, 529, 530, 7, 99, 2, 2, 530, 531, 7, 114, 2, 2, 531, 537, 7, 103, 2, 2, 532, 533, 7, 116, 2, 2, 533, 534, 7, 117, 2, 2, 534, 535, 7, 106, 2, 2, 535, 537, 7, 114, 2, 2, 536, 525, 3, 2, 2, 2, 536, 532, 3, 2, 2, 2, 537, 104, 3, 2, 2, 2, 538, 539, 7, 116, 2, 2, 539, 540, 7, 99, 2, 2, 540, 541, 7, 112, 2, 2, 541, 542, 7, 105, 2, 2, 542, 543, 7, 103, 2, 2, 543, 106, 3, 2, 2, 2, 544, 545, 7, 118, 2, 2, 545, 546, 7, 113, 2, 2, 546, 547, 7, 114, 2, 2, 547, 548, 7, 109, 2, 2, 548, 108, 3, 2, 2, 2, 549, 550, 7, 100, 2, 2, 550, 551, 7, 113, 2, 2, 551, 552, 7, 118, 2, 2, 552, 553, 7, 109, 2, 2, 553, 110, 3, 2, 2, 2, 554, 555, 7, 114, 2, 2, 555, 556, 7, 107, 2, 2, 556, 557, 7, 112, 2, 2, 557, 558, 7, 120, 2, 2, 558, 112, 3, 2, 2, 2, 559, 560, 7, 117, 2, 2, 560, 561, 7, 119, 2, 2, 561, 562, 7, 111, 2, 2, 562, 114, 3, 2, 2, 2, 563, 564, 7, 111, 2, 2, 564, 565, 7, 103, 2, 2, 565, 566, 7, 99, 2, 2, 566, 567, 7, 112, 2, 2, 567, 116, 3, 2, 2, 2, 568, 569, 7, 117, 2, 2, 569, 570, 7, 118, 2, 2, 570, 571, 7, 102, 2, 2, 571, 118, 3, 2, 2, 2, 572, 573, 7, 120, 2, 2, 573, 574, 7, 99, 2, 2, 574, 575, 7, 116, 2, 2, 575, 120, 3, 2, 2, 2, 576, 577, 7, 115, 2, 2, 577, 578, 7, 119, 2, 2, 578, 579, 7, 99, 2, 2, 579, 580, 7, 116, 2, 2, 580, 581, 7, 118, 2, 2, 581, 582, 7, 107, 2, 2, 582, 583, 7, 110, 2, 2, 583, 592, 7, 103, 2, 2, 584, 585, 7, 115, 2, 2, 585, 586, 7, 119, 2, 2, 586, 587, 7, 99, 2, 2, 587, 588, 7, 116, 2, 2, 588, 589, 7, 118, 2, 2, 589, 590, 7, 107, 2, 2, 590, 592, 7, 110, 2, 2, 591, 576, 3, 2, 2, 2, 591, 584, 3, 2, 2, 2, 592, 122, 3, 2, 2, 2, 593, 594, 7, 114, 2, 2, 594, 595, 7, 103, 2, 2, 595, 596, 7, 116, 2, 2, 596, 597, 7, 101, 2, 2, 597, 598, 7, 103, 2, 2, 598, 599, 7, 112, 2, 2, 599, 600, 7, 118, 2, 2, 600, 601, 7, 107, 2, 2, 601, 602, 7, 110, 2, 2, 602, 609, 7, 103, 2, 2, 603, 604, 7, 114, 2, 2, 604, 605, 7, 116, 2, 2, 605, 606, 7, 101, 2, 2, 606, 607, 7, 112, 2, 2, 607, 609, 7, 118, 2, 2, 608, 593, 3, 2, 2, 2, 608, 603, 3, 2, 2, 2, 609, 124, 3, 2, 2, 2, 610, 611, 7, 115, 2, 2, 611, 612, 7, 119, 2, 2, 612, 613, 7, 99, 2, 2, 613, 614, 7, 112, 2, 2, 614, 615, 7, 118, 2, 2, 615, 616, 7, 107, 2, 2, 616, 617, 7, 110, 2, 2, 617, 618, 7, 103, 2, 2, 618, 126, 3, 2, 2, 2, 619, 620, 7, 102, 2, 2, 620, 621, 7, 113, 2, 2, 621, 622, 7, 118, 2, 2, 622, 128, 3, 2, 2, 2, 623, 624, 7, 111, 2, 2, 624, 625, 7, 113, 2, 2, 625, 626, 7, 111, 2, 2, 626, 627, 7, 103, 2, 2, 627, 628, 7, 112, 2, 2, 628, 629, 7, 118, 2, 2, 629, 130, 3, 2, 2, 2, 630, 631, 7, 112, 2, 2, 631, 632, 7, 113, 2, 2, 632, 633, 7, 107, 2, 2, 633, 634, 7, 117, 2, 2, 634, 654, 7, 103, 2, 2, 635, 636, 7, 116, 2, 2, 636, 637, 7, 99, 2, 2, 637, 638, 7, 112, 2, 2, 638, 639, 7, 102, 2, 2, 639, 654, 7, 112, 2, 2, 640, 641, 7, 116, 2, 2, 641, 642, 7, 99, 2, 2, 642, 643, 7, 112, 2, 2, 643, 644, 7, 102, 2, 2, 644, 645, 7, 113, 2, 2, 645, 646, 7, 111, 2, 2, 646, 647, 7, 97, 2, 2, 647, 648, 7, 112, 2, 2, 648, 649, 7, 113, 2, 2, 649, 650, 7, 116, 2, 2, 650, 651, 7, 111, 2, 2, 651, 652, 7, 99, 2, 2, 652, 654, 7, 110, 2, 2, 653, 630, 3, 2, 2, 2, 653, 635, 3, 2, 2, 2, 653, 640, 3, 2, 2, 2, 654, 132, 3, 2, 2, 2, 655, 656, 7, 116, 2, 2, 656, 657, 7, 99, 2, 2, 657, 658, 7, 112, 2, 2, 658, 679, 7, 102, 2, 2, 659, 660, 7, 116, 2, 2, 660, 661, 7, 99, 2, 2, 661, 662, 7, 112, 2, 2, 662, 663, 7, 102, 2, 2, 663, 679, 7, 119, 2, 2, 664, 665, 7, 116, 2, 2, 665, 666, 7, 99, 2, 2, 666, 667, 7, 112, 2, 2, 667, 668, 7, 102, 2, 2, 668, 669, 7, 113, 2, 2, 669, 670, 7, 111, 2, 2, 670, 671, 7, 97, 2, 2, 671, 672, 7, 119, 2, 2, 672, 673, 7, 112, 2, 2, 673, 674, 7, 107, 2, 2, 674, 675, 7, 104, 2, 2, 675, 676, 7, 113, 2, 2, 676, 677, 7, 116, 2, 2, 677, 679, 7, 111, 2, 2, 678, 655, 3, 2, 2, 2, 678, 659, 3, 2, 2, 2, 678, 664, 3, 2, 2, 2, 679, 134, 3, 2, 2, 2, 680, 681, 7, 116, 2, 2, 681, 682, 7, 99, 2, 2, 682, 683, 7, 112, 2, 2, 683, 684, 7, 102, 2, 2, 684, 699, 7, 101, 2, 2, 685, 686, 7, 116, 2, 2, 686, 687, 7, 99, 2, 2, 687, 688, 7, 112, 2, 2, 688, 689, 7, 102, 2, 2, 689, 690, 7, 113, 2, 2, 690, 691, 7, 111, 2, 2, 691, 692, 7, 97, 2, 2, 692, 693, 7, 101, 2, 2, 693, 694, 7, 99, 2, 2, 694, 695, 7, 119, 2, 2, 695, 696, 7, 101, 2, 2, 696, 697, 7, 106, 2, 2, 697, 699, 7, 123, 2, 2, 698, 680, 3, 2, 2, 2, 698, 685, 3, 2, 2, 2, 699, 136, 3, 2, 2, 2, 700, 701, 7, 116, 2, 2, 701, 702, 7, 99, 2, 2, 702, 703, 7, 112, 2, 2, 703, 704, 7, 102, 2, 2, 704, 724, 7, 103, 2, 2, 705, 706, 7, 116, 2, 2, 706, 707, 7, 99, 2, 2, 707, 708, 7, 112, 2, 2, 708, 709, 7, 102, 2, 2, 709, 710, 7, 113, 2, 2, 710, 711, 7, 111, 2, 2, 711, 712, 7, 97, 2, 2, 712, 713, 7, 103, 2, 2, 713, 714, 7, 122, 2, 2, 714, 715, 7, 114, 2, 2, 715, 716, 7, 113, 2, 2, 716, 717, 7, 112, 2, 2, 717, 718, 7, 103, 2, 2, 718, 719, 7, 112, 2, 2, 719, 720, 7, 118, 2, 2, 720, 721, 7, 107, 2, 2, 721, 722, 7, 99, 2, 2, 722, 724, 7, 110, 2, 2, 723, 700, 3, 2, 2, 2, 723, 705, 3, 2, 2, 2, 724, 138, 3, 2, 2, 2, 725, 726, 7, 116, 2, 2, 726, 727, 7, 99, 2, 2, 727, 728, 7, 112, 2, 2, 728, 729, 7, 102, 2, 2, 729, 730, 7, 110, 2, 2, 730, 749, 7, 112, 2, 2, 731, 732, 7, 116, 2, 2, 732, 733, 7, 99, 2, 2, 733, 734, 7, 112, 2, 2, 734, 735, 7, 102, 2, 2, 735, 736, 7, 113, 2, 2, 736, 737, 7, 111, 2, 2, 737, 738, 7, 97, 2, 2, 738, 739, 7, 110, 2, 2, 739, 740, 7, 113, 2, 2, 740, 741, 7, 105, 2, 2, 741, 742, 7, 97, 2, 2, 742, 743, 7, 112, 2, 2, 743, 744, 7, 113, 2, 2, 744, 745, 7, 116, 2, 2, 745, 746, 7, 111, 2, 2, 746, 747, 7, 99, 2, 2, 747, 749, 7, 110, 2, 2, 748, 725, 3, 2, 2, 2, 748, 731, 3, 2, 2, 2, 749, 140, 3, 2, 2, 2, 750, 751, 7, 116, 2, 2, 751, 752, 7, 99, 2, 2, 752, 753, 7, 112, 2, 2, 753, 754, 7, 102, 2, 2, 754, 772, 7, 100, 2, 2, 755, 756, 7, 116, 2, 2, 756, 757, 7, 99, 2, 2, 757, 758, 7, 112, 2, 2, 758, 759, 7, 102, 2, 2, 759, 760, 7, 113, 2, 2, 760, 761, 7, 111, 2, 2, 761, 762, 7, 97, 2, 2, 762, 763, 7, 100, 2, 2, 763, 764, 7, 103, 2, 2, 764, 765, 7, 116, 2, 2, 765, 766, 7, 112, 2, 2, 766, 767, 7, 113, 2, 2, 767, 768, 7, 119, 2, 2, 768, 769, 7, 110, 2, 2, 769, 770, 7, 110, 2, 2, 770, 772, 7, 107, 2, 2, 771, 750, 3, 2, 2, 2, 771, 755, 3, 2, 2, 2, 772, 142, 3, 2, 2, 2, 773, 774, 7, 116, 2, 2, 774, 775, 7, 99, 2, 2, 775, 776, 7, 112, 2, 2, 776, 777, 7, 102, 2, 2, 777, 793, 7, 114, 2, 2, 778, 779, 7, 116, 2, 2, 779, 780, 7, 99, 2, 2, 780, 781, 7, 112, 2, 2, 781, 782, 7, 102, 2, 2, 782, 783, 7, 113, 2, 2, 783, 784, 7, 111, 2, 2, 784, 785, 7, 97, 2, 2, 785, 786, 7, 114, 2, 2, 786, 787, 7, 113, 2, 2, 787, 788, 7, 107, 2, 2, 788, 789, 7, 117, 2, 2, 789, 790, 7, 117, 2, 2, 790, 791, 7, 113, 2, 2, 791, 793, 7, 112, 2, 2, 792, 773, 3, 2, 2, 2, 792, 778, 3, 2, 2, 2, 793, 144, 3, 2, 2, 2, 794, 795, 7, 101, 2, 2, 795, 796, 7, 113, 2, 2, 796, 797, 7, 117, 2, 2, 797, 798, 7, 117, 2, 2, 798, 799, 7, 107, 2, 2, 799, 800, 7, 111, 2, 2, 800, 146, 3, 2, 2, 2, 801, 802, 7, 104, 2, 2, 802, 803, 7, 110, 2, 2, 803, 804, 7, 107, 2, 2, 804, 805, 7, 114, 2, 2, 805, 148, 3, 2, 2, 2, 806, 807, 7, 101, 2, 2, 807, 808, 7, 113, 2, 2, 808, 809, 7, 120, 2, 2, 809, 150, 3, 2, 2, 2, 810, 811, 7, 117, 2, 2, 811, 812, 7, 113, 2, 2, 812, 813, 7, 116, 2, 2, 813, 814, 7, 118, 2, 2, 814, 152, 3, 2, 2, 2, 815, 816, 7, 99, 2, 2, 816, 817, 7, 114, 2, 2, 817, 818, 7, 114, 2, 2, 818, 819, 7, 103, 2, 2, 819, 820, 7, 112, 2, 2, 820, 821, 7, 102, 2, 2, 821, 154, 3, 2, 2, 2, 822, 823, 7, 45, 2, 2, 823, 156, 3, 2, 2, 2, 824, 825, 7, 47, 2, 2, 825, 158, 3, 2, 2, 2, 826, 827, 7, 44, 2, 2, 827, 160, 3, 2, 2, 2, 828, 829, 7, 49, 2, 2, 829, 162, 3, 2, 2, 2, 830, 831, 7, 39, 2, 2, 831, 164, 3, 2, 2, 2, 832, 833, 7, 96, 2, 2, 833, 166, 3, 2, 2, 2, 834, 835, 7, 64, 2, 2, 835, 836, 7, 63, 2, 2, 836, 168, 3, 2, 2, 2, 837, 838, 7, 64, 2, 2, 838, 170, 3, 2, 2, 2, 839, 840, 7, 62, 2, 2, 840, 841, 7, 63, 2, 2, 841, 172, 3, 2, 2, 2, 842, 843, 7, 62, 2, 2, 843, 174, 3, 2, 2, 2, 844, 845, 7, 63, 2, 2, 845, 846, 7, 63, 2, 2, 846, 176, 3, 2, 2, 2, 847, 848, 7, 63, 2, 2, 848, 178, 3, 2, 2, 2, 849, 850, 7, 35, 2, 2, 850, 851, 7, 63, 2, 2, 851, 180, 3, 2, 2, 2, 852, 853, 7, 126, 2, 2, 853, 182, 3, 2, 2, 2, 854, 855, 7, 42, 2, 2, 855, 184, 3, 2, 2, 2, 856, 857, 7, 43, 2, 2, 857, 186, 3, 2, 2, 2, 858, 859, 7, 46, 2, 2, 859, 188, 3, 2, 2, 2, 860, 861, 7, 61, 2, 2, 861, 190, 3, 2, 2, 2, 862, 863, 7, 47, 2, 2, 863, 864, 7, 64, 2, 2, 864, 192, 3, 2, 2, 2, 865, 866, 7, 93, 2, 2, 866, 194, 3, 2, 2, 2, 867, 868, 7, 95, 2, 2, 868, 196, 3, 2, 2, 2, 869, 870, 7, 114, 2, 2, 870, 875, 7, 107, 2, 2, 871, 872, 7, 82, 2, 2, 872, 875, 7, 75, 2, 2, 873, 875, 9, 2, 2, 2, 874, 869, 3, 2, 2, 2, 874, 871, 3, 2, 2, 2, 874, 873, 3, 2, 2, 2, 875, 198, 3, 2, 2, 2, 876, 878, 9, 3, 2, 2, 877, 876, 3, 2, 2, 2, 878, 879, 3, 2, 2, 2, 879, 877, 3, 2, 2, 2, 879, 880, 3, 2, 2, 2, 880, 887, 3, 2, 2, 2, 881, 883, 7, 48, 2, 2, 882, 884, 9, 3, 2, 2, 883, 882, 3, 2, 2, 2, 884, 885, 3, 2, 2, 2, 885, 883, 3, 2, 2, 2, 885, 886, 3, 2, 2, 2, 886, 888, 3, 2, 2, 2, 887, 881, 3, 2, 2, 2, 887, 888, 3, 2, 2, 2, 888, 200, 3, 2, 2, 2, 889, 893, 9, 4, 2, 2, 890, 892, 9, 5, 2, 2, 891, 890, 3, 2, 2, 2, 892, 895, 3, 2, 2, 2, 893, 891, 3, 2, 2, 2, 893, 894, 3, 2, 2, 2, 894, 202, 3, 2, 2, 2, 895, 893, 3, 2, 2, 2, 896, 898, 9, 6, 2, 2, 897, 896, 3, 2, 2, 2, 898, 899, 3, 2, 2, 2, 899, 897, 3, 2, 2, 2, 899, 900, 3, 2, 2, 2, 900, 901, 3, 2, 2, 2, 901, 902, 8, 102, 2, 2, 902, 204, 3, 2, 2, 2, 24, 2, 397, 412, 488, 505, 523, 536, 591, 608, 653, 678, 698, 723, 748, 771, 792, 874, 879, 885, 887, 893, 899, 3, 8, 2, 2] \ No newline at end of file diff --git a/more_math/Parser/.antlr/MathExprLexer.java b/more_math/Parser/.antlr/MathExprLexer.java deleted file mode 100644 index 2f312a7..0000000 --- a/more_math/Parser/.antlr/MathExprLexer.java +++ /dev/null @@ -1,456 +0,0 @@ -// Generated from d:\stability\Data\Packages\ComfyUI\custom_nodes\more_math\more_math\Parser\MathExpr.g4 by ANTLR 4.9.2 -import org.antlr.v4.runtime.Lexer; -import org.antlr.v4.runtime.CharStream; -import org.antlr.v4.runtime.Token; -import org.antlr.v4.runtime.TokenStream; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.misc.*; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) -public class MathExprLexer extends Lexer { - static { RuntimeMetaData.checkVersion("4.9.2", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - SIN=1, COS=2, TAN=3, ASIN=4, ACOS=5, ATAN=6, ATAN2=7, SINH=8, COSH=9, - TANH=10, ASINH=11, ACOSH=12, ATANH=13, ABS=14, SQRT=15, LN=16, LOG=17, - EXP=18, SMIN=19, SMAX=20, TMIN=21, TMAX=22, TNORM=23, SNORM=24, FLOOR=25, - CEIL=26, ROUND=27, GAMMA=28, POWE=29, SIGM=30, CLAMP=31, SFFT=32, SIFFT=33, - ANGL=34, PRNT=35, PRINT_SHAPE=36, NVL=37, LERP=38, STEP=39, SMOOTHSTEP=40, - FRACT=41, RELU=42, SOFTPLUS=43, GELU=44, SIGN=45, MAP=46, EZCONV=47, CONV=48, - SWAP=49, PERM=50, RESHAPE=51, RANGE=52, TOPK=53, BOTK=54, PINV=55, SUM=56, - MEAN=57, STD=58, VAR=59, QUARTILE=60, PERCENTILE=61, QUANTILE=62, DOT=63, - MOMENT=64, NOISE=65, RAND=66, CAUCHY=67, EXPONENTIAL=68, LOGNORMAL=69, - BERNOULLI=70, POISSON=71, COSSIM=72, FLIP=73, COV=74, SORT=75, APPEND=76, - PLUS=77, MINUS=78, MULT=79, DIV=80, MOD=81, POW=82, GE=83, GT=84, LE=85, - LT=86, EQ=87, EQUEALS=88, NE=89, PIPE=90, LPAREN=91, RPAREN=92, COMMA=93, - SEMICOLON=94, ARROW=95, LBRACKET=96, RBRACKET=97, CONSTANT=98, NUMBER=99, - VARIABLE=100, WS=101; - public static String[] channelNames = { - "DEFAULT_TOKEN_CHANNEL", "HIDDEN" - }; - - public static String[] modeNames = { - "DEFAULT_MODE" - }; - - private static String[] makeRuleNames() { - return new String[] { - "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", - "TANH", "ASINH", "ACOSH", "ATANH", "ABS", "SQRT", "LN", "LOG", "EXP", - "SMIN", "SMAX", "TMIN", "TMAX", "TNORM", "SNORM", "FLOOR", "CEIL", "ROUND", - "GAMMA", "POWE", "SIGM", "CLAMP", "SFFT", "SIFFT", "ANGL", "PRNT", "PRINT_SHAPE", - "NVL", "LERP", "STEP", "SMOOTHSTEP", "FRACT", "RELU", "SOFTPLUS", "GELU", - "SIGN", "MAP", "EZCONV", "CONV", "SWAP", "PERM", "RESHAPE", "RANGE", - "TOPK", "BOTK", "PINV", "SUM", "MEAN", "STD", "VAR", "QUARTILE", "PERCENTILE", - "QUANTILE", "DOT", "MOMENT", "NOISE", "RAND", "CAUCHY", "EXPONENTIAL", - "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", - "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", - "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", - "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, "'sin'", "'cos'", "'tan'", "'asin'", "'acos'", "'atan'", "'atan2'", - "'sinh'", "'cosh'", "'tanh'", "'asinh'", "'acosh'", "'atanh'", "'abs'", - "'sqrt'", "'ln'", "'log'", "'exp'", "'smin'", "'smax'", "'tmin'", "'tmax'", - "'tnorm'", "'snorm'", "'floor'", "'ceil'", "'round'", "'gamma'", "'pow'", - "'sigm'", "'clamp'", "'fft'", "'ifft'", "'angle'", "'print'", null, null, - "'lerp'", "'step'", "'smoothstep'", "'fract'", "'relu'", "'softplus'", - "'gelu'", "'sign'", "'map'", null, null, "'swap'", null, null, "'range'", - "'topk'", "'botk'", "'pinv'", "'sum'", "'mean'", "'std'", "'var'", null, - null, "'quantile'", "'dot'", "'moment'", null, null, null, null, null, - null, null, "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", - "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", "'<='", "'<'", "'=='", - "'='", "'!='", "'|'", "'('", "')'", "','", "';'", "'->'", "'['", "']'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", - "TANH", "ASINH", "ACOSH", "ATANH", "ABS", "SQRT", "LN", "LOG", "EXP", - "SMIN", "SMAX", "TMIN", "TMAX", "TNORM", "SNORM", "FLOOR", "CEIL", "ROUND", - "GAMMA", "POWE", "SIGM", "CLAMP", "SFFT", "SIFFT", "ANGL", "PRNT", "PRINT_SHAPE", - "NVL", "LERP", "STEP", "SMOOTHSTEP", "FRACT", "RELU", "SOFTPLUS", "GELU", - "SIGN", "MAP", "EZCONV", "CONV", "SWAP", "PERM", "RESHAPE", "RANGE", - "TOPK", "BOTK", "PINV", "SUM", "MEAN", "STD", "VAR", "QUARTILE", "PERCENTILE", - "QUANTILE", "DOT", "MOMENT", "NOISE", "RAND", "CAUCHY", "EXPONENTIAL", - "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", - "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", - "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", - "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - - public MathExprLexer(CharStream input) { - super(input); - _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @Override - public String getGrammarFileName() { return "MathExpr.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public String[] getChannelNames() { return channelNames; } - - @Override - public String[] getModeNames() { return modeNames; } - - @Override - public ATN getATN() { return _ATN; } - - public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2g\u0387\b\1\4\2\t"+ - "\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+ - "\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+ - "\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+ - "\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+ - "\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+ - ",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t"+ - "\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t="+ - "\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+ - "\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+ - "\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+ - "`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3"+ - "\3\3\4\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\7"+ - "\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3"+ - "\n\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3"+ - "\r\3\r\3\16\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\20\3\20\3\20"+ - "\3\20\3\20\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\24"+ - "\3\24\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26"+ - "\3\27\3\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\31"+ - "\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\32\3\32\3\33\3\33\3\33\3\33\3\33"+ - "\3\34\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\35\3\35\3\36\3\36"+ - "\3\36\3\36\3\37\3\37\3\37\3\37\3\37\3 \3 \3 \3 \3 \3 \3!\3!\3!\3!\3\""+ - "\3\"\3\"\3\"\3\"\3#\3#\3#\3#\3#\3#\3$\3$\3$\3$\3$\3$\3%\3%\3%\3%\3%\3"+ - "%\3%\3%\3%\3%\3%\3%\3%\3%\3%\5%\u018e\n%\3&\3&\3&\3&\3&\3&\3&\3&\3&\3"+ - "&\3&\3&\3&\5&\u019d\n&\3\'\3\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3)\3)\3)\3)"+ - "\3)\3)\3)\3)\3)\3)\3)\3*\3*\3*\3*\3*\3*\3+\3+\3+\3+\3+\3,\3,\3,\3,\3,"+ - "\3,\3,\3,\3,\3-\3-\3-\3-\3-\3.\3.\3.\3.\3.\3/\3/\3/\3/\3\60\3\60\3\60"+ - "\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60"+ - "\3\60\3\60\5\60\u01e9\n\60\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61"+ - "\3\61\3\61\3\61\3\61\3\61\3\61\5\61\u01fa\n\61\3\62\3\62\3\62\3\62\3\62"+ - "\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\5\63\u020c\n\63"+ - "\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\5\64\u0219\n\64"+ - "\3\65\3\65\3\65\3\65\3\65\3\65\3\66\3\66\3\66\3\66\3\66\3\67\3\67\3\67"+ - "\3\67\3\67\38\38\38\38\38\39\39\39\39\3:\3:\3:\3:\3:\3;\3;\3;\3;\3<\3"+ - "<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\5=\u0250\n=\3>\3"+ - ">\3>\3>\3>\3>\3>\3>\3>\3>\3>\3>\3>\3>\3>\5>\u0261\n>\3?\3?\3?\3?\3?\3"+ - "?\3?\3?\3?\3@\3@\3@\3@\3A\3A\3A\3A\3A\3A\3A\3B\3B\3B\3B\3B\3B\3B\3B\3"+ - "B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\5B\u028e\nB\3C\3C\3C\3C\3"+ - "C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3C\5C\u02a7\nC\3"+ - "D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\5D\u02bb\nD\3E\3"+ - "E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\5E\u02d4"+ - "\nE\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F"+ - "\3F\5F\u02ed\nF\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\5G\u0304\nG\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+ - "\3H\3H\3H\5H\u0319\nH\3I\3I\3I\3I\3I\3I\3I\3J\3J\3J\3J\3J\3K\3K\3K\3K"+ - "\3L\3L\3L\3L\3L\3M\3M\3M\3M\3M\3M\3M\3N\3N\3O\3O\3P\3P\3Q\3Q\3R\3R\3S"+ - "\3S\3T\3T\3T\3U\3U\3V\3V\3V\3W\3W\3X\3X\3X\3Y\3Y\3Z\3Z\3Z\3[\3[\3\\\3"+ - "\\\3]\3]\3^\3^\3_\3_\3`\3`\3`\3a\3a\3b\3b\3c\3c\3c\3c\3c\5c\u036b\nc\3"+ - "d\6d\u036e\nd\rd\16d\u036f\3d\3d\6d\u0374\nd\rd\16d\u0375\5d\u0378\nd"+ - "\3e\3e\7e\u037c\ne\fe\16e\u037f\13e\3f\6f\u0382\nf\rf\16f\u0383\3f\3f"+ - "\2\2g\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35"+ - "\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36"+ - ";\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67"+ - "m8o9q:s;u{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008bG\u008d"+ - "H\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1"+ - "R\u00a3S\u00a5T\u00a7U\u00a9V\u00abW\u00adX\u00afY\u00b1Z\u00b3[\u00b5"+ - "\\\u00b7]\u00b9^\u00bb_\u00bd`\u00bfa\u00c1b\u00c3c\u00c5d\u00c7e\u00c9"+ - "f\u00cbg\3\2\7\4\2GGgg\3\2\62;\5\2C\\aac|\6\2\62;C\\aac|\5\2\13\f\17\17"+ - "\"\"\2\u039e\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2"+ - "\2\2\2\r\3\2\2\2\2\17\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\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2"+ - "\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2"+ - "\2\2/\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\29\3"+ - "\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2"+ - "\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2"+ - "S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3"+ - "\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2"+ - "\2\2m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2"+ - "y\3\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083"+ - "\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2"+ - "\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095"+ - "\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2"+ - "\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7"+ - "\3\2\2\2\2\u00a9\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af\3\2\2"+ - "\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7\3\2\2\2\2\u00b9"+ - "\3\2\2\2\2\u00bb\3\2\2\2\2\u00bd\3\2\2\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2"+ - "\2\2\u00c3\3\2\2\2\2\u00c5\3\2\2\2\2\u00c7\3\2\2\2\2\u00c9\3\2\2\2\2\u00cb"+ - "\3\2\2\2\3\u00cd\3\2\2\2\5\u00d1\3\2\2\2\7\u00d5\3\2\2\2\t\u00d9\3\2\2"+ - "\2\13\u00de\3\2\2\2\r\u00e3\3\2\2\2\17\u00e8\3\2\2\2\21\u00ee\3\2\2\2"+ - "\23\u00f3\3\2\2\2\25\u00f8\3\2\2\2\27\u00fd\3\2\2\2\31\u0103\3\2\2\2\33"+ - "\u0109\3\2\2\2\35\u010f\3\2\2\2\37\u0113\3\2\2\2!\u0118\3\2\2\2#\u011b"+ - "\3\2\2\2%\u011f\3\2\2\2\'\u0123\3\2\2\2)\u0128\3\2\2\2+\u012d\3\2\2\2"+ - "-\u0132\3\2\2\2/\u0137\3\2\2\2\61\u013d\3\2\2\2\63\u0143\3\2\2\2\65\u0149"+ - "\3\2\2\2\67\u014e\3\2\2\29\u0154\3\2\2\2;\u015a\3\2\2\2=\u015e\3\2\2\2"+ - "?\u0163\3\2\2\2A\u0169\3\2\2\2C\u016d\3\2\2\2E\u0172\3\2\2\2G\u0178\3"+ - "\2\2\2I\u018d\3\2\2\2K\u019c\3\2\2\2M\u019e\3\2\2\2O\u01a3\3\2\2\2Q\u01a8"+ - "\3\2\2\2S\u01b3\3\2\2\2U\u01b9\3\2\2\2W\u01be\3\2\2\2Y\u01c7\3\2\2\2["+ - "\u01cc\3\2\2\2]\u01d1\3\2\2\2_\u01e8\3\2\2\2a\u01f9\3\2\2\2c\u01fb\3\2"+ - "\2\2e\u020b\3\2\2\2g\u0218\3\2\2\2i\u021a\3\2\2\2k\u0220\3\2\2\2m\u0225"+ - "\3\2\2\2o\u022a\3\2\2\2q\u022f\3\2\2\2s\u0233\3\2\2\2u\u0238\3\2\2\2w"+ - "\u023c\3\2\2\2y\u024f\3\2\2\2{\u0260\3\2\2\2}\u0262\3\2\2\2\177\u026b"+ - "\3\2\2\2\u0081\u026f\3\2\2\2\u0083\u028d\3\2\2\2\u0085\u02a6\3\2\2\2\u0087"+ - "\u02ba\3\2\2\2\u0089\u02d3\3\2\2\2\u008b\u02ec\3\2\2\2\u008d\u0303\3\2"+ - "\2\2\u008f\u0318\3\2\2\2\u0091\u031a\3\2\2\2\u0093\u0321\3\2\2\2\u0095"+ - "\u0326\3\2\2\2\u0097\u032a\3\2\2\2\u0099\u032f\3\2\2\2\u009b\u0336\3\2"+ - "\2\2\u009d\u0338\3\2\2\2\u009f\u033a\3\2\2\2\u00a1\u033c\3\2\2\2\u00a3"+ - "\u033e\3\2\2\2\u00a5\u0340\3\2\2\2\u00a7\u0342\3\2\2\2\u00a9\u0345\3\2"+ - "\2\2\u00ab\u0347\3\2\2\2\u00ad\u034a\3\2\2\2\u00af\u034c\3\2\2\2\u00b1"+ - "\u034f\3\2\2\2\u00b3\u0351\3\2\2\2\u00b5\u0354\3\2\2\2\u00b7\u0356\3\2"+ - "\2\2\u00b9\u0358\3\2\2\2\u00bb\u035a\3\2\2\2\u00bd\u035c\3\2\2\2\u00bf"+ - "\u035e\3\2\2\2\u00c1\u0361\3\2\2\2\u00c3\u0363\3\2\2\2\u00c5\u036a\3\2"+ - "\2\2\u00c7\u036d\3\2\2\2\u00c9\u0379\3\2\2\2\u00cb\u0381\3\2\2\2\u00cd"+ - "\u00ce\7u\2\2\u00ce\u00cf\7k\2\2\u00cf\u00d0\7p\2\2\u00d0\4\3\2\2\2\u00d1"+ - "\u00d2\7e\2\2\u00d2\u00d3\7q\2\2\u00d3\u00d4\7u\2\2\u00d4\6\3\2\2\2\u00d5"+ - "\u00d6\7v\2\2\u00d6\u00d7\7c\2\2\u00d7\u00d8\7p\2\2\u00d8\b\3\2\2\2\u00d9"+ - "\u00da\7c\2\2\u00da\u00db\7u\2\2\u00db\u00dc\7k\2\2\u00dc\u00dd\7p\2\2"+ - "\u00dd\n\3\2\2\2\u00de\u00df\7c\2\2\u00df\u00e0\7e\2\2\u00e0\u00e1\7q"+ - "\2\2\u00e1\u00e2\7u\2\2\u00e2\f\3\2\2\2\u00e3\u00e4\7c\2\2\u00e4\u00e5"+ - "\7v\2\2\u00e5\u00e6\7c\2\2\u00e6\u00e7\7p\2\2\u00e7\16\3\2\2\2\u00e8\u00e9"+ - "\7c\2\2\u00e9\u00ea\7v\2\2\u00ea\u00eb\7c\2\2\u00eb\u00ec\7p\2\2\u00ec"+ - "\u00ed\7\64\2\2\u00ed\20\3\2\2\2\u00ee\u00ef\7u\2\2\u00ef\u00f0\7k\2\2"+ - "\u00f0\u00f1\7p\2\2\u00f1\u00f2\7j\2\2\u00f2\22\3\2\2\2\u00f3\u00f4\7"+ - "e\2\2\u00f4\u00f5\7q\2\2\u00f5\u00f6\7u\2\2\u00f6\u00f7\7j\2\2\u00f7\24"+ - "\3\2\2\2\u00f8\u00f9\7v\2\2\u00f9\u00fa\7c\2\2\u00fa\u00fb\7p\2\2\u00fb"+ - "\u00fc\7j\2\2\u00fc\26\3\2\2\2\u00fd\u00fe\7c\2\2\u00fe\u00ff\7u\2\2\u00ff"+ - "\u0100\7k\2\2\u0100\u0101\7p\2\2\u0101\u0102\7j\2\2\u0102\30\3\2\2\2\u0103"+ - "\u0104\7c\2\2\u0104\u0105\7e\2\2\u0105\u0106\7q\2\2\u0106\u0107\7u\2\2"+ - "\u0107\u0108\7j\2\2\u0108\32\3\2\2\2\u0109\u010a\7c\2\2\u010a\u010b\7"+ - "v\2\2\u010b\u010c\7c\2\2\u010c\u010d\7p\2\2\u010d\u010e\7j\2\2\u010e\34"+ - "\3\2\2\2\u010f\u0110\7c\2\2\u0110\u0111\7d\2\2\u0111\u0112\7u\2\2\u0112"+ - "\36\3\2\2\2\u0113\u0114\7u\2\2\u0114\u0115\7s\2\2\u0115\u0116\7t\2\2\u0116"+ - "\u0117\7v\2\2\u0117 \3\2\2\2\u0118\u0119\7n\2\2\u0119\u011a\7p\2\2\u011a"+ - "\"\3\2\2\2\u011b\u011c\7n\2\2\u011c\u011d\7q\2\2\u011d\u011e\7i\2\2\u011e"+ - "$\3\2\2\2\u011f\u0120\7g\2\2\u0120\u0121\7z\2\2\u0121\u0122\7r\2\2\u0122"+ - "&\3\2\2\2\u0123\u0124\7u\2\2\u0124\u0125\7o\2\2\u0125\u0126\7k\2\2\u0126"+ - "\u0127\7p\2\2\u0127(\3\2\2\2\u0128\u0129\7u\2\2\u0129\u012a\7o\2\2\u012a"+ - "\u012b\7c\2\2\u012b\u012c\7z\2\2\u012c*\3\2\2\2\u012d\u012e\7v\2\2\u012e"+ - "\u012f\7o\2\2\u012f\u0130\7k\2\2\u0130\u0131\7p\2\2\u0131,\3\2\2\2\u0132"+ - "\u0133\7v\2\2\u0133\u0134\7o\2\2\u0134\u0135\7c\2\2\u0135\u0136\7z\2\2"+ - "\u0136.\3\2\2\2\u0137\u0138\7v\2\2\u0138\u0139\7p\2\2\u0139\u013a\7q\2"+ - "\2\u013a\u013b\7t\2\2\u013b\u013c\7o\2\2\u013c\60\3\2\2\2\u013d\u013e"+ - "\7u\2\2\u013e\u013f\7p\2\2\u013f\u0140\7q\2\2\u0140\u0141\7t\2\2\u0141"+ - "\u0142\7o\2\2\u0142\62\3\2\2\2\u0143\u0144\7h\2\2\u0144\u0145\7n\2\2\u0145"+ - "\u0146\7q\2\2\u0146\u0147\7q\2\2\u0147\u0148\7t\2\2\u0148\64\3\2\2\2\u0149"+ - "\u014a\7e\2\2\u014a\u014b\7g\2\2\u014b\u014c\7k\2\2\u014c\u014d\7n\2\2"+ - "\u014d\66\3\2\2\2\u014e\u014f\7t\2\2\u014f\u0150\7q\2\2\u0150\u0151\7"+ - "w\2\2\u0151\u0152\7p\2\2\u0152\u0153\7f\2\2\u01538\3\2\2\2\u0154\u0155"+ - "\7i\2\2\u0155\u0156\7c\2\2\u0156\u0157\7o\2\2\u0157\u0158\7o\2\2\u0158"+ - "\u0159\7c\2\2\u0159:\3\2\2\2\u015a\u015b\7r\2\2\u015b\u015c\7q\2\2\u015c"+ - "\u015d\7y\2\2\u015d<\3\2\2\2\u015e\u015f\7u\2\2\u015f\u0160\7k\2\2\u0160"+ - "\u0161\7i\2\2\u0161\u0162\7o\2\2\u0162>\3\2\2\2\u0163\u0164\7e\2\2\u0164"+ - "\u0165\7n\2\2\u0165\u0166\7c\2\2\u0166\u0167\7o\2\2\u0167\u0168\7r\2\2"+ - "\u0168@\3\2\2\2\u0169\u016a\7h\2\2\u016a\u016b\7h\2\2\u016b\u016c\7v\2"+ - "\2\u016cB\3\2\2\2\u016d\u016e\7k\2\2\u016e\u016f\7h\2\2\u016f\u0170\7"+ - "h\2\2\u0170\u0171\7v\2\2\u0171D\3\2\2\2\u0172\u0173\7c\2\2\u0173\u0174"+ - "\7p\2\2\u0174\u0175\7i\2\2\u0175\u0176\7n\2\2\u0176\u0177\7g\2\2\u0177"+ - "F\3\2\2\2\u0178\u0179\7r\2\2\u0179\u017a\7t\2\2\u017a\u017b\7k\2\2\u017b"+ - "\u017c\7p\2\2\u017c\u017d\7v\2\2\u017dH\3\2\2\2\u017e\u017f\7r\2\2\u017f"+ - "\u0180\7t\2\2\u0180\u0181\7k\2\2\u0181\u0182\7p\2\2\u0182\u0183\7v\2\2"+ - "\u0183\u0184\7a\2\2\u0184\u0185\7u\2\2\u0185\u0186\7j\2\2\u0186\u0187"+ - "\7c\2\2\u0187\u0188\7r\2\2\u0188\u018e\7g\2\2\u0189\u018a\7r\2\2\u018a"+ - "\u018b\7u\2\2\u018b\u018c\7j\2\2\u018c\u018e\7r\2\2\u018d\u017e\3\2\2"+ - "\2\u018d\u0189\3\2\2\2\u018eJ\3\2\2\2\u018f\u0190\7p\2\2\u0190\u0191\7"+ - "x\2\2\u0191\u019d\7n\2\2\u0192\u0193\7p\2\2\u0193\u0194\7c\2\2\u0194\u0195"+ - "\7p\2\2\u0195\u0196\7a\2\2\u0196\u0197\7v\2\2\u0197\u0198\7q\2\2\u0198"+ - "\u0199\7a\2\2\u0199\u019a\7p\2\2\u019a\u019b\7w\2\2\u019b\u019d\7o\2\2"+ - "\u019c\u018f\3\2\2\2\u019c\u0192\3\2\2\2\u019dL\3\2\2\2\u019e\u019f\7"+ - "n\2\2\u019f\u01a0\7g\2\2\u01a0\u01a1\7t\2\2\u01a1\u01a2\7r\2\2\u01a2N"+ - "\3\2\2\2\u01a3\u01a4\7u\2\2\u01a4\u01a5\7v\2\2\u01a5\u01a6\7g\2\2\u01a6"+ - "\u01a7\7r\2\2\u01a7P\3\2\2\2\u01a8\u01a9\7u\2\2\u01a9\u01aa\7o\2\2\u01aa"+ - "\u01ab\7q\2\2\u01ab\u01ac\7q\2\2\u01ac\u01ad\7v\2\2\u01ad\u01ae\7j\2\2"+ - "\u01ae\u01af\7u\2\2\u01af\u01b0\7v\2\2\u01b0\u01b1\7g\2\2\u01b1\u01b2"+ - "\7r\2\2\u01b2R\3\2\2\2\u01b3\u01b4\7h\2\2\u01b4\u01b5\7t\2\2\u01b5\u01b6"+ - "\7c\2\2\u01b6\u01b7\7e\2\2\u01b7\u01b8\7v\2\2\u01b8T\3\2\2\2\u01b9\u01ba"+ - "\7t\2\2\u01ba\u01bb\7g\2\2\u01bb\u01bc\7n\2\2\u01bc\u01bd\7w\2\2\u01bd"+ - "V\3\2\2\2\u01be\u01bf\7u\2\2\u01bf\u01c0\7q\2\2\u01c0\u01c1\7h\2\2\u01c1"+ - "\u01c2\7v\2\2\u01c2\u01c3\7r\2\2\u01c3\u01c4\7n\2\2\u01c4\u01c5\7w\2\2"+ - "\u01c5\u01c6\7u\2\2\u01c6X\3\2\2\2\u01c7\u01c8\7i\2\2\u01c8\u01c9\7g\2"+ - "\2\u01c9\u01ca\7n\2\2\u01ca\u01cb\7w\2\2\u01cbZ\3\2\2\2\u01cc\u01cd\7"+ - "u\2\2\u01cd\u01ce\7k\2\2\u01ce\u01cf\7i\2\2\u01cf\u01d0\7p\2\2\u01d0\\"+ - "\3\2\2\2\u01d1\u01d2\7o\2\2\u01d2\u01d3\7c\2\2\u01d3\u01d4\7r\2\2\u01d4"+ - "^\3\2\2\2\u01d5\u01d6\7g\2\2\u01d6\u01d7\7|\2\2\u01d7\u01d8\7e\2\2\u01d8"+ - "\u01d9\7q\2\2\u01d9\u01da\7p\2\2\u01da\u01db\7x\2\2\u01db\u01dc\7q\2\2"+ - "\u01dc\u01dd\7n\2\2\u01dd\u01de\7w\2\2\u01de\u01df\7v\2\2\u01df\u01e0"+ - "\7k\2\2\u01e0\u01e1\7q\2\2\u01e1\u01e9\7p\2\2\u01e2\u01e3\7g\2\2\u01e3"+ - "\u01e4\7|\2\2\u01e4\u01e5\7e\2\2\u01e5\u01e6\7q\2\2\u01e6\u01e7\7p\2\2"+ - "\u01e7\u01e9\7x\2\2\u01e8\u01d5\3\2\2\2\u01e8\u01e2\3\2\2\2\u01e9`\3\2"+ - "\2\2\u01ea\u01eb\7e\2\2\u01eb\u01ec\7q\2\2\u01ec\u01ed\7p\2\2\u01ed\u01ee"+ - "\7x\2\2\u01ee\u01ef\7q\2\2\u01ef\u01f0\7n\2\2\u01f0\u01f1\7w\2\2\u01f1"+ - "\u01f2\7v\2\2\u01f2\u01f3\7k\2\2\u01f3\u01f4\7q\2\2\u01f4\u01fa\7p\2\2"+ - "\u01f5\u01f6\7e\2\2\u01f6\u01f7\7q\2\2\u01f7\u01f8\7p\2\2\u01f8\u01fa"+ - "\7x\2\2\u01f9\u01ea\3\2\2\2\u01f9\u01f5\3\2\2\2\u01fab\3\2\2\2\u01fb\u01fc"+ - "\7u\2\2\u01fc\u01fd\7y\2\2\u01fd\u01fe\7c\2\2\u01fe\u01ff\7r\2\2\u01ff"+ - "d\3\2\2\2\u0200\u0201\7r\2\2\u0201\u0202\7g\2\2\u0202\u0203\7t\2\2\u0203"+ - "\u0204\7o\2\2\u0204\u0205\7w\2\2\u0205\u0206\7v\2\2\u0206\u020c\7g\2\2"+ - "\u0207\u0208\7r\2\2\u0208\u0209\7g\2\2\u0209\u020a\7t\2\2\u020a\u020c"+ - "\7o\2\2\u020b\u0200\3\2\2\2\u020b\u0207\3\2\2\2\u020cf\3\2\2\2\u020d\u020e"+ - "\7t\2\2\u020e\u020f\7g\2\2\u020f\u0210\7u\2\2\u0210\u0211\7j\2\2\u0211"+ - "\u0212\7c\2\2\u0212\u0213\7r\2\2\u0213\u0219\7g\2\2\u0214\u0215\7t\2\2"+ - "\u0215\u0216\7u\2\2\u0216\u0217\7j\2\2\u0217\u0219\7r\2\2\u0218\u020d"+ - "\3\2\2\2\u0218\u0214\3\2\2\2\u0219h\3\2\2\2\u021a\u021b\7t\2\2\u021b\u021c"+ - "\7c\2\2\u021c\u021d\7p\2\2\u021d\u021e\7i\2\2\u021e\u021f\7g\2\2\u021f"+ - "j\3\2\2\2\u0220\u0221\7v\2\2\u0221\u0222\7q\2\2\u0222\u0223\7r\2\2\u0223"+ - "\u0224\7m\2\2\u0224l\3\2\2\2\u0225\u0226\7d\2\2\u0226\u0227\7q\2\2\u0227"+ - "\u0228\7v\2\2\u0228\u0229\7m\2\2\u0229n\3\2\2\2\u022a\u022b\7r\2\2\u022b"+ - "\u022c\7k\2\2\u022c\u022d\7p\2\2\u022d\u022e\7x\2\2\u022ep\3\2\2\2\u022f"+ - "\u0230\7u\2\2\u0230\u0231\7w\2\2\u0231\u0232\7o\2\2\u0232r\3\2\2\2\u0233"+ - "\u0234\7o\2\2\u0234\u0235\7g\2\2\u0235\u0236\7c\2\2\u0236\u0237\7p\2\2"+ - "\u0237t\3\2\2\2\u0238\u0239\7u\2\2\u0239\u023a\7v\2\2\u023a\u023b\7f\2"+ - "\2\u023bv\3\2\2\2\u023c\u023d\7x\2\2\u023d\u023e\7c\2\2\u023e\u023f\7"+ - "t\2\2\u023fx\3\2\2\2\u0240\u0241\7s\2\2\u0241\u0242\7w\2\2\u0242\u0243"+ - "\7c\2\2\u0243\u0244\7t\2\2\u0244\u0245\7v\2\2\u0245\u0246\7k\2\2\u0246"+ - "\u0247\7n\2\2\u0247\u0250\7g\2\2\u0248\u0249\7s\2\2\u0249\u024a\7w\2\2"+ - "\u024a\u024b\7c\2\2\u024b\u024c\7t\2\2\u024c\u024d\7v\2\2\u024d\u024e"+ - "\7k\2\2\u024e\u0250\7n\2\2\u024f\u0240\3\2\2\2\u024f\u0248\3\2\2\2\u0250"+ - "z\3\2\2\2\u0251\u0252\7r\2\2\u0252\u0253\7g\2\2\u0253\u0254\7t\2\2\u0254"+ - "\u0255\7e\2\2\u0255\u0256\7g\2\2\u0256\u0257\7p\2\2\u0257\u0258\7v\2\2"+ - "\u0258\u0259\7k\2\2\u0259\u025a\7n\2\2\u025a\u0261\7g\2\2\u025b\u025c"+ - "\7r\2\2\u025c\u025d\7t\2\2\u025d\u025e\7e\2\2\u025e\u025f\7p\2\2\u025f"+ - "\u0261\7v\2\2\u0260\u0251\3\2\2\2\u0260\u025b\3\2\2\2\u0261|\3\2\2\2\u0262"+ - "\u0263\7s\2\2\u0263\u0264\7w\2\2\u0264\u0265\7c\2\2\u0265\u0266\7p\2\2"+ - "\u0266\u0267\7v\2\2\u0267\u0268\7k\2\2\u0268\u0269\7n\2\2\u0269\u026a"+ - "\7g\2\2\u026a~\3\2\2\2\u026b\u026c\7f\2\2\u026c\u026d\7q\2\2\u026d\u026e"+ - "\7v\2\2\u026e\u0080\3\2\2\2\u026f\u0270\7o\2\2\u0270\u0271\7q\2\2\u0271"+ - "\u0272\7o\2\2\u0272\u0273\7g\2\2\u0273\u0274\7p\2\2\u0274\u0275\7v\2\2"+ - "\u0275\u0082\3\2\2\2\u0276\u0277\7p\2\2\u0277\u0278\7q\2\2\u0278\u0279"+ - "\7k\2\2\u0279\u027a\7u\2\2\u027a\u028e\7g\2\2\u027b\u027c\7t\2\2\u027c"+ - "\u027d\7c\2\2\u027d\u027e\7p\2\2\u027e\u027f\7f\2\2\u027f\u028e\7p\2\2"+ - "\u0280\u0281\7t\2\2\u0281\u0282\7c\2\2\u0282\u0283\7p\2\2\u0283\u0284"+ - "\7f\2\2\u0284\u0285\7q\2\2\u0285\u0286\7o\2\2\u0286\u0287\7a\2\2\u0287"+ - "\u0288\7p\2\2\u0288\u0289\7q\2\2\u0289\u028a\7t\2\2\u028a\u028b\7o\2\2"+ - "\u028b\u028c\7c\2\2\u028c\u028e\7n\2\2\u028d\u0276\3\2\2\2\u028d\u027b"+ - "\3\2\2\2\u028d\u0280\3\2\2\2\u028e\u0084\3\2\2\2\u028f\u0290\7t\2\2\u0290"+ - "\u0291\7c\2\2\u0291\u0292\7p\2\2\u0292\u02a7\7f\2\2\u0293\u0294\7t\2\2"+ - "\u0294\u0295\7c\2\2\u0295\u0296\7p\2\2\u0296\u0297\7f\2\2\u0297\u02a7"+ - "\7w\2\2\u0298\u0299\7t\2\2\u0299\u029a\7c\2\2\u029a\u029b\7p\2\2\u029b"+ - "\u029c\7f\2\2\u029c\u029d\7q\2\2\u029d\u029e\7o\2\2\u029e\u029f\7a\2\2"+ - "\u029f\u02a0\7w\2\2\u02a0\u02a1\7p\2\2\u02a1\u02a2\7k\2\2\u02a2\u02a3"+ - "\7h\2\2\u02a3\u02a4\7q\2\2\u02a4\u02a5\7t\2\2\u02a5\u02a7\7o\2\2\u02a6"+ - "\u028f\3\2\2\2\u02a6\u0293\3\2\2\2\u02a6\u0298\3\2\2\2\u02a7\u0086\3\2"+ - "\2\2\u02a8\u02a9\7t\2\2\u02a9\u02aa\7c\2\2\u02aa\u02ab\7p\2\2\u02ab\u02ac"+ - "\7f\2\2\u02ac\u02bb\7e\2\2\u02ad\u02ae\7t\2\2\u02ae\u02af\7c\2\2\u02af"+ - "\u02b0\7p\2\2\u02b0\u02b1\7f\2\2\u02b1\u02b2\7q\2\2\u02b2\u02b3\7o\2\2"+ - "\u02b3\u02b4\7a\2\2\u02b4\u02b5\7e\2\2\u02b5\u02b6\7c\2\2\u02b6\u02b7"+ - "\7w\2\2\u02b7\u02b8\7e\2\2\u02b8\u02b9\7j\2\2\u02b9\u02bb\7{\2\2\u02ba"+ - "\u02a8\3\2\2\2\u02ba\u02ad\3\2\2\2\u02bb\u0088\3\2\2\2\u02bc\u02bd\7t"+ - "\2\2\u02bd\u02be\7c\2\2\u02be\u02bf\7p\2\2\u02bf\u02c0\7f\2\2\u02c0\u02d4"+ - "\7g\2\2\u02c1\u02c2\7t\2\2\u02c2\u02c3\7c\2\2\u02c3\u02c4\7p\2\2\u02c4"+ - "\u02c5\7f\2\2\u02c5\u02c6\7q\2\2\u02c6\u02c7\7o\2\2\u02c7\u02c8\7a\2\2"+ - "\u02c8\u02c9\7g\2\2\u02c9\u02ca\7z\2\2\u02ca\u02cb\7r\2\2\u02cb\u02cc"+ - "\7q\2\2\u02cc\u02cd\7p\2\2\u02cd\u02ce\7g\2\2\u02ce\u02cf\7p\2\2\u02cf"+ - "\u02d0\7v\2\2\u02d0\u02d1\7k\2\2\u02d1\u02d2\7c\2\2\u02d2\u02d4\7n\2\2"+ - "\u02d3\u02bc\3\2\2\2\u02d3\u02c1\3\2\2\2\u02d4\u008a\3\2\2\2\u02d5\u02d6"+ - "\7t\2\2\u02d6\u02d7\7c\2\2\u02d7\u02d8\7p\2\2\u02d8\u02d9\7f\2\2\u02d9"+ - "\u02da\7n\2\2\u02da\u02ed\7p\2\2\u02db\u02dc\7t\2\2\u02dc\u02dd\7c\2\2"+ - "\u02dd\u02de\7p\2\2\u02de\u02df\7f\2\2\u02df\u02e0\7q\2\2\u02e0\u02e1"+ - "\7o\2\2\u02e1\u02e2\7a\2\2\u02e2\u02e3\7n\2\2\u02e3\u02e4\7q\2\2\u02e4"+ - "\u02e5\7i\2\2\u02e5\u02e6\7a\2\2\u02e6\u02e7\7p\2\2\u02e7\u02e8\7q\2\2"+ - "\u02e8\u02e9\7t\2\2\u02e9\u02ea\7o\2\2\u02ea\u02eb\7c\2\2\u02eb\u02ed"+ - "\7n\2\2\u02ec\u02d5\3\2\2\2\u02ec\u02db\3\2\2\2\u02ed\u008c\3\2\2\2\u02ee"+ - "\u02ef\7t\2\2\u02ef\u02f0\7c\2\2\u02f0\u02f1\7p\2\2\u02f1\u02f2\7f\2\2"+ - "\u02f2\u0304\7d\2\2\u02f3\u02f4\7t\2\2\u02f4\u02f5\7c\2\2\u02f5\u02f6"+ - "\7p\2\2\u02f6\u02f7\7f\2\2\u02f7\u02f8\7q\2\2\u02f8\u02f9\7o\2\2\u02f9"+ - "\u02fa\7a\2\2\u02fa\u02fb\7d\2\2\u02fb\u02fc\7g\2\2\u02fc\u02fd\7t\2\2"+ - "\u02fd\u02fe\7p\2\2\u02fe\u02ff\7q\2\2\u02ff\u0300\7w\2\2\u0300\u0301"+ - "\7n\2\2\u0301\u0302\7n\2\2\u0302\u0304\7k\2\2\u0303\u02ee\3\2\2\2\u0303"+ - "\u02f3\3\2\2\2\u0304\u008e\3\2\2\2\u0305\u0306\7t\2\2\u0306\u0307\7c\2"+ - "\2\u0307\u0308\7p\2\2\u0308\u0309\7f\2\2\u0309\u0319\7r\2\2\u030a\u030b"+ - "\7t\2\2\u030b\u030c\7c\2\2\u030c\u030d\7p\2\2\u030d\u030e\7f\2\2\u030e"+ - "\u030f\7q\2\2\u030f\u0310\7o\2\2\u0310\u0311\7a\2\2\u0311\u0312\7r\2\2"+ - "\u0312\u0313\7q\2\2\u0313\u0314\7k\2\2\u0314\u0315\7u\2\2\u0315\u0316"+ - "\7u\2\2\u0316\u0317\7q\2\2\u0317\u0319\7p\2\2\u0318\u0305\3\2\2\2\u0318"+ - "\u030a\3\2\2\2\u0319\u0090\3\2\2\2\u031a\u031b\7e\2\2\u031b\u031c\7q\2"+ - "\2\u031c\u031d\7u\2\2\u031d\u031e\7u\2\2\u031e\u031f\7k\2\2\u031f\u0320"+ - "\7o\2\2\u0320\u0092\3\2\2\2\u0321\u0322\7h\2\2\u0322\u0323\7n\2\2\u0323"+ - "\u0324\7k\2\2\u0324\u0325\7r\2\2\u0325\u0094\3\2\2\2\u0326\u0327\7e\2"+ - "\2\u0327\u0328\7q\2\2\u0328\u0329\7x\2\2\u0329\u0096\3\2\2\2\u032a\u032b"+ - "\7u\2\2\u032b\u032c\7q\2\2\u032c\u032d\7t\2\2\u032d\u032e\7v\2\2\u032e"+ - "\u0098\3\2\2\2\u032f\u0330\7c\2\2\u0330\u0331\7r\2\2\u0331\u0332\7r\2"+ - "\2\u0332\u0333\7g\2\2\u0333\u0334\7p\2\2\u0334\u0335\7f\2\2\u0335\u009a"+ - "\3\2\2\2\u0336\u0337\7-\2\2\u0337\u009c\3\2\2\2\u0338\u0339\7/\2\2\u0339"+ - "\u009e\3\2\2\2\u033a\u033b\7,\2\2\u033b\u00a0\3\2\2\2\u033c\u033d\7\61"+ - "\2\2\u033d\u00a2\3\2\2\2\u033e\u033f\7\'\2\2\u033f\u00a4\3\2\2\2\u0340"+ - "\u0341\7`\2\2\u0341\u00a6\3\2\2\2\u0342\u0343\7@\2\2\u0343\u0344\7?\2"+ - "\2\u0344\u00a8\3\2\2\2\u0345\u0346\7@\2\2\u0346\u00aa\3\2\2\2\u0347\u0348"+ - "\7>\2\2\u0348\u0349\7?\2\2\u0349\u00ac\3\2\2\2\u034a\u034b\7>\2\2\u034b"+ - "\u00ae\3\2\2\2\u034c\u034d\7?\2\2\u034d\u034e\7?\2\2\u034e\u00b0\3\2\2"+ - "\2\u034f\u0350\7?\2\2\u0350\u00b2\3\2\2\2\u0351\u0352\7#\2\2\u0352\u0353"+ - "\7?\2\2\u0353\u00b4\3\2\2\2\u0354\u0355\7~\2\2\u0355\u00b6\3\2\2\2\u0356"+ - "\u0357\7*\2\2\u0357\u00b8\3\2\2\2\u0358\u0359\7+\2\2\u0359\u00ba\3\2\2"+ - "\2\u035a\u035b\7.\2\2\u035b\u00bc\3\2\2\2\u035c\u035d\7=\2\2\u035d\u00be"+ - "\3\2\2\2\u035e\u035f\7/\2\2\u035f\u0360\7@\2\2\u0360\u00c0\3\2\2\2\u0361"+ - "\u0362\7]\2\2\u0362\u00c2\3\2\2\2\u0363\u0364\7_\2\2\u0364\u00c4\3\2\2"+ - "\2\u0365\u0366\7r\2\2\u0366\u036b\7k\2\2\u0367\u0368\7R\2\2\u0368\u036b"+ - "\7K\2\2\u0369\u036b\t\2\2\2\u036a\u0365\3\2\2\2\u036a\u0367\3\2\2\2\u036a"+ - "\u0369\3\2\2\2\u036b\u00c6\3\2\2\2\u036c\u036e\t\3\2\2\u036d\u036c\3\2"+ - "\2\2\u036e\u036f\3\2\2\2\u036f\u036d\3\2\2\2\u036f\u0370\3\2\2\2\u0370"+ - "\u0377\3\2\2\2\u0371\u0373\7\60\2\2\u0372\u0374\t\3\2\2\u0373\u0372\3"+ - "\2\2\2\u0374\u0375\3\2\2\2\u0375\u0373\3\2\2\2\u0375\u0376\3\2\2\2\u0376"+ - "\u0378\3\2\2\2\u0377\u0371\3\2\2\2\u0377\u0378\3\2\2\2\u0378\u00c8\3\2"+ - "\2\2\u0379\u037d\t\4\2\2\u037a\u037c\t\5\2\2\u037b\u037a\3\2\2\2\u037c"+ - "\u037f\3\2\2\2\u037d\u037b\3\2\2\2\u037d\u037e\3\2\2\2\u037e\u00ca\3\2"+ - "\2\2\u037f\u037d\3\2\2\2\u0380\u0382\t\6\2\2\u0381\u0380\3\2\2\2\u0382"+ - "\u0383\3\2\2\2\u0383\u0381\3\2\2\2\u0383\u0384\3\2\2\2\u0384\u0385\3\2"+ - "\2\2\u0385\u0386\bf\2\2\u0386\u00cc\3\2\2\2\30\2\u018d\u019c\u01e8\u01f9"+ - "\u020b\u0218\u024f\u0260\u028d\u02a6\u02ba\u02d3\u02ec\u0303\u0318\u036a"+ - "\u036f\u0375\u0377\u037d\u0383\3\b\2\2"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/more_math/Parser/.antlr/MathExprLexer.tokens b/more_math/Parser/.antlr/MathExprLexer.tokens deleted file mode 100644 index 659c1e4..0000000 --- a/more_math/Parser/.antlr/MathExprLexer.tokens +++ /dev/null @@ -1,183 +0,0 @@ -SIN=1 -COS=2 -TAN=3 -ASIN=4 -ACOS=5 -ATAN=6 -ATAN2=7 -SINH=8 -COSH=9 -TANH=10 -ASINH=11 -ACOSH=12 -ATANH=13 -ABS=14 -SQRT=15 -LN=16 -LOG=17 -EXP=18 -SMIN=19 -SMAX=20 -TMIN=21 -TMAX=22 -TNORM=23 -SNORM=24 -FLOOR=25 -CEIL=26 -ROUND=27 -GAMMA=28 -POWE=29 -SIGM=30 -CLAMP=31 -SFFT=32 -SIFFT=33 -ANGL=34 -PRNT=35 -PRINT_SHAPE=36 -NVL=37 -LERP=38 -STEP=39 -SMOOTHSTEP=40 -FRACT=41 -RELU=42 -SOFTPLUS=43 -GELU=44 -SIGN=45 -MAP=46 -EZCONV=47 -CONV=48 -SWAP=49 -PERM=50 -RESHAPE=51 -RANGE=52 -TOPK=53 -BOTK=54 -PINV=55 -SUM=56 -MEAN=57 -STD=58 -VAR=59 -QUARTILE=60 -PERCENTILE=61 -QUANTILE=62 -DOT=63 -MOMENT=64 -NOISE=65 -RAND=66 -CAUCHY=67 -EXPONENTIAL=68 -LOGNORMAL=69 -BERNOULLI=70 -POISSON=71 -COSSIM=72 -FLIP=73 -COV=74 -SORT=75 -APPEND=76 -PLUS=77 -MINUS=78 -MULT=79 -DIV=80 -MOD=81 -POW=82 -GE=83 -GT=84 -LE=85 -LT=86 -EQ=87 -EQUEALS=88 -NE=89 -PIPE=90 -LPAREN=91 -RPAREN=92 -COMMA=93 -SEMICOLON=94 -ARROW=95 -LBRACKET=96 -RBRACKET=97 -CONSTANT=98 -NUMBER=99 -VARIABLE=100 -WS=101 -'sin'=1 -'cos'=2 -'tan'=3 -'asin'=4 -'acos'=5 -'atan'=6 -'atan2'=7 -'sinh'=8 -'cosh'=9 -'tanh'=10 -'asinh'=11 -'acosh'=12 -'atanh'=13 -'abs'=14 -'sqrt'=15 -'ln'=16 -'log'=17 -'exp'=18 -'smin'=19 -'smax'=20 -'tmin'=21 -'tmax'=22 -'tnorm'=23 -'snorm'=24 -'floor'=25 -'ceil'=26 -'round'=27 -'gamma'=28 -'pow'=29 -'sigm'=30 -'clamp'=31 -'fft'=32 -'ifft'=33 -'angle'=34 -'print'=35 -'lerp'=38 -'step'=39 -'smoothstep'=40 -'fract'=41 -'relu'=42 -'softplus'=43 -'gelu'=44 -'sign'=45 -'map'=46 -'swap'=49 -'range'=52 -'topk'=53 -'botk'=54 -'pinv'=55 -'sum'=56 -'mean'=57 -'std'=58 -'var'=59 -'quantile'=62 -'dot'=63 -'moment'=64 -'cossim'=72 -'flip'=73 -'cov'=74 -'sort'=75 -'append'=76 -'+'=77 -'-'=78 -'*'=79 -'/'=80 -'%'=81 -'^'=82 -'>='=83 -'>'=84 -'<='=85 -'<'=86 -'=='=87 -'='=88 -'!='=89 -'|'=90 -'('=91 -')'=92 -','=93 -';'=94 -'->'=95 -'['=96 -']'=97 diff --git a/more_math/Parser/.antlr/MathExprListener.java b/more_math/Parser/.antlr/MathExprListener.java deleted file mode 100644 index 03a1da8..0000000 --- a/more_math/Parser/.antlr/MathExprListener.java +++ /dev/null @@ -1,1379 +0,0 @@ -// Generated from d:\stability\Data\Packages\ComfyUI\custom_nodes\more_math\more_math\Parser\MathExpr.g4 by ANTLR 4.9.2 -import org.antlr.v4.runtime.tree.ParseTreeListener; - -/** - * This interface defines a complete listener for a parse tree produced by - * {@link MathExprParser}. - */ -public interface MathExprListener extends ParseTreeListener { - /** - * Enter a parse tree produced by {@link MathExprParser#start}. - * @param ctx the parse tree - */ - void enterStart(MathExprParser.StartContext ctx); - /** - * Exit a parse tree produced by {@link MathExprParser#start}. - * @param ctx the parse tree - */ - void exitStart(MathExprParser.StartContext ctx); - /** - * Enter a parse tree produced by the {@code FunctionDef} - * labeled alternative in {@link MathExprParser#funcDef}. - * @param ctx the parse tree - */ - void enterFunctionDef(MathExprParser.FunctionDefContext ctx); - /** - * Exit a parse tree produced by the {@code FunctionDef} - * labeled alternative in {@link MathExprParser#funcDef}. - * @param ctx the parse tree - */ - void exitFunctionDef(MathExprParser.FunctionDefContext ctx); - /** - * Enter a parse tree produced by {@link MathExprParser#varDef}. - * @param ctx the parse tree - */ - void enterVarDef(MathExprParser.VarDefContext ctx); - /** - * Exit a parse tree produced by {@link MathExprParser#varDef}. - * @param ctx the parse tree - */ - void exitVarDef(MathExprParser.VarDefContext ctx); - /** - * Enter a parse tree produced by {@link MathExprParser#paramList}. - * @param ctx the parse tree - */ - void enterParamList(MathExprParser.ParamListContext ctx); - /** - * Exit a parse tree produced by {@link MathExprParser#paramList}. - * @param ctx the parse tree - */ - void exitParamList(MathExprParser.ParamListContext ctx); - /** - * Enter a parse tree produced by {@link MathExprParser#expr}. - * @param ctx the parse tree - */ - void enterExpr(MathExprParser.ExprContext ctx); - /** - * Exit a parse tree produced by {@link MathExprParser#expr}. - * @param ctx the parse tree - */ - void exitExpr(MathExprParser.ExprContext ctx); - /** - * Enter a parse tree produced by the {@code LtExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterLtExp(MathExprParser.LtExpContext ctx); - /** - * Exit a parse tree produced by the {@code LtExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitLtExp(MathExprParser.LtExpContext ctx); - /** - * Enter a parse tree produced by the {@code EqExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterEqExp(MathExprParser.EqExpContext ctx); - /** - * Exit a parse tree produced by the {@code EqExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitEqExp(MathExprParser.EqExpContext ctx); - /** - * Enter a parse tree produced by the {@code ToAdd} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterToAdd(MathExprParser.ToAddContext ctx); - /** - * Exit a parse tree produced by the {@code ToAdd} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitToAdd(MathExprParser.ToAddContext ctx); - /** - * Enter a parse tree produced by the {@code GeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterGeExp(MathExprParser.GeExpContext ctx); - /** - * Exit a parse tree produced by the {@code GeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitGeExp(MathExprParser.GeExpContext ctx); - /** - * Enter a parse tree produced by the {@code LeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterLeExp(MathExprParser.LeExpContext ctx); - /** - * Exit a parse tree produced by the {@code LeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitLeExp(MathExprParser.LeExpContext ctx); - /** - * Enter a parse tree produced by the {@code NeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterNeExp(MathExprParser.NeExpContext ctx); - /** - * Exit a parse tree produced by the {@code NeExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitNeExp(MathExprParser.NeExpContext ctx); - /** - * Enter a parse tree produced by the {@code GtExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void enterGtExp(MathExprParser.GtExpContext ctx); - /** - * Exit a parse tree produced by the {@code GtExp} - * labeled alternative in {@link MathExprParser#compExpr}. - * @param ctx the parse tree - */ - void exitGtExp(MathExprParser.GtExpContext ctx); - /** - * Enter a parse tree produced by the {@code AddExp} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void enterAddExp(MathExprParser.AddExpContext ctx); - /** - * Exit a parse tree produced by the {@code AddExp} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void exitAddExp(MathExprParser.AddExpContext ctx); - /** - * Enter a parse tree produced by the {@code ToMul} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void enterToMul(MathExprParser.ToMulContext ctx); - /** - * Exit a parse tree produced by the {@code ToMul} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void exitToMul(MathExprParser.ToMulContext ctx); - /** - * Enter a parse tree produced by the {@code SubExp} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void enterSubExp(MathExprParser.SubExpContext ctx); - /** - * Exit a parse tree produced by the {@code SubExp} - * labeled alternative in {@link MathExprParser#addExpr}. - * @param ctx the parse tree - */ - void exitSubExp(MathExprParser.SubExpContext ctx); - /** - * Enter a parse tree produced by the {@code MulExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void enterMulExp(MathExprParser.MulExpContext ctx); - /** - * Exit a parse tree produced by the {@code MulExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void exitMulExp(MathExprParser.MulExpContext ctx); - /** - * Enter a parse tree produced by the {@code ModExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void enterModExp(MathExprParser.ModExpContext ctx); - /** - * Exit a parse tree produced by the {@code ModExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void exitModExp(MathExprParser.ModExpContext ctx); - /** - * Enter a parse tree produced by the {@code DivExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void enterDivExp(MathExprParser.DivExpContext ctx); - /** - * Exit a parse tree produced by the {@code DivExp} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void exitDivExp(MathExprParser.DivExpContext ctx); - /** - * Enter a parse tree produced by the {@code ToPow} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void enterToPow(MathExprParser.ToPowContext ctx); - /** - * Exit a parse tree produced by the {@code ToPow} - * labeled alternative in {@link MathExprParser#mulExpr}. - * @param ctx the parse tree - */ - void exitToPow(MathExprParser.ToPowContext ctx); - /** - * Enter a parse tree produced by the {@code PowExp} - * labeled alternative in {@link MathExprParser#powExpr}. - * @param ctx the parse tree - */ - void enterPowExp(MathExprParser.PowExpContext ctx); - /** - * Exit a parse tree produced by the {@code PowExp} - * labeled alternative in {@link MathExprParser#powExpr}. - * @param ctx the parse tree - */ - void exitPowExp(MathExprParser.PowExpContext ctx); - /** - * Enter a parse tree produced by the {@code ToUnary} - * labeled alternative in {@link MathExprParser#powExpr}. - * @param ctx the parse tree - */ - void enterToUnary(MathExprParser.ToUnaryContext ctx); - /** - * Exit a parse tree produced by the {@code ToUnary} - * labeled alternative in {@link MathExprParser#powExpr}. - * @param ctx the parse tree - */ - void exitToUnary(MathExprParser.ToUnaryContext ctx); - /** - * Enter a parse tree produced by the {@code UnaryPlus} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void enterUnaryPlus(MathExprParser.UnaryPlusContext ctx); - /** - * Exit a parse tree produced by the {@code UnaryPlus} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void exitUnaryPlus(MathExprParser.UnaryPlusContext ctx); - /** - * Enter a parse tree produced by the {@code UnaryMinus} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void enterUnaryMinus(MathExprParser.UnaryMinusContext ctx); - /** - * Exit a parse tree produced by the {@code UnaryMinus} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void exitUnaryMinus(MathExprParser.UnaryMinusContext ctx); - /** - * Enter a parse tree produced by the {@code ToIndex} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void enterToIndex(MathExprParser.ToIndexContext ctx); - /** - * Exit a parse tree produced by the {@code ToIndex} - * labeled alternative in {@link MathExprParser#unaryExpr}. - * @param ctx the parse tree - */ - void exitToIndex(MathExprParser.ToIndexContext ctx); - /** - * Enter a parse tree produced by the {@code IndexExp} - * labeled alternative in {@link MathExprParser#indexExpr}. - * @param ctx the parse tree - */ - void enterIndexExp(MathExprParser.IndexExpContext ctx); - /** - * Exit a parse tree produced by the {@code IndexExp} - * labeled alternative in {@link MathExprParser#indexExpr}. - * @param ctx the parse tree - */ - void exitIndexExp(MathExprParser.IndexExpContext ctx); - /** - * Enter a parse tree produced by the {@code ToAtom} - * labeled alternative in {@link MathExprParser#indexExpr}. - * @param ctx the parse tree - */ - void enterToAtom(MathExprParser.ToAtomContext ctx); - /** - * Exit a parse tree produced by the {@code ToAtom} - * labeled alternative in {@link MathExprParser#indexExpr}. - * @param ctx the parse tree - */ - void exitToAtom(MathExprParser.ToAtomContext ctx); - /** - * Enter a parse tree produced by the {@code Func1Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterFunc1Exp(MathExprParser.Func1ExpContext ctx); - /** - * Exit a parse tree produced by the {@code Func1Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitFunc1Exp(MathExprParser.Func1ExpContext ctx); - /** - * Enter a parse tree produced by the {@code Func2Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterFunc2Exp(MathExprParser.Func2ExpContext ctx); - /** - * Exit a parse tree produced by the {@code Func2Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitFunc2Exp(MathExprParser.Func2ExpContext ctx); - /** - * Enter a parse tree produced by the {@code Func3Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterFunc3Exp(MathExprParser.Func3ExpContext ctx); - /** - * Exit a parse tree produced by the {@code Func3Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitFunc3Exp(MathExprParser.Func3ExpContext ctx); - /** - * Enter a parse tree produced by the {@code Func4Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterFunc4Exp(MathExprParser.Func4ExpContext ctx); - /** - * Exit a parse tree produced by the {@code Func4Exp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitFunc4Exp(MathExprParser.Func4ExpContext ctx); - /** - * Enter a parse tree produced by the {@code FuncNExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterFuncNExp(MathExprParser.FuncNExpContext ctx); - /** - * Exit a parse tree produced by the {@code FuncNExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitFuncNExp(MathExprParser.FuncNExpContext ctx); - /** - * Enter a parse tree produced by the {@code VariableExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterVariableExp(MathExprParser.VariableExpContext ctx); - /** - * Exit a parse tree produced by the {@code VariableExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitVariableExp(MathExprParser.VariableExpContext ctx); - /** - * Enter a parse tree produced by the {@code NumberExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterNumberExp(MathExprParser.NumberExpContext ctx); - /** - * Exit a parse tree produced by the {@code NumberExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitNumberExp(MathExprParser.NumberExpContext ctx); - /** - * Enter a parse tree produced by the {@code ConstantExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterConstantExp(MathExprParser.ConstantExpContext ctx); - /** - * Exit a parse tree produced by the {@code ConstantExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitConstantExp(MathExprParser.ConstantExpContext ctx); - /** - * Enter a parse tree produced by the {@code ParenExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterParenExp(MathExprParser.ParenExpContext ctx); - /** - * Exit a parse tree produced by the {@code ParenExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitParenExp(MathExprParser.ParenExpContext ctx); - /** - * Enter a parse tree produced by the {@code AbsExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterAbsExp(MathExprParser.AbsExpContext ctx); - /** - * Exit a parse tree produced by the {@code AbsExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitAbsExp(MathExprParser.AbsExpContext ctx); - /** - * Enter a parse tree produced by the {@code ListExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterListExp(MathExprParser.ListExpContext ctx); - /** - * Exit a parse tree produced by the {@code ListExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitListExp(MathExprParser.ListExpContext ctx); - /** - * Enter a parse tree produced by the {@code CallExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void enterCallExp(MathExprParser.CallExpContext ctx); - /** - * Exit a parse tree produced by the {@code CallExp} - * labeled alternative in {@link MathExprParser#atom}. - * @param ctx the parse tree - */ - void exitCallExp(MathExprParser.CallExpContext ctx); - /** - * Enter a parse tree produced by {@link MathExprParser#exprList}. - * @param ctx the parse tree - */ - void enterExprList(MathExprParser.ExprListContext ctx); - /** - * Exit a parse tree produced by {@link MathExprParser#exprList}. - * @param ctx the parse tree - */ - void exitExprList(MathExprParser.ExprListContext ctx); - /** - * Enter a parse tree produced by the {@code SinFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSinFunc(MathExprParser.SinFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SinFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSinFunc(MathExprParser.SinFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CosFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterCosFunc(MathExprParser.CosFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CosFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitCosFunc(MathExprParser.CosFuncContext ctx); - /** - * Enter a parse tree produced by the {@code TanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterTanFunc(MathExprParser.TanFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitTanFunc(MathExprParser.TanFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AsinFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAsinFunc(MathExprParser.AsinFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AsinFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAsinFunc(MathExprParser.AsinFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AcosFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAcosFunc(MathExprParser.AcosFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AcosFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAcosFunc(MathExprParser.AcosFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AtanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAtanFunc(MathExprParser.AtanFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AtanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAtanFunc(MathExprParser.AtanFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SinhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSinhFunc(MathExprParser.SinhFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SinhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSinhFunc(MathExprParser.SinhFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CoshFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterCoshFunc(MathExprParser.CoshFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CoshFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitCoshFunc(MathExprParser.CoshFuncContext ctx); - /** - * Enter a parse tree produced by the {@code TanhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterTanhFunc(MathExprParser.TanhFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TanhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitTanhFunc(MathExprParser.TanhFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AsinhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAsinhFunc(MathExprParser.AsinhFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AsinhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAsinhFunc(MathExprParser.AsinhFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AcoshFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAcoshFunc(MathExprParser.AcoshFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AcoshFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAcoshFunc(MathExprParser.AcoshFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AtanhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAtanhFunc(MathExprParser.AtanhFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AtanhFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAtanhFunc(MathExprParser.AtanhFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AbsFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAbsFunc(MathExprParser.AbsFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AbsFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAbsFunc(MathExprParser.AbsFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SqrtFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSqrtFunc(MathExprParser.SqrtFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SqrtFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSqrtFunc(MathExprParser.SqrtFuncContext ctx); - /** - * Enter a parse tree produced by the {@code LnFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterLnFunc(MathExprParser.LnFuncContext ctx); - /** - * Exit a parse tree produced by the {@code LnFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitLnFunc(MathExprParser.LnFuncContext ctx); - /** - * Enter a parse tree produced by the {@code LogFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterLogFunc(MathExprParser.LogFuncContext ctx); - /** - * Exit a parse tree produced by the {@code LogFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitLogFunc(MathExprParser.LogFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ExpFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterExpFunc(MathExprParser.ExpFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ExpFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitExpFunc(MathExprParser.ExpFuncContext ctx); - /** - * Enter a parse tree produced by the {@code TNormFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterTNormFunc(MathExprParser.TNormFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TNormFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitTNormFunc(MathExprParser.TNormFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SNormFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSNormFunc(MathExprParser.SNormFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SNormFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSNormFunc(MathExprParser.SNormFuncContext ctx); - /** - * Enter a parse tree produced by the {@code FloorFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterFloorFunc(MathExprParser.FloorFuncContext ctx); - /** - * Exit a parse tree produced by the {@code FloorFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitFloorFunc(MathExprParser.FloorFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CeilFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterCeilFunc(MathExprParser.CeilFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CeilFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitCeilFunc(MathExprParser.CeilFuncContext ctx); - /** - * Enter a parse tree produced by the {@code RoundFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterRoundFunc(MathExprParser.RoundFuncContext ctx); - /** - * Exit a parse tree produced by the {@code RoundFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitRoundFunc(MathExprParser.RoundFuncContext ctx); - /** - * Enter a parse tree produced by the {@code GammaFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterGammaFunc(MathExprParser.GammaFuncContext ctx); - /** - * Exit a parse tree produced by the {@code GammaFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitGammaFunc(MathExprParser.GammaFuncContext ctx); - /** - * Enter a parse tree produced by the {@code sigmoidFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSigmoidFunc(MathExprParser.SigmoidFuncContext ctx); - /** - * Exit a parse tree produced by the {@code sigmoidFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSigmoidFunc(MathExprParser.SigmoidFuncContext ctx); - /** - * Enter a parse tree produced by the {@code sfftFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSfftFunc(MathExprParser.SfftFuncContext ctx); - /** - * Exit a parse tree produced by the {@code sfftFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSfftFunc(MathExprParser.SfftFuncContext ctx); - /** - * Enter a parse tree produced by the {@code sifftFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSifftFunc(MathExprParser.SifftFuncContext ctx); - /** - * Exit a parse tree produced by the {@code sifftFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSifftFunc(MathExprParser.SifftFuncContext ctx); - /** - * Enter a parse tree produced by the {@code anglFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterAnglFunc(MathExprParser.AnglFuncContext ctx); - /** - * Exit a parse tree produced by the {@code anglFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitAnglFunc(MathExprParser.AnglFuncContext ctx); - /** - * Enter a parse tree produced by the {@code printFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterPrintFunc(MathExprParser.PrintFuncContext ctx); - /** - * Exit a parse tree produced by the {@code printFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitPrintFunc(MathExprParser.PrintFuncContext ctx); - /** - * Enter a parse tree produced by the {@code FractFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterFractFunc(MathExprParser.FractFuncContext ctx); - /** - * Exit a parse tree produced by the {@code FractFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitFractFunc(MathExprParser.FractFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ReluFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterReluFunc(MathExprParser.ReluFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ReluFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitReluFunc(MathExprParser.ReluFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SoftplusFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSoftplusFunc(MathExprParser.SoftplusFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SoftplusFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSoftplusFunc(MathExprParser.SoftplusFuncContext ctx); - /** - * Enter a parse tree produced by the {@code GeluFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterGeluFunc(MathExprParser.GeluFuncContext ctx); - /** - * Exit a parse tree produced by the {@code GeluFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitGeluFunc(MathExprParser.GeluFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SignFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSignFunc(MathExprParser.SignFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SignFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSignFunc(MathExprParser.SignFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PrintShapeFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterPrintShapeFunc(MathExprParser.PrintShapeFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PrintShapeFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitPrintShapeFunc(MathExprParser.PrintShapeFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PinvFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterPinvFunc(MathExprParser.PinvFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PinvFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitPinvFunc(MathExprParser.PinvFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SumFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSumFunc(MathExprParser.SumFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SumFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSumFunc(MathExprParser.SumFuncContext ctx); - /** - * Enter a parse tree produced by the {@code MeanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterMeanFunc(MathExprParser.MeanFuncContext ctx); - /** - * Exit a parse tree produced by the {@code MeanFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitMeanFunc(MathExprParser.MeanFuncContext ctx); - /** - * Enter a parse tree produced by the {@code StdFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterStdFunc(MathExprParser.StdFuncContext ctx); - /** - * Exit a parse tree produced by the {@code StdFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitStdFunc(MathExprParser.StdFuncContext ctx); - /** - * Enter a parse tree produced by the {@code VarFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterVarFunc(MathExprParser.VarFuncContext ctx); - /** - * Exit a parse tree produced by the {@code VarFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitVarFunc(MathExprParser.VarFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SortFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterSortFunc(MathExprParser.SortFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SortFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitSortFunc(MathExprParser.SortFuncContext ctx); - /** - * Enter a parse tree produced by the {@code NoiseFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterNoiseFunc(MathExprParser.NoiseFuncContext ctx); - /** - * Exit a parse tree produced by the {@code NoiseFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitNoiseFunc(MathExprParser.NoiseFuncContext ctx); - /** - * Enter a parse tree produced by the {@code RandFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void enterRandFunc(MathExprParser.RandFuncContext ctx); - /** - * Exit a parse tree produced by the {@code RandFunc} - * labeled alternative in {@link MathExprParser#func1}. - * @param ctx the parse tree - */ - void exitRandFunc(MathExprParser.RandFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PowFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterPowFunc(MathExprParser.PowFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PowFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitPowFunc(MathExprParser.PowFuncContext ctx); - /** - * Enter a parse tree produced by the {@code Atan2Func} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterAtan2Func(MathExprParser.Atan2FuncContext ctx); - /** - * Exit a parse tree produced by the {@code Atan2Func} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitAtan2Func(MathExprParser.Atan2FuncContext ctx); - /** - * Enter a parse tree produced by the {@code TMinFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterTMinFunc(MathExprParser.TMinFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TMinFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitTMinFunc(MathExprParser.TMinFuncContext ctx); - /** - * Enter a parse tree produced by the {@code TMaxFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterTMaxFunc(MathExprParser.TMaxFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TMaxFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitTMaxFunc(MathExprParser.TMaxFuncContext ctx); - /** - * Enter a parse tree produced by the {@code StepFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterStepFunc(MathExprParser.StepFuncContext ctx); - /** - * Exit a parse tree produced by the {@code StepFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitStepFunc(MathExprParser.StepFuncContext ctx); - /** - * Enter a parse tree produced by the {@code TopkFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterTopkFunc(MathExprParser.TopkFuncContext ctx); - /** - * Exit a parse tree produced by the {@code TopkFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitTopkFunc(MathExprParser.TopkFuncContext ctx); - /** - * Enter a parse tree produced by the {@code BotkFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterBotkFunc(MathExprParser.BotkFuncContext ctx); - /** - * Exit a parse tree produced by the {@code BotkFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitBotkFunc(MathExprParser.BotkFuncContext ctx); - /** - * Enter a parse tree produced by the {@code QuartileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterQuartileFunc(MathExprParser.QuartileFuncContext ctx); - /** - * Exit a parse tree produced by the {@code QuartileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitQuartileFunc(MathExprParser.QuartileFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PercentileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterPercentileFunc(MathExprParser.PercentileFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PercentileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitPercentileFunc(MathExprParser.PercentileFuncContext ctx); - /** - * Enter a parse tree produced by the {@code QuantileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterQuantileFunc(MathExprParser.QuantileFuncContext ctx); - /** - * Exit a parse tree produced by the {@code QuantileFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitQuantileFunc(MathExprParser.QuantileFuncContext ctx); - /** - * Enter a parse tree produced by the {@code DotFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterDotFunc(MathExprParser.DotFuncContext ctx); - /** - * Exit a parse tree produced by the {@code DotFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitDotFunc(MathExprParser.DotFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CossimFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterCossimFunc(MathExprParser.CossimFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CossimFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitCossimFunc(MathExprParser.CossimFuncContext ctx); - /** - * Enter a parse tree produced by the {@code FlipFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterFlipFunc(MathExprParser.FlipFuncContext ctx); - /** - * Exit a parse tree produced by the {@code FlipFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitFlipFunc(MathExprParser.FlipFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CovFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterCovFunc(MathExprParser.CovFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CovFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitCovFunc(MathExprParser.CovFuncContext ctx); - /** - * Enter a parse tree produced by the {@code AppendFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterAppendFunc(MathExprParser.AppendFuncContext ctx); - /** - * Exit a parse tree produced by the {@code AppendFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitAppendFunc(MathExprParser.AppendFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ExponentialFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterExponentialFunc(MathExprParser.ExponentialFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ExponentialFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitExponentialFunc(MathExprParser.ExponentialFuncContext ctx); - /** - * Enter a parse tree produced by the {@code BernoulliFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterBernoulliFunc(MathExprParser.BernoulliFuncContext ctx); - /** - * Exit a parse tree produced by the {@code BernoulliFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitBernoulliFunc(MathExprParser.BernoulliFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PoissonFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void enterPoissonFunc(MathExprParser.PoissonFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PoissonFunc} - * labeled alternative in {@link MathExprParser#func2}. - * @param ctx the parse tree - */ - void exitPoissonFunc(MathExprParser.PoissonFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ClampFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterClampFunc(MathExprParser.ClampFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ClampFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitClampFunc(MathExprParser.ClampFuncContext ctx); - /** - * Enter a parse tree produced by the {@code LerpFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterLerpFunc(MathExprParser.LerpFuncContext ctx); - /** - * Exit a parse tree produced by the {@code LerpFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitLerpFunc(MathExprParser.LerpFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SmoothstepFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterSmoothstepFunc(MathExprParser.SmoothstepFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SmoothstepFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitSmoothstepFunc(MathExprParser.SmoothstepFuncContext ctx); - /** - * Enter a parse tree produced by the {@code RangeFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterRangeFunc(MathExprParser.RangeFuncContext ctx); - /** - * Exit a parse tree produced by the {@code RangeFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitRangeFunc(MathExprParser.RangeFuncContext ctx); - /** - * Enter a parse tree produced by the {@code MomentFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterMomentFunc(MathExprParser.MomentFuncContext ctx); - /** - * Exit a parse tree produced by the {@code MomentFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitMomentFunc(MathExprParser.MomentFuncContext ctx); - /** - * Enter a parse tree produced by the {@code CauchyFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterCauchyFunc(MathExprParser.CauchyFuncContext ctx); - /** - * Exit a parse tree produced by the {@code CauchyFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitCauchyFunc(MathExprParser.CauchyFuncContext ctx); - /** - * Enter a parse tree produced by the {@code LogNormalFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void enterLogNormalFunc(MathExprParser.LogNormalFuncContext ctx); - /** - * Exit a parse tree produced by the {@code LogNormalFunc} - * labeled alternative in {@link MathExprParser#func3}. - * @param ctx the parse tree - */ - void exitLogNormalFunc(MathExprParser.LogNormalFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SwapFunc} - * labeled alternative in {@link MathExprParser#func4}. - * @param ctx the parse tree - */ - void enterSwapFunc(MathExprParser.SwapFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SwapFunc} - * labeled alternative in {@link MathExprParser#func4}. - * @param ctx the parse tree - */ - void exitSwapFunc(MathExprParser.SwapFuncContext ctx); - /** - * Enter a parse tree produced by the {@code NvlFunc} - * labeled alternative in {@link MathExprParser#func4}. - * @param ctx the parse tree - */ - void enterNvlFunc(MathExprParser.NvlFuncContext ctx); - /** - * Exit a parse tree produced by the {@code NvlFunc} - * labeled alternative in {@link MathExprParser#func4}. - * @param ctx the parse tree - */ - void exitNvlFunc(MathExprParser.NvlFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SMinFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterSMinFunc(MathExprParser.SMinFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SMinFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitSMinFunc(MathExprParser.SMinFuncContext ctx); - /** - * Enter a parse tree produced by the {@code SMaxFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterSMaxFunc(MathExprParser.SMaxFuncContext ctx); - /** - * Exit a parse tree produced by the {@code SMaxFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitSMaxFunc(MathExprParser.SMaxFuncContext ctx); - /** - * Enter a parse tree produced by the {@code MapFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterMapFunc(MathExprParser.MapFuncContext ctx); - /** - * Exit a parse tree produced by the {@code MapFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitMapFunc(MathExprParser.MapFuncContext ctx); - /** - * Enter a parse tree produced by the {@code EzConvFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterEzConvFunc(MathExprParser.EzConvFuncContext ctx); - /** - * Exit a parse tree produced by the {@code EzConvFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitEzConvFunc(MathExprParser.EzConvFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ConvFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterConvFunc(MathExprParser.ConvFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ConvFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitConvFunc(MathExprParser.ConvFuncContext ctx); - /** - * Enter a parse tree produced by the {@code PermuteFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterPermuteFunc(MathExprParser.PermuteFuncContext ctx); - /** - * Exit a parse tree produced by the {@code PermuteFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitPermuteFunc(MathExprParser.PermuteFuncContext ctx); - /** - * Enter a parse tree produced by the {@code ReshapeFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void enterReshapeFunc(MathExprParser.ReshapeFuncContext ctx); - /** - * Exit a parse tree produced by the {@code ReshapeFunc} - * labeled alternative in {@link MathExprParser#funcN}. - * @param ctx the parse tree - */ - void exitReshapeFunc(MathExprParser.ReshapeFuncContext ctx); -} \ No newline at end of file diff --git a/more_math/Parser/.antlr/MathExprParser.java b/more_math/Parser/.antlr/MathExprParser.java deleted file mode 100644 index 19b7f40..0000000 --- a/more_math/Parser/.antlr/MathExprParser.java +++ /dev/null @@ -1,5127 +0,0 @@ -// Generated from d:\stability\Data\Packages\ComfyUI\custom_nodes\more_math\more_math\Parser\MathExpr.g4 by ANTLR 4.9.2 -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.misc.*; -import org.antlr.v4.runtime.tree.*; -import java.util.List; -import java.util.Iterator; -import java.util.ArrayList; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) -public class MathExprParser extends Parser { - static { RuntimeMetaData.checkVersion("4.9.2", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - SIN=1, COS=2, TAN=3, ASIN=4, ACOS=5, ATAN=6, ATAN2=7, SINH=8, COSH=9, - TANH=10, ASINH=11, ACOSH=12, ATANH=13, ABS=14, SQRT=15, LN=16, LOG=17, - EXP=18, SMIN=19, SMAX=20, TMIN=21, TMAX=22, TNORM=23, SNORM=24, FLOOR=25, - CEIL=26, ROUND=27, GAMMA=28, POWE=29, SIGM=30, CLAMP=31, SFFT=32, SIFFT=33, - ANGL=34, PRNT=35, PRINT_SHAPE=36, NVL=37, LERP=38, STEP=39, SMOOTHSTEP=40, - FRACT=41, RELU=42, SOFTPLUS=43, GELU=44, SIGN=45, MAP=46, EZCONV=47, CONV=48, - SWAP=49, PERM=50, RESHAPE=51, RANGE=52, TOPK=53, BOTK=54, PINV=55, SUM=56, - MEAN=57, STD=58, VAR=59, QUARTILE=60, PERCENTILE=61, QUANTILE=62, DOT=63, - MOMENT=64, NOISE=65, RAND=66, CAUCHY=67, EXPONENTIAL=68, LOGNORMAL=69, - BERNOULLI=70, POISSON=71, COSSIM=72, FLIP=73, COV=74, SORT=75, APPEND=76, - PLUS=77, MINUS=78, MULT=79, DIV=80, MOD=81, POW=82, GE=83, GT=84, LE=85, - LT=86, EQ=87, EQUEALS=88, NE=89, PIPE=90, LPAREN=91, RPAREN=92, COMMA=93, - SEMICOLON=94, ARROW=95, LBRACKET=96, RBRACKET=97, CONSTANT=98, NUMBER=99, - VARIABLE=100, WS=101; - public static final int - RULE_start = 0, RULE_funcDef = 1, RULE_varDef = 2, RULE_paramList = 3, - RULE_expr = 4, RULE_compExpr = 5, RULE_addExpr = 6, RULE_mulExpr = 7, - RULE_powExpr = 8, RULE_unaryExpr = 9, RULE_indexExpr = 10, RULE_atom = 11, - RULE_exprList = 12, RULE_func1 = 13, RULE_func2 = 14, RULE_func3 = 15, - RULE_func4 = 16, RULE_funcN = 17; - private static String[] makeRuleNames() { - return new String[] { - "start", "funcDef", "varDef", "paramList", "expr", "compExpr", "addExpr", - "mulExpr", "powExpr", "unaryExpr", "indexExpr", "atom", "exprList", "func1", - "func2", "func3", "func4", "funcN" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, "'sin'", "'cos'", "'tan'", "'asin'", "'acos'", "'atan'", "'atan2'", - "'sinh'", "'cosh'", "'tanh'", "'asinh'", "'acosh'", "'atanh'", "'abs'", - "'sqrt'", "'ln'", "'log'", "'exp'", "'smin'", "'smax'", "'tmin'", "'tmax'", - "'tnorm'", "'snorm'", "'floor'", "'ceil'", "'round'", "'gamma'", "'pow'", - "'sigm'", "'clamp'", "'fft'", "'ifft'", "'angle'", "'print'", null, null, - "'lerp'", "'step'", "'smoothstep'", "'fract'", "'relu'", "'softplus'", - "'gelu'", "'sign'", "'map'", null, null, "'swap'", null, null, "'range'", - "'topk'", "'botk'", "'pinv'", "'sum'", "'mean'", "'std'", "'var'", null, - null, "'quantile'", "'dot'", "'moment'", null, null, null, null, null, - null, null, "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", - "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", "'<='", "'<'", "'=='", - "'='", "'!='", "'|'", "'('", "')'", "','", "';'", "'->'", "'['", "']'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", - "TANH", "ASINH", "ACOSH", "ATANH", "ABS", "SQRT", "LN", "LOG", "EXP", - "SMIN", "SMAX", "TMIN", "TMAX", "TNORM", "SNORM", "FLOOR", "CEIL", "ROUND", - "GAMMA", "POWE", "SIGM", "CLAMP", "SFFT", "SIFFT", "ANGL", "PRNT", "PRINT_SHAPE", - "NVL", "LERP", "STEP", "SMOOTHSTEP", "FRACT", "RELU", "SOFTPLUS", "GELU", - "SIGN", "MAP", "EZCONV", "CONV", "SWAP", "PERM", "RESHAPE", "RANGE", - "TOPK", "BOTK", "PINV", "SUM", "MEAN", "STD", "VAR", "QUARTILE", "PERCENTILE", - "QUANTILE", "DOT", "MOMENT", "NOISE", "RAND", "CAUCHY", "EXPONENTIAL", - "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", - "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", - "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", - "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - @Override - public String getGrammarFileName() { return "MathExpr.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public ATN getATN() { return _ATN; } - - public MathExprParser(TokenStream input) { - super(input); - _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - public static class StartContext extends ParserRuleContext { - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode EOF() { return getToken(MathExprParser.EOF, 0); } - public List funcDef() { - return getRuleContexts(FuncDefContext.class); - } - public FuncDefContext funcDef(int i) { - return getRuleContext(FuncDefContext.class,i); - } - public List varDef() { - return getRuleContexts(VarDefContext.class); - } - public VarDefContext varDef(int i) { - return getRuleContext(VarDefContext.class,i); - } - public StartContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_start; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterStart(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitStart(this); - } - } - - public final StartContext start() throws RecognitionException { - StartContext _localctx = new StartContext(_ctx, getState()); - enterRule(_localctx, 0, RULE_start); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - setState(39); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,0,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - { - { - setState(36); - funcDef(); - } - } - } - setState(41); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,0,_ctx); - } - setState(45); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,1,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - { - { - setState(42); - varDef(); - } - } - } - setState(47); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,1,_ctx); - } - setState(48); - expr(); - setState(49); - match(EOF); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class FuncDefContext extends ParserRuleContext { - public FuncDefContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_funcDef; } - - public FuncDefContext() { } - public void copyFrom(FuncDefContext ctx) { - super.copyFrom(ctx); - } - } - public static class FunctionDefContext extends FuncDefContext { - public TerminalNode VARIABLE() { return getToken(MathExprParser.VARIABLE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TerminalNode ARROW() { return getToken(MathExprParser.ARROW, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode SEMICOLON() { return getToken(MathExprParser.SEMICOLON, 0); } - public ParamListContext paramList() { - return getRuleContext(ParamListContext.class,0); - } - public FunctionDefContext(FuncDefContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFunctionDef(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFunctionDef(this); - } - } - - public final FuncDefContext funcDef() throws RecognitionException { - FuncDefContext _localctx = new FuncDefContext(_ctx, getState()); - enterRule(_localctx, 2, RULE_funcDef); - int _la; - try { - _localctx = new FunctionDefContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(51); - match(VARIABLE); - setState(52); - match(LPAREN); - setState(54); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==VARIABLE) { - { - setState(53); - paramList(); - } - } - - setState(56); - match(RPAREN); - setState(57); - match(ARROW); - setState(58); - expr(); - setState(59); - match(SEMICOLON); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class VarDefContext extends ParserRuleContext { - public TerminalNode VARIABLE() { return getToken(MathExprParser.VARIABLE, 0); } - public TerminalNode EQUEALS() { return getToken(MathExprParser.EQUEALS, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode SEMICOLON() { return getToken(MathExprParser.SEMICOLON, 0); } - public VarDefContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_varDef; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterVarDef(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitVarDef(this); - } - } - - public final VarDefContext varDef() throws RecognitionException { - VarDefContext _localctx = new VarDefContext(_ctx, getState()); - enterRule(_localctx, 4, RULE_varDef); - try { - enterOuterAlt(_localctx, 1); - { - setState(61); - match(VARIABLE); - setState(62); - match(EQUEALS); - setState(63); - expr(); - setState(64); - match(SEMICOLON); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class ParamListContext extends ParserRuleContext { - public List VARIABLE() { return getTokens(MathExprParser.VARIABLE); } - public TerminalNode VARIABLE(int i) { - return getToken(MathExprParser.VARIABLE, i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public ParamListContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_paramList; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterParamList(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitParamList(this); - } - } - - public final ParamListContext paramList() throws RecognitionException { - ParamListContext _localctx = new ParamListContext(_ctx, getState()); - enterRule(_localctx, 6, RULE_paramList); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(66); - match(VARIABLE); - setState(71); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(67); - match(COMMA); - setState(68); - match(VARIABLE); - } - } - setState(73); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class ExprContext extends ParserRuleContext { - public AtomContext atom() { - return getRuleContext(AtomContext.class,0); - } - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public ExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_expr; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterExpr(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitExpr(this); - } - } - - public final ExprContext expr() throws RecognitionException { - ExprContext _localctx = new ExprContext(_ctx, getState()); - enterRule(_localctx, 8, RULE_expr); - try { - setState(76); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(74); - atom(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(75); - compExpr(0); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class CompExprContext extends ParserRuleContext { - public CompExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_compExpr; } - - public CompExprContext() { } - public void copyFrom(CompExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class LtExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode LT() { return getToken(MathExprParser.LT, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public LtExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLtExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLtExp(this); - } - } - public static class EqExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode EQ() { return getToken(MathExprParser.EQ, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public EqExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterEqExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitEqExp(this); - } - } - public static class ToAddContext extends CompExprContext { - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public ToAddContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToAdd(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToAdd(this); - } - } - public static class GeExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode GE() { return getToken(MathExprParser.GE, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public GeExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterGeExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitGeExp(this); - } - } - public static class LeExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode LE() { return getToken(MathExprParser.LE, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public LeExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLeExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLeExp(this); - } - } - public static class NeExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode NE() { return getToken(MathExprParser.NE, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public NeExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterNeExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitNeExp(this); - } - } - public static class GtExpContext extends CompExprContext { - public CompExprContext compExpr() { - return getRuleContext(CompExprContext.class,0); - } - public TerminalNode GT() { return getToken(MathExprParser.GT, 0); } - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public GtExpContext(CompExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterGtExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitGtExp(this); - } - } - - public final CompExprContext compExpr() throws RecognitionException { - return compExpr(0); - } - - private CompExprContext compExpr(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - CompExprContext _localctx = new CompExprContext(_ctx, _parentState); - CompExprContext _prevctx = _localctx; - int _startState = 10; - enterRecursionRule(_localctx, 10, RULE_compExpr, _p); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - _localctx = new ToAddContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(79); - addExpr(0); - } - _ctx.stop = _input.LT(-1); - setState(101); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,6,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - setState(99); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) { - case 1: - { - _localctx = new GtExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(81); - if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(82); - match(GT); - setState(83); - addExpr(0); - } - break; - case 2: - { - _localctx = new GeExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(84); - if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)"); - setState(85); - match(GE); - setState(86); - addExpr(0); - } - break; - case 3: - { - _localctx = new LtExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(87); - if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)"); - setState(88); - match(LT); - setState(89); - addExpr(0); - } - break; - case 4: - { - _localctx = new LeExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(90); - if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(91); - match(LE); - setState(92); - addExpr(0); - } - break; - case 5: - { - _localctx = new EqExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(93); - if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(94); - match(EQ); - setState(95); - addExpr(0); - } - break; - case 6: - { - _localctx = new NeExpContext(new CompExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_compExpr); - setState(96); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(97); - match(NE); - setState(98); - addExpr(0); - } - break; - } - } - } - setState(103); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,6,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - public static class AddExprContext extends ParserRuleContext { - public AddExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_addExpr; } - - public AddExprContext() { } - public void copyFrom(AddExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class AddExpContext extends AddExprContext { - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public TerminalNode PLUS() { return getToken(MathExprParser.PLUS, 0); } - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public AddExpContext(AddExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAddExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAddExp(this); - } - } - public static class ToMulContext extends AddExprContext { - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public ToMulContext(AddExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToMul(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToMul(this); - } - } - public static class SubExpContext extends AddExprContext { - public AddExprContext addExpr() { - return getRuleContext(AddExprContext.class,0); - } - public TerminalNode MINUS() { return getToken(MathExprParser.MINUS, 0); } - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public SubExpContext(AddExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSubExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSubExp(this); - } - } - - public final AddExprContext addExpr() throws RecognitionException { - return addExpr(0); - } - - private AddExprContext addExpr(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - AddExprContext _localctx = new AddExprContext(_ctx, _parentState); - AddExprContext _prevctx = _localctx; - int _startState = 12; - enterRecursionRule(_localctx, 12, RULE_addExpr, _p); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - _localctx = new ToMulContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(105); - mulExpr(0); - } - _ctx.stop = _input.LT(-1); - setState(115); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,8,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - setState(113); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) { - case 1: - { - _localctx = new AddExpContext(new AddExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_addExpr); - setState(107); - if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(108); - match(PLUS); - setState(109); - mulExpr(0); - } - break; - case 2: - { - _localctx = new SubExpContext(new AddExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_addExpr); - setState(110); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(111); - match(MINUS); - setState(112); - mulExpr(0); - } - break; - } - } - } - setState(117); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,8,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - public static class MulExprContext extends ParserRuleContext { - public MulExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_mulExpr; } - - public MulExprContext() { } - public void copyFrom(MulExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class MulExpContext extends MulExprContext { - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public TerminalNode MULT() { return getToken(MathExprParser.MULT, 0); } - public PowExprContext powExpr() { - return getRuleContext(PowExprContext.class,0); - } - public MulExpContext(MulExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterMulExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitMulExp(this); - } - } - public static class ModExpContext extends MulExprContext { - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public TerminalNode MOD() { return getToken(MathExprParser.MOD, 0); } - public PowExprContext powExpr() { - return getRuleContext(PowExprContext.class,0); - } - public ModExpContext(MulExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterModExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitModExp(this); - } - } - public static class DivExpContext extends MulExprContext { - public MulExprContext mulExpr() { - return getRuleContext(MulExprContext.class,0); - } - public TerminalNode DIV() { return getToken(MathExprParser.DIV, 0); } - public PowExprContext powExpr() { - return getRuleContext(PowExprContext.class,0); - } - public DivExpContext(MulExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterDivExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitDivExp(this); - } - } - public static class ToPowContext extends MulExprContext { - public PowExprContext powExpr() { - return getRuleContext(PowExprContext.class,0); - } - public ToPowContext(MulExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToPow(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToPow(this); - } - } - - public final MulExprContext mulExpr() throws RecognitionException { - return mulExpr(0); - } - - private MulExprContext mulExpr(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - MulExprContext _localctx = new MulExprContext(_ctx, _parentState); - MulExprContext _prevctx = _localctx; - int _startState = 14; - enterRecursionRule(_localctx, 14, RULE_mulExpr, _p); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - _localctx = new ToPowContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(119); - powExpr(); - } - _ctx.stop = _input.LT(-1); - setState(132); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,10,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - setState(130); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) { - case 1: - { - _localctx = new MulExpContext(new MulExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_mulExpr); - setState(121); - if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(122); - match(MULT); - setState(123); - powExpr(); - } - break; - case 2: - { - _localctx = new DivExpContext(new MulExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_mulExpr); - setState(124); - if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(125); - match(DIV); - setState(126); - powExpr(); - } - break; - case 3: - { - _localctx = new ModExpContext(new MulExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_mulExpr); - setState(127); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(128); - match(MOD); - setState(129); - powExpr(); - } - break; - } - } - } - setState(134); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,10,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - public static class PowExprContext extends ParserRuleContext { - public PowExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_powExpr; } - - public PowExprContext() { } - public void copyFrom(PowExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class PowExpContext extends PowExprContext { - public UnaryExprContext unaryExpr() { - return getRuleContext(UnaryExprContext.class,0); - } - public TerminalNode POW() { return getToken(MathExprParser.POW, 0); } - public PowExprContext powExpr() { - return getRuleContext(PowExprContext.class,0); - } - public PowExpContext(PowExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPowExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPowExp(this); - } - } - public static class ToUnaryContext extends PowExprContext { - public UnaryExprContext unaryExpr() { - return getRuleContext(UnaryExprContext.class,0); - } - public ToUnaryContext(PowExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToUnary(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToUnary(this); - } - } - - public final PowExprContext powExpr() throws RecognitionException { - PowExprContext _localctx = new PowExprContext(_ctx, getState()); - enterRule(_localctx, 16, RULE_powExpr); - try { - setState(140); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) { - case 1: - _localctx = new PowExpContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(135); - unaryExpr(); - setState(136); - match(POW); - setState(137); - powExpr(); - } - break; - case 2: - _localctx = new ToUnaryContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(139); - unaryExpr(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class UnaryExprContext extends ParserRuleContext { - public UnaryExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_unaryExpr; } - - public UnaryExprContext() { } - public void copyFrom(UnaryExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class UnaryPlusContext extends UnaryExprContext { - public TerminalNode PLUS() { return getToken(MathExprParser.PLUS, 0); } - public UnaryExprContext unaryExpr() { - return getRuleContext(UnaryExprContext.class,0); - } - public UnaryPlusContext(UnaryExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterUnaryPlus(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitUnaryPlus(this); - } - } - public static class UnaryMinusContext extends UnaryExprContext { - public TerminalNode MINUS() { return getToken(MathExprParser.MINUS, 0); } - public UnaryExprContext unaryExpr() { - return getRuleContext(UnaryExprContext.class,0); - } - public UnaryMinusContext(UnaryExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterUnaryMinus(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitUnaryMinus(this); - } - } - public static class ToIndexContext extends UnaryExprContext { - public IndexExprContext indexExpr() { - return getRuleContext(IndexExprContext.class,0); - } - public ToIndexContext(UnaryExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToIndex(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToIndex(this); - } - } - - public final UnaryExprContext unaryExpr() throws RecognitionException { - UnaryExprContext _localctx = new UnaryExprContext(_ctx, getState()); - enterRule(_localctx, 18, RULE_unaryExpr); - try { - setState(147); - _errHandler.sync(this); - switch (_input.LA(1)) { - case PLUS: - _localctx = new UnaryPlusContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(142); - match(PLUS); - setState(143); - unaryExpr(); - } - break; - case MINUS: - _localctx = new UnaryMinusContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(144); - match(MINUS); - setState(145); - unaryExpr(); - } - break; - case SIN: - case COS: - case TAN: - case ASIN: - case ACOS: - case ATAN: - case ATAN2: - case SINH: - case COSH: - case TANH: - case ASINH: - case ACOSH: - case ATANH: - case ABS: - case SQRT: - case LN: - case LOG: - case EXP: - case SMIN: - case SMAX: - case TMIN: - case TMAX: - case TNORM: - case SNORM: - case FLOOR: - case CEIL: - case ROUND: - case GAMMA: - case POWE: - case SIGM: - case CLAMP: - case SFFT: - case SIFFT: - case ANGL: - case PRNT: - case PRINT_SHAPE: - case NVL: - case LERP: - case STEP: - case SMOOTHSTEP: - case FRACT: - case RELU: - case SOFTPLUS: - case GELU: - case SIGN: - case MAP: - case EZCONV: - case CONV: - case SWAP: - case PERM: - case RESHAPE: - case RANGE: - case TOPK: - case BOTK: - case PINV: - case SUM: - case MEAN: - case STD: - case VAR: - case QUARTILE: - case PERCENTILE: - case QUANTILE: - case DOT: - case MOMENT: - case NOISE: - case RAND: - case CAUCHY: - case EXPONENTIAL: - case LOGNORMAL: - case BERNOULLI: - case POISSON: - case COSSIM: - case FLIP: - case COV: - case SORT: - case APPEND: - case PIPE: - case LPAREN: - case LBRACKET: - case CONSTANT: - case NUMBER: - case VARIABLE: - _localctx = new ToIndexContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(146); - indexExpr(0); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class IndexExprContext extends ParserRuleContext { - public IndexExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_indexExpr; } - - public IndexExprContext() { } - public void copyFrom(IndexExprContext ctx) { - super.copyFrom(ctx); - } - } - public static class IndexExpContext extends IndexExprContext { - public IndexExprContext indexExpr() { - return getRuleContext(IndexExprContext.class,0); - } - public TerminalNode LBRACKET() { return getToken(MathExprParser.LBRACKET, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RBRACKET() { return getToken(MathExprParser.RBRACKET, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public IndexExpContext(IndexExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterIndexExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitIndexExp(this); - } - } - public static class ToAtomContext extends IndexExprContext { - public AtomContext atom() { - return getRuleContext(AtomContext.class,0); - } - public ToAtomContext(IndexExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterToAtom(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitToAtom(this); - } - } - - public final IndexExprContext indexExpr() throws RecognitionException { - return indexExpr(0); - } - - private IndexExprContext indexExpr(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - IndexExprContext _localctx = new IndexExprContext(_ctx, _parentState); - IndexExprContext _prevctx = _localctx; - int _startState = 20; - enterRecursionRule(_localctx, 20, RULE_indexExpr, _p); - int _la; - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - _localctx = new ToAtomContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(150); - atom(); - } - _ctx.stop = _input.LT(-1); - setState(166); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,14,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - { - _localctx = new IndexExpContext(new IndexExprContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_indexExpr); - setState(152); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(153); - match(LBRACKET); - setState(154); - expr(); - setState(159); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(155); - match(COMMA); - setState(156); - expr(); - } - } - setState(161); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(162); - match(RBRACKET); - } - } - } - setState(168); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,14,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - public static class AtomContext extends ParserRuleContext { - public AtomContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_atom; } - - public AtomContext() { } - public void copyFrom(AtomContext ctx) { - super.copyFrom(ctx); - } - } - public static class Func4ExpContext extends AtomContext { - public Func4Context func4() { - return getRuleContext(Func4Context.class,0); - } - public Func4ExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFunc4Exp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFunc4Exp(this); - } - } - public static class Func2ExpContext extends AtomContext { - public Func2Context func2() { - return getRuleContext(Func2Context.class,0); - } - public Func2ExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFunc2Exp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFunc2Exp(this); - } - } - public static class VariableExpContext extends AtomContext { - public TerminalNode VARIABLE() { return getToken(MathExprParser.VARIABLE, 0); } - public VariableExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterVariableExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitVariableExp(this); - } - } - public static class CallExpContext extends AtomContext { - public TerminalNode VARIABLE() { return getToken(MathExprParser.VARIABLE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ExprListContext exprList() { - return getRuleContext(ExprListContext.class,0); - } - public CallExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCallExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCallExp(this); - } - } - public static class Func3ExpContext extends AtomContext { - public Func3Context func3() { - return getRuleContext(Func3Context.class,0); - } - public Func3ExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFunc3Exp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFunc3Exp(this); - } - } - public static class ParenExpContext extends AtomContext { - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ParenExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterParenExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitParenExp(this); - } - } - public static class ConstantExpContext extends AtomContext { - public TerminalNode CONSTANT() { return getToken(MathExprParser.CONSTANT, 0); } - public ConstantExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterConstantExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitConstantExp(this); - } - } - public static class Func1ExpContext extends AtomContext { - public Func1Context func1() { - return getRuleContext(Func1Context.class,0); - } - public Func1ExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFunc1Exp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFunc1Exp(this); - } - } - public static class FuncNExpContext extends AtomContext { - public FuncNContext funcN() { - return getRuleContext(FuncNContext.class,0); - } - public FuncNExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFuncNExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFuncNExp(this); - } - } - public static class NumberExpContext extends AtomContext { - public TerminalNode NUMBER() { return getToken(MathExprParser.NUMBER, 0); } - public NumberExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterNumberExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitNumberExp(this); - } - } - public static class AbsExpContext extends AtomContext { - public List PIPE() { return getTokens(MathExprParser.PIPE); } - public TerminalNode PIPE(int i) { - return getToken(MathExprParser.PIPE, i); - } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public AbsExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAbsExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAbsExp(this); - } - } - public static class ListExpContext extends AtomContext { - public TerminalNode LBRACKET() { return getToken(MathExprParser.LBRACKET, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RBRACKET() { return getToken(MathExprParser.RBRACKET, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public ListExpContext(AtomContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterListExp(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitListExp(this); - } - } - - public final AtomContext atom() throws RecognitionException { - AtomContext _localctx = new AtomContext(_ctx, getState()); - enterRule(_localctx, 22, RULE_atom); - int _la; - try { - setState(202); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) { - case 1: - _localctx = new Func1ExpContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(169); - func1(); - } - break; - case 2: - _localctx = new Func2ExpContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(170); - func2(); - } - break; - case 3: - _localctx = new Func3ExpContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(171); - func3(); - } - break; - case 4: - _localctx = new Func4ExpContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(172); - func4(); - } - break; - case 5: - _localctx = new FuncNExpContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(173); - funcN(); - } - break; - case 6: - _localctx = new VariableExpContext(_localctx); - enterOuterAlt(_localctx, 6); - { - setState(174); - match(VARIABLE); - } - break; - case 7: - _localctx = new NumberExpContext(_localctx); - enterOuterAlt(_localctx, 7); - { - setState(175); - match(NUMBER); - } - break; - case 8: - _localctx = new ConstantExpContext(_localctx); - enterOuterAlt(_localctx, 8); - { - setState(176); - match(CONSTANT); - } - break; - case 9: - _localctx = new ParenExpContext(_localctx); - enterOuterAlt(_localctx, 9); - { - setState(177); - match(LPAREN); - setState(178); - expr(); - setState(179); - match(RPAREN); - } - break; - case 10: - _localctx = new AbsExpContext(_localctx); - enterOuterAlt(_localctx, 10); - { - setState(181); - match(PIPE); - setState(182); - expr(); - setState(183); - match(PIPE); - } - break; - case 11: - _localctx = new ListExpContext(_localctx); - enterOuterAlt(_localctx, 11); - { - setState(185); - match(LBRACKET); - setState(186); - expr(); - setState(191); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(187); - match(COMMA); - setState(188); - expr(); - } - } - setState(193); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(194); - match(RBRACKET); - } - break; - case 12: - _localctx = new CallExpContext(_localctx); - enterOuterAlt(_localctx, 12); - { - setState(196); - match(VARIABLE); - setState(197); - match(LPAREN); - setState(199); - _errHandler.sync(this); - _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << SIN) | (1L << COS) | (1L << TAN) | (1L << ASIN) | (1L << ACOS) | (1L << ATAN) | (1L << ATAN2) | (1L << SINH) | (1L << COSH) | (1L << TANH) | (1L << ASINH) | (1L << ACOSH) | (1L << ATANH) | (1L << ABS) | (1L << SQRT) | (1L << LN) | (1L << LOG) | (1L << EXP) | (1L << SMIN) | (1L << SMAX) | (1L << TMIN) | (1L << TMAX) | (1L << TNORM) | (1L << SNORM) | (1L << FLOOR) | (1L << CEIL) | (1L << ROUND) | (1L << GAMMA) | (1L << POWE) | (1L << SIGM) | (1L << CLAMP) | (1L << SFFT) | (1L << SIFFT) | (1L << ANGL) | (1L << PRNT) | (1L << PRINT_SHAPE) | (1L << NVL) | (1L << LERP) | (1L << STEP) | (1L << SMOOTHSTEP) | (1L << FRACT) | (1L << RELU) | (1L << SOFTPLUS) | (1L << GELU) | (1L << SIGN) | (1L << MAP) | (1L << EZCONV) | (1L << CONV) | (1L << SWAP) | (1L << PERM) | (1L << RESHAPE) | (1L << RANGE) | (1L << TOPK) | (1L << BOTK) | (1L << PINV) | (1L << SUM) | (1L << MEAN) | (1L << STD) | (1L << VAR) | (1L << QUARTILE) | (1L << PERCENTILE) | (1L << QUANTILE) | (1L << DOT))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (MOMENT - 64)) | (1L << (NOISE - 64)) | (1L << (RAND - 64)) | (1L << (CAUCHY - 64)) | (1L << (EXPONENTIAL - 64)) | (1L << (LOGNORMAL - 64)) | (1L << (BERNOULLI - 64)) | (1L << (POISSON - 64)) | (1L << (COSSIM - 64)) | (1L << (FLIP - 64)) | (1L << (COV - 64)) | (1L << (SORT - 64)) | (1L << (APPEND - 64)) | (1L << (PLUS - 64)) | (1L << (MINUS - 64)) | (1L << (PIPE - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACKET - 64)) | (1L << (CONSTANT - 64)) | (1L << (NUMBER - 64)) | (1L << (VARIABLE - 64)))) != 0)) { - { - setState(198); - exprList(); - } - } - - setState(201); - match(RPAREN); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class ExprListContext extends ParserRuleContext { - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public ExprListContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_exprList; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterExprList(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitExprList(this); - } - } - - public final ExprListContext exprList() throws RecognitionException { - ExprListContext _localctx = new ExprListContext(_ctx, getState()); - enterRule(_localctx, 24, RULE_exprList); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(204); - expr(); - setState(209); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(205); - match(COMMA); - setState(206); - expr(); - } - } - setState(211); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class Func1Context extends ParserRuleContext { - public Func1Context(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_func1; } - - public Func1Context() { } - public void copyFrom(Func1Context ctx) { - super.copyFrom(ctx); - } - } - public static class SoftplusFuncContext extends Func1Context { - public TerminalNode SOFTPLUS() { return getToken(MathExprParser.SOFTPLUS, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SoftplusFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSoftplusFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSoftplusFunc(this); - } - } - public static class SortFuncContext extends Func1Context { - public TerminalNode SORT() { return getToken(MathExprParser.SORT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SortFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSortFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSortFunc(this); - } - } - public static class TanhFuncContext extends Func1Context { - public TerminalNode TANH() { return getToken(MathExprParser.TANH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TanhFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTanhFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTanhFunc(this); - } - } - public static class AcoshFuncContext extends Func1Context { - public TerminalNode ACOSH() { return getToken(MathExprParser.ACOSH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AcoshFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAcoshFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAcoshFunc(this); - } - } - public static class NoiseFuncContext extends Func1Context { - public TerminalNode NOISE() { return getToken(MathExprParser.NOISE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public NoiseFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterNoiseFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitNoiseFunc(this); - } - } - public static class SqrtFuncContext extends Func1Context { - public TerminalNode SQRT() { return getToken(MathExprParser.SQRT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SqrtFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSqrtFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSqrtFunc(this); - } - } - public static class FloorFuncContext extends Func1Context { - public TerminalNode FLOOR() { return getToken(MathExprParser.FLOOR, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public FloorFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFloorFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFloorFunc(this); - } - } - public static class RoundFuncContext extends Func1Context { - public TerminalNode ROUND() { return getToken(MathExprParser.ROUND, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public RoundFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterRoundFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitRoundFunc(this); - } - } - public static class MeanFuncContext extends Func1Context { - public TerminalNode MEAN() { return getToken(MathExprParser.MEAN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public MeanFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterMeanFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitMeanFunc(this); - } - } - public static class CeilFuncContext extends Func1Context { - public TerminalNode CEIL() { return getToken(MathExprParser.CEIL, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CeilFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCeilFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCeilFunc(this); - } - } - public static class GeluFuncContext extends Func1Context { - public TerminalNode GELU() { return getToken(MathExprParser.GELU, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public GeluFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterGeluFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitGeluFunc(this); - } - } - public static class PrintFuncContext extends Func1Context { - public TerminalNode PRNT() { return getToken(MathExprParser.PRNT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PrintFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPrintFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPrintFunc(this); - } - } - public static class AbsFuncContext extends Func1Context { - public TerminalNode ABS() { return getToken(MathExprParser.ABS, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AbsFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAbsFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAbsFunc(this); - } - } - public static class AtanFuncContext extends Func1Context { - public TerminalNode ATAN() { return getToken(MathExprParser.ATAN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AtanFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAtanFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAtanFunc(this); - } - } - public static class ReluFuncContext extends Func1Context { - public TerminalNode RELU() { return getToken(MathExprParser.RELU, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ReluFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterReluFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitReluFunc(this); - } - } - public static class SinhFuncContext extends Func1Context { - public TerminalNode SINH() { return getToken(MathExprParser.SINH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SinhFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSinhFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSinhFunc(this); - } - } - public static class SigmoidFuncContext extends Func1Context { - public TerminalNode SIGM() { return getToken(MathExprParser.SIGM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SigmoidFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSigmoidFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSigmoidFunc(this); - } - } - public static class LogFuncContext extends Func1Context { - public TerminalNode LOG() { return getToken(MathExprParser.LOG, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public LogFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLogFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLogFunc(this); - } - } - public static class LnFuncContext extends Func1Context { - public TerminalNode LN() { return getToken(MathExprParser.LN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public LnFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLnFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLnFunc(this); - } - } - public static class TNormFuncContext extends Func1Context { - public TerminalNode TNORM() { return getToken(MathExprParser.TNORM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TNormFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTNormFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTNormFunc(this); - } - } - public static class SNormFuncContext extends Func1Context { - public TerminalNode SNORM() { return getToken(MathExprParser.SNORM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SNormFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSNormFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSNormFunc(this); - } - } - public static class SinFuncContext extends Func1Context { - public TerminalNode SIN() { return getToken(MathExprParser.SIN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SinFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSinFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSinFunc(this); - } - } - public static class StdFuncContext extends Func1Context { - public TerminalNode STD() { return getToken(MathExprParser.STD, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public StdFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterStdFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitStdFunc(this); - } - } - public static class RandFuncContext extends Func1Context { - public TerminalNode RAND() { return getToken(MathExprParser.RAND, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public RandFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterRandFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitRandFunc(this); - } - } - public static class AcosFuncContext extends Func1Context { - public TerminalNode ACOS() { return getToken(MathExprParser.ACOS, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AcosFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAcosFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAcosFunc(this); - } - } - public static class CoshFuncContext extends Func1Context { - public TerminalNode COSH() { return getToken(MathExprParser.COSH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CoshFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCoshFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCoshFunc(this); - } - } - public static class AnglFuncContext extends Func1Context { - public TerminalNode ANGL() { return getToken(MathExprParser.ANGL, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AnglFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAnglFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAnglFunc(this); - } - } - public static class SumFuncContext extends Func1Context { - public TerminalNode SUM() { return getToken(MathExprParser.SUM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SumFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSumFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSumFunc(this); - } - } - public static class SignFuncContext extends Func1Context { - public TerminalNode SIGN() { return getToken(MathExprParser.SIGN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SignFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSignFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSignFunc(this); - } - } - public static class TanFuncContext extends Func1Context { - public TerminalNode TAN() { return getToken(MathExprParser.TAN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TanFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTanFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTanFunc(this); - } - } - public static class PinvFuncContext extends Func1Context { - public TerminalNode PINV() { return getToken(MathExprParser.PINV, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PinvFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPinvFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPinvFunc(this); - } - } - public static class SifftFuncContext extends Func1Context { - public TerminalNode SIFFT() { return getToken(MathExprParser.SIFFT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SifftFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSifftFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSifftFunc(this); - } - } - public static class FractFuncContext extends Func1Context { - public TerminalNode FRACT() { return getToken(MathExprParser.FRACT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public FractFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFractFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFractFunc(this); - } - } - public static class GammaFuncContext extends Func1Context { - public TerminalNode GAMMA() { return getToken(MathExprParser.GAMMA, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public GammaFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterGammaFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitGammaFunc(this); - } - } - public static class CosFuncContext extends Func1Context { - public TerminalNode COS() { return getToken(MathExprParser.COS, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CosFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCosFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCosFunc(this); - } - } - public static class VarFuncContext extends Func1Context { - public TerminalNode VAR() { return getToken(MathExprParser.VAR, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public VarFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterVarFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitVarFunc(this); - } - } - public static class AsinFuncContext extends Func1Context { - public TerminalNode ASIN() { return getToken(MathExprParser.ASIN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AsinFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAsinFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAsinFunc(this); - } - } - public static class AsinhFuncContext extends Func1Context { - public TerminalNode ASINH() { return getToken(MathExprParser.ASINH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AsinhFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAsinhFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAsinhFunc(this); - } - } - public static class SfftFuncContext extends Func1Context { - public TerminalNode SFFT() { return getToken(MathExprParser.SFFT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SfftFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSfftFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSfftFunc(this); - } - } - public static class AtanhFuncContext extends Func1Context { - public TerminalNode ATANH() { return getToken(MathExprParser.ATANH, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AtanhFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAtanhFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAtanhFunc(this); - } - } - public static class ExpFuncContext extends Func1Context { - public TerminalNode EXP() { return getToken(MathExprParser.EXP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ExpFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterExpFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitExpFunc(this); - } - } - public static class PrintShapeFuncContext extends Func1Context { - public TerminalNode PRINT_SHAPE() { return getToken(MathExprParser.PRINT_SHAPE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public ExprContext expr() { - return getRuleContext(ExprContext.class,0); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PrintShapeFuncContext(Func1Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPrintShapeFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPrintShapeFunc(this); - } - } - - public final Func1Context func1() throws RecognitionException { - Func1Context _localctx = new Func1Context(_ctx, getState()); - enterRule(_localctx, 26, RULE_func1); - try { - setState(422); - _errHandler.sync(this); - switch (_input.LA(1)) { - case SIN: - _localctx = new SinFuncContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(212); - match(SIN); - setState(213); - match(LPAREN); - setState(214); - expr(); - setState(215); - match(RPAREN); - } - break; - case COS: - _localctx = new CosFuncContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(217); - match(COS); - setState(218); - match(LPAREN); - setState(219); - expr(); - setState(220); - match(RPAREN); - } - break; - case TAN: - _localctx = new TanFuncContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(222); - match(TAN); - setState(223); - match(LPAREN); - setState(224); - expr(); - setState(225); - match(RPAREN); - } - break; - case ASIN: - _localctx = new AsinFuncContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(227); - match(ASIN); - setState(228); - match(LPAREN); - setState(229); - expr(); - setState(230); - match(RPAREN); - } - break; - case ACOS: - _localctx = new AcosFuncContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(232); - match(ACOS); - setState(233); - match(LPAREN); - setState(234); - expr(); - setState(235); - match(RPAREN); - } - break; - case ATAN: - _localctx = new AtanFuncContext(_localctx); - enterOuterAlt(_localctx, 6); - { - setState(237); - match(ATAN); - setState(238); - match(LPAREN); - setState(239); - expr(); - setState(240); - match(RPAREN); - } - break; - case SINH: - _localctx = new SinhFuncContext(_localctx); - enterOuterAlt(_localctx, 7); - { - setState(242); - match(SINH); - setState(243); - match(LPAREN); - setState(244); - expr(); - setState(245); - match(RPAREN); - } - break; - case COSH: - _localctx = new CoshFuncContext(_localctx); - enterOuterAlt(_localctx, 8); - { - setState(247); - match(COSH); - setState(248); - match(LPAREN); - setState(249); - expr(); - setState(250); - match(RPAREN); - } - break; - case TANH: - _localctx = new TanhFuncContext(_localctx); - enterOuterAlt(_localctx, 9); - { - setState(252); - match(TANH); - setState(253); - match(LPAREN); - setState(254); - expr(); - setState(255); - match(RPAREN); - } - break; - case ASINH: - _localctx = new AsinhFuncContext(_localctx); - enterOuterAlt(_localctx, 10); - { - setState(257); - match(ASINH); - setState(258); - match(LPAREN); - setState(259); - expr(); - setState(260); - match(RPAREN); - } - break; - case ACOSH: - _localctx = new AcoshFuncContext(_localctx); - enterOuterAlt(_localctx, 11); - { - setState(262); - match(ACOSH); - setState(263); - match(LPAREN); - setState(264); - expr(); - setState(265); - match(RPAREN); - } - break; - case ATANH: - _localctx = new AtanhFuncContext(_localctx); - enterOuterAlt(_localctx, 12); - { - setState(267); - match(ATANH); - setState(268); - match(LPAREN); - setState(269); - expr(); - setState(270); - match(RPAREN); - } - break; - case ABS: - _localctx = new AbsFuncContext(_localctx); - enterOuterAlt(_localctx, 13); - { - setState(272); - match(ABS); - setState(273); - match(LPAREN); - setState(274); - expr(); - setState(275); - match(RPAREN); - } - break; - case SQRT: - _localctx = new SqrtFuncContext(_localctx); - enterOuterAlt(_localctx, 14); - { - setState(277); - match(SQRT); - setState(278); - match(LPAREN); - setState(279); - expr(); - setState(280); - match(RPAREN); - } - break; - case LN: - _localctx = new LnFuncContext(_localctx); - enterOuterAlt(_localctx, 15); - { - setState(282); - match(LN); - setState(283); - match(LPAREN); - setState(284); - expr(); - setState(285); - match(RPAREN); - } - break; - case LOG: - _localctx = new LogFuncContext(_localctx); - enterOuterAlt(_localctx, 16); - { - setState(287); - match(LOG); - setState(288); - match(LPAREN); - setState(289); - expr(); - setState(290); - match(RPAREN); - } - break; - case EXP: - _localctx = new ExpFuncContext(_localctx); - enterOuterAlt(_localctx, 17); - { - setState(292); - match(EXP); - setState(293); - match(LPAREN); - setState(294); - expr(); - setState(295); - match(RPAREN); - } - break; - case TNORM: - _localctx = new TNormFuncContext(_localctx); - enterOuterAlt(_localctx, 18); - { - setState(297); - match(TNORM); - setState(298); - match(LPAREN); - setState(299); - expr(); - setState(300); - match(RPAREN); - } - break; - case SNORM: - _localctx = new SNormFuncContext(_localctx); - enterOuterAlt(_localctx, 19); - { - setState(302); - match(SNORM); - setState(303); - match(LPAREN); - setState(304); - expr(); - setState(305); - match(RPAREN); - } - break; - case FLOOR: - _localctx = new FloorFuncContext(_localctx); - enterOuterAlt(_localctx, 20); - { - setState(307); - match(FLOOR); - setState(308); - match(LPAREN); - setState(309); - expr(); - setState(310); - match(RPAREN); - } - break; - case CEIL: - _localctx = new CeilFuncContext(_localctx); - enterOuterAlt(_localctx, 21); - { - setState(312); - match(CEIL); - setState(313); - match(LPAREN); - setState(314); - expr(); - setState(315); - match(RPAREN); - } - break; - case ROUND: - _localctx = new RoundFuncContext(_localctx); - enterOuterAlt(_localctx, 22); - { - setState(317); - match(ROUND); - setState(318); - match(LPAREN); - setState(319); - expr(); - setState(320); - match(RPAREN); - } - break; - case GAMMA: - _localctx = new GammaFuncContext(_localctx); - enterOuterAlt(_localctx, 23); - { - setState(322); - match(GAMMA); - setState(323); - match(LPAREN); - setState(324); - expr(); - setState(325); - match(RPAREN); - } - break; - case SIGM: - _localctx = new SigmoidFuncContext(_localctx); - enterOuterAlt(_localctx, 24); - { - setState(327); - match(SIGM); - setState(328); - match(LPAREN); - setState(329); - expr(); - setState(330); - match(RPAREN); - } - break; - case SFFT: - _localctx = new SfftFuncContext(_localctx); - enterOuterAlt(_localctx, 25); - { - setState(332); - match(SFFT); - setState(333); - match(LPAREN); - setState(334); - expr(); - setState(335); - match(RPAREN); - } - break; - case SIFFT: - _localctx = new SifftFuncContext(_localctx); - enterOuterAlt(_localctx, 26); - { - setState(337); - match(SIFFT); - setState(338); - match(LPAREN); - setState(339); - expr(); - setState(340); - match(RPAREN); - } - break; - case ANGL: - _localctx = new AnglFuncContext(_localctx); - enterOuterAlt(_localctx, 27); - { - setState(342); - match(ANGL); - setState(343); - match(LPAREN); - setState(344); - expr(); - setState(345); - match(RPAREN); - } - break; - case PRNT: - _localctx = new PrintFuncContext(_localctx); - enterOuterAlt(_localctx, 28); - { - setState(347); - match(PRNT); - setState(348); - match(LPAREN); - setState(349); - expr(); - setState(350); - match(RPAREN); - } - break; - case FRACT: - _localctx = new FractFuncContext(_localctx); - enterOuterAlt(_localctx, 29); - { - setState(352); - match(FRACT); - setState(353); - match(LPAREN); - setState(354); - expr(); - setState(355); - match(RPAREN); - } - break; - case RELU: - _localctx = new ReluFuncContext(_localctx); - enterOuterAlt(_localctx, 30); - { - setState(357); - match(RELU); - setState(358); - match(LPAREN); - setState(359); - expr(); - setState(360); - match(RPAREN); - } - break; - case SOFTPLUS: - _localctx = new SoftplusFuncContext(_localctx); - enterOuterAlt(_localctx, 31); - { - setState(362); - match(SOFTPLUS); - setState(363); - match(LPAREN); - setState(364); - expr(); - setState(365); - match(RPAREN); - } - break; - case GELU: - _localctx = new GeluFuncContext(_localctx); - enterOuterAlt(_localctx, 32); - { - setState(367); - match(GELU); - setState(368); - match(LPAREN); - setState(369); - expr(); - setState(370); - match(RPAREN); - } - break; - case SIGN: - _localctx = new SignFuncContext(_localctx); - enterOuterAlt(_localctx, 33); - { - setState(372); - match(SIGN); - setState(373); - match(LPAREN); - setState(374); - expr(); - setState(375); - match(RPAREN); - } - break; - case PRINT_SHAPE: - _localctx = new PrintShapeFuncContext(_localctx); - enterOuterAlt(_localctx, 34); - { - setState(377); - match(PRINT_SHAPE); - setState(378); - match(LPAREN); - setState(379); - expr(); - setState(380); - match(RPAREN); - } - break; - case PINV: - _localctx = new PinvFuncContext(_localctx); - enterOuterAlt(_localctx, 35); - { - setState(382); - match(PINV); - setState(383); - match(LPAREN); - setState(384); - expr(); - setState(385); - match(RPAREN); - } - break; - case SUM: - _localctx = new SumFuncContext(_localctx); - enterOuterAlt(_localctx, 36); - { - setState(387); - match(SUM); - setState(388); - match(LPAREN); - setState(389); - expr(); - setState(390); - match(RPAREN); - } - break; - case MEAN: - _localctx = new MeanFuncContext(_localctx); - enterOuterAlt(_localctx, 37); - { - setState(392); - match(MEAN); - setState(393); - match(LPAREN); - setState(394); - expr(); - setState(395); - match(RPAREN); - } - break; - case STD: - _localctx = new StdFuncContext(_localctx); - enterOuterAlt(_localctx, 38); - { - setState(397); - match(STD); - setState(398); - match(LPAREN); - setState(399); - expr(); - setState(400); - match(RPAREN); - } - break; - case VAR: - _localctx = new VarFuncContext(_localctx); - enterOuterAlt(_localctx, 39); - { - setState(402); - match(VAR); - setState(403); - match(LPAREN); - setState(404); - expr(); - setState(405); - match(RPAREN); - } - break; - case SORT: - _localctx = new SortFuncContext(_localctx); - enterOuterAlt(_localctx, 40); - { - setState(407); - match(SORT); - setState(408); - match(LPAREN); - setState(409); - expr(); - setState(410); - match(RPAREN); - } - break; - case NOISE: - _localctx = new NoiseFuncContext(_localctx); - enterOuterAlt(_localctx, 41); - { - setState(412); - match(NOISE); - setState(413); - match(LPAREN); - setState(414); - expr(); - setState(415); - match(RPAREN); - } - break; - case RAND: - _localctx = new RandFuncContext(_localctx); - enterOuterAlt(_localctx, 42); - { - setState(417); - match(RAND); - setState(418); - match(LPAREN); - setState(419); - expr(); - setState(420); - match(RPAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class Func2Context extends ParserRuleContext { - public Func2Context(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_func2; } - - public Func2Context() { } - public void copyFrom(Func2Context ctx) { - super.copyFrom(ctx); - } - } - public static class TopkFuncContext extends Func2Context { - public TerminalNode TOPK() { return getToken(MathExprParser.TOPK, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TopkFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTopkFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTopkFunc(this); - } - } - public static class PercentileFuncContext extends Func2Context { - public TerminalNode PERCENTILE() { return getToken(MathExprParser.PERCENTILE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PercentileFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPercentileFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPercentileFunc(this); - } - } - public static class ExponentialFuncContext extends Func2Context { - public TerminalNode EXPONENTIAL() { return getToken(MathExprParser.EXPONENTIAL, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ExponentialFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterExponentialFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitExponentialFunc(this); - } - } - public static class PoissonFuncContext extends Func2Context { - public TerminalNode POISSON() { return getToken(MathExprParser.POISSON, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PoissonFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPoissonFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPoissonFunc(this); - } - } - public static class CovFuncContext extends Func2Context { - public TerminalNode COV() { return getToken(MathExprParser.COV, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CovFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCovFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCovFunc(this); - } - } - public static class BernoulliFuncContext extends Func2Context { - public TerminalNode BERNOULLI() { return getToken(MathExprParser.BERNOULLI, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public BernoulliFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterBernoulliFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitBernoulliFunc(this); - } - } - public static class StepFuncContext extends Func2Context { - public TerminalNode STEP() { return getToken(MathExprParser.STEP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public StepFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterStepFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitStepFunc(this); - } - } - public static class Atan2FuncContext extends Func2Context { - public TerminalNode ATAN2() { return getToken(MathExprParser.ATAN2, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public Atan2FuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAtan2Func(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAtan2Func(this); - } - } - public static class QuantileFuncContext extends Func2Context { - public TerminalNode QUANTILE() { return getToken(MathExprParser.QUANTILE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public QuantileFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterQuantileFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitQuantileFunc(this); - } - } - public static class BotkFuncContext extends Func2Context { - public TerminalNode BOTK() { return getToken(MathExprParser.BOTK, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public BotkFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterBotkFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitBotkFunc(this); - } - } - public static class TMaxFuncContext extends Func2Context { - public TerminalNode TMAX() { return getToken(MathExprParser.TMAX, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TMaxFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTMaxFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTMaxFunc(this); - } - } - public static class CossimFuncContext extends Func2Context { - public TerminalNode COSSIM() { return getToken(MathExprParser.COSSIM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CossimFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCossimFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCossimFunc(this); - } - } - public static class PowFuncContext extends Func2Context { - public TerminalNode POWE() { return getToken(MathExprParser.POWE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PowFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPowFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPowFunc(this); - } - } - public static class DotFuncContext extends Func2Context { - public TerminalNode DOT() { return getToken(MathExprParser.DOT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public DotFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterDotFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitDotFunc(this); - } - } - public static class AppendFuncContext extends Func2Context { - public TerminalNode APPEND() { return getToken(MathExprParser.APPEND, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public AppendFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterAppendFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitAppendFunc(this); - } - } - public static class FlipFuncContext extends Func2Context { - public TerminalNode FLIP() { return getToken(MathExprParser.FLIP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public FlipFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterFlipFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitFlipFunc(this); - } - } - public static class QuartileFuncContext extends Func2Context { - public TerminalNode QUARTILE() { return getToken(MathExprParser.QUARTILE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public QuartileFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterQuartileFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitQuartileFunc(this); - } - } - public static class TMinFuncContext extends Func2Context { - public TerminalNode TMIN() { return getToken(MathExprParser.TMIN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public TMinFuncContext(Func2Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterTMinFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitTMinFunc(this); - } - } - - public final Func2Context func2() throws RecognitionException { - Func2Context _localctx = new Func2Context(_ctx, getState()); - enterRule(_localctx, 28, RULE_func2); - try { - setState(550); - _errHandler.sync(this); - switch (_input.LA(1)) { - case POWE: - _localctx = new PowFuncContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(424); - match(POWE); - setState(425); - match(LPAREN); - setState(426); - expr(); - setState(427); - match(COMMA); - setState(428); - expr(); - setState(429); - match(RPAREN); - } - break; - case ATAN2: - _localctx = new Atan2FuncContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(431); - match(ATAN2); - setState(432); - match(LPAREN); - setState(433); - expr(); - setState(434); - match(COMMA); - setState(435); - expr(); - setState(436); - match(RPAREN); - } - break; - case TMIN: - _localctx = new TMinFuncContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(438); - match(TMIN); - setState(439); - match(LPAREN); - setState(440); - expr(); - setState(441); - match(COMMA); - setState(442); - expr(); - setState(443); - match(RPAREN); - } - break; - case TMAX: - _localctx = new TMaxFuncContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(445); - match(TMAX); - setState(446); - match(LPAREN); - setState(447); - expr(); - setState(448); - match(COMMA); - setState(449); - expr(); - setState(450); - match(RPAREN); - } - break; - case STEP: - _localctx = new StepFuncContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(452); - match(STEP); - setState(453); - match(LPAREN); - setState(454); - expr(); - setState(455); - match(COMMA); - setState(456); - expr(); - setState(457); - match(RPAREN); - } - break; - case TOPK: - _localctx = new TopkFuncContext(_localctx); - enterOuterAlt(_localctx, 6); - { - setState(459); - match(TOPK); - setState(460); - match(LPAREN); - setState(461); - expr(); - setState(462); - match(COMMA); - setState(463); - expr(); - setState(464); - match(RPAREN); - } - break; - case BOTK: - _localctx = new BotkFuncContext(_localctx); - enterOuterAlt(_localctx, 7); - { - setState(466); - match(BOTK); - setState(467); - match(LPAREN); - setState(468); - expr(); - setState(469); - match(COMMA); - setState(470); - expr(); - setState(471); - match(RPAREN); - } - break; - case QUARTILE: - _localctx = new QuartileFuncContext(_localctx); - enterOuterAlt(_localctx, 8); - { - setState(473); - match(QUARTILE); - setState(474); - match(LPAREN); - setState(475); - expr(); - setState(476); - match(COMMA); - setState(477); - expr(); - setState(478); - match(RPAREN); - } - break; - case PERCENTILE: - _localctx = new PercentileFuncContext(_localctx); - enterOuterAlt(_localctx, 9); - { - setState(480); - match(PERCENTILE); - setState(481); - match(LPAREN); - setState(482); - expr(); - setState(483); - match(COMMA); - setState(484); - expr(); - setState(485); - match(RPAREN); - } - break; - case QUANTILE: - _localctx = new QuantileFuncContext(_localctx); - enterOuterAlt(_localctx, 10); - { - setState(487); - match(QUANTILE); - setState(488); - match(LPAREN); - setState(489); - expr(); - setState(490); - match(COMMA); - setState(491); - expr(); - setState(492); - match(RPAREN); - } - break; - case DOT: - _localctx = new DotFuncContext(_localctx); - enterOuterAlt(_localctx, 11); - { - setState(494); - match(DOT); - setState(495); - match(LPAREN); - setState(496); - expr(); - setState(497); - match(COMMA); - setState(498); - expr(); - setState(499); - match(RPAREN); - } - break; - case COSSIM: - _localctx = new CossimFuncContext(_localctx); - enterOuterAlt(_localctx, 12); - { - setState(501); - match(COSSIM); - setState(502); - match(LPAREN); - setState(503); - expr(); - setState(504); - match(COMMA); - setState(505); - expr(); - setState(506); - match(RPAREN); - } - break; - case FLIP: - _localctx = new FlipFuncContext(_localctx); - enterOuterAlt(_localctx, 13); - { - setState(508); - match(FLIP); - setState(509); - match(LPAREN); - setState(510); - expr(); - setState(511); - match(COMMA); - setState(512); - expr(); - setState(513); - match(RPAREN); - } - break; - case COV: - _localctx = new CovFuncContext(_localctx); - enterOuterAlt(_localctx, 14); - { - setState(515); - match(COV); - setState(516); - match(LPAREN); - setState(517); - expr(); - setState(518); - match(COMMA); - setState(519); - expr(); - setState(520); - match(RPAREN); - } - break; - case APPEND: - _localctx = new AppendFuncContext(_localctx); - enterOuterAlt(_localctx, 15); - { - setState(522); - match(APPEND); - setState(523); - match(LPAREN); - setState(524); - expr(); - setState(525); - match(COMMA); - setState(526); - expr(); - setState(527); - match(RPAREN); - } - break; - case EXPONENTIAL: - _localctx = new ExponentialFuncContext(_localctx); - enterOuterAlt(_localctx, 16); - { - setState(529); - match(EXPONENTIAL); - setState(530); - match(LPAREN); - setState(531); - expr(); - setState(532); - match(COMMA); - setState(533); - expr(); - setState(534); - match(RPAREN); - } - break; - case BERNOULLI: - _localctx = new BernoulliFuncContext(_localctx); - enterOuterAlt(_localctx, 17); - { - setState(536); - match(BERNOULLI); - setState(537); - match(LPAREN); - setState(538); - expr(); - setState(539); - match(COMMA); - setState(540); - expr(); - setState(541); - match(RPAREN); - } - break; - case POISSON: - _localctx = new PoissonFuncContext(_localctx); - enterOuterAlt(_localctx, 18); - { - setState(543); - match(POISSON); - setState(544); - match(LPAREN); - setState(545); - expr(); - setState(546); - match(COMMA); - setState(547); - expr(); - setState(548); - match(RPAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class Func3Context extends ParserRuleContext { - public Func3Context(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_func3; } - - public Func3Context() { } - public void copyFrom(Func3Context ctx) { - super.copyFrom(ctx); - } - } - public static class MomentFuncContext extends Func3Context { - public TerminalNode MOMENT() { return getToken(MathExprParser.MOMENT, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public MomentFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterMomentFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitMomentFunc(this); - } - } - public static class LerpFuncContext extends Func3Context { - public TerminalNode LERP() { return getToken(MathExprParser.LERP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public LerpFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLerpFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLerpFunc(this); - } - } - public static class SmoothstepFuncContext extends Func3Context { - public TerminalNode SMOOTHSTEP() { return getToken(MathExprParser.SMOOTHSTEP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SmoothstepFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSmoothstepFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSmoothstepFunc(this); - } - } - public static class CauchyFuncContext extends Func3Context { - public TerminalNode CAUCHY() { return getToken(MathExprParser.CAUCHY, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public CauchyFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterCauchyFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitCauchyFunc(this); - } - } - public static class LogNormalFuncContext extends Func3Context { - public TerminalNode LOGNORMAL() { return getToken(MathExprParser.LOGNORMAL, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public LogNormalFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterLogNormalFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitLogNormalFunc(this); - } - } - public static class RangeFuncContext extends Func3Context { - public TerminalNode RANGE() { return getToken(MathExprParser.RANGE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public RangeFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterRangeFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitRangeFunc(this); - } - } - public static class ClampFuncContext extends Func3Context { - public TerminalNode CLAMP() { return getToken(MathExprParser.CLAMP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ClampFuncContext(Func3Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterClampFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitClampFunc(this); - } - } - - public final Func3Context func3() throws RecognitionException { - Func3Context _localctx = new Func3Context(_ctx, getState()); - enterRule(_localctx, 30, RULE_func3); - try { - setState(615); - _errHandler.sync(this); - switch (_input.LA(1)) { - case CLAMP: - _localctx = new ClampFuncContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(552); - match(CLAMP); - setState(553); - match(LPAREN); - setState(554); - expr(); - setState(555); - match(COMMA); - setState(556); - expr(); - setState(557); - match(COMMA); - setState(558); - expr(); - setState(559); - match(RPAREN); - } - break; - case LERP: - _localctx = new LerpFuncContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(561); - match(LERP); - setState(562); - match(LPAREN); - setState(563); - expr(); - setState(564); - match(COMMA); - setState(565); - expr(); - setState(566); - match(COMMA); - setState(567); - expr(); - setState(568); - match(RPAREN); - } - break; - case SMOOTHSTEP: - _localctx = new SmoothstepFuncContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(570); - match(SMOOTHSTEP); - setState(571); - match(LPAREN); - setState(572); - expr(); - setState(573); - match(COMMA); - setState(574); - expr(); - setState(575); - match(COMMA); - setState(576); - expr(); - setState(577); - match(RPAREN); - } - break; - case RANGE: - _localctx = new RangeFuncContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(579); - match(RANGE); - setState(580); - match(LPAREN); - setState(581); - expr(); - setState(582); - match(COMMA); - setState(583); - expr(); - setState(584); - match(COMMA); - setState(585); - expr(); - setState(586); - match(RPAREN); - } - break; - case MOMENT: - _localctx = new MomentFuncContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(588); - match(MOMENT); - setState(589); - match(LPAREN); - setState(590); - expr(); - setState(591); - match(COMMA); - setState(592); - expr(); - setState(593); - match(COMMA); - setState(594); - expr(); - setState(595); - match(RPAREN); - } - break; - case CAUCHY: - _localctx = new CauchyFuncContext(_localctx); - enterOuterAlt(_localctx, 6); - { - setState(597); - match(CAUCHY); - setState(598); - match(LPAREN); - setState(599); - expr(); - setState(600); - match(COMMA); - setState(601); - expr(); - setState(602); - match(COMMA); - setState(603); - expr(); - setState(604); - match(RPAREN); - } - break; - case LOGNORMAL: - _localctx = new LogNormalFuncContext(_localctx); - enterOuterAlt(_localctx, 7); - { - setState(606); - match(LOGNORMAL); - setState(607); - match(LPAREN); - setState(608); - expr(); - setState(609); - match(COMMA); - setState(610); - expr(); - setState(611); - match(COMMA); - setState(612); - expr(); - setState(613); - match(RPAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class Func4Context extends ParserRuleContext { - public Func4Context(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_func4; } - - public Func4Context() { } - public void copyFrom(Func4Context ctx) { - super.copyFrom(ctx); - } - } - public static class NvlFuncContext extends Func4Context { - public TerminalNode NVL() { return getToken(MathExprParser.NVL, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public NvlFuncContext(Func4Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterNvlFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitNvlFunc(this); - } - } - public static class SwapFuncContext extends Func4Context { - public TerminalNode SWAP() { return getToken(MathExprParser.SWAP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public SwapFuncContext(Func4Context ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSwapFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSwapFunc(this); - } - } - - public final Func4Context func4() throws RecognitionException { - Func4Context _localctx = new Func4Context(_ctx, getState()); - enterRule(_localctx, 32, RULE_func4); - try { - setState(639); - _errHandler.sync(this); - switch (_input.LA(1)) { - case SWAP: - _localctx = new SwapFuncContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(617); - match(SWAP); - setState(618); - match(LPAREN); - setState(619); - expr(); - setState(620); - match(COMMA); - setState(621); - expr(); - setState(622); - match(COMMA); - setState(623); - expr(); - setState(624); - match(COMMA); - setState(625); - expr(); - setState(626); - match(RPAREN); - } - break; - case NVL: - _localctx = new NvlFuncContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(628); - match(NVL); - setState(629); - match(LPAREN); - setState(630); - expr(); - setState(631); - match(COMMA); - setState(632); - expr(); - setState(633); - match(COMMA); - setState(634); - expr(); - setState(635); - match(COMMA); - setState(636); - expr(); - setState(637); - match(RPAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public static class FuncNContext extends ParserRuleContext { - public FuncNContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_funcN; } - - public FuncNContext() { } - public void copyFrom(FuncNContext ctx) { - super.copyFrom(ctx); - } - } - public static class SMaxFuncContext extends FuncNContext { - public TerminalNode SMAX() { return getToken(MathExprParser.SMAX, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public SMaxFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSMaxFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSMaxFunc(this); - } - } - public static class MapFuncContext extends FuncNContext { - public TerminalNode MAP() { return getToken(MathExprParser.MAP, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public MapFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterMapFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitMapFunc(this); - } - } - public static class EzConvFuncContext extends FuncNContext { - public TerminalNode EZCONV() { return getToken(MathExprParser.EZCONV, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public EzConvFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterEzConvFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitEzConvFunc(this); - } - } - public static class PermuteFuncContext extends FuncNContext { - public TerminalNode PERM() { return getToken(MathExprParser.PERM, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public PermuteFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterPermuteFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitPermuteFunc(this); - } - } - public static class ReshapeFuncContext extends FuncNContext { - public TerminalNode RESHAPE() { return getToken(MathExprParser.RESHAPE, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode COMMA() { return getToken(MathExprParser.COMMA, 0); } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public ReshapeFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterReshapeFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitReshapeFunc(this); - } - } - public static class SMinFuncContext extends FuncNContext { - public TerminalNode SMIN() { return getToken(MathExprParser.SMIN, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public SMinFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterSMinFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitSMinFunc(this); - } - } - public static class ConvFuncContext extends FuncNContext { - public TerminalNode CONV() { return getToken(MathExprParser.CONV, 0); } - public TerminalNode LPAREN() { return getToken(MathExprParser.LPAREN, 0); } - public List expr() { - return getRuleContexts(ExprContext.class); - } - public ExprContext expr(int i) { - return getRuleContext(ExprContext.class,i); - } - public TerminalNode RPAREN() { return getToken(MathExprParser.RPAREN, 0); } - public List COMMA() { return getTokens(MathExprParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(MathExprParser.COMMA, i); - } - public ConvFuncContext(FuncNContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).enterConvFunc(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof MathExprListener ) ((MathExprListener)listener).exitConvFunc(this); - } - } - - public final FuncNContext funcN() throws RecognitionException { - FuncNContext _localctx = new FuncNContext(_ctx, getState()); - enterRule(_localctx, 34, RULE_funcN); - int _la; - try { - setState(712); - _errHandler.sync(this); - switch (_input.LA(1)) { - case SMIN: - _localctx = new SMinFuncContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(641); - match(SMIN); - setState(642); - match(LPAREN); - setState(643); - expr(); - setState(648); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(644); - match(COMMA); - setState(645); - expr(); - } - } - setState(650); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(651); - match(RPAREN); - } - break; - case SMAX: - _localctx = new SMaxFuncContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(653); - match(SMAX); - setState(654); - match(LPAREN); - setState(655); - expr(); - setState(660); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(656); - match(COMMA); - setState(657); - expr(); - } - } - setState(662); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(663); - match(RPAREN); - } - break; - case MAP: - _localctx = new MapFuncContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(665); - match(MAP); - setState(666); - match(LPAREN); - setState(667); - expr(); - setState(670); - _errHandler.sync(this); - _la = _input.LA(1); - do { - { - { - setState(668); - match(COMMA); - setState(669); - expr(); - } - } - setState(672); - _errHandler.sync(this); - _la = _input.LA(1); - } while ( _la==COMMA ); - setState(674); - match(RPAREN); - } - break; - case EZCONV: - _localctx = new EzConvFuncContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(676); - match(EZCONV); - setState(677); - match(LPAREN); - setState(678); - expr(); - setState(681); - _errHandler.sync(this); - _la = _input.LA(1); - do { - { - { - setState(679); - match(COMMA); - setState(680); - expr(); - } - } - setState(683); - _errHandler.sync(this); - _la = _input.LA(1); - } while ( _la==COMMA ); - setState(685); - match(RPAREN); - } - break; - case CONV: - _localctx = new ConvFuncContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(687); - match(CONV); - setState(688); - match(LPAREN); - setState(689); - expr(); - setState(692); - _errHandler.sync(this); - _la = _input.LA(1); - do { - { - { - setState(690); - match(COMMA); - setState(691); - expr(); - } - } - setState(694); - _errHandler.sync(this); - _la = _input.LA(1); - } while ( _la==COMMA ); - setState(696); - match(RPAREN); - } - break; - case PERM: - _localctx = new PermuteFuncContext(_localctx); - enterOuterAlt(_localctx, 6); - { - setState(698); - match(PERM); - setState(699); - match(LPAREN); - setState(700); - expr(); - setState(701); - match(COMMA); - setState(702); - expr(); - setState(703); - match(RPAREN); - } - break; - case RESHAPE: - _localctx = new ReshapeFuncContext(_localctx); - enterOuterAlt(_localctx, 7); - { - setState(705); - match(RESHAPE); - setState(706); - match(LPAREN); - setState(707); - expr(); - setState(708); - match(COMMA); - setState(709); - expr(); - setState(710); - match(RPAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { - switch (ruleIndex) { - case 5: - return compExpr_sempred((CompExprContext)_localctx, predIndex); - case 6: - return addExpr_sempred((AddExprContext)_localctx, predIndex); - case 7: - return mulExpr_sempred((MulExprContext)_localctx, predIndex); - case 10: - return indexExpr_sempred((IndexExprContext)_localctx, predIndex); - } - return true; - } - private boolean compExpr_sempred(CompExprContext _localctx, int predIndex) { - switch (predIndex) { - case 0: - return precpred(_ctx, 7); - case 1: - return precpred(_ctx, 6); - case 2: - return precpred(_ctx, 5); - case 3: - return precpred(_ctx, 4); - case 4: - return precpred(_ctx, 3); - case 5: - return precpred(_ctx, 2); - } - return true; - } - private boolean addExpr_sempred(AddExprContext _localctx, int predIndex) { - switch (predIndex) { - case 6: - return precpred(_ctx, 3); - case 7: - return precpred(_ctx, 2); - } - return true; - } - private boolean mulExpr_sempred(MulExprContext _localctx, int predIndex) { - switch (predIndex) { - case 8: - return precpred(_ctx, 4); - case 9: - return precpred(_ctx, 3); - case 10: - return precpred(_ctx, 2); - } - return true; - } - private boolean indexExpr_sempred(IndexExprContext _localctx, int predIndex) { - switch (predIndex) { - case 11: - return precpred(_ctx, 2); - } - return true; - } - - public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3g\u02cd\4\2\t\2\4"+ - "\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+ - "\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+ - "\4\23\t\23\3\2\7\2(\n\2\f\2\16\2+\13\2\3\2\7\2.\n\2\f\2\16\2\61\13\2\3"+ - "\2\3\2\3\2\3\3\3\3\3\3\5\39\n\3\3\3\3\3\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3"+ - "\4\3\5\3\5\3\5\7\5H\n\5\f\5\16\5K\13\5\3\6\3\6\5\6O\n\6\3\7\3\7\3\7\3"+ - "\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7"+ - "\7\7f\n\7\f\7\16\7i\13\7\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\7\bt\n\b"+ - "\f\b\16\bw\13\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\7\t\u0085"+ - "\n\t\f\t\16\t\u0088\13\t\3\n\3\n\3\n\3\n\3\n\5\n\u008f\n\n\3\13\3\13\3"+ - "\13\3\13\3\13\5\13\u0096\n\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\7\f\u00a0"+ - "\n\f\f\f\16\f\u00a3\13\f\3\f\3\f\7\f\u00a7\n\f\f\f\16\f\u00aa\13\f\3\r"+ - "\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3"+ - "\r\3\r\7\r\u00c0\n\r\f\r\16\r\u00c3\13\r\3\r\3\r\3\r\3\r\3\r\5\r\u00ca"+ - "\n\r\3\r\5\r\u00cd\n\r\3\16\3\16\3\16\7\16\u00d2\n\16\f\16\16\16\u00d5"+ - "\13\16\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\17\5\17\u01a9\n\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\3\20\3\20\5\20\u0229\n\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ - "\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ - "\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ - "\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ - "\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ - "\5\21\u026a\n\21\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ - "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\5\22\u0282\n\22"+ - "\3\23\3\23\3\23\3\23\3\23\7\23\u0289\n\23\f\23\16\23\u028c\13\23\3\23"+ - "\3\23\3\23\3\23\3\23\3\23\3\23\7\23\u0295\n\23\f\23\16\23\u0298\13\23"+ - "\3\23\3\23\3\23\3\23\3\23\3\23\3\23\6\23\u02a1\n\23\r\23\16\23\u02a2\3"+ - "\23\3\23\3\23\3\23\3\23\3\23\3\23\6\23\u02ac\n\23\r\23\16\23\u02ad\3\23"+ - "\3\23\3\23\3\23\3\23\3\23\3\23\6\23\u02b7\n\23\r\23\16\23\u02b8\3\23\3"+ - "\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3"+ - "\23\5\23\u02cb\n\23\3\23\2\6\f\16\20\26\24\2\4\6\b\n\f\16\20\22\24\26"+ - "\30\32\34\36 \"$\2\2\2\u0329\2)\3\2\2\2\4\65\3\2\2\2\6?\3\2\2\2\bD\3\2"+ - "\2\2\nN\3\2\2\2\fP\3\2\2\2\16j\3\2\2\2\20x\3\2\2\2\22\u008e\3\2\2\2\24"+ - "\u0095\3\2\2\2\26\u0097\3\2\2\2\30\u00cc\3\2\2\2\32\u00ce\3\2\2\2\34\u01a8"+ - "\3\2\2\2\36\u0228\3\2\2\2 \u0269\3\2\2\2\"\u0281\3\2\2\2$\u02ca\3\2\2"+ - "\2&(\5\4\3\2\'&\3\2\2\2(+\3\2\2\2)\'\3\2\2\2)*\3\2\2\2*/\3\2\2\2+)\3\2"+ - "\2\2,.\5\6\4\2-,\3\2\2\2.\61\3\2\2\2/-\3\2\2\2/\60\3\2\2\2\60\62\3\2\2"+ - "\2\61/\3\2\2\2\62\63\5\n\6\2\63\64\7\2\2\3\64\3\3\2\2\2\65\66\7f\2\2\66"+ - "8\7]\2\2\679\5\b\5\28\67\3\2\2\289\3\2\2\29:\3\2\2\2:;\7^\2\2;<\7a\2\2"+ - "<=\5\n\6\2=>\7`\2\2>\5\3\2\2\2?@\7f\2\2@A\7Z\2\2AB\5\n\6\2BC\7`\2\2C\7"+ - "\3\2\2\2DI\7f\2\2EF\7_\2\2FH\7f\2\2GE\3\2\2\2HK\3\2\2\2IG\3\2\2\2IJ\3"+ - "\2\2\2J\t\3\2\2\2KI\3\2\2\2LO\5\30\r\2MO\5\f\7\2NL\3\2\2\2NM\3\2\2\2O"+ - "\13\3\2\2\2PQ\b\7\1\2QR\5\16\b\2Rg\3\2\2\2ST\f\t\2\2TU\7V\2\2Uf\5\16\b"+ - "\2VW\f\b\2\2WX\7U\2\2Xf\5\16\b\2YZ\f\7\2\2Z[\7X\2\2[f\5\16\b\2\\]\f\6"+ - "\2\2]^\7W\2\2^f\5\16\b\2_`\f\5\2\2`a\7Y\2\2af\5\16\b\2bc\f\4\2\2cd\7["+ - "\2\2df\5\16\b\2eS\3\2\2\2eV\3\2\2\2eY\3\2\2\2e\\\3\2\2\2e_\3\2\2\2eb\3"+ - "\2\2\2fi\3\2\2\2ge\3\2\2\2gh\3\2\2\2h\r\3\2\2\2ig\3\2\2\2jk\b\b\1\2kl"+ - "\5\20\t\2lu\3\2\2\2mn\f\5\2\2no\7O\2\2ot\5\20\t\2pq\f\4\2\2qr\7P\2\2r"+ - "t\5\20\t\2sm\3\2\2\2sp\3\2\2\2tw\3\2\2\2us\3\2\2\2uv\3\2\2\2v\17\3\2\2"+ - "\2wu\3\2\2\2xy\b\t\1\2yz\5\22\n\2z\u0086\3\2\2\2{|\f\6\2\2|}\7Q\2\2}\u0085"+ - "\5\22\n\2~\177\f\5\2\2\177\u0080\7R\2\2\u0080\u0085\5\22\n\2\u0081\u0082"+ - "\f\4\2\2\u0082\u0083\7S\2\2\u0083\u0085\5\22\n\2\u0084{\3\2\2\2\u0084"+ - "~\3\2\2\2\u0084\u0081\3\2\2\2\u0085\u0088\3\2\2\2\u0086\u0084\3\2\2\2"+ - "\u0086\u0087\3\2\2\2\u0087\21\3\2\2\2\u0088\u0086\3\2\2\2\u0089\u008a"+ - "\5\24\13\2\u008a\u008b\7T\2\2\u008b\u008c\5\22\n\2\u008c\u008f\3\2\2\2"+ - "\u008d\u008f\5\24\13\2\u008e\u0089\3\2\2\2\u008e\u008d\3\2\2\2\u008f\23"+ - "\3\2\2\2\u0090\u0091\7O\2\2\u0091\u0096\5\24\13\2\u0092\u0093\7P\2\2\u0093"+ - "\u0096\5\24\13\2\u0094\u0096\5\26\f\2\u0095\u0090\3\2\2\2\u0095\u0092"+ - "\3\2\2\2\u0095\u0094\3\2\2\2\u0096\25\3\2\2\2\u0097\u0098\b\f\1\2\u0098"+ - "\u0099\5\30\r\2\u0099\u00a8\3\2\2\2\u009a\u009b\f\4\2\2\u009b\u009c\7"+ - "b\2\2\u009c\u00a1\5\n\6\2\u009d\u009e\7_\2\2\u009e\u00a0\5\n\6\2\u009f"+ - "\u009d\3\2\2\2\u00a0\u00a3\3\2\2\2\u00a1\u009f\3\2\2\2\u00a1\u00a2\3\2"+ - "\2\2\u00a2\u00a4\3\2\2\2\u00a3\u00a1\3\2\2\2\u00a4\u00a5\7c\2\2\u00a5"+ - "\u00a7\3\2\2\2\u00a6\u009a\3\2\2\2\u00a7\u00aa\3\2\2\2\u00a8\u00a6\3\2"+ - "\2\2\u00a8\u00a9\3\2\2\2\u00a9\27\3\2\2\2\u00aa\u00a8\3\2\2\2\u00ab\u00cd"+ - "\5\34\17\2\u00ac\u00cd\5\36\20\2\u00ad\u00cd\5 \21\2\u00ae\u00cd\5\"\22"+ - "\2\u00af\u00cd\5$\23\2\u00b0\u00cd\7f\2\2\u00b1\u00cd\7e\2\2\u00b2\u00cd"+ - "\7d\2\2\u00b3\u00b4\7]\2\2\u00b4\u00b5\5\n\6\2\u00b5\u00b6\7^\2\2\u00b6"+ - "\u00cd\3\2\2\2\u00b7\u00b8\7\\\2\2\u00b8\u00b9\5\n\6\2\u00b9\u00ba\7\\"+ - "\2\2\u00ba\u00cd\3\2\2\2\u00bb\u00bc\7b\2\2\u00bc\u00c1\5\n\6\2\u00bd"+ - "\u00be\7_\2\2\u00be\u00c0\5\n\6\2\u00bf\u00bd\3\2\2\2\u00c0\u00c3\3\2"+ - "\2\2\u00c1\u00bf\3\2\2\2\u00c1\u00c2\3\2\2\2\u00c2\u00c4\3\2\2\2\u00c3"+ - "\u00c1\3\2\2\2\u00c4\u00c5\7c\2\2\u00c5\u00cd\3\2\2\2\u00c6\u00c7\7f\2"+ - "\2\u00c7\u00c9\7]\2\2\u00c8\u00ca\5\32\16\2\u00c9\u00c8\3\2\2\2\u00c9"+ - "\u00ca\3\2\2\2\u00ca\u00cb\3\2\2\2\u00cb\u00cd\7^\2\2\u00cc\u00ab\3\2"+ - "\2\2\u00cc\u00ac\3\2\2\2\u00cc\u00ad\3\2\2\2\u00cc\u00ae\3\2\2\2\u00cc"+ - "\u00af\3\2\2\2\u00cc\u00b0\3\2\2\2\u00cc\u00b1\3\2\2\2\u00cc\u00b2\3\2"+ - "\2\2\u00cc\u00b3\3\2\2\2\u00cc\u00b7\3\2\2\2\u00cc\u00bb\3\2\2\2\u00cc"+ - "\u00c6\3\2\2\2\u00cd\31\3\2\2\2\u00ce\u00d3\5\n\6\2\u00cf\u00d0\7_\2\2"+ - "\u00d0\u00d2\5\n\6\2\u00d1\u00cf\3\2\2\2\u00d2\u00d5\3\2\2\2\u00d3\u00d1"+ - "\3\2\2\2\u00d3\u00d4\3\2\2\2\u00d4\33\3\2\2\2\u00d5\u00d3\3\2\2\2\u00d6"+ - "\u00d7\7\3\2\2\u00d7\u00d8\7]\2\2\u00d8\u00d9\5\n\6\2\u00d9\u00da\7^\2"+ - "\2\u00da\u01a9\3\2\2\2\u00db\u00dc\7\4\2\2\u00dc\u00dd\7]\2\2\u00dd\u00de"+ - "\5\n\6\2\u00de\u00df\7^\2\2\u00df\u01a9\3\2\2\2\u00e0\u00e1\7\5\2\2\u00e1"+ - "\u00e2\7]\2\2\u00e2\u00e3\5\n\6\2\u00e3\u00e4\7^\2\2\u00e4\u01a9\3\2\2"+ - "\2\u00e5\u00e6\7\6\2\2\u00e6\u00e7\7]\2\2\u00e7\u00e8\5\n\6\2\u00e8\u00e9"+ - "\7^\2\2\u00e9\u01a9\3\2\2\2\u00ea\u00eb\7\7\2\2\u00eb\u00ec\7]\2\2\u00ec"+ - "\u00ed\5\n\6\2\u00ed\u00ee\7^\2\2\u00ee\u01a9\3\2\2\2\u00ef\u00f0\7\b"+ - "\2\2\u00f0\u00f1\7]\2\2\u00f1\u00f2\5\n\6\2\u00f2\u00f3\7^\2\2\u00f3\u01a9"+ - "\3\2\2\2\u00f4\u00f5\7\n\2\2\u00f5\u00f6\7]\2\2\u00f6\u00f7\5\n\6\2\u00f7"+ - "\u00f8\7^\2\2\u00f8\u01a9\3\2\2\2\u00f9\u00fa\7\13\2\2\u00fa\u00fb\7]"+ - "\2\2\u00fb\u00fc\5\n\6\2\u00fc\u00fd\7^\2\2\u00fd\u01a9\3\2\2\2\u00fe"+ - "\u00ff\7\f\2\2\u00ff\u0100\7]\2\2\u0100\u0101\5\n\6\2\u0101\u0102\7^\2"+ - "\2\u0102\u01a9\3\2\2\2\u0103\u0104\7\r\2\2\u0104\u0105\7]\2\2\u0105\u0106"+ - "\5\n\6\2\u0106\u0107\7^\2\2\u0107\u01a9\3\2\2\2\u0108\u0109\7\16\2\2\u0109"+ - "\u010a\7]\2\2\u010a\u010b\5\n\6\2\u010b\u010c\7^\2\2\u010c\u01a9\3\2\2"+ - "\2\u010d\u010e\7\17\2\2\u010e\u010f\7]\2\2\u010f\u0110\5\n\6\2\u0110\u0111"+ - "\7^\2\2\u0111\u01a9\3\2\2\2\u0112\u0113\7\20\2\2\u0113\u0114\7]\2\2\u0114"+ - "\u0115\5\n\6\2\u0115\u0116\7^\2\2\u0116\u01a9\3\2\2\2\u0117\u0118\7\21"+ - "\2\2\u0118\u0119\7]\2\2\u0119\u011a\5\n\6\2\u011a\u011b\7^\2\2\u011b\u01a9"+ - "\3\2\2\2\u011c\u011d\7\22\2\2\u011d\u011e\7]\2\2\u011e\u011f\5\n\6\2\u011f"+ - "\u0120\7^\2\2\u0120\u01a9\3\2\2\2\u0121\u0122\7\23\2\2\u0122\u0123\7]"+ - "\2\2\u0123\u0124\5\n\6\2\u0124\u0125\7^\2\2\u0125\u01a9\3\2\2\2\u0126"+ - "\u0127\7\24\2\2\u0127\u0128\7]\2\2\u0128\u0129\5\n\6\2\u0129\u012a\7^"+ - "\2\2\u012a\u01a9\3\2\2\2\u012b\u012c\7\31\2\2\u012c\u012d\7]\2\2\u012d"+ - "\u012e\5\n\6\2\u012e\u012f\7^\2\2\u012f\u01a9\3\2\2\2\u0130\u0131\7\32"+ - "\2\2\u0131\u0132\7]\2\2\u0132\u0133\5\n\6\2\u0133\u0134\7^\2\2\u0134\u01a9"+ - "\3\2\2\2\u0135\u0136\7\33\2\2\u0136\u0137\7]\2\2\u0137\u0138\5\n\6\2\u0138"+ - "\u0139\7^\2\2\u0139\u01a9\3\2\2\2\u013a\u013b\7\34\2\2\u013b\u013c\7]"+ - "\2\2\u013c\u013d\5\n\6\2\u013d\u013e\7^\2\2\u013e\u01a9\3\2\2\2\u013f"+ - "\u0140\7\35\2\2\u0140\u0141\7]\2\2\u0141\u0142\5\n\6\2\u0142\u0143\7^"+ - "\2\2\u0143\u01a9\3\2\2\2\u0144\u0145\7\36\2\2\u0145\u0146\7]\2\2\u0146"+ - "\u0147\5\n\6\2\u0147\u0148\7^\2\2\u0148\u01a9\3\2\2\2\u0149\u014a\7 \2"+ - "\2\u014a\u014b\7]\2\2\u014b\u014c\5\n\6\2\u014c\u014d\7^\2\2\u014d\u01a9"+ - "\3\2\2\2\u014e\u014f\7\"\2\2\u014f\u0150\7]\2\2\u0150\u0151\5\n\6\2\u0151"+ - "\u0152\7^\2\2\u0152\u01a9\3\2\2\2\u0153\u0154\7#\2\2\u0154\u0155\7]\2"+ - "\2\u0155\u0156\5\n\6\2\u0156\u0157\7^\2\2\u0157\u01a9\3\2\2\2\u0158\u0159"+ - "\7$\2\2\u0159\u015a\7]\2\2\u015a\u015b\5\n\6\2\u015b\u015c\7^\2\2\u015c"+ - "\u01a9\3\2\2\2\u015d\u015e\7%\2\2\u015e\u015f\7]\2\2\u015f\u0160\5\n\6"+ - "\2\u0160\u0161\7^\2\2\u0161\u01a9\3\2\2\2\u0162\u0163\7+\2\2\u0163\u0164"+ - "\7]\2\2\u0164\u0165\5\n\6\2\u0165\u0166\7^\2\2\u0166\u01a9\3\2\2\2\u0167"+ - "\u0168\7,\2\2\u0168\u0169\7]\2\2\u0169\u016a\5\n\6\2\u016a\u016b\7^\2"+ - "\2\u016b\u01a9\3\2\2\2\u016c\u016d\7-\2\2\u016d\u016e\7]\2\2\u016e\u016f"+ - "\5\n\6\2\u016f\u0170\7^\2\2\u0170\u01a9\3\2\2\2\u0171\u0172\7.\2\2\u0172"+ - "\u0173\7]\2\2\u0173\u0174\5\n\6\2\u0174\u0175\7^\2\2\u0175\u01a9\3\2\2"+ - "\2\u0176\u0177\7/\2\2\u0177\u0178\7]\2\2\u0178\u0179\5\n\6\2\u0179\u017a"+ - "\7^\2\2\u017a\u01a9\3\2\2\2\u017b\u017c\7&\2\2\u017c\u017d\7]\2\2\u017d"+ - "\u017e\5\n\6\2\u017e\u017f\7^\2\2\u017f\u01a9\3\2\2\2\u0180\u0181\79\2"+ - "\2\u0181\u0182\7]\2\2\u0182\u0183\5\n\6\2\u0183\u0184\7^\2\2\u0184\u01a9"+ - "\3\2\2\2\u0185\u0186\7:\2\2\u0186\u0187\7]\2\2\u0187\u0188\5\n\6\2\u0188"+ - "\u0189\7^\2\2\u0189\u01a9\3\2\2\2\u018a\u018b\7;\2\2\u018b\u018c\7]\2"+ - "\2\u018c\u018d\5\n\6\2\u018d\u018e\7^\2\2\u018e\u01a9\3\2\2\2\u018f\u0190"+ - "\7<\2\2\u0190\u0191\7]\2\2\u0191\u0192\5\n\6\2\u0192\u0193\7^\2\2\u0193"+ - "\u01a9\3\2\2\2\u0194\u0195\7=\2\2\u0195\u0196\7]\2\2\u0196\u0197\5\n\6"+ - "\2\u0197\u0198\7^\2\2\u0198\u01a9\3\2\2\2\u0199\u019a\7M\2\2\u019a\u019b"+ - "\7]\2\2\u019b\u019c\5\n\6\2\u019c\u019d\7^\2\2\u019d\u01a9\3\2\2\2\u019e"+ - "\u019f\7C\2\2\u019f\u01a0\7]\2\2\u01a0\u01a1\5\n\6\2\u01a1\u01a2\7^\2"+ - "\2\u01a2\u01a9\3\2\2\2\u01a3\u01a4\7D\2\2\u01a4\u01a5\7]\2\2\u01a5\u01a6"+ - "\5\n\6\2\u01a6\u01a7\7^\2\2\u01a7\u01a9\3\2\2\2\u01a8\u00d6\3\2\2\2\u01a8"+ - "\u00db\3\2\2\2\u01a8\u00e0\3\2\2\2\u01a8\u00e5\3\2\2\2\u01a8\u00ea\3\2"+ - "\2\2\u01a8\u00ef\3\2\2\2\u01a8\u00f4\3\2\2\2\u01a8\u00f9\3\2\2\2\u01a8"+ - "\u00fe\3\2\2\2\u01a8\u0103\3\2\2\2\u01a8\u0108\3\2\2\2\u01a8\u010d\3\2"+ - "\2\2\u01a8\u0112\3\2\2\2\u01a8\u0117\3\2\2\2\u01a8\u011c\3\2\2\2\u01a8"+ - "\u0121\3\2\2\2\u01a8\u0126\3\2\2\2\u01a8\u012b\3\2\2\2\u01a8\u0130\3\2"+ - "\2\2\u01a8\u0135\3\2\2\2\u01a8\u013a\3\2\2\2\u01a8\u013f\3\2\2\2\u01a8"+ - "\u0144\3\2\2\2\u01a8\u0149\3\2\2\2\u01a8\u014e\3\2\2\2\u01a8\u0153\3\2"+ - "\2\2\u01a8\u0158\3\2\2\2\u01a8\u015d\3\2\2\2\u01a8\u0162\3\2\2\2\u01a8"+ - "\u0167\3\2\2\2\u01a8\u016c\3\2\2\2\u01a8\u0171\3\2\2\2\u01a8\u0176\3\2"+ - "\2\2\u01a8\u017b\3\2\2\2\u01a8\u0180\3\2\2\2\u01a8\u0185\3\2\2\2\u01a8"+ - "\u018a\3\2\2\2\u01a8\u018f\3\2\2\2\u01a8\u0194\3\2\2\2\u01a8\u0199\3\2"+ - "\2\2\u01a8\u019e\3\2\2\2\u01a8\u01a3\3\2\2\2\u01a9\35\3\2\2\2\u01aa\u01ab"+ - "\7\37\2\2\u01ab\u01ac\7]\2\2\u01ac\u01ad\5\n\6\2\u01ad\u01ae\7_\2\2\u01ae"+ - "\u01af\5\n\6\2\u01af\u01b0\7^\2\2\u01b0\u0229\3\2\2\2\u01b1\u01b2\7\t"+ - "\2\2\u01b2\u01b3\7]\2\2\u01b3\u01b4\5\n\6\2\u01b4\u01b5\7_\2\2\u01b5\u01b6"+ - "\5\n\6\2\u01b6\u01b7\7^\2\2\u01b7\u0229\3\2\2\2\u01b8\u01b9\7\27\2\2\u01b9"+ - "\u01ba\7]\2\2\u01ba\u01bb\5\n\6\2\u01bb\u01bc\7_\2\2\u01bc\u01bd\5\n\6"+ - "\2\u01bd\u01be\7^\2\2\u01be\u0229\3\2\2\2\u01bf\u01c0\7\30\2\2\u01c0\u01c1"+ - "\7]\2\2\u01c1\u01c2\5\n\6\2\u01c2\u01c3\7_\2\2\u01c3\u01c4\5\n\6\2\u01c4"+ - "\u01c5\7^\2\2\u01c5\u0229\3\2\2\2\u01c6\u01c7\7)\2\2\u01c7\u01c8\7]\2"+ - "\2\u01c8\u01c9\5\n\6\2\u01c9\u01ca\7_\2\2\u01ca\u01cb\5\n\6\2\u01cb\u01cc"+ - "\7^\2\2\u01cc\u0229\3\2\2\2\u01cd\u01ce\7\67\2\2\u01ce\u01cf\7]\2\2\u01cf"+ - "\u01d0\5\n\6\2\u01d0\u01d1\7_\2\2\u01d1\u01d2\5\n\6\2\u01d2\u01d3\7^\2"+ - "\2\u01d3\u0229\3\2\2\2\u01d4\u01d5\78\2\2\u01d5\u01d6\7]\2\2\u01d6\u01d7"+ - "\5\n\6\2\u01d7\u01d8\7_\2\2\u01d8\u01d9\5\n\6\2\u01d9\u01da\7^\2\2\u01da"+ - "\u0229\3\2\2\2\u01db\u01dc\7>\2\2\u01dc\u01dd\7]\2\2\u01dd\u01de\5\n\6"+ - "\2\u01de\u01df\7_\2\2\u01df\u01e0\5\n\6\2\u01e0\u01e1\7^\2\2\u01e1\u0229"+ - "\3\2\2\2\u01e2\u01e3\7?\2\2\u01e3\u01e4\7]\2\2\u01e4\u01e5\5\n\6\2\u01e5"+ - "\u01e6\7_\2\2\u01e6\u01e7\5\n\6\2\u01e7\u01e8\7^\2\2\u01e8\u0229\3\2\2"+ - "\2\u01e9\u01ea\7@\2\2\u01ea\u01eb\7]\2\2\u01eb\u01ec\5\n\6\2\u01ec\u01ed"+ - "\7_\2\2\u01ed\u01ee\5\n\6\2\u01ee\u01ef\7^\2\2\u01ef\u0229\3\2\2\2\u01f0"+ - "\u01f1\7A\2\2\u01f1\u01f2\7]\2\2\u01f2\u01f3\5\n\6\2\u01f3\u01f4\7_\2"+ - "\2\u01f4\u01f5\5\n\6\2\u01f5\u01f6\7^\2\2\u01f6\u0229\3\2\2\2\u01f7\u01f8"+ - "\7J\2\2\u01f8\u01f9\7]\2\2\u01f9\u01fa\5\n\6\2\u01fa\u01fb\7_\2\2\u01fb"+ - "\u01fc\5\n\6\2\u01fc\u01fd\7^\2\2\u01fd\u0229\3\2\2\2\u01fe\u01ff\7K\2"+ - "\2\u01ff\u0200\7]\2\2\u0200\u0201\5\n\6\2\u0201\u0202\7_\2\2\u0202\u0203"+ - "\5\n\6\2\u0203\u0204\7^\2\2\u0204\u0229\3\2\2\2\u0205\u0206\7L\2\2\u0206"+ - "\u0207\7]\2\2\u0207\u0208\5\n\6\2\u0208\u0209\7_\2\2\u0209\u020a\5\n\6"+ - "\2\u020a\u020b\7^\2\2\u020b\u0229\3\2\2\2\u020c\u020d\7N\2\2\u020d\u020e"+ - "\7]\2\2\u020e\u020f\5\n\6\2\u020f\u0210\7_\2\2\u0210\u0211\5\n\6\2\u0211"+ - "\u0212\7^\2\2\u0212\u0229\3\2\2\2\u0213\u0214\7F\2\2\u0214\u0215\7]\2"+ - "\2\u0215\u0216\5\n\6\2\u0216\u0217\7_\2\2\u0217\u0218\5\n\6\2\u0218\u0219"+ - "\7^\2\2\u0219\u0229\3\2\2\2\u021a\u021b\7H\2\2\u021b\u021c\7]\2\2\u021c"+ - "\u021d\5\n\6\2\u021d\u021e\7_\2\2\u021e\u021f\5\n\6\2\u021f\u0220\7^\2"+ - "\2\u0220\u0229\3\2\2\2\u0221\u0222\7I\2\2\u0222\u0223\7]\2\2\u0223\u0224"+ - "\5\n\6\2\u0224\u0225\7_\2\2\u0225\u0226\5\n\6\2\u0226\u0227\7^\2\2\u0227"+ - "\u0229\3\2\2\2\u0228\u01aa\3\2\2\2\u0228\u01b1\3\2\2\2\u0228\u01b8\3\2"+ - "\2\2\u0228\u01bf\3\2\2\2\u0228\u01c6\3\2\2\2\u0228\u01cd\3\2\2\2\u0228"+ - "\u01d4\3\2\2\2\u0228\u01db\3\2\2\2\u0228\u01e2\3\2\2\2\u0228\u01e9\3\2"+ - "\2\2\u0228\u01f0\3\2\2\2\u0228\u01f7\3\2\2\2\u0228\u01fe\3\2\2\2\u0228"+ - "\u0205\3\2\2\2\u0228\u020c\3\2\2\2\u0228\u0213\3\2\2\2\u0228\u021a\3\2"+ - "\2\2\u0228\u0221\3\2\2\2\u0229\37\3\2\2\2\u022a\u022b\7!\2\2\u022b\u022c"+ - "\7]\2\2\u022c\u022d\5\n\6\2\u022d\u022e\7_\2\2\u022e\u022f\5\n\6\2\u022f"+ - "\u0230\7_\2\2\u0230\u0231\5\n\6\2\u0231\u0232\7^\2\2\u0232\u026a\3\2\2"+ - "\2\u0233\u0234\7(\2\2\u0234\u0235\7]\2\2\u0235\u0236\5\n\6\2\u0236\u0237"+ - "\7_\2\2\u0237\u0238\5\n\6\2\u0238\u0239\7_\2\2\u0239\u023a\5\n\6\2\u023a"+ - "\u023b\7^\2\2\u023b\u026a\3\2\2\2\u023c\u023d\7*\2\2\u023d\u023e\7]\2"+ - "\2\u023e\u023f\5\n\6\2\u023f\u0240\7_\2\2\u0240\u0241\5\n\6\2\u0241\u0242"+ - "\7_\2\2\u0242\u0243\5\n\6\2\u0243\u0244\7^\2\2\u0244\u026a\3\2\2\2\u0245"+ - "\u0246\7\66\2\2\u0246\u0247\7]\2\2\u0247\u0248\5\n\6\2\u0248\u0249\7_"+ - "\2\2\u0249\u024a\5\n\6\2\u024a\u024b\7_\2\2\u024b\u024c\5\n\6\2\u024c"+ - "\u024d\7^\2\2\u024d\u026a\3\2\2\2\u024e\u024f\7B\2\2\u024f\u0250\7]\2"+ - "\2\u0250\u0251\5\n\6\2\u0251\u0252\7_\2\2\u0252\u0253\5\n\6\2\u0253\u0254"+ - "\7_\2\2\u0254\u0255\5\n\6\2\u0255\u0256\7^\2\2\u0256\u026a\3\2\2\2\u0257"+ - "\u0258\7E\2\2\u0258\u0259\7]\2\2\u0259\u025a\5\n\6\2\u025a\u025b\7_\2"+ - "\2\u025b\u025c\5\n\6\2\u025c\u025d\7_\2\2\u025d\u025e\5\n\6\2\u025e\u025f"+ - "\7^\2\2\u025f\u026a\3\2\2\2\u0260\u0261\7G\2\2\u0261\u0262\7]\2\2\u0262"+ - "\u0263\5\n\6\2\u0263\u0264\7_\2\2\u0264\u0265\5\n\6\2\u0265\u0266\7_\2"+ - "\2\u0266\u0267\5\n\6\2\u0267\u0268\7^\2\2\u0268\u026a\3\2\2\2\u0269\u022a"+ - "\3\2\2\2\u0269\u0233\3\2\2\2\u0269\u023c\3\2\2\2\u0269\u0245\3\2\2\2\u0269"+ - "\u024e\3\2\2\2\u0269\u0257\3\2\2\2\u0269\u0260\3\2\2\2\u026a!\3\2\2\2"+ - "\u026b\u026c\7\63\2\2\u026c\u026d\7]\2\2\u026d\u026e\5\n\6\2\u026e\u026f"+ - "\7_\2\2\u026f\u0270\5\n\6\2\u0270\u0271\7_\2\2\u0271\u0272\5\n\6\2\u0272"+ - "\u0273\7_\2\2\u0273\u0274\5\n\6\2\u0274\u0275\7^\2\2\u0275\u0282\3\2\2"+ - "\2\u0276\u0277\7\'\2\2\u0277\u0278\7]\2\2\u0278\u0279\5\n\6\2\u0279\u027a"+ - "\7_\2\2\u027a\u027b\5\n\6\2\u027b\u027c\7_\2\2\u027c\u027d\5\n\6\2\u027d"+ - "\u027e\7_\2\2\u027e\u027f\5\n\6\2\u027f\u0280\7^\2\2\u0280\u0282\3\2\2"+ - "\2\u0281\u026b\3\2\2\2\u0281\u0276\3\2\2\2\u0282#\3\2\2\2\u0283\u0284"+ - "\7\25\2\2\u0284\u0285\7]\2\2\u0285\u028a\5\n\6\2\u0286\u0287\7_\2\2\u0287"+ - "\u0289\5\n\6\2\u0288\u0286\3\2\2\2\u0289\u028c\3\2\2\2\u028a\u0288\3\2"+ - "\2\2\u028a\u028b\3\2\2\2\u028b\u028d\3\2\2\2\u028c\u028a\3\2\2\2\u028d"+ - "\u028e\7^\2\2\u028e\u02cb\3\2\2\2\u028f\u0290\7\26\2\2\u0290\u0291\7]"+ - "\2\2\u0291\u0296\5\n\6\2\u0292\u0293\7_\2\2\u0293\u0295\5\n\6\2\u0294"+ - "\u0292\3\2\2\2\u0295\u0298\3\2\2\2\u0296\u0294\3\2\2\2\u0296\u0297\3\2"+ - "\2\2\u0297\u0299\3\2\2\2\u0298\u0296\3\2\2\2\u0299\u029a\7^\2\2\u029a"+ - "\u02cb\3\2\2\2\u029b\u029c\7\60\2\2\u029c\u029d\7]\2\2\u029d\u02a0\5\n"+ - "\6\2\u029e\u029f\7_\2\2\u029f\u02a1\5\n\6\2\u02a0\u029e\3\2\2\2\u02a1"+ - "\u02a2\3\2\2\2\u02a2\u02a0\3\2\2\2\u02a2\u02a3\3\2\2\2\u02a3\u02a4\3\2"+ - "\2\2\u02a4\u02a5\7^\2\2\u02a5\u02cb\3\2\2\2\u02a6\u02a7\7\61\2\2\u02a7"+ - "\u02a8\7]\2\2\u02a8\u02ab\5\n\6\2\u02a9\u02aa\7_\2\2\u02aa\u02ac\5\n\6"+ - "\2\u02ab\u02a9\3\2\2\2\u02ac\u02ad\3\2\2\2\u02ad\u02ab\3\2\2\2\u02ad\u02ae"+ - "\3\2\2\2\u02ae\u02af\3\2\2\2\u02af\u02b0\7^\2\2\u02b0\u02cb\3\2\2\2\u02b1"+ - "\u02b2\7\62\2\2\u02b2\u02b3\7]\2\2\u02b3\u02b6\5\n\6\2\u02b4\u02b5\7_"+ - "\2\2\u02b5\u02b7\5\n\6\2\u02b6\u02b4\3\2\2\2\u02b7\u02b8\3\2\2\2\u02b8"+ - "\u02b6\3\2\2\2\u02b8\u02b9\3\2\2\2\u02b9\u02ba\3\2\2\2\u02ba\u02bb\7^"+ - "\2\2\u02bb\u02cb\3\2\2\2\u02bc\u02bd\7\64\2\2\u02bd\u02be\7]\2\2\u02be"+ - "\u02bf\5\n\6\2\u02bf\u02c0\7_\2\2\u02c0\u02c1\5\n\6\2\u02c1\u02c2\7^\2"+ - "\2\u02c2\u02cb\3\2\2\2\u02c3\u02c4\7\65\2\2\u02c4\u02c5\7]\2\2\u02c5\u02c6"+ - "\5\n\6\2\u02c6\u02c7\7_\2\2\u02c7\u02c8\5\n\6\2\u02c8\u02c9\7^\2\2\u02c9"+ - "\u02cb\3\2\2\2\u02ca\u0283\3\2\2\2\u02ca\u028f\3\2\2\2\u02ca\u029b\3\2"+ - "\2\2\u02ca\u02a6\3\2\2\2\u02ca\u02b1\3\2\2\2\u02ca\u02bc\3\2\2\2\u02ca"+ - "\u02c3\3\2\2\2\u02cb%\3\2\2\2\37)/8INegsu\u0084\u0086\u008e\u0095\u00a1"+ - "\u00a8\u00c1\u00c9\u00cc\u00d3\u01a8\u0228\u0269\u0281\u028a\u0296\u02a2"+ - "\u02ad\u02b8\u02ca"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/more_math/Parser/MathExpr.g4 b/more_math/Parser/MathExpr.g4 index fb0a3ae..f992006 100644 --- a/more_math/Parser/MathExpr.g4 +++ b/more_math/Parser/MathExpr.g4 @@ -6,12 +6,13 @@ start: funcDef* varDef* expr EOF; funcDef: VARIABLE LPAREN paramList? RPAREN ARROW expr SEMICOLON # FunctionDef; -varDef: - VARIABLE EQUEALS expr SEMICOLON ; +varDef: VARIABLE EQUEALS expr SEMICOLON; paramList: VARIABLE (COMMA VARIABLE)*; -expr: atom | compExpr; +expr: ternaryExpr | atom | compExpr; + +ternaryExpr: compExpr QUESTION expr COLON expr # TernaryExp; compExpr: compExpr GT addExpr # GtExp @@ -137,8 +138,8 @@ func3: | LOGNORMAL LPAREN expr COMMA expr COMMA expr RPAREN # LogNormalFunc; func4: - SWAP LPAREN expr COMMA expr COMMA expr COMMA expr RPAREN # SwapFunc - | NVL LPAREN expr COMMA expr COMMA expr COMMA expr RPAREN # NvlFunc; + SWAP LPAREN expr COMMA expr COMMA expr COMMA expr RPAREN # SwapFunc + | NVL LPAREN expr COMMA expr COMMA expr COMMA expr RPAREN # NvlFunc; // N-argument functions funcN: @@ -253,6 +254,8 @@ SEMICOLON: ';'; ARROW: '->'; LBRACKET: '['; RBRACKET: ']'; +QUESTION: '?'; +COLON: ':'; CONSTANT: ('pi' | 'PI' | 'e' | 'E'); NUMBER: [0-9]+ ('.' [0-9]+)?; diff --git a/more_math/Parser/MathExpr.interp b/more_math/Parser/MathExpr.interp index ae55293..b25cbd7 100644 --- a/more_math/Parser/MathExpr.interp +++ b/more_math/Parser/MathExpr.interp @@ -97,6 +97,8 @@ null '->' '[' ']' +'?' +':' null null null @@ -201,6 +203,8 @@ SEMICOLON ARROW LBRACKET RBRACKET +QUESTION +COLON CONSTANT NUMBER VARIABLE @@ -212,6 +216,7 @@ funcDef varDef paramList expr +ternaryExpr compExpr addExpr mulExpr @@ -228,4 +233,4 @@ funcN atn: -[4, 1, 101, 715, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 1, 0, 5, 0, 38, 8, 0, 10, 0, 12, 0, 41, 9, 0, 1, 0, 5, 0, 44, 8, 0, 10, 0, 12, 0, 47, 9, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 55, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 5, 3, 70, 8, 3, 10, 3, 12, 3, 73, 9, 3, 1, 4, 1, 4, 3, 4, 77, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 100, 8, 5, 10, 5, 12, 5, 103, 9, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 114, 8, 6, 10, 6, 12, 6, 117, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 5, 7, 131, 8, 7, 10, 7, 12, 7, 134, 9, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 141, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 148, 8, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 158, 8, 10, 10, 10, 12, 10, 161, 9, 10, 1, 10, 1, 10, 5, 10, 165, 8, 10, 10, 10, 12, 10, 168, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 190, 8, 11, 10, 11, 12, 11, 193, 9, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 200, 8, 11, 1, 11, 3, 11, 203, 8, 11, 1, 12, 1, 12, 1, 12, 5, 12, 208, 8, 12, 10, 12, 12, 12, 211, 9, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 423, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 551, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 616, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 640, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 647, 8, 17, 10, 17, 12, 17, 650, 9, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 659, 8, 17, 10, 17, 12, 17, 662, 9, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 671, 8, 17, 11, 17, 12, 17, 672, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 682, 8, 17, 11, 17, 12, 17, 683, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 693, 8, 17, 11, 17, 12, 17, 694, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 713, 8, 17, 1, 17, 0, 4, 10, 12, 14, 20, 18, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 0, 0, 807, 0, 39, 1, 0, 0, 0, 2, 51, 1, 0, 0, 0, 4, 61, 1, 0, 0, 0, 6, 66, 1, 0, 0, 0, 8, 76, 1, 0, 0, 0, 10, 78, 1, 0, 0, 0, 12, 104, 1, 0, 0, 0, 14, 118, 1, 0, 0, 0, 16, 140, 1, 0, 0, 0, 18, 147, 1, 0, 0, 0, 20, 149, 1, 0, 0, 0, 22, 202, 1, 0, 0, 0, 24, 204, 1, 0, 0, 0, 26, 422, 1, 0, 0, 0, 28, 550, 1, 0, 0, 0, 30, 615, 1, 0, 0, 0, 32, 639, 1, 0, 0, 0, 34, 712, 1, 0, 0, 0, 36, 38, 3, 2, 1, 0, 37, 36, 1, 0, 0, 0, 38, 41, 1, 0, 0, 0, 39, 37, 1, 0, 0, 0, 39, 40, 1, 0, 0, 0, 40, 45, 1, 0, 0, 0, 41, 39, 1, 0, 0, 0, 42, 44, 3, 4, 2, 0, 43, 42, 1, 0, 0, 0, 44, 47, 1, 0, 0, 0, 45, 43, 1, 0, 0, 0, 45, 46, 1, 0, 0, 0, 46, 48, 1, 0, 0, 0, 47, 45, 1, 0, 0, 0, 48, 49, 3, 8, 4, 0, 49, 50, 5, 0, 0, 1, 50, 1, 1, 0, 0, 0, 51, 52, 5, 100, 0, 0, 52, 54, 5, 91, 0, 0, 53, 55, 3, 6, 3, 0, 54, 53, 1, 0, 0, 0, 54, 55, 1, 0, 0, 0, 55, 56, 1, 0, 0, 0, 56, 57, 5, 92, 0, 0, 57, 58, 5, 95, 0, 0, 58, 59, 3, 8, 4, 0, 59, 60, 5, 94, 0, 0, 60, 3, 1, 0, 0, 0, 61, 62, 5, 100, 0, 0, 62, 63, 5, 88, 0, 0, 63, 64, 3, 8, 4, 0, 64, 65, 5, 94, 0, 0, 65, 5, 1, 0, 0, 0, 66, 71, 5, 100, 0, 0, 67, 68, 5, 93, 0, 0, 68, 70, 5, 100, 0, 0, 69, 67, 1, 0, 0, 0, 70, 73, 1, 0, 0, 0, 71, 69, 1, 0, 0, 0, 71, 72, 1, 0, 0, 0, 72, 7, 1, 0, 0, 0, 73, 71, 1, 0, 0, 0, 74, 77, 3, 22, 11, 0, 75, 77, 3, 10, 5, 0, 76, 74, 1, 0, 0, 0, 76, 75, 1, 0, 0, 0, 77, 9, 1, 0, 0, 0, 78, 79, 6, 5, -1, 0, 79, 80, 3, 12, 6, 0, 80, 101, 1, 0, 0, 0, 81, 82, 10, 7, 0, 0, 82, 83, 5, 84, 0, 0, 83, 100, 3, 12, 6, 0, 84, 85, 10, 6, 0, 0, 85, 86, 5, 83, 0, 0, 86, 100, 3, 12, 6, 0, 87, 88, 10, 5, 0, 0, 88, 89, 5, 86, 0, 0, 89, 100, 3, 12, 6, 0, 90, 91, 10, 4, 0, 0, 91, 92, 5, 85, 0, 0, 92, 100, 3, 12, 6, 0, 93, 94, 10, 3, 0, 0, 94, 95, 5, 87, 0, 0, 95, 100, 3, 12, 6, 0, 96, 97, 10, 2, 0, 0, 97, 98, 5, 89, 0, 0, 98, 100, 3, 12, 6, 0, 99, 81, 1, 0, 0, 0, 99, 84, 1, 0, 0, 0, 99, 87, 1, 0, 0, 0, 99, 90, 1, 0, 0, 0, 99, 93, 1, 0, 0, 0, 99, 96, 1, 0, 0, 0, 100, 103, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 101, 102, 1, 0, 0, 0, 102, 11, 1, 0, 0, 0, 103, 101, 1, 0, 0, 0, 104, 105, 6, 6, -1, 0, 105, 106, 3, 14, 7, 0, 106, 115, 1, 0, 0, 0, 107, 108, 10, 3, 0, 0, 108, 109, 5, 77, 0, 0, 109, 114, 3, 14, 7, 0, 110, 111, 10, 2, 0, 0, 111, 112, 5, 78, 0, 0, 112, 114, 3, 14, 7, 0, 113, 107, 1, 0, 0, 0, 113, 110, 1, 0, 0, 0, 114, 117, 1, 0, 0, 0, 115, 113, 1, 0, 0, 0, 115, 116, 1, 0, 0, 0, 116, 13, 1, 0, 0, 0, 117, 115, 1, 0, 0, 0, 118, 119, 6, 7, -1, 0, 119, 120, 3, 16, 8, 0, 120, 132, 1, 0, 0, 0, 121, 122, 10, 4, 0, 0, 122, 123, 5, 79, 0, 0, 123, 131, 3, 16, 8, 0, 124, 125, 10, 3, 0, 0, 125, 126, 5, 80, 0, 0, 126, 131, 3, 16, 8, 0, 127, 128, 10, 2, 0, 0, 128, 129, 5, 81, 0, 0, 129, 131, 3, 16, 8, 0, 130, 121, 1, 0, 0, 0, 130, 124, 1, 0, 0, 0, 130, 127, 1, 0, 0, 0, 131, 134, 1, 0, 0, 0, 132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 15, 1, 0, 0, 0, 134, 132, 1, 0, 0, 0, 135, 136, 3, 18, 9, 0, 136, 137, 5, 82, 0, 0, 137, 138, 3, 16, 8, 0, 138, 141, 1, 0, 0, 0, 139, 141, 3, 18, 9, 0, 140, 135, 1, 0, 0, 0, 140, 139, 1, 0, 0, 0, 141, 17, 1, 0, 0, 0, 142, 143, 5, 77, 0, 0, 143, 148, 3, 18, 9, 0, 144, 145, 5, 78, 0, 0, 145, 148, 3, 18, 9, 0, 146, 148, 3, 20, 10, 0, 147, 142, 1, 0, 0, 0, 147, 144, 1, 0, 0, 0, 147, 146, 1, 0, 0, 0, 148, 19, 1, 0, 0, 0, 149, 150, 6, 10, -1, 0, 150, 151, 3, 22, 11, 0, 151, 166, 1, 0, 0, 0, 152, 153, 10, 2, 0, 0, 153, 154, 5, 96, 0, 0, 154, 159, 3, 8, 4, 0, 155, 156, 5, 93, 0, 0, 156, 158, 3, 8, 4, 0, 157, 155, 1, 0, 0, 0, 158, 161, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 163, 5, 97, 0, 0, 163, 165, 1, 0, 0, 0, 164, 152, 1, 0, 0, 0, 165, 168, 1, 0, 0, 0, 166, 164, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 21, 1, 0, 0, 0, 168, 166, 1, 0, 0, 0, 169, 203, 3, 26, 13, 0, 170, 203, 3, 28, 14, 0, 171, 203, 3, 30, 15, 0, 172, 203, 3, 32, 16, 0, 173, 203, 3, 34, 17, 0, 174, 203, 5, 100, 0, 0, 175, 203, 5, 99, 0, 0, 176, 203, 5, 98, 0, 0, 177, 178, 5, 91, 0, 0, 178, 179, 3, 8, 4, 0, 179, 180, 5, 92, 0, 0, 180, 203, 1, 0, 0, 0, 181, 182, 5, 90, 0, 0, 182, 183, 3, 8, 4, 0, 183, 184, 5, 90, 0, 0, 184, 203, 1, 0, 0, 0, 185, 186, 5, 96, 0, 0, 186, 191, 3, 8, 4, 0, 187, 188, 5, 93, 0, 0, 188, 190, 3, 8, 4, 0, 189, 187, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 189, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 194, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 195, 5, 97, 0, 0, 195, 203, 1, 0, 0, 0, 196, 197, 5, 100, 0, 0, 197, 199, 5, 91, 0, 0, 198, 200, 3, 24, 12, 0, 199, 198, 1, 0, 0, 0, 199, 200, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 203, 5, 92, 0, 0, 202, 169, 1, 0, 0, 0, 202, 170, 1, 0, 0, 0, 202, 171, 1, 0, 0, 0, 202, 172, 1, 0, 0, 0, 202, 173, 1, 0, 0, 0, 202, 174, 1, 0, 0, 0, 202, 175, 1, 0, 0, 0, 202, 176, 1, 0, 0, 0, 202, 177, 1, 0, 0, 0, 202, 181, 1, 0, 0, 0, 202, 185, 1, 0, 0, 0, 202, 196, 1, 0, 0, 0, 203, 23, 1, 0, 0, 0, 204, 209, 3, 8, 4, 0, 205, 206, 5, 93, 0, 0, 206, 208, 3, 8, 4, 0, 207, 205, 1, 0, 0, 0, 208, 211, 1, 0, 0, 0, 209, 207, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 25, 1, 0, 0, 0, 211, 209, 1, 0, 0, 0, 212, 213, 5, 1, 0, 0, 213, 214, 5, 91, 0, 0, 214, 215, 3, 8, 4, 0, 215, 216, 5, 92, 0, 0, 216, 423, 1, 0, 0, 0, 217, 218, 5, 2, 0, 0, 218, 219, 5, 91, 0, 0, 219, 220, 3, 8, 4, 0, 220, 221, 5, 92, 0, 0, 221, 423, 1, 0, 0, 0, 222, 223, 5, 3, 0, 0, 223, 224, 5, 91, 0, 0, 224, 225, 3, 8, 4, 0, 225, 226, 5, 92, 0, 0, 226, 423, 1, 0, 0, 0, 227, 228, 5, 4, 0, 0, 228, 229, 5, 91, 0, 0, 229, 230, 3, 8, 4, 0, 230, 231, 5, 92, 0, 0, 231, 423, 1, 0, 0, 0, 232, 233, 5, 5, 0, 0, 233, 234, 5, 91, 0, 0, 234, 235, 3, 8, 4, 0, 235, 236, 5, 92, 0, 0, 236, 423, 1, 0, 0, 0, 237, 238, 5, 6, 0, 0, 238, 239, 5, 91, 0, 0, 239, 240, 3, 8, 4, 0, 240, 241, 5, 92, 0, 0, 241, 423, 1, 0, 0, 0, 242, 243, 5, 8, 0, 0, 243, 244, 5, 91, 0, 0, 244, 245, 3, 8, 4, 0, 245, 246, 5, 92, 0, 0, 246, 423, 1, 0, 0, 0, 247, 248, 5, 9, 0, 0, 248, 249, 5, 91, 0, 0, 249, 250, 3, 8, 4, 0, 250, 251, 5, 92, 0, 0, 251, 423, 1, 0, 0, 0, 252, 253, 5, 10, 0, 0, 253, 254, 5, 91, 0, 0, 254, 255, 3, 8, 4, 0, 255, 256, 5, 92, 0, 0, 256, 423, 1, 0, 0, 0, 257, 258, 5, 11, 0, 0, 258, 259, 5, 91, 0, 0, 259, 260, 3, 8, 4, 0, 260, 261, 5, 92, 0, 0, 261, 423, 1, 0, 0, 0, 262, 263, 5, 12, 0, 0, 263, 264, 5, 91, 0, 0, 264, 265, 3, 8, 4, 0, 265, 266, 5, 92, 0, 0, 266, 423, 1, 0, 0, 0, 267, 268, 5, 13, 0, 0, 268, 269, 5, 91, 0, 0, 269, 270, 3, 8, 4, 0, 270, 271, 5, 92, 0, 0, 271, 423, 1, 0, 0, 0, 272, 273, 5, 14, 0, 0, 273, 274, 5, 91, 0, 0, 274, 275, 3, 8, 4, 0, 275, 276, 5, 92, 0, 0, 276, 423, 1, 0, 0, 0, 277, 278, 5, 15, 0, 0, 278, 279, 5, 91, 0, 0, 279, 280, 3, 8, 4, 0, 280, 281, 5, 92, 0, 0, 281, 423, 1, 0, 0, 0, 282, 283, 5, 16, 0, 0, 283, 284, 5, 91, 0, 0, 284, 285, 3, 8, 4, 0, 285, 286, 5, 92, 0, 0, 286, 423, 1, 0, 0, 0, 287, 288, 5, 17, 0, 0, 288, 289, 5, 91, 0, 0, 289, 290, 3, 8, 4, 0, 290, 291, 5, 92, 0, 0, 291, 423, 1, 0, 0, 0, 292, 293, 5, 18, 0, 0, 293, 294, 5, 91, 0, 0, 294, 295, 3, 8, 4, 0, 295, 296, 5, 92, 0, 0, 296, 423, 1, 0, 0, 0, 297, 298, 5, 23, 0, 0, 298, 299, 5, 91, 0, 0, 299, 300, 3, 8, 4, 0, 300, 301, 5, 92, 0, 0, 301, 423, 1, 0, 0, 0, 302, 303, 5, 24, 0, 0, 303, 304, 5, 91, 0, 0, 304, 305, 3, 8, 4, 0, 305, 306, 5, 92, 0, 0, 306, 423, 1, 0, 0, 0, 307, 308, 5, 25, 0, 0, 308, 309, 5, 91, 0, 0, 309, 310, 3, 8, 4, 0, 310, 311, 5, 92, 0, 0, 311, 423, 1, 0, 0, 0, 312, 313, 5, 26, 0, 0, 313, 314, 5, 91, 0, 0, 314, 315, 3, 8, 4, 0, 315, 316, 5, 92, 0, 0, 316, 423, 1, 0, 0, 0, 317, 318, 5, 27, 0, 0, 318, 319, 5, 91, 0, 0, 319, 320, 3, 8, 4, 0, 320, 321, 5, 92, 0, 0, 321, 423, 1, 0, 0, 0, 322, 323, 5, 28, 0, 0, 323, 324, 5, 91, 0, 0, 324, 325, 3, 8, 4, 0, 325, 326, 5, 92, 0, 0, 326, 423, 1, 0, 0, 0, 327, 328, 5, 30, 0, 0, 328, 329, 5, 91, 0, 0, 329, 330, 3, 8, 4, 0, 330, 331, 5, 92, 0, 0, 331, 423, 1, 0, 0, 0, 332, 333, 5, 32, 0, 0, 333, 334, 5, 91, 0, 0, 334, 335, 3, 8, 4, 0, 335, 336, 5, 92, 0, 0, 336, 423, 1, 0, 0, 0, 337, 338, 5, 33, 0, 0, 338, 339, 5, 91, 0, 0, 339, 340, 3, 8, 4, 0, 340, 341, 5, 92, 0, 0, 341, 423, 1, 0, 0, 0, 342, 343, 5, 34, 0, 0, 343, 344, 5, 91, 0, 0, 344, 345, 3, 8, 4, 0, 345, 346, 5, 92, 0, 0, 346, 423, 1, 0, 0, 0, 347, 348, 5, 35, 0, 0, 348, 349, 5, 91, 0, 0, 349, 350, 3, 8, 4, 0, 350, 351, 5, 92, 0, 0, 351, 423, 1, 0, 0, 0, 352, 353, 5, 41, 0, 0, 353, 354, 5, 91, 0, 0, 354, 355, 3, 8, 4, 0, 355, 356, 5, 92, 0, 0, 356, 423, 1, 0, 0, 0, 357, 358, 5, 42, 0, 0, 358, 359, 5, 91, 0, 0, 359, 360, 3, 8, 4, 0, 360, 361, 5, 92, 0, 0, 361, 423, 1, 0, 0, 0, 362, 363, 5, 43, 0, 0, 363, 364, 5, 91, 0, 0, 364, 365, 3, 8, 4, 0, 365, 366, 5, 92, 0, 0, 366, 423, 1, 0, 0, 0, 367, 368, 5, 44, 0, 0, 368, 369, 5, 91, 0, 0, 369, 370, 3, 8, 4, 0, 370, 371, 5, 92, 0, 0, 371, 423, 1, 0, 0, 0, 372, 373, 5, 45, 0, 0, 373, 374, 5, 91, 0, 0, 374, 375, 3, 8, 4, 0, 375, 376, 5, 92, 0, 0, 376, 423, 1, 0, 0, 0, 377, 378, 5, 36, 0, 0, 378, 379, 5, 91, 0, 0, 379, 380, 3, 8, 4, 0, 380, 381, 5, 92, 0, 0, 381, 423, 1, 0, 0, 0, 382, 383, 5, 55, 0, 0, 383, 384, 5, 91, 0, 0, 384, 385, 3, 8, 4, 0, 385, 386, 5, 92, 0, 0, 386, 423, 1, 0, 0, 0, 387, 388, 5, 56, 0, 0, 388, 389, 5, 91, 0, 0, 389, 390, 3, 8, 4, 0, 390, 391, 5, 92, 0, 0, 391, 423, 1, 0, 0, 0, 392, 393, 5, 57, 0, 0, 393, 394, 5, 91, 0, 0, 394, 395, 3, 8, 4, 0, 395, 396, 5, 92, 0, 0, 396, 423, 1, 0, 0, 0, 397, 398, 5, 58, 0, 0, 398, 399, 5, 91, 0, 0, 399, 400, 3, 8, 4, 0, 400, 401, 5, 92, 0, 0, 401, 423, 1, 0, 0, 0, 402, 403, 5, 59, 0, 0, 403, 404, 5, 91, 0, 0, 404, 405, 3, 8, 4, 0, 405, 406, 5, 92, 0, 0, 406, 423, 1, 0, 0, 0, 407, 408, 5, 75, 0, 0, 408, 409, 5, 91, 0, 0, 409, 410, 3, 8, 4, 0, 410, 411, 5, 92, 0, 0, 411, 423, 1, 0, 0, 0, 412, 413, 5, 65, 0, 0, 413, 414, 5, 91, 0, 0, 414, 415, 3, 8, 4, 0, 415, 416, 5, 92, 0, 0, 416, 423, 1, 0, 0, 0, 417, 418, 5, 66, 0, 0, 418, 419, 5, 91, 0, 0, 419, 420, 3, 8, 4, 0, 420, 421, 5, 92, 0, 0, 421, 423, 1, 0, 0, 0, 422, 212, 1, 0, 0, 0, 422, 217, 1, 0, 0, 0, 422, 222, 1, 0, 0, 0, 422, 227, 1, 0, 0, 0, 422, 232, 1, 0, 0, 0, 422, 237, 1, 0, 0, 0, 422, 242, 1, 0, 0, 0, 422, 247, 1, 0, 0, 0, 422, 252, 1, 0, 0, 0, 422, 257, 1, 0, 0, 0, 422, 262, 1, 0, 0, 0, 422, 267, 1, 0, 0, 0, 422, 272, 1, 0, 0, 0, 422, 277, 1, 0, 0, 0, 422, 282, 1, 0, 0, 0, 422, 287, 1, 0, 0, 0, 422, 292, 1, 0, 0, 0, 422, 297, 1, 0, 0, 0, 422, 302, 1, 0, 0, 0, 422, 307, 1, 0, 0, 0, 422, 312, 1, 0, 0, 0, 422, 317, 1, 0, 0, 0, 422, 322, 1, 0, 0, 0, 422, 327, 1, 0, 0, 0, 422, 332, 1, 0, 0, 0, 422, 337, 1, 0, 0, 0, 422, 342, 1, 0, 0, 0, 422, 347, 1, 0, 0, 0, 422, 352, 1, 0, 0, 0, 422, 357, 1, 0, 0, 0, 422, 362, 1, 0, 0, 0, 422, 367, 1, 0, 0, 0, 422, 372, 1, 0, 0, 0, 422, 377, 1, 0, 0, 0, 422, 382, 1, 0, 0, 0, 422, 387, 1, 0, 0, 0, 422, 392, 1, 0, 0, 0, 422, 397, 1, 0, 0, 0, 422, 402, 1, 0, 0, 0, 422, 407, 1, 0, 0, 0, 422, 412, 1, 0, 0, 0, 422, 417, 1, 0, 0, 0, 423, 27, 1, 0, 0, 0, 424, 425, 5, 29, 0, 0, 425, 426, 5, 91, 0, 0, 426, 427, 3, 8, 4, 0, 427, 428, 5, 93, 0, 0, 428, 429, 3, 8, 4, 0, 429, 430, 5, 92, 0, 0, 430, 551, 1, 0, 0, 0, 431, 432, 5, 7, 0, 0, 432, 433, 5, 91, 0, 0, 433, 434, 3, 8, 4, 0, 434, 435, 5, 93, 0, 0, 435, 436, 3, 8, 4, 0, 436, 437, 5, 92, 0, 0, 437, 551, 1, 0, 0, 0, 438, 439, 5, 21, 0, 0, 439, 440, 5, 91, 0, 0, 440, 441, 3, 8, 4, 0, 441, 442, 5, 93, 0, 0, 442, 443, 3, 8, 4, 0, 443, 444, 5, 92, 0, 0, 444, 551, 1, 0, 0, 0, 445, 446, 5, 22, 0, 0, 446, 447, 5, 91, 0, 0, 447, 448, 3, 8, 4, 0, 448, 449, 5, 93, 0, 0, 449, 450, 3, 8, 4, 0, 450, 451, 5, 92, 0, 0, 451, 551, 1, 0, 0, 0, 452, 453, 5, 39, 0, 0, 453, 454, 5, 91, 0, 0, 454, 455, 3, 8, 4, 0, 455, 456, 5, 93, 0, 0, 456, 457, 3, 8, 4, 0, 457, 458, 5, 92, 0, 0, 458, 551, 1, 0, 0, 0, 459, 460, 5, 53, 0, 0, 460, 461, 5, 91, 0, 0, 461, 462, 3, 8, 4, 0, 462, 463, 5, 93, 0, 0, 463, 464, 3, 8, 4, 0, 464, 465, 5, 92, 0, 0, 465, 551, 1, 0, 0, 0, 466, 467, 5, 54, 0, 0, 467, 468, 5, 91, 0, 0, 468, 469, 3, 8, 4, 0, 469, 470, 5, 93, 0, 0, 470, 471, 3, 8, 4, 0, 471, 472, 5, 92, 0, 0, 472, 551, 1, 0, 0, 0, 473, 474, 5, 60, 0, 0, 474, 475, 5, 91, 0, 0, 475, 476, 3, 8, 4, 0, 476, 477, 5, 93, 0, 0, 477, 478, 3, 8, 4, 0, 478, 479, 5, 92, 0, 0, 479, 551, 1, 0, 0, 0, 480, 481, 5, 61, 0, 0, 481, 482, 5, 91, 0, 0, 482, 483, 3, 8, 4, 0, 483, 484, 5, 93, 0, 0, 484, 485, 3, 8, 4, 0, 485, 486, 5, 92, 0, 0, 486, 551, 1, 0, 0, 0, 487, 488, 5, 62, 0, 0, 488, 489, 5, 91, 0, 0, 489, 490, 3, 8, 4, 0, 490, 491, 5, 93, 0, 0, 491, 492, 3, 8, 4, 0, 492, 493, 5, 92, 0, 0, 493, 551, 1, 0, 0, 0, 494, 495, 5, 63, 0, 0, 495, 496, 5, 91, 0, 0, 496, 497, 3, 8, 4, 0, 497, 498, 5, 93, 0, 0, 498, 499, 3, 8, 4, 0, 499, 500, 5, 92, 0, 0, 500, 551, 1, 0, 0, 0, 501, 502, 5, 72, 0, 0, 502, 503, 5, 91, 0, 0, 503, 504, 3, 8, 4, 0, 504, 505, 5, 93, 0, 0, 505, 506, 3, 8, 4, 0, 506, 507, 5, 92, 0, 0, 507, 551, 1, 0, 0, 0, 508, 509, 5, 73, 0, 0, 509, 510, 5, 91, 0, 0, 510, 511, 3, 8, 4, 0, 511, 512, 5, 93, 0, 0, 512, 513, 3, 8, 4, 0, 513, 514, 5, 92, 0, 0, 514, 551, 1, 0, 0, 0, 515, 516, 5, 74, 0, 0, 516, 517, 5, 91, 0, 0, 517, 518, 3, 8, 4, 0, 518, 519, 5, 93, 0, 0, 519, 520, 3, 8, 4, 0, 520, 521, 5, 92, 0, 0, 521, 551, 1, 0, 0, 0, 522, 523, 5, 76, 0, 0, 523, 524, 5, 91, 0, 0, 524, 525, 3, 8, 4, 0, 525, 526, 5, 93, 0, 0, 526, 527, 3, 8, 4, 0, 527, 528, 5, 92, 0, 0, 528, 551, 1, 0, 0, 0, 529, 530, 5, 68, 0, 0, 530, 531, 5, 91, 0, 0, 531, 532, 3, 8, 4, 0, 532, 533, 5, 93, 0, 0, 533, 534, 3, 8, 4, 0, 534, 535, 5, 92, 0, 0, 535, 551, 1, 0, 0, 0, 536, 537, 5, 70, 0, 0, 537, 538, 5, 91, 0, 0, 538, 539, 3, 8, 4, 0, 539, 540, 5, 93, 0, 0, 540, 541, 3, 8, 4, 0, 541, 542, 5, 92, 0, 0, 542, 551, 1, 0, 0, 0, 543, 544, 5, 71, 0, 0, 544, 545, 5, 91, 0, 0, 545, 546, 3, 8, 4, 0, 546, 547, 5, 93, 0, 0, 547, 548, 3, 8, 4, 0, 548, 549, 5, 92, 0, 0, 549, 551, 1, 0, 0, 0, 550, 424, 1, 0, 0, 0, 550, 431, 1, 0, 0, 0, 550, 438, 1, 0, 0, 0, 550, 445, 1, 0, 0, 0, 550, 452, 1, 0, 0, 0, 550, 459, 1, 0, 0, 0, 550, 466, 1, 0, 0, 0, 550, 473, 1, 0, 0, 0, 550, 480, 1, 0, 0, 0, 550, 487, 1, 0, 0, 0, 550, 494, 1, 0, 0, 0, 550, 501, 1, 0, 0, 0, 550, 508, 1, 0, 0, 0, 550, 515, 1, 0, 0, 0, 550, 522, 1, 0, 0, 0, 550, 529, 1, 0, 0, 0, 550, 536, 1, 0, 0, 0, 550, 543, 1, 0, 0, 0, 551, 29, 1, 0, 0, 0, 552, 553, 5, 31, 0, 0, 553, 554, 5, 91, 0, 0, 554, 555, 3, 8, 4, 0, 555, 556, 5, 93, 0, 0, 556, 557, 3, 8, 4, 0, 557, 558, 5, 93, 0, 0, 558, 559, 3, 8, 4, 0, 559, 560, 5, 92, 0, 0, 560, 616, 1, 0, 0, 0, 561, 562, 5, 38, 0, 0, 562, 563, 5, 91, 0, 0, 563, 564, 3, 8, 4, 0, 564, 565, 5, 93, 0, 0, 565, 566, 3, 8, 4, 0, 566, 567, 5, 93, 0, 0, 567, 568, 3, 8, 4, 0, 568, 569, 5, 92, 0, 0, 569, 616, 1, 0, 0, 0, 570, 571, 5, 40, 0, 0, 571, 572, 5, 91, 0, 0, 572, 573, 3, 8, 4, 0, 573, 574, 5, 93, 0, 0, 574, 575, 3, 8, 4, 0, 575, 576, 5, 93, 0, 0, 576, 577, 3, 8, 4, 0, 577, 578, 5, 92, 0, 0, 578, 616, 1, 0, 0, 0, 579, 580, 5, 52, 0, 0, 580, 581, 5, 91, 0, 0, 581, 582, 3, 8, 4, 0, 582, 583, 5, 93, 0, 0, 583, 584, 3, 8, 4, 0, 584, 585, 5, 93, 0, 0, 585, 586, 3, 8, 4, 0, 586, 587, 5, 92, 0, 0, 587, 616, 1, 0, 0, 0, 588, 589, 5, 64, 0, 0, 589, 590, 5, 91, 0, 0, 590, 591, 3, 8, 4, 0, 591, 592, 5, 93, 0, 0, 592, 593, 3, 8, 4, 0, 593, 594, 5, 93, 0, 0, 594, 595, 3, 8, 4, 0, 595, 596, 5, 92, 0, 0, 596, 616, 1, 0, 0, 0, 597, 598, 5, 67, 0, 0, 598, 599, 5, 91, 0, 0, 599, 600, 3, 8, 4, 0, 600, 601, 5, 93, 0, 0, 601, 602, 3, 8, 4, 0, 602, 603, 5, 93, 0, 0, 603, 604, 3, 8, 4, 0, 604, 605, 5, 92, 0, 0, 605, 616, 1, 0, 0, 0, 606, 607, 5, 69, 0, 0, 607, 608, 5, 91, 0, 0, 608, 609, 3, 8, 4, 0, 609, 610, 5, 93, 0, 0, 610, 611, 3, 8, 4, 0, 611, 612, 5, 93, 0, 0, 612, 613, 3, 8, 4, 0, 613, 614, 5, 92, 0, 0, 614, 616, 1, 0, 0, 0, 615, 552, 1, 0, 0, 0, 615, 561, 1, 0, 0, 0, 615, 570, 1, 0, 0, 0, 615, 579, 1, 0, 0, 0, 615, 588, 1, 0, 0, 0, 615, 597, 1, 0, 0, 0, 615, 606, 1, 0, 0, 0, 616, 31, 1, 0, 0, 0, 617, 618, 5, 49, 0, 0, 618, 619, 5, 91, 0, 0, 619, 620, 3, 8, 4, 0, 620, 621, 5, 93, 0, 0, 621, 622, 3, 8, 4, 0, 622, 623, 5, 93, 0, 0, 623, 624, 3, 8, 4, 0, 624, 625, 5, 93, 0, 0, 625, 626, 3, 8, 4, 0, 626, 627, 5, 92, 0, 0, 627, 640, 1, 0, 0, 0, 628, 629, 5, 37, 0, 0, 629, 630, 5, 91, 0, 0, 630, 631, 3, 8, 4, 0, 631, 632, 5, 93, 0, 0, 632, 633, 3, 8, 4, 0, 633, 634, 5, 93, 0, 0, 634, 635, 3, 8, 4, 0, 635, 636, 5, 93, 0, 0, 636, 637, 3, 8, 4, 0, 637, 638, 5, 92, 0, 0, 638, 640, 1, 0, 0, 0, 639, 617, 1, 0, 0, 0, 639, 628, 1, 0, 0, 0, 640, 33, 1, 0, 0, 0, 641, 642, 5, 19, 0, 0, 642, 643, 5, 91, 0, 0, 643, 648, 3, 8, 4, 0, 644, 645, 5, 93, 0, 0, 645, 647, 3, 8, 4, 0, 646, 644, 1, 0, 0, 0, 647, 650, 1, 0, 0, 0, 648, 646, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 651, 1, 0, 0, 0, 650, 648, 1, 0, 0, 0, 651, 652, 5, 92, 0, 0, 652, 713, 1, 0, 0, 0, 653, 654, 5, 20, 0, 0, 654, 655, 5, 91, 0, 0, 655, 660, 3, 8, 4, 0, 656, 657, 5, 93, 0, 0, 657, 659, 3, 8, 4, 0, 658, 656, 1, 0, 0, 0, 659, 662, 1, 0, 0, 0, 660, 658, 1, 0, 0, 0, 660, 661, 1, 0, 0, 0, 661, 663, 1, 0, 0, 0, 662, 660, 1, 0, 0, 0, 663, 664, 5, 92, 0, 0, 664, 713, 1, 0, 0, 0, 665, 666, 5, 46, 0, 0, 666, 667, 5, 91, 0, 0, 667, 670, 3, 8, 4, 0, 668, 669, 5, 93, 0, 0, 669, 671, 3, 8, 4, 0, 670, 668, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 670, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 5, 92, 0, 0, 675, 713, 1, 0, 0, 0, 676, 677, 5, 47, 0, 0, 677, 678, 5, 91, 0, 0, 678, 681, 3, 8, 4, 0, 679, 680, 5, 93, 0, 0, 680, 682, 3, 8, 4, 0, 681, 679, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 5, 92, 0, 0, 686, 713, 1, 0, 0, 0, 687, 688, 5, 48, 0, 0, 688, 689, 5, 91, 0, 0, 689, 692, 3, 8, 4, 0, 690, 691, 5, 93, 0, 0, 691, 693, 3, 8, 4, 0, 692, 690, 1, 0, 0, 0, 693, 694, 1, 0, 0, 0, 694, 692, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 697, 5, 92, 0, 0, 697, 713, 1, 0, 0, 0, 698, 699, 5, 50, 0, 0, 699, 700, 5, 91, 0, 0, 700, 701, 3, 8, 4, 0, 701, 702, 5, 93, 0, 0, 702, 703, 3, 8, 4, 0, 703, 704, 5, 92, 0, 0, 704, 713, 1, 0, 0, 0, 705, 706, 5, 51, 0, 0, 706, 707, 5, 91, 0, 0, 707, 708, 3, 8, 4, 0, 708, 709, 5, 93, 0, 0, 709, 710, 3, 8, 4, 0, 710, 711, 5, 92, 0, 0, 711, 713, 1, 0, 0, 0, 712, 641, 1, 0, 0, 0, 712, 653, 1, 0, 0, 0, 712, 665, 1, 0, 0, 0, 712, 676, 1, 0, 0, 0, 712, 687, 1, 0, 0, 0, 712, 698, 1, 0, 0, 0, 712, 705, 1, 0, 0, 0, 713, 35, 1, 0, 0, 0, 29, 39, 45, 54, 71, 76, 99, 101, 113, 115, 130, 132, 140, 147, 159, 166, 191, 199, 202, 209, 422, 550, 615, 639, 648, 660, 672, 683, 694, 712] \ No newline at end of file +[4, 1, 103, 724, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 1, 0, 5, 0, 40, 8, 0, 10, 0, 12, 0, 43, 9, 0, 1, 0, 5, 0, 46, 8, 0, 10, 0, 12, 0, 49, 9, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 57, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 5, 3, 72, 8, 3, 10, 3, 12, 3, 75, 9, 3, 1, 4, 1, 4, 1, 4, 3, 4, 80, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 109, 8, 6, 10, 6, 12, 6, 112, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 5, 7, 123, 8, 7, 10, 7, 12, 7, 126, 9, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 140, 8, 8, 10, 8, 12, 8, 143, 9, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 150, 8, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 157, 8, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 167, 8, 11, 10, 11, 12, 11, 170, 9, 11, 1, 11, 1, 11, 5, 11, 174, 8, 11, 10, 11, 12, 11, 177, 9, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 199, 8, 12, 10, 12, 12, 12, 202, 9, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 209, 8, 12, 1, 12, 3, 12, 212, 8, 12, 1, 13, 1, 13, 1, 13, 5, 13, 217, 8, 13, 10, 13, 12, 13, 220, 9, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 432, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 560, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 625, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 649, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 656, 8, 18, 10, 18, 12, 18, 659, 9, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 668, 8, 18, 10, 18, 12, 18, 671, 9, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 4, 18, 680, 8, 18, 11, 18, 12, 18, 681, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 4, 18, 691, 8, 18, 11, 18, 12, 18, 692, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 4, 18, 702, 8, 18, 11, 18, 12, 18, 703, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 722, 8, 18, 1, 18, 0, 4, 12, 14, 16, 22, 19, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 0, 0, 816, 0, 41, 1, 0, 0, 0, 2, 53, 1, 0, 0, 0, 4, 63, 1, 0, 0, 0, 6, 68, 1, 0, 0, 0, 8, 79, 1, 0, 0, 0, 10, 81, 1, 0, 0, 0, 12, 87, 1, 0, 0, 0, 14, 113, 1, 0, 0, 0, 16, 127, 1, 0, 0, 0, 18, 149, 1, 0, 0, 0, 20, 156, 1, 0, 0, 0, 22, 158, 1, 0, 0, 0, 24, 211, 1, 0, 0, 0, 26, 213, 1, 0, 0, 0, 28, 431, 1, 0, 0, 0, 30, 559, 1, 0, 0, 0, 32, 624, 1, 0, 0, 0, 34, 648, 1, 0, 0, 0, 36, 721, 1, 0, 0, 0, 38, 40, 3, 2, 1, 0, 39, 38, 1, 0, 0, 0, 40, 43, 1, 0, 0, 0, 41, 39, 1, 0, 0, 0, 41, 42, 1, 0, 0, 0, 42, 47, 1, 0, 0, 0, 43, 41, 1, 0, 0, 0, 44, 46, 3, 4, 2, 0, 45, 44, 1, 0, 0, 0, 46, 49, 1, 0, 0, 0, 47, 45, 1, 0, 0, 0, 47, 48, 1, 0, 0, 0, 48, 50, 1, 0, 0, 0, 49, 47, 1, 0, 0, 0, 50, 51, 3, 8, 4, 0, 51, 52, 5, 0, 0, 1, 52, 1, 1, 0, 0, 0, 53, 54, 5, 102, 0, 0, 54, 56, 5, 91, 0, 0, 55, 57, 3, 6, 3, 0, 56, 55, 1, 0, 0, 0, 56, 57, 1, 0, 0, 0, 57, 58, 1, 0, 0, 0, 58, 59, 5, 92, 0, 0, 59, 60, 5, 95, 0, 0, 60, 61, 3, 8, 4, 0, 61, 62, 5, 94, 0, 0, 62, 3, 1, 0, 0, 0, 63, 64, 5, 102, 0, 0, 64, 65, 5, 88, 0, 0, 65, 66, 3, 8, 4, 0, 66, 67, 5, 94, 0, 0, 67, 5, 1, 0, 0, 0, 68, 73, 5, 102, 0, 0, 69, 70, 5, 93, 0, 0, 70, 72, 5, 102, 0, 0, 71, 69, 1, 0, 0, 0, 72, 75, 1, 0, 0, 0, 73, 71, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 7, 1, 0, 0, 0, 75, 73, 1, 0, 0, 0, 76, 80, 3, 10, 5, 0, 77, 80, 3, 24, 12, 0, 78, 80, 3, 12, 6, 0, 79, 76, 1, 0, 0, 0, 79, 77, 1, 0, 0, 0, 79, 78, 1, 0, 0, 0, 80, 9, 1, 0, 0, 0, 81, 82, 3, 12, 6, 0, 82, 83, 5, 98, 0, 0, 83, 84, 3, 8, 4, 0, 84, 85, 5, 99, 0, 0, 85, 86, 3, 8, 4, 0, 86, 11, 1, 0, 0, 0, 87, 88, 6, 6, -1, 0, 88, 89, 3, 14, 7, 0, 89, 110, 1, 0, 0, 0, 90, 91, 10, 7, 0, 0, 91, 92, 5, 84, 0, 0, 92, 109, 3, 14, 7, 0, 93, 94, 10, 6, 0, 0, 94, 95, 5, 83, 0, 0, 95, 109, 3, 14, 7, 0, 96, 97, 10, 5, 0, 0, 97, 98, 5, 86, 0, 0, 98, 109, 3, 14, 7, 0, 99, 100, 10, 4, 0, 0, 100, 101, 5, 85, 0, 0, 101, 109, 3, 14, 7, 0, 102, 103, 10, 3, 0, 0, 103, 104, 5, 87, 0, 0, 104, 109, 3, 14, 7, 0, 105, 106, 10, 2, 0, 0, 106, 107, 5, 89, 0, 0, 107, 109, 3, 14, 7, 0, 108, 90, 1, 0, 0, 0, 108, 93, 1, 0, 0, 0, 108, 96, 1, 0, 0, 0, 108, 99, 1, 0, 0, 0, 108, 102, 1, 0, 0, 0, 108, 105, 1, 0, 0, 0, 109, 112, 1, 0, 0, 0, 110, 108, 1, 0, 0, 0, 110, 111, 1, 0, 0, 0, 111, 13, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 113, 114, 6, 7, -1, 0, 114, 115, 3, 16, 8, 0, 115, 124, 1, 0, 0, 0, 116, 117, 10, 3, 0, 0, 117, 118, 5, 77, 0, 0, 118, 123, 3, 16, 8, 0, 119, 120, 10, 2, 0, 0, 120, 121, 5, 78, 0, 0, 121, 123, 3, 16, 8, 0, 122, 116, 1, 0, 0, 0, 122, 119, 1, 0, 0, 0, 123, 126, 1, 0, 0, 0, 124, 122, 1, 0, 0, 0, 124, 125, 1, 0, 0, 0, 125, 15, 1, 0, 0, 0, 126, 124, 1, 0, 0, 0, 127, 128, 6, 8, -1, 0, 128, 129, 3, 18, 9, 0, 129, 141, 1, 0, 0, 0, 130, 131, 10, 4, 0, 0, 131, 132, 5, 79, 0, 0, 132, 140, 3, 18, 9, 0, 133, 134, 10, 3, 0, 0, 134, 135, 5, 80, 0, 0, 135, 140, 3, 18, 9, 0, 136, 137, 10, 2, 0, 0, 137, 138, 5, 81, 0, 0, 138, 140, 3, 18, 9, 0, 139, 130, 1, 0, 0, 0, 139, 133, 1, 0, 0, 0, 139, 136, 1, 0, 0, 0, 140, 143, 1, 0, 0, 0, 141, 139, 1, 0, 0, 0, 141, 142, 1, 0, 0, 0, 142, 17, 1, 0, 0, 0, 143, 141, 1, 0, 0, 0, 144, 145, 3, 20, 10, 0, 145, 146, 5, 82, 0, 0, 146, 147, 3, 18, 9, 0, 147, 150, 1, 0, 0, 0, 148, 150, 3, 20, 10, 0, 149, 144, 1, 0, 0, 0, 149, 148, 1, 0, 0, 0, 150, 19, 1, 0, 0, 0, 151, 152, 5, 77, 0, 0, 152, 157, 3, 20, 10, 0, 153, 154, 5, 78, 0, 0, 154, 157, 3, 20, 10, 0, 155, 157, 3, 22, 11, 0, 156, 151, 1, 0, 0, 0, 156, 153, 1, 0, 0, 0, 156, 155, 1, 0, 0, 0, 157, 21, 1, 0, 0, 0, 158, 159, 6, 11, -1, 0, 159, 160, 3, 24, 12, 0, 160, 175, 1, 0, 0, 0, 161, 162, 10, 2, 0, 0, 162, 163, 5, 96, 0, 0, 163, 168, 3, 8, 4, 0, 164, 165, 5, 93, 0, 0, 165, 167, 3, 8, 4, 0, 166, 164, 1, 0, 0, 0, 167, 170, 1, 0, 0, 0, 168, 166, 1, 0, 0, 0, 168, 169, 1, 0, 0, 0, 169, 171, 1, 0, 0, 0, 170, 168, 1, 0, 0, 0, 171, 172, 5, 97, 0, 0, 172, 174, 1, 0, 0, 0, 173, 161, 1, 0, 0, 0, 174, 177, 1, 0, 0, 0, 175, 173, 1, 0, 0, 0, 175, 176, 1, 0, 0, 0, 176, 23, 1, 0, 0, 0, 177, 175, 1, 0, 0, 0, 178, 212, 3, 28, 14, 0, 179, 212, 3, 30, 15, 0, 180, 212, 3, 32, 16, 0, 181, 212, 3, 34, 17, 0, 182, 212, 3, 36, 18, 0, 183, 212, 5, 102, 0, 0, 184, 212, 5, 101, 0, 0, 185, 212, 5, 100, 0, 0, 186, 187, 5, 91, 0, 0, 187, 188, 3, 8, 4, 0, 188, 189, 5, 92, 0, 0, 189, 212, 1, 0, 0, 0, 190, 191, 5, 90, 0, 0, 191, 192, 3, 8, 4, 0, 192, 193, 5, 90, 0, 0, 193, 212, 1, 0, 0, 0, 194, 195, 5, 96, 0, 0, 195, 200, 3, 8, 4, 0, 196, 197, 5, 93, 0, 0, 197, 199, 3, 8, 4, 0, 198, 196, 1, 0, 0, 0, 199, 202, 1, 0, 0, 0, 200, 198, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 203, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 203, 204, 5, 97, 0, 0, 204, 212, 1, 0, 0, 0, 205, 206, 5, 102, 0, 0, 206, 208, 5, 91, 0, 0, 207, 209, 3, 26, 13, 0, 208, 207, 1, 0, 0, 0, 208, 209, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 212, 5, 92, 0, 0, 211, 178, 1, 0, 0, 0, 211, 179, 1, 0, 0, 0, 211, 180, 1, 0, 0, 0, 211, 181, 1, 0, 0, 0, 211, 182, 1, 0, 0, 0, 211, 183, 1, 0, 0, 0, 211, 184, 1, 0, 0, 0, 211, 185, 1, 0, 0, 0, 211, 186, 1, 0, 0, 0, 211, 190, 1, 0, 0, 0, 211, 194, 1, 0, 0, 0, 211, 205, 1, 0, 0, 0, 212, 25, 1, 0, 0, 0, 213, 218, 3, 8, 4, 0, 214, 215, 5, 93, 0, 0, 215, 217, 3, 8, 4, 0, 216, 214, 1, 0, 0, 0, 217, 220, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 27, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 221, 222, 5, 1, 0, 0, 222, 223, 5, 91, 0, 0, 223, 224, 3, 8, 4, 0, 224, 225, 5, 92, 0, 0, 225, 432, 1, 0, 0, 0, 226, 227, 5, 2, 0, 0, 227, 228, 5, 91, 0, 0, 228, 229, 3, 8, 4, 0, 229, 230, 5, 92, 0, 0, 230, 432, 1, 0, 0, 0, 231, 232, 5, 3, 0, 0, 232, 233, 5, 91, 0, 0, 233, 234, 3, 8, 4, 0, 234, 235, 5, 92, 0, 0, 235, 432, 1, 0, 0, 0, 236, 237, 5, 4, 0, 0, 237, 238, 5, 91, 0, 0, 238, 239, 3, 8, 4, 0, 239, 240, 5, 92, 0, 0, 240, 432, 1, 0, 0, 0, 241, 242, 5, 5, 0, 0, 242, 243, 5, 91, 0, 0, 243, 244, 3, 8, 4, 0, 244, 245, 5, 92, 0, 0, 245, 432, 1, 0, 0, 0, 246, 247, 5, 6, 0, 0, 247, 248, 5, 91, 0, 0, 248, 249, 3, 8, 4, 0, 249, 250, 5, 92, 0, 0, 250, 432, 1, 0, 0, 0, 251, 252, 5, 8, 0, 0, 252, 253, 5, 91, 0, 0, 253, 254, 3, 8, 4, 0, 254, 255, 5, 92, 0, 0, 255, 432, 1, 0, 0, 0, 256, 257, 5, 9, 0, 0, 257, 258, 5, 91, 0, 0, 258, 259, 3, 8, 4, 0, 259, 260, 5, 92, 0, 0, 260, 432, 1, 0, 0, 0, 261, 262, 5, 10, 0, 0, 262, 263, 5, 91, 0, 0, 263, 264, 3, 8, 4, 0, 264, 265, 5, 92, 0, 0, 265, 432, 1, 0, 0, 0, 266, 267, 5, 11, 0, 0, 267, 268, 5, 91, 0, 0, 268, 269, 3, 8, 4, 0, 269, 270, 5, 92, 0, 0, 270, 432, 1, 0, 0, 0, 271, 272, 5, 12, 0, 0, 272, 273, 5, 91, 0, 0, 273, 274, 3, 8, 4, 0, 274, 275, 5, 92, 0, 0, 275, 432, 1, 0, 0, 0, 276, 277, 5, 13, 0, 0, 277, 278, 5, 91, 0, 0, 278, 279, 3, 8, 4, 0, 279, 280, 5, 92, 0, 0, 280, 432, 1, 0, 0, 0, 281, 282, 5, 14, 0, 0, 282, 283, 5, 91, 0, 0, 283, 284, 3, 8, 4, 0, 284, 285, 5, 92, 0, 0, 285, 432, 1, 0, 0, 0, 286, 287, 5, 15, 0, 0, 287, 288, 5, 91, 0, 0, 288, 289, 3, 8, 4, 0, 289, 290, 5, 92, 0, 0, 290, 432, 1, 0, 0, 0, 291, 292, 5, 16, 0, 0, 292, 293, 5, 91, 0, 0, 293, 294, 3, 8, 4, 0, 294, 295, 5, 92, 0, 0, 295, 432, 1, 0, 0, 0, 296, 297, 5, 17, 0, 0, 297, 298, 5, 91, 0, 0, 298, 299, 3, 8, 4, 0, 299, 300, 5, 92, 0, 0, 300, 432, 1, 0, 0, 0, 301, 302, 5, 18, 0, 0, 302, 303, 5, 91, 0, 0, 303, 304, 3, 8, 4, 0, 304, 305, 5, 92, 0, 0, 305, 432, 1, 0, 0, 0, 306, 307, 5, 23, 0, 0, 307, 308, 5, 91, 0, 0, 308, 309, 3, 8, 4, 0, 309, 310, 5, 92, 0, 0, 310, 432, 1, 0, 0, 0, 311, 312, 5, 24, 0, 0, 312, 313, 5, 91, 0, 0, 313, 314, 3, 8, 4, 0, 314, 315, 5, 92, 0, 0, 315, 432, 1, 0, 0, 0, 316, 317, 5, 25, 0, 0, 317, 318, 5, 91, 0, 0, 318, 319, 3, 8, 4, 0, 319, 320, 5, 92, 0, 0, 320, 432, 1, 0, 0, 0, 321, 322, 5, 26, 0, 0, 322, 323, 5, 91, 0, 0, 323, 324, 3, 8, 4, 0, 324, 325, 5, 92, 0, 0, 325, 432, 1, 0, 0, 0, 326, 327, 5, 27, 0, 0, 327, 328, 5, 91, 0, 0, 328, 329, 3, 8, 4, 0, 329, 330, 5, 92, 0, 0, 330, 432, 1, 0, 0, 0, 331, 332, 5, 28, 0, 0, 332, 333, 5, 91, 0, 0, 333, 334, 3, 8, 4, 0, 334, 335, 5, 92, 0, 0, 335, 432, 1, 0, 0, 0, 336, 337, 5, 30, 0, 0, 337, 338, 5, 91, 0, 0, 338, 339, 3, 8, 4, 0, 339, 340, 5, 92, 0, 0, 340, 432, 1, 0, 0, 0, 341, 342, 5, 32, 0, 0, 342, 343, 5, 91, 0, 0, 343, 344, 3, 8, 4, 0, 344, 345, 5, 92, 0, 0, 345, 432, 1, 0, 0, 0, 346, 347, 5, 33, 0, 0, 347, 348, 5, 91, 0, 0, 348, 349, 3, 8, 4, 0, 349, 350, 5, 92, 0, 0, 350, 432, 1, 0, 0, 0, 351, 352, 5, 34, 0, 0, 352, 353, 5, 91, 0, 0, 353, 354, 3, 8, 4, 0, 354, 355, 5, 92, 0, 0, 355, 432, 1, 0, 0, 0, 356, 357, 5, 35, 0, 0, 357, 358, 5, 91, 0, 0, 358, 359, 3, 8, 4, 0, 359, 360, 5, 92, 0, 0, 360, 432, 1, 0, 0, 0, 361, 362, 5, 41, 0, 0, 362, 363, 5, 91, 0, 0, 363, 364, 3, 8, 4, 0, 364, 365, 5, 92, 0, 0, 365, 432, 1, 0, 0, 0, 366, 367, 5, 42, 0, 0, 367, 368, 5, 91, 0, 0, 368, 369, 3, 8, 4, 0, 369, 370, 5, 92, 0, 0, 370, 432, 1, 0, 0, 0, 371, 372, 5, 43, 0, 0, 372, 373, 5, 91, 0, 0, 373, 374, 3, 8, 4, 0, 374, 375, 5, 92, 0, 0, 375, 432, 1, 0, 0, 0, 376, 377, 5, 44, 0, 0, 377, 378, 5, 91, 0, 0, 378, 379, 3, 8, 4, 0, 379, 380, 5, 92, 0, 0, 380, 432, 1, 0, 0, 0, 381, 382, 5, 45, 0, 0, 382, 383, 5, 91, 0, 0, 383, 384, 3, 8, 4, 0, 384, 385, 5, 92, 0, 0, 385, 432, 1, 0, 0, 0, 386, 387, 5, 36, 0, 0, 387, 388, 5, 91, 0, 0, 388, 389, 3, 8, 4, 0, 389, 390, 5, 92, 0, 0, 390, 432, 1, 0, 0, 0, 391, 392, 5, 55, 0, 0, 392, 393, 5, 91, 0, 0, 393, 394, 3, 8, 4, 0, 394, 395, 5, 92, 0, 0, 395, 432, 1, 0, 0, 0, 396, 397, 5, 56, 0, 0, 397, 398, 5, 91, 0, 0, 398, 399, 3, 8, 4, 0, 399, 400, 5, 92, 0, 0, 400, 432, 1, 0, 0, 0, 401, 402, 5, 57, 0, 0, 402, 403, 5, 91, 0, 0, 403, 404, 3, 8, 4, 0, 404, 405, 5, 92, 0, 0, 405, 432, 1, 0, 0, 0, 406, 407, 5, 58, 0, 0, 407, 408, 5, 91, 0, 0, 408, 409, 3, 8, 4, 0, 409, 410, 5, 92, 0, 0, 410, 432, 1, 0, 0, 0, 411, 412, 5, 59, 0, 0, 412, 413, 5, 91, 0, 0, 413, 414, 3, 8, 4, 0, 414, 415, 5, 92, 0, 0, 415, 432, 1, 0, 0, 0, 416, 417, 5, 75, 0, 0, 417, 418, 5, 91, 0, 0, 418, 419, 3, 8, 4, 0, 419, 420, 5, 92, 0, 0, 420, 432, 1, 0, 0, 0, 421, 422, 5, 65, 0, 0, 422, 423, 5, 91, 0, 0, 423, 424, 3, 8, 4, 0, 424, 425, 5, 92, 0, 0, 425, 432, 1, 0, 0, 0, 426, 427, 5, 66, 0, 0, 427, 428, 5, 91, 0, 0, 428, 429, 3, 8, 4, 0, 429, 430, 5, 92, 0, 0, 430, 432, 1, 0, 0, 0, 431, 221, 1, 0, 0, 0, 431, 226, 1, 0, 0, 0, 431, 231, 1, 0, 0, 0, 431, 236, 1, 0, 0, 0, 431, 241, 1, 0, 0, 0, 431, 246, 1, 0, 0, 0, 431, 251, 1, 0, 0, 0, 431, 256, 1, 0, 0, 0, 431, 261, 1, 0, 0, 0, 431, 266, 1, 0, 0, 0, 431, 271, 1, 0, 0, 0, 431, 276, 1, 0, 0, 0, 431, 281, 1, 0, 0, 0, 431, 286, 1, 0, 0, 0, 431, 291, 1, 0, 0, 0, 431, 296, 1, 0, 0, 0, 431, 301, 1, 0, 0, 0, 431, 306, 1, 0, 0, 0, 431, 311, 1, 0, 0, 0, 431, 316, 1, 0, 0, 0, 431, 321, 1, 0, 0, 0, 431, 326, 1, 0, 0, 0, 431, 331, 1, 0, 0, 0, 431, 336, 1, 0, 0, 0, 431, 341, 1, 0, 0, 0, 431, 346, 1, 0, 0, 0, 431, 351, 1, 0, 0, 0, 431, 356, 1, 0, 0, 0, 431, 361, 1, 0, 0, 0, 431, 366, 1, 0, 0, 0, 431, 371, 1, 0, 0, 0, 431, 376, 1, 0, 0, 0, 431, 381, 1, 0, 0, 0, 431, 386, 1, 0, 0, 0, 431, 391, 1, 0, 0, 0, 431, 396, 1, 0, 0, 0, 431, 401, 1, 0, 0, 0, 431, 406, 1, 0, 0, 0, 431, 411, 1, 0, 0, 0, 431, 416, 1, 0, 0, 0, 431, 421, 1, 0, 0, 0, 431, 426, 1, 0, 0, 0, 432, 29, 1, 0, 0, 0, 433, 434, 5, 29, 0, 0, 434, 435, 5, 91, 0, 0, 435, 436, 3, 8, 4, 0, 436, 437, 5, 93, 0, 0, 437, 438, 3, 8, 4, 0, 438, 439, 5, 92, 0, 0, 439, 560, 1, 0, 0, 0, 440, 441, 5, 7, 0, 0, 441, 442, 5, 91, 0, 0, 442, 443, 3, 8, 4, 0, 443, 444, 5, 93, 0, 0, 444, 445, 3, 8, 4, 0, 445, 446, 5, 92, 0, 0, 446, 560, 1, 0, 0, 0, 447, 448, 5, 21, 0, 0, 448, 449, 5, 91, 0, 0, 449, 450, 3, 8, 4, 0, 450, 451, 5, 93, 0, 0, 451, 452, 3, 8, 4, 0, 452, 453, 5, 92, 0, 0, 453, 560, 1, 0, 0, 0, 454, 455, 5, 22, 0, 0, 455, 456, 5, 91, 0, 0, 456, 457, 3, 8, 4, 0, 457, 458, 5, 93, 0, 0, 458, 459, 3, 8, 4, 0, 459, 460, 5, 92, 0, 0, 460, 560, 1, 0, 0, 0, 461, 462, 5, 39, 0, 0, 462, 463, 5, 91, 0, 0, 463, 464, 3, 8, 4, 0, 464, 465, 5, 93, 0, 0, 465, 466, 3, 8, 4, 0, 466, 467, 5, 92, 0, 0, 467, 560, 1, 0, 0, 0, 468, 469, 5, 53, 0, 0, 469, 470, 5, 91, 0, 0, 470, 471, 3, 8, 4, 0, 471, 472, 5, 93, 0, 0, 472, 473, 3, 8, 4, 0, 473, 474, 5, 92, 0, 0, 474, 560, 1, 0, 0, 0, 475, 476, 5, 54, 0, 0, 476, 477, 5, 91, 0, 0, 477, 478, 3, 8, 4, 0, 478, 479, 5, 93, 0, 0, 479, 480, 3, 8, 4, 0, 480, 481, 5, 92, 0, 0, 481, 560, 1, 0, 0, 0, 482, 483, 5, 60, 0, 0, 483, 484, 5, 91, 0, 0, 484, 485, 3, 8, 4, 0, 485, 486, 5, 93, 0, 0, 486, 487, 3, 8, 4, 0, 487, 488, 5, 92, 0, 0, 488, 560, 1, 0, 0, 0, 489, 490, 5, 61, 0, 0, 490, 491, 5, 91, 0, 0, 491, 492, 3, 8, 4, 0, 492, 493, 5, 93, 0, 0, 493, 494, 3, 8, 4, 0, 494, 495, 5, 92, 0, 0, 495, 560, 1, 0, 0, 0, 496, 497, 5, 62, 0, 0, 497, 498, 5, 91, 0, 0, 498, 499, 3, 8, 4, 0, 499, 500, 5, 93, 0, 0, 500, 501, 3, 8, 4, 0, 501, 502, 5, 92, 0, 0, 502, 560, 1, 0, 0, 0, 503, 504, 5, 63, 0, 0, 504, 505, 5, 91, 0, 0, 505, 506, 3, 8, 4, 0, 506, 507, 5, 93, 0, 0, 507, 508, 3, 8, 4, 0, 508, 509, 5, 92, 0, 0, 509, 560, 1, 0, 0, 0, 510, 511, 5, 72, 0, 0, 511, 512, 5, 91, 0, 0, 512, 513, 3, 8, 4, 0, 513, 514, 5, 93, 0, 0, 514, 515, 3, 8, 4, 0, 515, 516, 5, 92, 0, 0, 516, 560, 1, 0, 0, 0, 517, 518, 5, 73, 0, 0, 518, 519, 5, 91, 0, 0, 519, 520, 3, 8, 4, 0, 520, 521, 5, 93, 0, 0, 521, 522, 3, 8, 4, 0, 522, 523, 5, 92, 0, 0, 523, 560, 1, 0, 0, 0, 524, 525, 5, 74, 0, 0, 525, 526, 5, 91, 0, 0, 526, 527, 3, 8, 4, 0, 527, 528, 5, 93, 0, 0, 528, 529, 3, 8, 4, 0, 529, 530, 5, 92, 0, 0, 530, 560, 1, 0, 0, 0, 531, 532, 5, 76, 0, 0, 532, 533, 5, 91, 0, 0, 533, 534, 3, 8, 4, 0, 534, 535, 5, 93, 0, 0, 535, 536, 3, 8, 4, 0, 536, 537, 5, 92, 0, 0, 537, 560, 1, 0, 0, 0, 538, 539, 5, 68, 0, 0, 539, 540, 5, 91, 0, 0, 540, 541, 3, 8, 4, 0, 541, 542, 5, 93, 0, 0, 542, 543, 3, 8, 4, 0, 543, 544, 5, 92, 0, 0, 544, 560, 1, 0, 0, 0, 545, 546, 5, 70, 0, 0, 546, 547, 5, 91, 0, 0, 547, 548, 3, 8, 4, 0, 548, 549, 5, 93, 0, 0, 549, 550, 3, 8, 4, 0, 550, 551, 5, 92, 0, 0, 551, 560, 1, 0, 0, 0, 552, 553, 5, 71, 0, 0, 553, 554, 5, 91, 0, 0, 554, 555, 3, 8, 4, 0, 555, 556, 5, 93, 0, 0, 556, 557, 3, 8, 4, 0, 557, 558, 5, 92, 0, 0, 558, 560, 1, 0, 0, 0, 559, 433, 1, 0, 0, 0, 559, 440, 1, 0, 0, 0, 559, 447, 1, 0, 0, 0, 559, 454, 1, 0, 0, 0, 559, 461, 1, 0, 0, 0, 559, 468, 1, 0, 0, 0, 559, 475, 1, 0, 0, 0, 559, 482, 1, 0, 0, 0, 559, 489, 1, 0, 0, 0, 559, 496, 1, 0, 0, 0, 559, 503, 1, 0, 0, 0, 559, 510, 1, 0, 0, 0, 559, 517, 1, 0, 0, 0, 559, 524, 1, 0, 0, 0, 559, 531, 1, 0, 0, 0, 559, 538, 1, 0, 0, 0, 559, 545, 1, 0, 0, 0, 559, 552, 1, 0, 0, 0, 560, 31, 1, 0, 0, 0, 561, 562, 5, 31, 0, 0, 562, 563, 5, 91, 0, 0, 563, 564, 3, 8, 4, 0, 564, 565, 5, 93, 0, 0, 565, 566, 3, 8, 4, 0, 566, 567, 5, 93, 0, 0, 567, 568, 3, 8, 4, 0, 568, 569, 5, 92, 0, 0, 569, 625, 1, 0, 0, 0, 570, 571, 5, 38, 0, 0, 571, 572, 5, 91, 0, 0, 572, 573, 3, 8, 4, 0, 573, 574, 5, 93, 0, 0, 574, 575, 3, 8, 4, 0, 575, 576, 5, 93, 0, 0, 576, 577, 3, 8, 4, 0, 577, 578, 5, 92, 0, 0, 578, 625, 1, 0, 0, 0, 579, 580, 5, 40, 0, 0, 580, 581, 5, 91, 0, 0, 581, 582, 3, 8, 4, 0, 582, 583, 5, 93, 0, 0, 583, 584, 3, 8, 4, 0, 584, 585, 5, 93, 0, 0, 585, 586, 3, 8, 4, 0, 586, 587, 5, 92, 0, 0, 587, 625, 1, 0, 0, 0, 588, 589, 5, 52, 0, 0, 589, 590, 5, 91, 0, 0, 590, 591, 3, 8, 4, 0, 591, 592, 5, 93, 0, 0, 592, 593, 3, 8, 4, 0, 593, 594, 5, 93, 0, 0, 594, 595, 3, 8, 4, 0, 595, 596, 5, 92, 0, 0, 596, 625, 1, 0, 0, 0, 597, 598, 5, 64, 0, 0, 598, 599, 5, 91, 0, 0, 599, 600, 3, 8, 4, 0, 600, 601, 5, 93, 0, 0, 601, 602, 3, 8, 4, 0, 602, 603, 5, 93, 0, 0, 603, 604, 3, 8, 4, 0, 604, 605, 5, 92, 0, 0, 605, 625, 1, 0, 0, 0, 606, 607, 5, 67, 0, 0, 607, 608, 5, 91, 0, 0, 608, 609, 3, 8, 4, 0, 609, 610, 5, 93, 0, 0, 610, 611, 3, 8, 4, 0, 611, 612, 5, 93, 0, 0, 612, 613, 3, 8, 4, 0, 613, 614, 5, 92, 0, 0, 614, 625, 1, 0, 0, 0, 615, 616, 5, 69, 0, 0, 616, 617, 5, 91, 0, 0, 617, 618, 3, 8, 4, 0, 618, 619, 5, 93, 0, 0, 619, 620, 3, 8, 4, 0, 620, 621, 5, 93, 0, 0, 621, 622, 3, 8, 4, 0, 622, 623, 5, 92, 0, 0, 623, 625, 1, 0, 0, 0, 624, 561, 1, 0, 0, 0, 624, 570, 1, 0, 0, 0, 624, 579, 1, 0, 0, 0, 624, 588, 1, 0, 0, 0, 624, 597, 1, 0, 0, 0, 624, 606, 1, 0, 0, 0, 624, 615, 1, 0, 0, 0, 625, 33, 1, 0, 0, 0, 626, 627, 5, 49, 0, 0, 627, 628, 5, 91, 0, 0, 628, 629, 3, 8, 4, 0, 629, 630, 5, 93, 0, 0, 630, 631, 3, 8, 4, 0, 631, 632, 5, 93, 0, 0, 632, 633, 3, 8, 4, 0, 633, 634, 5, 93, 0, 0, 634, 635, 3, 8, 4, 0, 635, 636, 5, 92, 0, 0, 636, 649, 1, 0, 0, 0, 637, 638, 5, 37, 0, 0, 638, 639, 5, 91, 0, 0, 639, 640, 3, 8, 4, 0, 640, 641, 5, 93, 0, 0, 641, 642, 3, 8, 4, 0, 642, 643, 5, 93, 0, 0, 643, 644, 3, 8, 4, 0, 644, 645, 5, 93, 0, 0, 645, 646, 3, 8, 4, 0, 646, 647, 5, 92, 0, 0, 647, 649, 1, 0, 0, 0, 648, 626, 1, 0, 0, 0, 648, 637, 1, 0, 0, 0, 649, 35, 1, 0, 0, 0, 650, 651, 5, 19, 0, 0, 651, 652, 5, 91, 0, 0, 652, 657, 3, 8, 4, 0, 653, 654, 5, 93, 0, 0, 654, 656, 3, 8, 4, 0, 655, 653, 1, 0, 0, 0, 656, 659, 1, 0, 0, 0, 657, 655, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 660, 1, 0, 0, 0, 659, 657, 1, 0, 0, 0, 660, 661, 5, 92, 0, 0, 661, 722, 1, 0, 0, 0, 662, 663, 5, 20, 0, 0, 663, 664, 5, 91, 0, 0, 664, 669, 3, 8, 4, 0, 665, 666, 5, 93, 0, 0, 666, 668, 3, 8, 4, 0, 667, 665, 1, 0, 0, 0, 668, 671, 1, 0, 0, 0, 669, 667, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 672, 1, 0, 0, 0, 671, 669, 1, 0, 0, 0, 672, 673, 5, 92, 0, 0, 673, 722, 1, 0, 0, 0, 674, 675, 5, 46, 0, 0, 675, 676, 5, 91, 0, 0, 676, 679, 3, 8, 4, 0, 677, 678, 5, 93, 0, 0, 678, 680, 3, 8, 4, 0, 679, 677, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 681, 682, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 684, 5, 92, 0, 0, 684, 722, 1, 0, 0, 0, 685, 686, 5, 47, 0, 0, 686, 687, 5, 91, 0, 0, 687, 690, 3, 8, 4, 0, 688, 689, 5, 93, 0, 0, 689, 691, 3, 8, 4, 0, 690, 688, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 690, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 1, 0, 0, 0, 694, 695, 5, 92, 0, 0, 695, 722, 1, 0, 0, 0, 696, 697, 5, 48, 0, 0, 697, 698, 5, 91, 0, 0, 698, 701, 3, 8, 4, 0, 699, 700, 5, 93, 0, 0, 700, 702, 3, 8, 4, 0, 701, 699, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 701, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 706, 5, 92, 0, 0, 706, 722, 1, 0, 0, 0, 707, 708, 5, 50, 0, 0, 708, 709, 5, 91, 0, 0, 709, 710, 3, 8, 4, 0, 710, 711, 5, 93, 0, 0, 711, 712, 3, 8, 4, 0, 712, 713, 5, 92, 0, 0, 713, 722, 1, 0, 0, 0, 714, 715, 5, 51, 0, 0, 715, 716, 5, 91, 0, 0, 716, 717, 3, 8, 4, 0, 717, 718, 5, 93, 0, 0, 718, 719, 3, 8, 4, 0, 719, 720, 5, 92, 0, 0, 720, 722, 1, 0, 0, 0, 721, 650, 1, 0, 0, 0, 721, 662, 1, 0, 0, 0, 721, 674, 1, 0, 0, 0, 721, 685, 1, 0, 0, 0, 721, 696, 1, 0, 0, 0, 721, 707, 1, 0, 0, 0, 721, 714, 1, 0, 0, 0, 722, 37, 1, 0, 0, 0, 29, 41, 47, 56, 73, 79, 108, 110, 122, 124, 139, 141, 149, 156, 168, 175, 200, 208, 211, 218, 431, 559, 624, 648, 657, 669, 681, 692, 703, 721] \ No newline at end of file diff --git a/more_math/Parser/MathExpr.tokens b/more_math/Parser/MathExpr.tokens index 659c1e4..fc16f8a 100644 --- a/more_math/Parser/MathExpr.tokens +++ b/more_math/Parser/MathExpr.tokens @@ -95,10 +95,12 @@ SEMICOLON=94 ARROW=95 LBRACKET=96 RBRACKET=97 -CONSTANT=98 -NUMBER=99 -VARIABLE=100 -WS=101 +QUESTION=98 +COLON=99 +CONSTANT=100 +NUMBER=101 +VARIABLE=102 +WS=103 'sin'=1 'cos'=2 'tan'=3 @@ -181,3 +183,5 @@ WS=101 '->'=95 '['=96 ']'=97 +'?'=98 +':'=99 diff --git a/more_math/Parser/MathExprLexer.interp b/more_math/Parser/MathExprLexer.interp index 5316b3d..d9d6598 100644 --- a/more_math/Parser/MathExprLexer.interp +++ b/more_math/Parser/MathExprLexer.interp @@ -97,6 +97,8 @@ null '->' '[' ']' +'?' +':' null null null @@ -201,6 +203,8 @@ SEMICOLON ARROW LBRACKET RBRACKET +QUESTION +COLON CONSTANT NUMBER VARIABLE @@ -304,6 +308,8 @@ SEMICOLON ARROW LBRACKET RBRACKET +QUESTION +COLON CONSTANT NUMBER VARIABLE @@ -317,4 +323,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 101, 901, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 396, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 411, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 487, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 504, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 522, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 535, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 590, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 607, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 652, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 677, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 697, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 722, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 747, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 770, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 791, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 873, 8, 97, 1, 98, 4, 98, 876, 8, 98, 11, 98, 12, 98, 877, 1, 98, 1, 98, 4, 98, 882, 8, 98, 11, 98, 12, 98, 883, 3, 98, 886, 8, 98, 1, 99, 1, 99, 5, 99, 890, 8, 99, 10, 99, 12, 99, 893, 9, 99, 1, 100, 4, 100, 896, 8, 100, 11, 100, 12, 100, 897, 1, 100, 1, 100, 0, 0, 101, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 1, 0, 5, 2, 0, 69, 69, 101, 101, 1, 0, 48, 57, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 3, 0, 9, 10, 13, 13, 32, 32, 924, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 1, 203, 1, 0, 0, 0, 3, 207, 1, 0, 0, 0, 5, 211, 1, 0, 0, 0, 7, 215, 1, 0, 0, 0, 9, 220, 1, 0, 0, 0, 11, 225, 1, 0, 0, 0, 13, 230, 1, 0, 0, 0, 15, 236, 1, 0, 0, 0, 17, 241, 1, 0, 0, 0, 19, 246, 1, 0, 0, 0, 21, 251, 1, 0, 0, 0, 23, 257, 1, 0, 0, 0, 25, 263, 1, 0, 0, 0, 27, 269, 1, 0, 0, 0, 29, 273, 1, 0, 0, 0, 31, 278, 1, 0, 0, 0, 33, 281, 1, 0, 0, 0, 35, 285, 1, 0, 0, 0, 37, 289, 1, 0, 0, 0, 39, 294, 1, 0, 0, 0, 41, 299, 1, 0, 0, 0, 43, 304, 1, 0, 0, 0, 45, 309, 1, 0, 0, 0, 47, 315, 1, 0, 0, 0, 49, 321, 1, 0, 0, 0, 51, 327, 1, 0, 0, 0, 53, 332, 1, 0, 0, 0, 55, 338, 1, 0, 0, 0, 57, 344, 1, 0, 0, 0, 59, 348, 1, 0, 0, 0, 61, 353, 1, 0, 0, 0, 63, 359, 1, 0, 0, 0, 65, 363, 1, 0, 0, 0, 67, 368, 1, 0, 0, 0, 69, 374, 1, 0, 0, 0, 71, 395, 1, 0, 0, 0, 73, 410, 1, 0, 0, 0, 75, 412, 1, 0, 0, 0, 77, 417, 1, 0, 0, 0, 79, 422, 1, 0, 0, 0, 81, 433, 1, 0, 0, 0, 83, 439, 1, 0, 0, 0, 85, 444, 1, 0, 0, 0, 87, 453, 1, 0, 0, 0, 89, 458, 1, 0, 0, 0, 91, 463, 1, 0, 0, 0, 93, 486, 1, 0, 0, 0, 95, 503, 1, 0, 0, 0, 97, 505, 1, 0, 0, 0, 99, 521, 1, 0, 0, 0, 101, 534, 1, 0, 0, 0, 103, 536, 1, 0, 0, 0, 105, 542, 1, 0, 0, 0, 107, 547, 1, 0, 0, 0, 109, 552, 1, 0, 0, 0, 111, 557, 1, 0, 0, 0, 113, 561, 1, 0, 0, 0, 115, 566, 1, 0, 0, 0, 117, 570, 1, 0, 0, 0, 119, 589, 1, 0, 0, 0, 121, 606, 1, 0, 0, 0, 123, 608, 1, 0, 0, 0, 125, 617, 1, 0, 0, 0, 127, 621, 1, 0, 0, 0, 129, 651, 1, 0, 0, 0, 131, 676, 1, 0, 0, 0, 133, 696, 1, 0, 0, 0, 135, 721, 1, 0, 0, 0, 137, 746, 1, 0, 0, 0, 139, 769, 1, 0, 0, 0, 141, 790, 1, 0, 0, 0, 143, 792, 1, 0, 0, 0, 145, 799, 1, 0, 0, 0, 147, 804, 1, 0, 0, 0, 149, 808, 1, 0, 0, 0, 151, 813, 1, 0, 0, 0, 153, 820, 1, 0, 0, 0, 155, 822, 1, 0, 0, 0, 157, 824, 1, 0, 0, 0, 159, 826, 1, 0, 0, 0, 161, 828, 1, 0, 0, 0, 163, 830, 1, 0, 0, 0, 165, 832, 1, 0, 0, 0, 167, 835, 1, 0, 0, 0, 169, 837, 1, 0, 0, 0, 171, 840, 1, 0, 0, 0, 173, 842, 1, 0, 0, 0, 175, 845, 1, 0, 0, 0, 177, 847, 1, 0, 0, 0, 179, 850, 1, 0, 0, 0, 181, 852, 1, 0, 0, 0, 183, 854, 1, 0, 0, 0, 185, 856, 1, 0, 0, 0, 187, 858, 1, 0, 0, 0, 189, 860, 1, 0, 0, 0, 191, 863, 1, 0, 0, 0, 193, 865, 1, 0, 0, 0, 195, 872, 1, 0, 0, 0, 197, 875, 1, 0, 0, 0, 199, 887, 1, 0, 0, 0, 201, 895, 1, 0, 0, 0, 203, 204, 5, 115, 0, 0, 204, 205, 5, 105, 0, 0, 205, 206, 5, 110, 0, 0, 206, 2, 1, 0, 0, 0, 207, 208, 5, 99, 0, 0, 208, 209, 5, 111, 0, 0, 209, 210, 5, 115, 0, 0, 210, 4, 1, 0, 0, 0, 211, 212, 5, 116, 0, 0, 212, 213, 5, 97, 0, 0, 213, 214, 5, 110, 0, 0, 214, 6, 1, 0, 0, 0, 215, 216, 5, 97, 0, 0, 216, 217, 5, 115, 0, 0, 217, 218, 5, 105, 0, 0, 218, 219, 5, 110, 0, 0, 219, 8, 1, 0, 0, 0, 220, 221, 5, 97, 0, 0, 221, 222, 5, 99, 0, 0, 222, 223, 5, 111, 0, 0, 223, 224, 5, 115, 0, 0, 224, 10, 1, 0, 0, 0, 225, 226, 5, 97, 0, 0, 226, 227, 5, 116, 0, 0, 227, 228, 5, 97, 0, 0, 228, 229, 5, 110, 0, 0, 229, 12, 1, 0, 0, 0, 230, 231, 5, 97, 0, 0, 231, 232, 5, 116, 0, 0, 232, 233, 5, 97, 0, 0, 233, 234, 5, 110, 0, 0, 234, 235, 5, 50, 0, 0, 235, 14, 1, 0, 0, 0, 236, 237, 5, 115, 0, 0, 237, 238, 5, 105, 0, 0, 238, 239, 5, 110, 0, 0, 239, 240, 5, 104, 0, 0, 240, 16, 1, 0, 0, 0, 241, 242, 5, 99, 0, 0, 242, 243, 5, 111, 0, 0, 243, 244, 5, 115, 0, 0, 244, 245, 5, 104, 0, 0, 245, 18, 1, 0, 0, 0, 246, 247, 5, 116, 0, 0, 247, 248, 5, 97, 0, 0, 248, 249, 5, 110, 0, 0, 249, 250, 5, 104, 0, 0, 250, 20, 1, 0, 0, 0, 251, 252, 5, 97, 0, 0, 252, 253, 5, 115, 0, 0, 253, 254, 5, 105, 0, 0, 254, 255, 5, 110, 0, 0, 255, 256, 5, 104, 0, 0, 256, 22, 1, 0, 0, 0, 257, 258, 5, 97, 0, 0, 258, 259, 5, 99, 0, 0, 259, 260, 5, 111, 0, 0, 260, 261, 5, 115, 0, 0, 261, 262, 5, 104, 0, 0, 262, 24, 1, 0, 0, 0, 263, 264, 5, 97, 0, 0, 264, 265, 5, 116, 0, 0, 265, 266, 5, 97, 0, 0, 266, 267, 5, 110, 0, 0, 267, 268, 5, 104, 0, 0, 268, 26, 1, 0, 0, 0, 269, 270, 5, 97, 0, 0, 270, 271, 5, 98, 0, 0, 271, 272, 5, 115, 0, 0, 272, 28, 1, 0, 0, 0, 273, 274, 5, 115, 0, 0, 274, 275, 5, 113, 0, 0, 275, 276, 5, 114, 0, 0, 276, 277, 5, 116, 0, 0, 277, 30, 1, 0, 0, 0, 278, 279, 5, 108, 0, 0, 279, 280, 5, 110, 0, 0, 280, 32, 1, 0, 0, 0, 281, 282, 5, 108, 0, 0, 282, 283, 5, 111, 0, 0, 283, 284, 5, 103, 0, 0, 284, 34, 1, 0, 0, 0, 285, 286, 5, 101, 0, 0, 286, 287, 5, 120, 0, 0, 287, 288, 5, 112, 0, 0, 288, 36, 1, 0, 0, 0, 289, 290, 5, 115, 0, 0, 290, 291, 5, 109, 0, 0, 291, 292, 5, 105, 0, 0, 292, 293, 5, 110, 0, 0, 293, 38, 1, 0, 0, 0, 294, 295, 5, 115, 0, 0, 295, 296, 5, 109, 0, 0, 296, 297, 5, 97, 0, 0, 297, 298, 5, 120, 0, 0, 298, 40, 1, 0, 0, 0, 299, 300, 5, 116, 0, 0, 300, 301, 5, 109, 0, 0, 301, 302, 5, 105, 0, 0, 302, 303, 5, 110, 0, 0, 303, 42, 1, 0, 0, 0, 304, 305, 5, 116, 0, 0, 305, 306, 5, 109, 0, 0, 306, 307, 5, 97, 0, 0, 307, 308, 5, 120, 0, 0, 308, 44, 1, 0, 0, 0, 309, 310, 5, 116, 0, 0, 310, 311, 5, 110, 0, 0, 311, 312, 5, 111, 0, 0, 312, 313, 5, 114, 0, 0, 313, 314, 5, 109, 0, 0, 314, 46, 1, 0, 0, 0, 315, 316, 5, 115, 0, 0, 316, 317, 5, 110, 0, 0, 317, 318, 5, 111, 0, 0, 318, 319, 5, 114, 0, 0, 319, 320, 5, 109, 0, 0, 320, 48, 1, 0, 0, 0, 321, 322, 5, 102, 0, 0, 322, 323, 5, 108, 0, 0, 323, 324, 5, 111, 0, 0, 324, 325, 5, 111, 0, 0, 325, 326, 5, 114, 0, 0, 326, 50, 1, 0, 0, 0, 327, 328, 5, 99, 0, 0, 328, 329, 5, 101, 0, 0, 329, 330, 5, 105, 0, 0, 330, 331, 5, 108, 0, 0, 331, 52, 1, 0, 0, 0, 332, 333, 5, 114, 0, 0, 333, 334, 5, 111, 0, 0, 334, 335, 5, 117, 0, 0, 335, 336, 5, 110, 0, 0, 336, 337, 5, 100, 0, 0, 337, 54, 1, 0, 0, 0, 338, 339, 5, 103, 0, 0, 339, 340, 5, 97, 0, 0, 340, 341, 5, 109, 0, 0, 341, 342, 5, 109, 0, 0, 342, 343, 5, 97, 0, 0, 343, 56, 1, 0, 0, 0, 344, 345, 5, 112, 0, 0, 345, 346, 5, 111, 0, 0, 346, 347, 5, 119, 0, 0, 347, 58, 1, 0, 0, 0, 348, 349, 5, 115, 0, 0, 349, 350, 5, 105, 0, 0, 350, 351, 5, 103, 0, 0, 351, 352, 5, 109, 0, 0, 352, 60, 1, 0, 0, 0, 353, 354, 5, 99, 0, 0, 354, 355, 5, 108, 0, 0, 355, 356, 5, 97, 0, 0, 356, 357, 5, 109, 0, 0, 357, 358, 5, 112, 0, 0, 358, 62, 1, 0, 0, 0, 359, 360, 5, 102, 0, 0, 360, 361, 5, 102, 0, 0, 361, 362, 5, 116, 0, 0, 362, 64, 1, 0, 0, 0, 363, 364, 5, 105, 0, 0, 364, 365, 5, 102, 0, 0, 365, 366, 5, 102, 0, 0, 366, 367, 5, 116, 0, 0, 367, 66, 1, 0, 0, 0, 368, 369, 5, 97, 0, 0, 369, 370, 5, 110, 0, 0, 370, 371, 5, 103, 0, 0, 371, 372, 5, 108, 0, 0, 372, 373, 5, 101, 0, 0, 373, 68, 1, 0, 0, 0, 374, 375, 5, 112, 0, 0, 375, 376, 5, 114, 0, 0, 376, 377, 5, 105, 0, 0, 377, 378, 5, 110, 0, 0, 378, 379, 5, 116, 0, 0, 379, 70, 1, 0, 0, 0, 380, 381, 5, 112, 0, 0, 381, 382, 5, 114, 0, 0, 382, 383, 5, 105, 0, 0, 383, 384, 5, 110, 0, 0, 384, 385, 5, 116, 0, 0, 385, 386, 5, 95, 0, 0, 386, 387, 5, 115, 0, 0, 387, 388, 5, 104, 0, 0, 388, 389, 5, 97, 0, 0, 389, 390, 5, 112, 0, 0, 390, 396, 5, 101, 0, 0, 391, 392, 5, 112, 0, 0, 392, 393, 5, 115, 0, 0, 393, 394, 5, 104, 0, 0, 394, 396, 5, 112, 0, 0, 395, 380, 1, 0, 0, 0, 395, 391, 1, 0, 0, 0, 396, 72, 1, 0, 0, 0, 397, 398, 5, 110, 0, 0, 398, 399, 5, 118, 0, 0, 399, 411, 5, 108, 0, 0, 400, 401, 5, 110, 0, 0, 401, 402, 5, 97, 0, 0, 402, 403, 5, 110, 0, 0, 403, 404, 5, 95, 0, 0, 404, 405, 5, 116, 0, 0, 405, 406, 5, 111, 0, 0, 406, 407, 5, 95, 0, 0, 407, 408, 5, 110, 0, 0, 408, 409, 5, 117, 0, 0, 409, 411, 5, 109, 0, 0, 410, 397, 1, 0, 0, 0, 410, 400, 1, 0, 0, 0, 411, 74, 1, 0, 0, 0, 412, 413, 5, 108, 0, 0, 413, 414, 5, 101, 0, 0, 414, 415, 5, 114, 0, 0, 415, 416, 5, 112, 0, 0, 416, 76, 1, 0, 0, 0, 417, 418, 5, 115, 0, 0, 418, 419, 5, 116, 0, 0, 419, 420, 5, 101, 0, 0, 420, 421, 5, 112, 0, 0, 421, 78, 1, 0, 0, 0, 422, 423, 5, 115, 0, 0, 423, 424, 5, 109, 0, 0, 424, 425, 5, 111, 0, 0, 425, 426, 5, 111, 0, 0, 426, 427, 5, 116, 0, 0, 427, 428, 5, 104, 0, 0, 428, 429, 5, 115, 0, 0, 429, 430, 5, 116, 0, 0, 430, 431, 5, 101, 0, 0, 431, 432, 5, 112, 0, 0, 432, 80, 1, 0, 0, 0, 433, 434, 5, 102, 0, 0, 434, 435, 5, 114, 0, 0, 435, 436, 5, 97, 0, 0, 436, 437, 5, 99, 0, 0, 437, 438, 5, 116, 0, 0, 438, 82, 1, 0, 0, 0, 439, 440, 5, 114, 0, 0, 440, 441, 5, 101, 0, 0, 441, 442, 5, 108, 0, 0, 442, 443, 5, 117, 0, 0, 443, 84, 1, 0, 0, 0, 444, 445, 5, 115, 0, 0, 445, 446, 5, 111, 0, 0, 446, 447, 5, 102, 0, 0, 447, 448, 5, 116, 0, 0, 448, 449, 5, 112, 0, 0, 449, 450, 5, 108, 0, 0, 450, 451, 5, 117, 0, 0, 451, 452, 5, 115, 0, 0, 452, 86, 1, 0, 0, 0, 453, 454, 5, 103, 0, 0, 454, 455, 5, 101, 0, 0, 455, 456, 5, 108, 0, 0, 456, 457, 5, 117, 0, 0, 457, 88, 1, 0, 0, 0, 458, 459, 5, 115, 0, 0, 459, 460, 5, 105, 0, 0, 460, 461, 5, 103, 0, 0, 461, 462, 5, 110, 0, 0, 462, 90, 1, 0, 0, 0, 463, 464, 5, 109, 0, 0, 464, 465, 5, 97, 0, 0, 465, 466, 5, 112, 0, 0, 466, 92, 1, 0, 0, 0, 467, 468, 5, 101, 0, 0, 468, 469, 5, 122, 0, 0, 469, 470, 5, 99, 0, 0, 470, 471, 5, 111, 0, 0, 471, 472, 5, 110, 0, 0, 472, 473, 5, 118, 0, 0, 473, 474, 5, 111, 0, 0, 474, 475, 5, 108, 0, 0, 475, 476, 5, 117, 0, 0, 476, 477, 5, 116, 0, 0, 477, 478, 5, 105, 0, 0, 478, 479, 5, 111, 0, 0, 479, 487, 5, 110, 0, 0, 480, 481, 5, 101, 0, 0, 481, 482, 5, 122, 0, 0, 482, 483, 5, 99, 0, 0, 483, 484, 5, 111, 0, 0, 484, 485, 5, 110, 0, 0, 485, 487, 5, 118, 0, 0, 486, 467, 1, 0, 0, 0, 486, 480, 1, 0, 0, 0, 487, 94, 1, 0, 0, 0, 488, 489, 5, 99, 0, 0, 489, 490, 5, 111, 0, 0, 490, 491, 5, 110, 0, 0, 491, 492, 5, 118, 0, 0, 492, 493, 5, 111, 0, 0, 493, 494, 5, 108, 0, 0, 494, 495, 5, 117, 0, 0, 495, 496, 5, 116, 0, 0, 496, 497, 5, 105, 0, 0, 497, 498, 5, 111, 0, 0, 498, 504, 5, 110, 0, 0, 499, 500, 5, 99, 0, 0, 500, 501, 5, 111, 0, 0, 501, 502, 5, 110, 0, 0, 502, 504, 5, 118, 0, 0, 503, 488, 1, 0, 0, 0, 503, 499, 1, 0, 0, 0, 504, 96, 1, 0, 0, 0, 505, 506, 5, 115, 0, 0, 506, 507, 5, 119, 0, 0, 507, 508, 5, 97, 0, 0, 508, 509, 5, 112, 0, 0, 509, 98, 1, 0, 0, 0, 510, 511, 5, 112, 0, 0, 511, 512, 5, 101, 0, 0, 512, 513, 5, 114, 0, 0, 513, 514, 5, 109, 0, 0, 514, 515, 5, 117, 0, 0, 515, 516, 5, 116, 0, 0, 516, 522, 5, 101, 0, 0, 517, 518, 5, 112, 0, 0, 518, 519, 5, 101, 0, 0, 519, 520, 5, 114, 0, 0, 520, 522, 5, 109, 0, 0, 521, 510, 1, 0, 0, 0, 521, 517, 1, 0, 0, 0, 522, 100, 1, 0, 0, 0, 523, 524, 5, 114, 0, 0, 524, 525, 5, 101, 0, 0, 525, 526, 5, 115, 0, 0, 526, 527, 5, 104, 0, 0, 527, 528, 5, 97, 0, 0, 528, 529, 5, 112, 0, 0, 529, 535, 5, 101, 0, 0, 530, 531, 5, 114, 0, 0, 531, 532, 5, 115, 0, 0, 532, 533, 5, 104, 0, 0, 533, 535, 5, 112, 0, 0, 534, 523, 1, 0, 0, 0, 534, 530, 1, 0, 0, 0, 535, 102, 1, 0, 0, 0, 536, 537, 5, 114, 0, 0, 537, 538, 5, 97, 0, 0, 538, 539, 5, 110, 0, 0, 539, 540, 5, 103, 0, 0, 540, 541, 5, 101, 0, 0, 541, 104, 1, 0, 0, 0, 542, 543, 5, 116, 0, 0, 543, 544, 5, 111, 0, 0, 544, 545, 5, 112, 0, 0, 545, 546, 5, 107, 0, 0, 546, 106, 1, 0, 0, 0, 547, 548, 5, 98, 0, 0, 548, 549, 5, 111, 0, 0, 549, 550, 5, 116, 0, 0, 550, 551, 5, 107, 0, 0, 551, 108, 1, 0, 0, 0, 552, 553, 5, 112, 0, 0, 553, 554, 5, 105, 0, 0, 554, 555, 5, 110, 0, 0, 555, 556, 5, 118, 0, 0, 556, 110, 1, 0, 0, 0, 557, 558, 5, 115, 0, 0, 558, 559, 5, 117, 0, 0, 559, 560, 5, 109, 0, 0, 560, 112, 1, 0, 0, 0, 561, 562, 5, 109, 0, 0, 562, 563, 5, 101, 0, 0, 563, 564, 5, 97, 0, 0, 564, 565, 5, 110, 0, 0, 565, 114, 1, 0, 0, 0, 566, 567, 5, 115, 0, 0, 567, 568, 5, 116, 0, 0, 568, 569, 5, 100, 0, 0, 569, 116, 1, 0, 0, 0, 570, 571, 5, 118, 0, 0, 571, 572, 5, 97, 0, 0, 572, 573, 5, 114, 0, 0, 573, 118, 1, 0, 0, 0, 574, 575, 5, 113, 0, 0, 575, 576, 5, 117, 0, 0, 576, 577, 5, 97, 0, 0, 577, 578, 5, 114, 0, 0, 578, 579, 5, 116, 0, 0, 579, 580, 5, 105, 0, 0, 580, 581, 5, 108, 0, 0, 581, 590, 5, 101, 0, 0, 582, 583, 5, 113, 0, 0, 583, 584, 5, 117, 0, 0, 584, 585, 5, 97, 0, 0, 585, 586, 5, 114, 0, 0, 586, 587, 5, 116, 0, 0, 587, 588, 5, 105, 0, 0, 588, 590, 5, 108, 0, 0, 589, 574, 1, 0, 0, 0, 589, 582, 1, 0, 0, 0, 590, 120, 1, 0, 0, 0, 591, 592, 5, 112, 0, 0, 592, 593, 5, 101, 0, 0, 593, 594, 5, 114, 0, 0, 594, 595, 5, 99, 0, 0, 595, 596, 5, 101, 0, 0, 596, 597, 5, 110, 0, 0, 597, 598, 5, 116, 0, 0, 598, 599, 5, 105, 0, 0, 599, 600, 5, 108, 0, 0, 600, 607, 5, 101, 0, 0, 601, 602, 5, 112, 0, 0, 602, 603, 5, 114, 0, 0, 603, 604, 5, 99, 0, 0, 604, 605, 5, 110, 0, 0, 605, 607, 5, 116, 0, 0, 606, 591, 1, 0, 0, 0, 606, 601, 1, 0, 0, 0, 607, 122, 1, 0, 0, 0, 608, 609, 5, 113, 0, 0, 609, 610, 5, 117, 0, 0, 610, 611, 5, 97, 0, 0, 611, 612, 5, 110, 0, 0, 612, 613, 5, 116, 0, 0, 613, 614, 5, 105, 0, 0, 614, 615, 5, 108, 0, 0, 615, 616, 5, 101, 0, 0, 616, 124, 1, 0, 0, 0, 617, 618, 5, 100, 0, 0, 618, 619, 5, 111, 0, 0, 619, 620, 5, 116, 0, 0, 620, 126, 1, 0, 0, 0, 621, 622, 5, 109, 0, 0, 622, 623, 5, 111, 0, 0, 623, 624, 5, 109, 0, 0, 624, 625, 5, 101, 0, 0, 625, 626, 5, 110, 0, 0, 626, 627, 5, 116, 0, 0, 627, 128, 1, 0, 0, 0, 628, 629, 5, 110, 0, 0, 629, 630, 5, 111, 0, 0, 630, 631, 5, 105, 0, 0, 631, 632, 5, 115, 0, 0, 632, 652, 5, 101, 0, 0, 633, 634, 5, 114, 0, 0, 634, 635, 5, 97, 0, 0, 635, 636, 5, 110, 0, 0, 636, 637, 5, 100, 0, 0, 637, 652, 5, 110, 0, 0, 638, 639, 5, 114, 0, 0, 639, 640, 5, 97, 0, 0, 640, 641, 5, 110, 0, 0, 641, 642, 5, 100, 0, 0, 642, 643, 5, 111, 0, 0, 643, 644, 5, 109, 0, 0, 644, 645, 5, 95, 0, 0, 645, 646, 5, 110, 0, 0, 646, 647, 5, 111, 0, 0, 647, 648, 5, 114, 0, 0, 648, 649, 5, 109, 0, 0, 649, 650, 5, 97, 0, 0, 650, 652, 5, 108, 0, 0, 651, 628, 1, 0, 0, 0, 651, 633, 1, 0, 0, 0, 651, 638, 1, 0, 0, 0, 652, 130, 1, 0, 0, 0, 653, 654, 5, 114, 0, 0, 654, 655, 5, 97, 0, 0, 655, 656, 5, 110, 0, 0, 656, 677, 5, 100, 0, 0, 657, 658, 5, 114, 0, 0, 658, 659, 5, 97, 0, 0, 659, 660, 5, 110, 0, 0, 660, 661, 5, 100, 0, 0, 661, 677, 5, 117, 0, 0, 662, 663, 5, 114, 0, 0, 663, 664, 5, 97, 0, 0, 664, 665, 5, 110, 0, 0, 665, 666, 5, 100, 0, 0, 666, 667, 5, 111, 0, 0, 667, 668, 5, 109, 0, 0, 668, 669, 5, 95, 0, 0, 669, 670, 5, 117, 0, 0, 670, 671, 5, 110, 0, 0, 671, 672, 5, 105, 0, 0, 672, 673, 5, 102, 0, 0, 673, 674, 5, 111, 0, 0, 674, 675, 5, 114, 0, 0, 675, 677, 5, 109, 0, 0, 676, 653, 1, 0, 0, 0, 676, 657, 1, 0, 0, 0, 676, 662, 1, 0, 0, 0, 677, 132, 1, 0, 0, 0, 678, 679, 5, 114, 0, 0, 679, 680, 5, 97, 0, 0, 680, 681, 5, 110, 0, 0, 681, 682, 5, 100, 0, 0, 682, 697, 5, 99, 0, 0, 683, 684, 5, 114, 0, 0, 684, 685, 5, 97, 0, 0, 685, 686, 5, 110, 0, 0, 686, 687, 5, 100, 0, 0, 687, 688, 5, 111, 0, 0, 688, 689, 5, 109, 0, 0, 689, 690, 5, 95, 0, 0, 690, 691, 5, 99, 0, 0, 691, 692, 5, 97, 0, 0, 692, 693, 5, 117, 0, 0, 693, 694, 5, 99, 0, 0, 694, 695, 5, 104, 0, 0, 695, 697, 5, 121, 0, 0, 696, 678, 1, 0, 0, 0, 696, 683, 1, 0, 0, 0, 697, 134, 1, 0, 0, 0, 698, 699, 5, 114, 0, 0, 699, 700, 5, 97, 0, 0, 700, 701, 5, 110, 0, 0, 701, 702, 5, 100, 0, 0, 702, 722, 5, 101, 0, 0, 703, 704, 5, 114, 0, 0, 704, 705, 5, 97, 0, 0, 705, 706, 5, 110, 0, 0, 706, 707, 5, 100, 0, 0, 707, 708, 5, 111, 0, 0, 708, 709, 5, 109, 0, 0, 709, 710, 5, 95, 0, 0, 710, 711, 5, 101, 0, 0, 711, 712, 5, 120, 0, 0, 712, 713, 5, 112, 0, 0, 713, 714, 5, 111, 0, 0, 714, 715, 5, 110, 0, 0, 715, 716, 5, 101, 0, 0, 716, 717, 5, 110, 0, 0, 717, 718, 5, 116, 0, 0, 718, 719, 5, 105, 0, 0, 719, 720, 5, 97, 0, 0, 720, 722, 5, 108, 0, 0, 721, 698, 1, 0, 0, 0, 721, 703, 1, 0, 0, 0, 722, 136, 1, 0, 0, 0, 723, 724, 5, 114, 0, 0, 724, 725, 5, 97, 0, 0, 725, 726, 5, 110, 0, 0, 726, 727, 5, 100, 0, 0, 727, 728, 5, 108, 0, 0, 728, 747, 5, 110, 0, 0, 729, 730, 5, 114, 0, 0, 730, 731, 5, 97, 0, 0, 731, 732, 5, 110, 0, 0, 732, 733, 5, 100, 0, 0, 733, 734, 5, 111, 0, 0, 734, 735, 5, 109, 0, 0, 735, 736, 5, 95, 0, 0, 736, 737, 5, 108, 0, 0, 737, 738, 5, 111, 0, 0, 738, 739, 5, 103, 0, 0, 739, 740, 5, 95, 0, 0, 740, 741, 5, 110, 0, 0, 741, 742, 5, 111, 0, 0, 742, 743, 5, 114, 0, 0, 743, 744, 5, 109, 0, 0, 744, 745, 5, 97, 0, 0, 745, 747, 5, 108, 0, 0, 746, 723, 1, 0, 0, 0, 746, 729, 1, 0, 0, 0, 747, 138, 1, 0, 0, 0, 748, 749, 5, 114, 0, 0, 749, 750, 5, 97, 0, 0, 750, 751, 5, 110, 0, 0, 751, 752, 5, 100, 0, 0, 752, 770, 5, 98, 0, 0, 753, 754, 5, 114, 0, 0, 754, 755, 5, 97, 0, 0, 755, 756, 5, 110, 0, 0, 756, 757, 5, 100, 0, 0, 757, 758, 5, 111, 0, 0, 758, 759, 5, 109, 0, 0, 759, 760, 5, 95, 0, 0, 760, 761, 5, 98, 0, 0, 761, 762, 5, 101, 0, 0, 762, 763, 5, 114, 0, 0, 763, 764, 5, 110, 0, 0, 764, 765, 5, 111, 0, 0, 765, 766, 5, 117, 0, 0, 766, 767, 5, 108, 0, 0, 767, 768, 5, 108, 0, 0, 768, 770, 5, 105, 0, 0, 769, 748, 1, 0, 0, 0, 769, 753, 1, 0, 0, 0, 770, 140, 1, 0, 0, 0, 771, 772, 5, 114, 0, 0, 772, 773, 5, 97, 0, 0, 773, 774, 5, 110, 0, 0, 774, 775, 5, 100, 0, 0, 775, 791, 5, 112, 0, 0, 776, 777, 5, 114, 0, 0, 777, 778, 5, 97, 0, 0, 778, 779, 5, 110, 0, 0, 779, 780, 5, 100, 0, 0, 780, 781, 5, 111, 0, 0, 781, 782, 5, 109, 0, 0, 782, 783, 5, 95, 0, 0, 783, 784, 5, 112, 0, 0, 784, 785, 5, 111, 0, 0, 785, 786, 5, 105, 0, 0, 786, 787, 5, 115, 0, 0, 787, 788, 5, 115, 0, 0, 788, 789, 5, 111, 0, 0, 789, 791, 5, 110, 0, 0, 790, 771, 1, 0, 0, 0, 790, 776, 1, 0, 0, 0, 791, 142, 1, 0, 0, 0, 792, 793, 5, 99, 0, 0, 793, 794, 5, 111, 0, 0, 794, 795, 5, 115, 0, 0, 795, 796, 5, 115, 0, 0, 796, 797, 5, 105, 0, 0, 797, 798, 5, 109, 0, 0, 798, 144, 1, 0, 0, 0, 799, 800, 5, 102, 0, 0, 800, 801, 5, 108, 0, 0, 801, 802, 5, 105, 0, 0, 802, 803, 5, 112, 0, 0, 803, 146, 1, 0, 0, 0, 804, 805, 5, 99, 0, 0, 805, 806, 5, 111, 0, 0, 806, 807, 5, 118, 0, 0, 807, 148, 1, 0, 0, 0, 808, 809, 5, 115, 0, 0, 809, 810, 5, 111, 0, 0, 810, 811, 5, 114, 0, 0, 811, 812, 5, 116, 0, 0, 812, 150, 1, 0, 0, 0, 813, 814, 5, 97, 0, 0, 814, 815, 5, 112, 0, 0, 815, 816, 5, 112, 0, 0, 816, 817, 5, 101, 0, 0, 817, 818, 5, 110, 0, 0, 818, 819, 5, 100, 0, 0, 819, 152, 1, 0, 0, 0, 820, 821, 5, 43, 0, 0, 821, 154, 1, 0, 0, 0, 822, 823, 5, 45, 0, 0, 823, 156, 1, 0, 0, 0, 824, 825, 5, 42, 0, 0, 825, 158, 1, 0, 0, 0, 826, 827, 5, 47, 0, 0, 827, 160, 1, 0, 0, 0, 828, 829, 5, 37, 0, 0, 829, 162, 1, 0, 0, 0, 830, 831, 5, 94, 0, 0, 831, 164, 1, 0, 0, 0, 832, 833, 5, 62, 0, 0, 833, 834, 5, 61, 0, 0, 834, 166, 1, 0, 0, 0, 835, 836, 5, 62, 0, 0, 836, 168, 1, 0, 0, 0, 837, 838, 5, 60, 0, 0, 838, 839, 5, 61, 0, 0, 839, 170, 1, 0, 0, 0, 840, 841, 5, 60, 0, 0, 841, 172, 1, 0, 0, 0, 842, 843, 5, 61, 0, 0, 843, 844, 5, 61, 0, 0, 844, 174, 1, 0, 0, 0, 845, 846, 5, 61, 0, 0, 846, 176, 1, 0, 0, 0, 847, 848, 5, 33, 0, 0, 848, 849, 5, 61, 0, 0, 849, 178, 1, 0, 0, 0, 850, 851, 5, 124, 0, 0, 851, 180, 1, 0, 0, 0, 852, 853, 5, 40, 0, 0, 853, 182, 1, 0, 0, 0, 854, 855, 5, 41, 0, 0, 855, 184, 1, 0, 0, 0, 856, 857, 5, 44, 0, 0, 857, 186, 1, 0, 0, 0, 858, 859, 5, 59, 0, 0, 859, 188, 1, 0, 0, 0, 860, 861, 5, 45, 0, 0, 861, 862, 5, 62, 0, 0, 862, 190, 1, 0, 0, 0, 863, 864, 5, 91, 0, 0, 864, 192, 1, 0, 0, 0, 865, 866, 5, 93, 0, 0, 866, 194, 1, 0, 0, 0, 867, 868, 5, 112, 0, 0, 868, 873, 5, 105, 0, 0, 869, 870, 5, 80, 0, 0, 870, 873, 5, 73, 0, 0, 871, 873, 7, 0, 0, 0, 872, 867, 1, 0, 0, 0, 872, 869, 1, 0, 0, 0, 872, 871, 1, 0, 0, 0, 873, 196, 1, 0, 0, 0, 874, 876, 7, 1, 0, 0, 875, 874, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 875, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 885, 1, 0, 0, 0, 879, 881, 5, 46, 0, 0, 880, 882, 7, 1, 0, 0, 881, 880, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 881, 1, 0, 0, 0, 883, 884, 1, 0, 0, 0, 884, 886, 1, 0, 0, 0, 885, 879, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 198, 1, 0, 0, 0, 887, 891, 7, 2, 0, 0, 888, 890, 7, 3, 0, 0, 889, 888, 1, 0, 0, 0, 890, 893, 1, 0, 0, 0, 891, 889, 1, 0, 0, 0, 891, 892, 1, 0, 0, 0, 892, 200, 1, 0, 0, 0, 893, 891, 1, 0, 0, 0, 894, 896, 7, 4, 0, 0, 895, 894, 1, 0, 0, 0, 896, 897, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 897, 898, 1, 0, 0, 0, 898, 899, 1, 0, 0, 0, 899, 900, 6, 100, 0, 0, 900, 202, 1, 0, 0, 0, 22, 0, 395, 410, 486, 503, 521, 534, 589, 606, 651, 676, 696, 721, 746, 769, 790, 872, 877, 883, 885, 891, 897, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 103, 909, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 400, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 415, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 491, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 508, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 526, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 539, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 594, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 611, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 656, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 681, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 701, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 726, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 751, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 774, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 795, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 96, 1, 96, 1, 97, 1, 97, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 881, 8, 99, 1, 100, 4, 100, 884, 8, 100, 11, 100, 12, 100, 885, 1, 100, 1, 100, 4, 100, 890, 8, 100, 11, 100, 12, 100, 891, 3, 100, 894, 8, 100, 1, 101, 1, 101, 5, 101, 898, 8, 101, 10, 101, 12, 101, 901, 9, 101, 1, 102, 4, 102, 904, 8, 102, 11, 102, 12, 102, 905, 1, 102, 1, 102, 0, 0, 103, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 1, 0, 5, 2, 0, 69, 69, 101, 101, 1, 0, 48, 57, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 3, 0, 9, 10, 13, 13, 32, 32, 932, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 1, 207, 1, 0, 0, 0, 3, 211, 1, 0, 0, 0, 5, 215, 1, 0, 0, 0, 7, 219, 1, 0, 0, 0, 9, 224, 1, 0, 0, 0, 11, 229, 1, 0, 0, 0, 13, 234, 1, 0, 0, 0, 15, 240, 1, 0, 0, 0, 17, 245, 1, 0, 0, 0, 19, 250, 1, 0, 0, 0, 21, 255, 1, 0, 0, 0, 23, 261, 1, 0, 0, 0, 25, 267, 1, 0, 0, 0, 27, 273, 1, 0, 0, 0, 29, 277, 1, 0, 0, 0, 31, 282, 1, 0, 0, 0, 33, 285, 1, 0, 0, 0, 35, 289, 1, 0, 0, 0, 37, 293, 1, 0, 0, 0, 39, 298, 1, 0, 0, 0, 41, 303, 1, 0, 0, 0, 43, 308, 1, 0, 0, 0, 45, 313, 1, 0, 0, 0, 47, 319, 1, 0, 0, 0, 49, 325, 1, 0, 0, 0, 51, 331, 1, 0, 0, 0, 53, 336, 1, 0, 0, 0, 55, 342, 1, 0, 0, 0, 57, 348, 1, 0, 0, 0, 59, 352, 1, 0, 0, 0, 61, 357, 1, 0, 0, 0, 63, 363, 1, 0, 0, 0, 65, 367, 1, 0, 0, 0, 67, 372, 1, 0, 0, 0, 69, 378, 1, 0, 0, 0, 71, 399, 1, 0, 0, 0, 73, 414, 1, 0, 0, 0, 75, 416, 1, 0, 0, 0, 77, 421, 1, 0, 0, 0, 79, 426, 1, 0, 0, 0, 81, 437, 1, 0, 0, 0, 83, 443, 1, 0, 0, 0, 85, 448, 1, 0, 0, 0, 87, 457, 1, 0, 0, 0, 89, 462, 1, 0, 0, 0, 91, 467, 1, 0, 0, 0, 93, 490, 1, 0, 0, 0, 95, 507, 1, 0, 0, 0, 97, 509, 1, 0, 0, 0, 99, 525, 1, 0, 0, 0, 101, 538, 1, 0, 0, 0, 103, 540, 1, 0, 0, 0, 105, 546, 1, 0, 0, 0, 107, 551, 1, 0, 0, 0, 109, 556, 1, 0, 0, 0, 111, 561, 1, 0, 0, 0, 113, 565, 1, 0, 0, 0, 115, 570, 1, 0, 0, 0, 117, 574, 1, 0, 0, 0, 119, 593, 1, 0, 0, 0, 121, 610, 1, 0, 0, 0, 123, 612, 1, 0, 0, 0, 125, 621, 1, 0, 0, 0, 127, 625, 1, 0, 0, 0, 129, 655, 1, 0, 0, 0, 131, 680, 1, 0, 0, 0, 133, 700, 1, 0, 0, 0, 135, 725, 1, 0, 0, 0, 137, 750, 1, 0, 0, 0, 139, 773, 1, 0, 0, 0, 141, 794, 1, 0, 0, 0, 143, 796, 1, 0, 0, 0, 145, 803, 1, 0, 0, 0, 147, 808, 1, 0, 0, 0, 149, 812, 1, 0, 0, 0, 151, 817, 1, 0, 0, 0, 153, 824, 1, 0, 0, 0, 155, 826, 1, 0, 0, 0, 157, 828, 1, 0, 0, 0, 159, 830, 1, 0, 0, 0, 161, 832, 1, 0, 0, 0, 163, 834, 1, 0, 0, 0, 165, 836, 1, 0, 0, 0, 167, 839, 1, 0, 0, 0, 169, 841, 1, 0, 0, 0, 171, 844, 1, 0, 0, 0, 173, 846, 1, 0, 0, 0, 175, 849, 1, 0, 0, 0, 177, 851, 1, 0, 0, 0, 179, 854, 1, 0, 0, 0, 181, 856, 1, 0, 0, 0, 183, 858, 1, 0, 0, 0, 185, 860, 1, 0, 0, 0, 187, 862, 1, 0, 0, 0, 189, 864, 1, 0, 0, 0, 191, 867, 1, 0, 0, 0, 193, 869, 1, 0, 0, 0, 195, 871, 1, 0, 0, 0, 197, 873, 1, 0, 0, 0, 199, 880, 1, 0, 0, 0, 201, 883, 1, 0, 0, 0, 203, 895, 1, 0, 0, 0, 205, 903, 1, 0, 0, 0, 207, 208, 5, 115, 0, 0, 208, 209, 5, 105, 0, 0, 209, 210, 5, 110, 0, 0, 210, 2, 1, 0, 0, 0, 211, 212, 5, 99, 0, 0, 212, 213, 5, 111, 0, 0, 213, 214, 5, 115, 0, 0, 214, 4, 1, 0, 0, 0, 215, 216, 5, 116, 0, 0, 216, 217, 5, 97, 0, 0, 217, 218, 5, 110, 0, 0, 218, 6, 1, 0, 0, 0, 219, 220, 5, 97, 0, 0, 220, 221, 5, 115, 0, 0, 221, 222, 5, 105, 0, 0, 222, 223, 5, 110, 0, 0, 223, 8, 1, 0, 0, 0, 224, 225, 5, 97, 0, 0, 225, 226, 5, 99, 0, 0, 226, 227, 5, 111, 0, 0, 227, 228, 5, 115, 0, 0, 228, 10, 1, 0, 0, 0, 229, 230, 5, 97, 0, 0, 230, 231, 5, 116, 0, 0, 231, 232, 5, 97, 0, 0, 232, 233, 5, 110, 0, 0, 233, 12, 1, 0, 0, 0, 234, 235, 5, 97, 0, 0, 235, 236, 5, 116, 0, 0, 236, 237, 5, 97, 0, 0, 237, 238, 5, 110, 0, 0, 238, 239, 5, 50, 0, 0, 239, 14, 1, 0, 0, 0, 240, 241, 5, 115, 0, 0, 241, 242, 5, 105, 0, 0, 242, 243, 5, 110, 0, 0, 243, 244, 5, 104, 0, 0, 244, 16, 1, 0, 0, 0, 245, 246, 5, 99, 0, 0, 246, 247, 5, 111, 0, 0, 247, 248, 5, 115, 0, 0, 248, 249, 5, 104, 0, 0, 249, 18, 1, 0, 0, 0, 250, 251, 5, 116, 0, 0, 251, 252, 5, 97, 0, 0, 252, 253, 5, 110, 0, 0, 253, 254, 5, 104, 0, 0, 254, 20, 1, 0, 0, 0, 255, 256, 5, 97, 0, 0, 256, 257, 5, 115, 0, 0, 257, 258, 5, 105, 0, 0, 258, 259, 5, 110, 0, 0, 259, 260, 5, 104, 0, 0, 260, 22, 1, 0, 0, 0, 261, 262, 5, 97, 0, 0, 262, 263, 5, 99, 0, 0, 263, 264, 5, 111, 0, 0, 264, 265, 5, 115, 0, 0, 265, 266, 5, 104, 0, 0, 266, 24, 1, 0, 0, 0, 267, 268, 5, 97, 0, 0, 268, 269, 5, 116, 0, 0, 269, 270, 5, 97, 0, 0, 270, 271, 5, 110, 0, 0, 271, 272, 5, 104, 0, 0, 272, 26, 1, 0, 0, 0, 273, 274, 5, 97, 0, 0, 274, 275, 5, 98, 0, 0, 275, 276, 5, 115, 0, 0, 276, 28, 1, 0, 0, 0, 277, 278, 5, 115, 0, 0, 278, 279, 5, 113, 0, 0, 279, 280, 5, 114, 0, 0, 280, 281, 5, 116, 0, 0, 281, 30, 1, 0, 0, 0, 282, 283, 5, 108, 0, 0, 283, 284, 5, 110, 0, 0, 284, 32, 1, 0, 0, 0, 285, 286, 5, 108, 0, 0, 286, 287, 5, 111, 0, 0, 287, 288, 5, 103, 0, 0, 288, 34, 1, 0, 0, 0, 289, 290, 5, 101, 0, 0, 290, 291, 5, 120, 0, 0, 291, 292, 5, 112, 0, 0, 292, 36, 1, 0, 0, 0, 293, 294, 5, 115, 0, 0, 294, 295, 5, 109, 0, 0, 295, 296, 5, 105, 0, 0, 296, 297, 5, 110, 0, 0, 297, 38, 1, 0, 0, 0, 298, 299, 5, 115, 0, 0, 299, 300, 5, 109, 0, 0, 300, 301, 5, 97, 0, 0, 301, 302, 5, 120, 0, 0, 302, 40, 1, 0, 0, 0, 303, 304, 5, 116, 0, 0, 304, 305, 5, 109, 0, 0, 305, 306, 5, 105, 0, 0, 306, 307, 5, 110, 0, 0, 307, 42, 1, 0, 0, 0, 308, 309, 5, 116, 0, 0, 309, 310, 5, 109, 0, 0, 310, 311, 5, 97, 0, 0, 311, 312, 5, 120, 0, 0, 312, 44, 1, 0, 0, 0, 313, 314, 5, 116, 0, 0, 314, 315, 5, 110, 0, 0, 315, 316, 5, 111, 0, 0, 316, 317, 5, 114, 0, 0, 317, 318, 5, 109, 0, 0, 318, 46, 1, 0, 0, 0, 319, 320, 5, 115, 0, 0, 320, 321, 5, 110, 0, 0, 321, 322, 5, 111, 0, 0, 322, 323, 5, 114, 0, 0, 323, 324, 5, 109, 0, 0, 324, 48, 1, 0, 0, 0, 325, 326, 5, 102, 0, 0, 326, 327, 5, 108, 0, 0, 327, 328, 5, 111, 0, 0, 328, 329, 5, 111, 0, 0, 329, 330, 5, 114, 0, 0, 330, 50, 1, 0, 0, 0, 331, 332, 5, 99, 0, 0, 332, 333, 5, 101, 0, 0, 333, 334, 5, 105, 0, 0, 334, 335, 5, 108, 0, 0, 335, 52, 1, 0, 0, 0, 336, 337, 5, 114, 0, 0, 337, 338, 5, 111, 0, 0, 338, 339, 5, 117, 0, 0, 339, 340, 5, 110, 0, 0, 340, 341, 5, 100, 0, 0, 341, 54, 1, 0, 0, 0, 342, 343, 5, 103, 0, 0, 343, 344, 5, 97, 0, 0, 344, 345, 5, 109, 0, 0, 345, 346, 5, 109, 0, 0, 346, 347, 5, 97, 0, 0, 347, 56, 1, 0, 0, 0, 348, 349, 5, 112, 0, 0, 349, 350, 5, 111, 0, 0, 350, 351, 5, 119, 0, 0, 351, 58, 1, 0, 0, 0, 352, 353, 5, 115, 0, 0, 353, 354, 5, 105, 0, 0, 354, 355, 5, 103, 0, 0, 355, 356, 5, 109, 0, 0, 356, 60, 1, 0, 0, 0, 357, 358, 5, 99, 0, 0, 358, 359, 5, 108, 0, 0, 359, 360, 5, 97, 0, 0, 360, 361, 5, 109, 0, 0, 361, 362, 5, 112, 0, 0, 362, 62, 1, 0, 0, 0, 363, 364, 5, 102, 0, 0, 364, 365, 5, 102, 0, 0, 365, 366, 5, 116, 0, 0, 366, 64, 1, 0, 0, 0, 367, 368, 5, 105, 0, 0, 368, 369, 5, 102, 0, 0, 369, 370, 5, 102, 0, 0, 370, 371, 5, 116, 0, 0, 371, 66, 1, 0, 0, 0, 372, 373, 5, 97, 0, 0, 373, 374, 5, 110, 0, 0, 374, 375, 5, 103, 0, 0, 375, 376, 5, 108, 0, 0, 376, 377, 5, 101, 0, 0, 377, 68, 1, 0, 0, 0, 378, 379, 5, 112, 0, 0, 379, 380, 5, 114, 0, 0, 380, 381, 5, 105, 0, 0, 381, 382, 5, 110, 0, 0, 382, 383, 5, 116, 0, 0, 383, 70, 1, 0, 0, 0, 384, 385, 5, 112, 0, 0, 385, 386, 5, 114, 0, 0, 386, 387, 5, 105, 0, 0, 387, 388, 5, 110, 0, 0, 388, 389, 5, 116, 0, 0, 389, 390, 5, 95, 0, 0, 390, 391, 5, 115, 0, 0, 391, 392, 5, 104, 0, 0, 392, 393, 5, 97, 0, 0, 393, 394, 5, 112, 0, 0, 394, 400, 5, 101, 0, 0, 395, 396, 5, 112, 0, 0, 396, 397, 5, 115, 0, 0, 397, 398, 5, 104, 0, 0, 398, 400, 5, 112, 0, 0, 399, 384, 1, 0, 0, 0, 399, 395, 1, 0, 0, 0, 400, 72, 1, 0, 0, 0, 401, 402, 5, 110, 0, 0, 402, 403, 5, 118, 0, 0, 403, 415, 5, 108, 0, 0, 404, 405, 5, 110, 0, 0, 405, 406, 5, 97, 0, 0, 406, 407, 5, 110, 0, 0, 407, 408, 5, 95, 0, 0, 408, 409, 5, 116, 0, 0, 409, 410, 5, 111, 0, 0, 410, 411, 5, 95, 0, 0, 411, 412, 5, 110, 0, 0, 412, 413, 5, 117, 0, 0, 413, 415, 5, 109, 0, 0, 414, 401, 1, 0, 0, 0, 414, 404, 1, 0, 0, 0, 415, 74, 1, 0, 0, 0, 416, 417, 5, 108, 0, 0, 417, 418, 5, 101, 0, 0, 418, 419, 5, 114, 0, 0, 419, 420, 5, 112, 0, 0, 420, 76, 1, 0, 0, 0, 421, 422, 5, 115, 0, 0, 422, 423, 5, 116, 0, 0, 423, 424, 5, 101, 0, 0, 424, 425, 5, 112, 0, 0, 425, 78, 1, 0, 0, 0, 426, 427, 5, 115, 0, 0, 427, 428, 5, 109, 0, 0, 428, 429, 5, 111, 0, 0, 429, 430, 5, 111, 0, 0, 430, 431, 5, 116, 0, 0, 431, 432, 5, 104, 0, 0, 432, 433, 5, 115, 0, 0, 433, 434, 5, 116, 0, 0, 434, 435, 5, 101, 0, 0, 435, 436, 5, 112, 0, 0, 436, 80, 1, 0, 0, 0, 437, 438, 5, 102, 0, 0, 438, 439, 5, 114, 0, 0, 439, 440, 5, 97, 0, 0, 440, 441, 5, 99, 0, 0, 441, 442, 5, 116, 0, 0, 442, 82, 1, 0, 0, 0, 443, 444, 5, 114, 0, 0, 444, 445, 5, 101, 0, 0, 445, 446, 5, 108, 0, 0, 446, 447, 5, 117, 0, 0, 447, 84, 1, 0, 0, 0, 448, 449, 5, 115, 0, 0, 449, 450, 5, 111, 0, 0, 450, 451, 5, 102, 0, 0, 451, 452, 5, 116, 0, 0, 452, 453, 5, 112, 0, 0, 453, 454, 5, 108, 0, 0, 454, 455, 5, 117, 0, 0, 455, 456, 5, 115, 0, 0, 456, 86, 1, 0, 0, 0, 457, 458, 5, 103, 0, 0, 458, 459, 5, 101, 0, 0, 459, 460, 5, 108, 0, 0, 460, 461, 5, 117, 0, 0, 461, 88, 1, 0, 0, 0, 462, 463, 5, 115, 0, 0, 463, 464, 5, 105, 0, 0, 464, 465, 5, 103, 0, 0, 465, 466, 5, 110, 0, 0, 466, 90, 1, 0, 0, 0, 467, 468, 5, 109, 0, 0, 468, 469, 5, 97, 0, 0, 469, 470, 5, 112, 0, 0, 470, 92, 1, 0, 0, 0, 471, 472, 5, 101, 0, 0, 472, 473, 5, 122, 0, 0, 473, 474, 5, 99, 0, 0, 474, 475, 5, 111, 0, 0, 475, 476, 5, 110, 0, 0, 476, 477, 5, 118, 0, 0, 477, 478, 5, 111, 0, 0, 478, 479, 5, 108, 0, 0, 479, 480, 5, 117, 0, 0, 480, 481, 5, 116, 0, 0, 481, 482, 5, 105, 0, 0, 482, 483, 5, 111, 0, 0, 483, 491, 5, 110, 0, 0, 484, 485, 5, 101, 0, 0, 485, 486, 5, 122, 0, 0, 486, 487, 5, 99, 0, 0, 487, 488, 5, 111, 0, 0, 488, 489, 5, 110, 0, 0, 489, 491, 5, 118, 0, 0, 490, 471, 1, 0, 0, 0, 490, 484, 1, 0, 0, 0, 491, 94, 1, 0, 0, 0, 492, 493, 5, 99, 0, 0, 493, 494, 5, 111, 0, 0, 494, 495, 5, 110, 0, 0, 495, 496, 5, 118, 0, 0, 496, 497, 5, 111, 0, 0, 497, 498, 5, 108, 0, 0, 498, 499, 5, 117, 0, 0, 499, 500, 5, 116, 0, 0, 500, 501, 5, 105, 0, 0, 501, 502, 5, 111, 0, 0, 502, 508, 5, 110, 0, 0, 503, 504, 5, 99, 0, 0, 504, 505, 5, 111, 0, 0, 505, 506, 5, 110, 0, 0, 506, 508, 5, 118, 0, 0, 507, 492, 1, 0, 0, 0, 507, 503, 1, 0, 0, 0, 508, 96, 1, 0, 0, 0, 509, 510, 5, 115, 0, 0, 510, 511, 5, 119, 0, 0, 511, 512, 5, 97, 0, 0, 512, 513, 5, 112, 0, 0, 513, 98, 1, 0, 0, 0, 514, 515, 5, 112, 0, 0, 515, 516, 5, 101, 0, 0, 516, 517, 5, 114, 0, 0, 517, 518, 5, 109, 0, 0, 518, 519, 5, 117, 0, 0, 519, 520, 5, 116, 0, 0, 520, 526, 5, 101, 0, 0, 521, 522, 5, 112, 0, 0, 522, 523, 5, 101, 0, 0, 523, 524, 5, 114, 0, 0, 524, 526, 5, 109, 0, 0, 525, 514, 1, 0, 0, 0, 525, 521, 1, 0, 0, 0, 526, 100, 1, 0, 0, 0, 527, 528, 5, 114, 0, 0, 528, 529, 5, 101, 0, 0, 529, 530, 5, 115, 0, 0, 530, 531, 5, 104, 0, 0, 531, 532, 5, 97, 0, 0, 532, 533, 5, 112, 0, 0, 533, 539, 5, 101, 0, 0, 534, 535, 5, 114, 0, 0, 535, 536, 5, 115, 0, 0, 536, 537, 5, 104, 0, 0, 537, 539, 5, 112, 0, 0, 538, 527, 1, 0, 0, 0, 538, 534, 1, 0, 0, 0, 539, 102, 1, 0, 0, 0, 540, 541, 5, 114, 0, 0, 541, 542, 5, 97, 0, 0, 542, 543, 5, 110, 0, 0, 543, 544, 5, 103, 0, 0, 544, 545, 5, 101, 0, 0, 545, 104, 1, 0, 0, 0, 546, 547, 5, 116, 0, 0, 547, 548, 5, 111, 0, 0, 548, 549, 5, 112, 0, 0, 549, 550, 5, 107, 0, 0, 550, 106, 1, 0, 0, 0, 551, 552, 5, 98, 0, 0, 552, 553, 5, 111, 0, 0, 553, 554, 5, 116, 0, 0, 554, 555, 5, 107, 0, 0, 555, 108, 1, 0, 0, 0, 556, 557, 5, 112, 0, 0, 557, 558, 5, 105, 0, 0, 558, 559, 5, 110, 0, 0, 559, 560, 5, 118, 0, 0, 560, 110, 1, 0, 0, 0, 561, 562, 5, 115, 0, 0, 562, 563, 5, 117, 0, 0, 563, 564, 5, 109, 0, 0, 564, 112, 1, 0, 0, 0, 565, 566, 5, 109, 0, 0, 566, 567, 5, 101, 0, 0, 567, 568, 5, 97, 0, 0, 568, 569, 5, 110, 0, 0, 569, 114, 1, 0, 0, 0, 570, 571, 5, 115, 0, 0, 571, 572, 5, 116, 0, 0, 572, 573, 5, 100, 0, 0, 573, 116, 1, 0, 0, 0, 574, 575, 5, 118, 0, 0, 575, 576, 5, 97, 0, 0, 576, 577, 5, 114, 0, 0, 577, 118, 1, 0, 0, 0, 578, 579, 5, 113, 0, 0, 579, 580, 5, 117, 0, 0, 580, 581, 5, 97, 0, 0, 581, 582, 5, 114, 0, 0, 582, 583, 5, 116, 0, 0, 583, 584, 5, 105, 0, 0, 584, 585, 5, 108, 0, 0, 585, 594, 5, 101, 0, 0, 586, 587, 5, 113, 0, 0, 587, 588, 5, 117, 0, 0, 588, 589, 5, 97, 0, 0, 589, 590, 5, 114, 0, 0, 590, 591, 5, 116, 0, 0, 591, 592, 5, 105, 0, 0, 592, 594, 5, 108, 0, 0, 593, 578, 1, 0, 0, 0, 593, 586, 1, 0, 0, 0, 594, 120, 1, 0, 0, 0, 595, 596, 5, 112, 0, 0, 596, 597, 5, 101, 0, 0, 597, 598, 5, 114, 0, 0, 598, 599, 5, 99, 0, 0, 599, 600, 5, 101, 0, 0, 600, 601, 5, 110, 0, 0, 601, 602, 5, 116, 0, 0, 602, 603, 5, 105, 0, 0, 603, 604, 5, 108, 0, 0, 604, 611, 5, 101, 0, 0, 605, 606, 5, 112, 0, 0, 606, 607, 5, 114, 0, 0, 607, 608, 5, 99, 0, 0, 608, 609, 5, 110, 0, 0, 609, 611, 5, 116, 0, 0, 610, 595, 1, 0, 0, 0, 610, 605, 1, 0, 0, 0, 611, 122, 1, 0, 0, 0, 612, 613, 5, 113, 0, 0, 613, 614, 5, 117, 0, 0, 614, 615, 5, 97, 0, 0, 615, 616, 5, 110, 0, 0, 616, 617, 5, 116, 0, 0, 617, 618, 5, 105, 0, 0, 618, 619, 5, 108, 0, 0, 619, 620, 5, 101, 0, 0, 620, 124, 1, 0, 0, 0, 621, 622, 5, 100, 0, 0, 622, 623, 5, 111, 0, 0, 623, 624, 5, 116, 0, 0, 624, 126, 1, 0, 0, 0, 625, 626, 5, 109, 0, 0, 626, 627, 5, 111, 0, 0, 627, 628, 5, 109, 0, 0, 628, 629, 5, 101, 0, 0, 629, 630, 5, 110, 0, 0, 630, 631, 5, 116, 0, 0, 631, 128, 1, 0, 0, 0, 632, 633, 5, 110, 0, 0, 633, 634, 5, 111, 0, 0, 634, 635, 5, 105, 0, 0, 635, 636, 5, 115, 0, 0, 636, 656, 5, 101, 0, 0, 637, 638, 5, 114, 0, 0, 638, 639, 5, 97, 0, 0, 639, 640, 5, 110, 0, 0, 640, 641, 5, 100, 0, 0, 641, 656, 5, 110, 0, 0, 642, 643, 5, 114, 0, 0, 643, 644, 5, 97, 0, 0, 644, 645, 5, 110, 0, 0, 645, 646, 5, 100, 0, 0, 646, 647, 5, 111, 0, 0, 647, 648, 5, 109, 0, 0, 648, 649, 5, 95, 0, 0, 649, 650, 5, 110, 0, 0, 650, 651, 5, 111, 0, 0, 651, 652, 5, 114, 0, 0, 652, 653, 5, 109, 0, 0, 653, 654, 5, 97, 0, 0, 654, 656, 5, 108, 0, 0, 655, 632, 1, 0, 0, 0, 655, 637, 1, 0, 0, 0, 655, 642, 1, 0, 0, 0, 656, 130, 1, 0, 0, 0, 657, 658, 5, 114, 0, 0, 658, 659, 5, 97, 0, 0, 659, 660, 5, 110, 0, 0, 660, 681, 5, 100, 0, 0, 661, 662, 5, 114, 0, 0, 662, 663, 5, 97, 0, 0, 663, 664, 5, 110, 0, 0, 664, 665, 5, 100, 0, 0, 665, 681, 5, 117, 0, 0, 666, 667, 5, 114, 0, 0, 667, 668, 5, 97, 0, 0, 668, 669, 5, 110, 0, 0, 669, 670, 5, 100, 0, 0, 670, 671, 5, 111, 0, 0, 671, 672, 5, 109, 0, 0, 672, 673, 5, 95, 0, 0, 673, 674, 5, 117, 0, 0, 674, 675, 5, 110, 0, 0, 675, 676, 5, 105, 0, 0, 676, 677, 5, 102, 0, 0, 677, 678, 5, 111, 0, 0, 678, 679, 5, 114, 0, 0, 679, 681, 5, 109, 0, 0, 680, 657, 1, 0, 0, 0, 680, 661, 1, 0, 0, 0, 680, 666, 1, 0, 0, 0, 681, 132, 1, 0, 0, 0, 682, 683, 5, 114, 0, 0, 683, 684, 5, 97, 0, 0, 684, 685, 5, 110, 0, 0, 685, 686, 5, 100, 0, 0, 686, 701, 5, 99, 0, 0, 687, 688, 5, 114, 0, 0, 688, 689, 5, 97, 0, 0, 689, 690, 5, 110, 0, 0, 690, 691, 5, 100, 0, 0, 691, 692, 5, 111, 0, 0, 692, 693, 5, 109, 0, 0, 693, 694, 5, 95, 0, 0, 694, 695, 5, 99, 0, 0, 695, 696, 5, 97, 0, 0, 696, 697, 5, 117, 0, 0, 697, 698, 5, 99, 0, 0, 698, 699, 5, 104, 0, 0, 699, 701, 5, 121, 0, 0, 700, 682, 1, 0, 0, 0, 700, 687, 1, 0, 0, 0, 701, 134, 1, 0, 0, 0, 702, 703, 5, 114, 0, 0, 703, 704, 5, 97, 0, 0, 704, 705, 5, 110, 0, 0, 705, 706, 5, 100, 0, 0, 706, 726, 5, 101, 0, 0, 707, 708, 5, 114, 0, 0, 708, 709, 5, 97, 0, 0, 709, 710, 5, 110, 0, 0, 710, 711, 5, 100, 0, 0, 711, 712, 5, 111, 0, 0, 712, 713, 5, 109, 0, 0, 713, 714, 5, 95, 0, 0, 714, 715, 5, 101, 0, 0, 715, 716, 5, 120, 0, 0, 716, 717, 5, 112, 0, 0, 717, 718, 5, 111, 0, 0, 718, 719, 5, 110, 0, 0, 719, 720, 5, 101, 0, 0, 720, 721, 5, 110, 0, 0, 721, 722, 5, 116, 0, 0, 722, 723, 5, 105, 0, 0, 723, 724, 5, 97, 0, 0, 724, 726, 5, 108, 0, 0, 725, 702, 1, 0, 0, 0, 725, 707, 1, 0, 0, 0, 726, 136, 1, 0, 0, 0, 727, 728, 5, 114, 0, 0, 728, 729, 5, 97, 0, 0, 729, 730, 5, 110, 0, 0, 730, 731, 5, 100, 0, 0, 731, 732, 5, 108, 0, 0, 732, 751, 5, 110, 0, 0, 733, 734, 5, 114, 0, 0, 734, 735, 5, 97, 0, 0, 735, 736, 5, 110, 0, 0, 736, 737, 5, 100, 0, 0, 737, 738, 5, 111, 0, 0, 738, 739, 5, 109, 0, 0, 739, 740, 5, 95, 0, 0, 740, 741, 5, 108, 0, 0, 741, 742, 5, 111, 0, 0, 742, 743, 5, 103, 0, 0, 743, 744, 5, 95, 0, 0, 744, 745, 5, 110, 0, 0, 745, 746, 5, 111, 0, 0, 746, 747, 5, 114, 0, 0, 747, 748, 5, 109, 0, 0, 748, 749, 5, 97, 0, 0, 749, 751, 5, 108, 0, 0, 750, 727, 1, 0, 0, 0, 750, 733, 1, 0, 0, 0, 751, 138, 1, 0, 0, 0, 752, 753, 5, 114, 0, 0, 753, 754, 5, 97, 0, 0, 754, 755, 5, 110, 0, 0, 755, 756, 5, 100, 0, 0, 756, 774, 5, 98, 0, 0, 757, 758, 5, 114, 0, 0, 758, 759, 5, 97, 0, 0, 759, 760, 5, 110, 0, 0, 760, 761, 5, 100, 0, 0, 761, 762, 5, 111, 0, 0, 762, 763, 5, 109, 0, 0, 763, 764, 5, 95, 0, 0, 764, 765, 5, 98, 0, 0, 765, 766, 5, 101, 0, 0, 766, 767, 5, 114, 0, 0, 767, 768, 5, 110, 0, 0, 768, 769, 5, 111, 0, 0, 769, 770, 5, 117, 0, 0, 770, 771, 5, 108, 0, 0, 771, 772, 5, 108, 0, 0, 772, 774, 5, 105, 0, 0, 773, 752, 1, 0, 0, 0, 773, 757, 1, 0, 0, 0, 774, 140, 1, 0, 0, 0, 775, 776, 5, 114, 0, 0, 776, 777, 5, 97, 0, 0, 777, 778, 5, 110, 0, 0, 778, 779, 5, 100, 0, 0, 779, 795, 5, 112, 0, 0, 780, 781, 5, 114, 0, 0, 781, 782, 5, 97, 0, 0, 782, 783, 5, 110, 0, 0, 783, 784, 5, 100, 0, 0, 784, 785, 5, 111, 0, 0, 785, 786, 5, 109, 0, 0, 786, 787, 5, 95, 0, 0, 787, 788, 5, 112, 0, 0, 788, 789, 5, 111, 0, 0, 789, 790, 5, 105, 0, 0, 790, 791, 5, 115, 0, 0, 791, 792, 5, 115, 0, 0, 792, 793, 5, 111, 0, 0, 793, 795, 5, 110, 0, 0, 794, 775, 1, 0, 0, 0, 794, 780, 1, 0, 0, 0, 795, 142, 1, 0, 0, 0, 796, 797, 5, 99, 0, 0, 797, 798, 5, 111, 0, 0, 798, 799, 5, 115, 0, 0, 799, 800, 5, 115, 0, 0, 800, 801, 5, 105, 0, 0, 801, 802, 5, 109, 0, 0, 802, 144, 1, 0, 0, 0, 803, 804, 5, 102, 0, 0, 804, 805, 5, 108, 0, 0, 805, 806, 5, 105, 0, 0, 806, 807, 5, 112, 0, 0, 807, 146, 1, 0, 0, 0, 808, 809, 5, 99, 0, 0, 809, 810, 5, 111, 0, 0, 810, 811, 5, 118, 0, 0, 811, 148, 1, 0, 0, 0, 812, 813, 5, 115, 0, 0, 813, 814, 5, 111, 0, 0, 814, 815, 5, 114, 0, 0, 815, 816, 5, 116, 0, 0, 816, 150, 1, 0, 0, 0, 817, 818, 5, 97, 0, 0, 818, 819, 5, 112, 0, 0, 819, 820, 5, 112, 0, 0, 820, 821, 5, 101, 0, 0, 821, 822, 5, 110, 0, 0, 822, 823, 5, 100, 0, 0, 823, 152, 1, 0, 0, 0, 824, 825, 5, 43, 0, 0, 825, 154, 1, 0, 0, 0, 826, 827, 5, 45, 0, 0, 827, 156, 1, 0, 0, 0, 828, 829, 5, 42, 0, 0, 829, 158, 1, 0, 0, 0, 830, 831, 5, 47, 0, 0, 831, 160, 1, 0, 0, 0, 832, 833, 5, 37, 0, 0, 833, 162, 1, 0, 0, 0, 834, 835, 5, 94, 0, 0, 835, 164, 1, 0, 0, 0, 836, 837, 5, 62, 0, 0, 837, 838, 5, 61, 0, 0, 838, 166, 1, 0, 0, 0, 839, 840, 5, 62, 0, 0, 840, 168, 1, 0, 0, 0, 841, 842, 5, 60, 0, 0, 842, 843, 5, 61, 0, 0, 843, 170, 1, 0, 0, 0, 844, 845, 5, 60, 0, 0, 845, 172, 1, 0, 0, 0, 846, 847, 5, 61, 0, 0, 847, 848, 5, 61, 0, 0, 848, 174, 1, 0, 0, 0, 849, 850, 5, 61, 0, 0, 850, 176, 1, 0, 0, 0, 851, 852, 5, 33, 0, 0, 852, 853, 5, 61, 0, 0, 853, 178, 1, 0, 0, 0, 854, 855, 5, 124, 0, 0, 855, 180, 1, 0, 0, 0, 856, 857, 5, 40, 0, 0, 857, 182, 1, 0, 0, 0, 858, 859, 5, 41, 0, 0, 859, 184, 1, 0, 0, 0, 860, 861, 5, 44, 0, 0, 861, 186, 1, 0, 0, 0, 862, 863, 5, 59, 0, 0, 863, 188, 1, 0, 0, 0, 864, 865, 5, 45, 0, 0, 865, 866, 5, 62, 0, 0, 866, 190, 1, 0, 0, 0, 867, 868, 5, 91, 0, 0, 868, 192, 1, 0, 0, 0, 869, 870, 5, 93, 0, 0, 870, 194, 1, 0, 0, 0, 871, 872, 5, 63, 0, 0, 872, 196, 1, 0, 0, 0, 873, 874, 5, 58, 0, 0, 874, 198, 1, 0, 0, 0, 875, 876, 5, 112, 0, 0, 876, 881, 5, 105, 0, 0, 877, 878, 5, 80, 0, 0, 878, 881, 5, 73, 0, 0, 879, 881, 7, 0, 0, 0, 880, 875, 1, 0, 0, 0, 880, 877, 1, 0, 0, 0, 880, 879, 1, 0, 0, 0, 881, 200, 1, 0, 0, 0, 882, 884, 7, 1, 0, 0, 883, 882, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 883, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 893, 1, 0, 0, 0, 887, 889, 5, 46, 0, 0, 888, 890, 7, 1, 0, 0, 889, 888, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 889, 1, 0, 0, 0, 891, 892, 1, 0, 0, 0, 892, 894, 1, 0, 0, 0, 893, 887, 1, 0, 0, 0, 893, 894, 1, 0, 0, 0, 894, 202, 1, 0, 0, 0, 895, 899, 7, 2, 0, 0, 896, 898, 7, 3, 0, 0, 897, 896, 1, 0, 0, 0, 898, 901, 1, 0, 0, 0, 899, 897, 1, 0, 0, 0, 899, 900, 1, 0, 0, 0, 900, 204, 1, 0, 0, 0, 901, 899, 1, 0, 0, 0, 902, 904, 7, 4, 0, 0, 903, 902, 1, 0, 0, 0, 904, 905, 1, 0, 0, 0, 905, 903, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 907, 1, 0, 0, 0, 907, 908, 6, 102, 0, 0, 908, 206, 1, 0, 0, 0, 22, 0, 399, 414, 490, 507, 525, 538, 593, 610, 655, 680, 700, 725, 750, 773, 794, 880, 885, 891, 893, 899, 905, 1, 6, 0, 0] \ No newline at end of file diff --git a/more_math/Parser/MathExprLexer.py b/more_math/Parser/MathExprLexer.py index 733d0d0..a60dcc5 100644 --- a/more_math/Parser/MathExprLexer.py +++ b/more_math/Parser/MathExprLexer.py @@ -10,7 +10,7 @@ else: def serializedATN(): return [ - 4,0,101,901,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5, + 4,0,103,909,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5, 2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2, 13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7, 19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2, @@ -25,313 +25,316 @@ def serializedATN(): 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7, 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,2,90,7,90,2, 91,7,91,2,92,7,92,2,93,7,93,2,94,7,94,2,95,7,95,2,96,7,96,2,97,7, - 97,2,98,7,98,2,99,7,99,2,100,7,100,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1, - 1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,5,1, - 5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,8,1, - 8,1,8,1,8,1,8,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10, - 1,11,1,11,1,11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,13, - 1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16, - 1,16,1,16,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,19,1,19, - 1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21, - 1,22,1,22,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,24, - 1,24,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26, - 1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28, - 1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31, - 1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33, - 1,34,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35, - 1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,3,35,396,8,35,1,36,1,36, - 1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,411, - 8,36,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39, - 1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40, - 1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42, - 1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44, - 1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46, - 1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,487,8,46, - 1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, - 1,47,1,47,3,47,504,8,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49, - 1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,3,49,522,8,49,1,50,1,50, - 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,535,8,50,1,51, - 1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53, - 1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,56,1,56, - 1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,59,1,59, - 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59, - 3,59,590,8,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60, - 1,60,1,60,1,60,1,60,1,60,3,60,607,8,60,1,61,1,61,1,61,1,61,1,61, - 1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63, - 1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,3,64, - 652,8,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65, - 1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65, - 677,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,1,66,1,66,1,66,1,66,1,66,3,66,697,8,66,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67,722,8,67,1,68,1,68,1,68, - 1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68, - 1,68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,747,8,68,1,69,1,69,1,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 1,69,1,69,1,69,1,69,1,69,3,69,770,8,69,1,70,1,70,1,70,1,70,1,70, + 97,2,98,7,98,2,99,7,99,2,100,7,100,2,101,7,101,2,102,7,102,1,0,1, + 0,1,0,1,0,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1, + 4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,6,1, + 7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,9,1,9,1,9,1,9,1,9,1,10,1, + 10,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,11,1,11,1,12,1,12,1, + 12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,14,1, + 15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,18,1,18,1, + 18,1,18,1,18,1,19,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1, + 21,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,1,22,1,23,1,23,1, + 23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1, + 25,1,25,1,26,1,26,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1, + 27,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1, + 30,1,30,1,30,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,33,1, + 33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1, + 35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,3, + 35,400,8,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1, + 36,1,36,1,36,3,36,415,8,36,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1, + 38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1, + 39,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,42,1, + 42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1, + 44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1, + 46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1, + 46,1,46,3,46,491,8,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1, + 47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,508,8,47,1,48,1,48,1,48,1, + 48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,3, + 49,526,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1, + 50,3,50,539,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1, + 52,1,52,1,53,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,55,1, + 55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,58,1, + 58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1, + 59,1,59,1,59,1,59,1,59,3,59,594,8,59,1,60,1,60,1,60,1,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,3,60,611,8,60,1, + 61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1, + 63,1,63,1,63,1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64,1, + 64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1, + 64,1,64,1,64,1,64,3,64,656,8,64,1,65,1,65,1,65,1,65,1,65,1,65,1, + 65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1, + 65,1,65,1,65,1,65,3,65,681,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1, + 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,3,66,701, + 8,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, + 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67,726, + 8,67,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68, + 1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,751, + 8,68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, + 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,774,8,69,1,70, 1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70, - 1,70,3,70,791,8,70,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,72,1,72, - 1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,75, - 1,75,1,75,1,75,1,75,1,75,1,75,1,76,1,76,1,77,1,77,1,78,1,78,1,79, - 1,79,1,80,1,80,1,81,1,81,1,82,1,82,1,82,1,83,1,83,1,84,1,84,1,84, - 1,85,1,85,1,86,1,86,1,86,1,87,1,87,1,88,1,88,1,88,1,89,1,89,1,90, - 1,90,1,91,1,91,1,92,1,92,1,93,1,93,1,94,1,94,1,94,1,95,1,95,1,96, - 1,96,1,97,1,97,1,97,1,97,1,97,3,97,873,8,97,1,98,4,98,876,8,98,11, - 98,12,98,877,1,98,1,98,4,98,882,8,98,11,98,12,98,883,3,98,886,8, - 98,1,99,1,99,5,99,890,8,99,10,99,12,99,893,9,99,1,100,4,100,896, - 8,100,11,100,12,100,897,1,100,1,100,0,0,101,1,1,3,2,5,3,7,4,9,5, - 11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33, - 17,35,18,37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,55, - 28,57,29,59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,77, - 39,79,40,81,41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,99, - 50,101,51,103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,59, - 119,60,121,61,123,62,125,63,127,64,129,65,131,66,133,67,135,68,137, - 69,139,70,141,71,143,72,145,73,147,74,149,75,151,76,153,77,155,78, - 157,79,159,80,161,81,163,82,165,83,167,84,169,85,171,86,173,87,175, - 88,177,89,179,90,181,91,183,92,185,93,187,94,189,95,191,96,193,97, - 195,98,197,99,199,100,201,101,1,0,5,2,0,69,69,101,101,1,0,48,57, - 3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,3,0,9,10,13, - 13,32,32,924,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9, - 1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19, - 1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29, - 1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39, - 1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49, - 1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59, - 1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69, - 1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79, - 1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89, - 1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99, - 1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0, - 0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1, - 0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0, - 127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0, - 0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145, - 1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0, - 0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1, - 0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0, - 173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0, - 0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191, - 1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,0,199,1,0,0,0, - 0,201,1,0,0,0,1,203,1,0,0,0,3,207,1,0,0,0,5,211,1,0,0,0,7,215,1, - 0,0,0,9,220,1,0,0,0,11,225,1,0,0,0,13,230,1,0,0,0,15,236,1,0,0,0, - 17,241,1,0,0,0,19,246,1,0,0,0,21,251,1,0,0,0,23,257,1,0,0,0,25,263, - 1,0,0,0,27,269,1,0,0,0,29,273,1,0,0,0,31,278,1,0,0,0,33,281,1,0, - 0,0,35,285,1,0,0,0,37,289,1,0,0,0,39,294,1,0,0,0,41,299,1,0,0,0, - 43,304,1,0,0,0,45,309,1,0,0,0,47,315,1,0,0,0,49,321,1,0,0,0,51,327, - 1,0,0,0,53,332,1,0,0,0,55,338,1,0,0,0,57,344,1,0,0,0,59,348,1,0, - 0,0,61,353,1,0,0,0,63,359,1,0,0,0,65,363,1,0,0,0,67,368,1,0,0,0, - 69,374,1,0,0,0,71,395,1,0,0,0,73,410,1,0,0,0,75,412,1,0,0,0,77,417, - 1,0,0,0,79,422,1,0,0,0,81,433,1,0,0,0,83,439,1,0,0,0,85,444,1,0, - 0,0,87,453,1,0,0,0,89,458,1,0,0,0,91,463,1,0,0,0,93,486,1,0,0,0, - 95,503,1,0,0,0,97,505,1,0,0,0,99,521,1,0,0,0,101,534,1,0,0,0,103, - 536,1,0,0,0,105,542,1,0,0,0,107,547,1,0,0,0,109,552,1,0,0,0,111, - 557,1,0,0,0,113,561,1,0,0,0,115,566,1,0,0,0,117,570,1,0,0,0,119, - 589,1,0,0,0,121,606,1,0,0,0,123,608,1,0,0,0,125,617,1,0,0,0,127, - 621,1,0,0,0,129,651,1,0,0,0,131,676,1,0,0,0,133,696,1,0,0,0,135, - 721,1,0,0,0,137,746,1,0,0,0,139,769,1,0,0,0,141,790,1,0,0,0,143, - 792,1,0,0,0,145,799,1,0,0,0,147,804,1,0,0,0,149,808,1,0,0,0,151, - 813,1,0,0,0,153,820,1,0,0,0,155,822,1,0,0,0,157,824,1,0,0,0,159, - 826,1,0,0,0,161,828,1,0,0,0,163,830,1,0,0,0,165,832,1,0,0,0,167, - 835,1,0,0,0,169,837,1,0,0,0,171,840,1,0,0,0,173,842,1,0,0,0,175, - 845,1,0,0,0,177,847,1,0,0,0,179,850,1,0,0,0,181,852,1,0,0,0,183, - 854,1,0,0,0,185,856,1,0,0,0,187,858,1,0,0,0,189,860,1,0,0,0,191, - 863,1,0,0,0,193,865,1,0,0,0,195,872,1,0,0,0,197,875,1,0,0,0,199, - 887,1,0,0,0,201,895,1,0,0,0,203,204,5,115,0,0,204,205,5,105,0,0, - 205,206,5,110,0,0,206,2,1,0,0,0,207,208,5,99,0,0,208,209,5,111,0, - 0,209,210,5,115,0,0,210,4,1,0,0,0,211,212,5,116,0,0,212,213,5,97, - 0,0,213,214,5,110,0,0,214,6,1,0,0,0,215,216,5,97,0,0,216,217,5,115, - 0,0,217,218,5,105,0,0,218,219,5,110,0,0,219,8,1,0,0,0,220,221,5, - 97,0,0,221,222,5,99,0,0,222,223,5,111,0,0,223,224,5,115,0,0,224, - 10,1,0,0,0,225,226,5,97,0,0,226,227,5,116,0,0,227,228,5,97,0,0,228, - 229,5,110,0,0,229,12,1,0,0,0,230,231,5,97,0,0,231,232,5,116,0,0, - 232,233,5,97,0,0,233,234,5,110,0,0,234,235,5,50,0,0,235,14,1,0,0, - 0,236,237,5,115,0,0,237,238,5,105,0,0,238,239,5,110,0,0,239,240, - 5,104,0,0,240,16,1,0,0,0,241,242,5,99,0,0,242,243,5,111,0,0,243, - 244,5,115,0,0,244,245,5,104,0,0,245,18,1,0,0,0,246,247,5,116,0,0, - 247,248,5,97,0,0,248,249,5,110,0,0,249,250,5,104,0,0,250,20,1,0, - 0,0,251,252,5,97,0,0,252,253,5,115,0,0,253,254,5,105,0,0,254,255, - 5,110,0,0,255,256,5,104,0,0,256,22,1,0,0,0,257,258,5,97,0,0,258, - 259,5,99,0,0,259,260,5,111,0,0,260,261,5,115,0,0,261,262,5,104,0, - 0,262,24,1,0,0,0,263,264,5,97,0,0,264,265,5,116,0,0,265,266,5,97, - 0,0,266,267,5,110,0,0,267,268,5,104,0,0,268,26,1,0,0,0,269,270,5, - 97,0,0,270,271,5,98,0,0,271,272,5,115,0,0,272,28,1,0,0,0,273,274, - 5,115,0,0,274,275,5,113,0,0,275,276,5,114,0,0,276,277,5,116,0,0, - 277,30,1,0,0,0,278,279,5,108,0,0,279,280,5,110,0,0,280,32,1,0,0, - 0,281,282,5,108,0,0,282,283,5,111,0,0,283,284,5,103,0,0,284,34,1, - 0,0,0,285,286,5,101,0,0,286,287,5,120,0,0,287,288,5,112,0,0,288, - 36,1,0,0,0,289,290,5,115,0,0,290,291,5,109,0,0,291,292,5,105,0,0, - 292,293,5,110,0,0,293,38,1,0,0,0,294,295,5,115,0,0,295,296,5,109, - 0,0,296,297,5,97,0,0,297,298,5,120,0,0,298,40,1,0,0,0,299,300,5, - 116,0,0,300,301,5,109,0,0,301,302,5,105,0,0,302,303,5,110,0,0,303, - 42,1,0,0,0,304,305,5,116,0,0,305,306,5,109,0,0,306,307,5,97,0,0, - 307,308,5,120,0,0,308,44,1,0,0,0,309,310,5,116,0,0,310,311,5,110, - 0,0,311,312,5,111,0,0,312,313,5,114,0,0,313,314,5,109,0,0,314,46, - 1,0,0,0,315,316,5,115,0,0,316,317,5,110,0,0,317,318,5,111,0,0,318, - 319,5,114,0,0,319,320,5,109,0,0,320,48,1,0,0,0,321,322,5,102,0,0, - 322,323,5,108,0,0,323,324,5,111,0,0,324,325,5,111,0,0,325,326,5, - 114,0,0,326,50,1,0,0,0,327,328,5,99,0,0,328,329,5,101,0,0,329,330, - 5,105,0,0,330,331,5,108,0,0,331,52,1,0,0,0,332,333,5,114,0,0,333, - 334,5,111,0,0,334,335,5,117,0,0,335,336,5,110,0,0,336,337,5,100, - 0,0,337,54,1,0,0,0,338,339,5,103,0,0,339,340,5,97,0,0,340,341,5, - 109,0,0,341,342,5,109,0,0,342,343,5,97,0,0,343,56,1,0,0,0,344,345, - 5,112,0,0,345,346,5,111,0,0,346,347,5,119,0,0,347,58,1,0,0,0,348, - 349,5,115,0,0,349,350,5,105,0,0,350,351,5,103,0,0,351,352,5,109, - 0,0,352,60,1,0,0,0,353,354,5,99,0,0,354,355,5,108,0,0,355,356,5, - 97,0,0,356,357,5,109,0,0,357,358,5,112,0,0,358,62,1,0,0,0,359,360, - 5,102,0,0,360,361,5,102,0,0,361,362,5,116,0,0,362,64,1,0,0,0,363, - 364,5,105,0,0,364,365,5,102,0,0,365,366,5,102,0,0,366,367,5,116, - 0,0,367,66,1,0,0,0,368,369,5,97,0,0,369,370,5,110,0,0,370,371,5, - 103,0,0,371,372,5,108,0,0,372,373,5,101,0,0,373,68,1,0,0,0,374,375, - 5,112,0,0,375,376,5,114,0,0,376,377,5,105,0,0,377,378,5,110,0,0, - 378,379,5,116,0,0,379,70,1,0,0,0,380,381,5,112,0,0,381,382,5,114, - 0,0,382,383,5,105,0,0,383,384,5,110,0,0,384,385,5,116,0,0,385,386, - 5,95,0,0,386,387,5,115,0,0,387,388,5,104,0,0,388,389,5,97,0,0,389, - 390,5,112,0,0,390,396,5,101,0,0,391,392,5,112,0,0,392,393,5,115, - 0,0,393,394,5,104,0,0,394,396,5,112,0,0,395,380,1,0,0,0,395,391, - 1,0,0,0,396,72,1,0,0,0,397,398,5,110,0,0,398,399,5,118,0,0,399,411, - 5,108,0,0,400,401,5,110,0,0,401,402,5,97,0,0,402,403,5,110,0,0,403, - 404,5,95,0,0,404,405,5,116,0,0,405,406,5,111,0,0,406,407,5,95,0, - 0,407,408,5,110,0,0,408,409,5,117,0,0,409,411,5,109,0,0,410,397, - 1,0,0,0,410,400,1,0,0,0,411,74,1,0,0,0,412,413,5,108,0,0,413,414, - 5,101,0,0,414,415,5,114,0,0,415,416,5,112,0,0,416,76,1,0,0,0,417, - 418,5,115,0,0,418,419,5,116,0,0,419,420,5,101,0,0,420,421,5,112, - 0,0,421,78,1,0,0,0,422,423,5,115,0,0,423,424,5,109,0,0,424,425,5, - 111,0,0,425,426,5,111,0,0,426,427,5,116,0,0,427,428,5,104,0,0,428, - 429,5,115,0,0,429,430,5,116,0,0,430,431,5,101,0,0,431,432,5,112, - 0,0,432,80,1,0,0,0,433,434,5,102,0,0,434,435,5,114,0,0,435,436,5, - 97,0,0,436,437,5,99,0,0,437,438,5,116,0,0,438,82,1,0,0,0,439,440, - 5,114,0,0,440,441,5,101,0,0,441,442,5,108,0,0,442,443,5,117,0,0, - 443,84,1,0,0,0,444,445,5,115,0,0,445,446,5,111,0,0,446,447,5,102, - 0,0,447,448,5,116,0,0,448,449,5,112,0,0,449,450,5,108,0,0,450,451, - 5,117,0,0,451,452,5,115,0,0,452,86,1,0,0,0,453,454,5,103,0,0,454, - 455,5,101,0,0,455,456,5,108,0,0,456,457,5,117,0,0,457,88,1,0,0,0, - 458,459,5,115,0,0,459,460,5,105,0,0,460,461,5,103,0,0,461,462,5, - 110,0,0,462,90,1,0,0,0,463,464,5,109,0,0,464,465,5,97,0,0,465,466, - 5,112,0,0,466,92,1,0,0,0,467,468,5,101,0,0,468,469,5,122,0,0,469, - 470,5,99,0,0,470,471,5,111,0,0,471,472,5,110,0,0,472,473,5,118,0, - 0,473,474,5,111,0,0,474,475,5,108,0,0,475,476,5,117,0,0,476,477, - 5,116,0,0,477,478,5,105,0,0,478,479,5,111,0,0,479,487,5,110,0,0, - 480,481,5,101,0,0,481,482,5,122,0,0,482,483,5,99,0,0,483,484,5,111, - 0,0,484,485,5,110,0,0,485,487,5,118,0,0,486,467,1,0,0,0,486,480, - 1,0,0,0,487,94,1,0,0,0,488,489,5,99,0,0,489,490,5,111,0,0,490,491, - 5,110,0,0,491,492,5,118,0,0,492,493,5,111,0,0,493,494,5,108,0,0, - 494,495,5,117,0,0,495,496,5,116,0,0,496,497,5,105,0,0,497,498,5, - 111,0,0,498,504,5,110,0,0,499,500,5,99,0,0,500,501,5,111,0,0,501, - 502,5,110,0,0,502,504,5,118,0,0,503,488,1,0,0,0,503,499,1,0,0,0, - 504,96,1,0,0,0,505,506,5,115,0,0,506,507,5,119,0,0,507,508,5,97, - 0,0,508,509,5,112,0,0,509,98,1,0,0,0,510,511,5,112,0,0,511,512,5, - 101,0,0,512,513,5,114,0,0,513,514,5,109,0,0,514,515,5,117,0,0,515, - 516,5,116,0,0,516,522,5,101,0,0,517,518,5,112,0,0,518,519,5,101, - 0,0,519,520,5,114,0,0,520,522,5,109,0,0,521,510,1,0,0,0,521,517, - 1,0,0,0,522,100,1,0,0,0,523,524,5,114,0,0,524,525,5,101,0,0,525, - 526,5,115,0,0,526,527,5,104,0,0,527,528,5,97,0,0,528,529,5,112,0, - 0,529,535,5,101,0,0,530,531,5,114,0,0,531,532,5,115,0,0,532,533, - 5,104,0,0,533,535,5,112,0,0,534,523,1,0,0,0,534,530,1,0,0,0,535, - 102,1,0,0,0,536,537,5,114,0,0,537,538,5,97,0,0,538,539,5,110,0,0, - 539,540,5,103,0,0,540,541,5,101,0,0,541,104,1,0,0,0,542,543,5,116, - 0,0,543,544,5,111,0,0,544,545,5,112,0,0,545,546,5,107,0,0,546,106, - 1,0,0,0,547,548,5,98,0,0,548,549,5,111,0,0,549,550,5,116,0,0,550, - 551,5,107,0,0,551,108,1,0,0,0,552,553,5,112,0,0,553,554,5,105,0, - 0,554,555,5,110,0,0,555,556,5,118,0,0,556,110,1,0,0,0,557,558,5, - 115,0,0,558,559,5,117,0,0,559,560,5,109,0,0,560,112,1,0,0,0,561, - 562,5,109,0,0,562,563,5,101,0,0,563,564,5,97,0,0,564,565,5,110,0, - 0,565,114,1,0,0,0,566,567,5,115,0,0,567,568,5,116,0,0,568,569,5, - 100,0,0,569,116,1,0,0,0,570,571,5,118,0,0,571,572,5,97,0,0,572,573, - 5,114,0,0,573,118,1,0,0,0,574,575,5,113,0,0,575,576,5,117,0,0,576, - 577,5,97,0,0,577,578,5,114,0,0,578,579,5,116,0,0,579,580,5,105,0, - 0,580,581,5,108,0,0,581,590,5,101,0,0,582,583,5,113,0,0,583,584, - 5,117,0,0,584,585,5,97,0,0,585,586,5,114,0,0,586,587,5,116,0,0,587, - 588,5,105,0,0,588,590,5,108,0,0,589,574,1,0,0,0,589,582,1,0,0,0, - 590,120,1,0,0,0,591,592,5,112,0,0,592,593,5,101,0,0,593,594,5,114, - 0,0,594,595,5,99,0,0,595,596,5,101,0,0,596,597,5,110,0,0,597,598, - 5,116,0,0,598,599,5,105,0,0,599,600,5,108,0,0,600,607,5,101,0,0, - 601,602,5,112,0,0,602,603,5,114,0,0,603,604,5,99,0,0,604,605,5,110, - 0,0,605,607,5,116,0,0,606,591,1,0,0,0,606,601,1,0,0,0,607,122,1, - 0,0,0,608,609,5,113,0,0,609,610,5,117,0,0,610,611,5,97,0,0,611,612, - 5,110,0,0,612,613,5,116,0,0,613,614,5,105,0,0,614,615,5,108,0,0, - 615,616,5,101,0,0,616,124,1,0,0,0,617,618,5,100,0,0,618,619,5,111, - 0,0,619,620,5,116,0,0,620,126,1,0,0,0,621,622,5,109,0,0,622,623, - 5,111,0,0,623,624,5,109,0,0,624,625,5,101,0,0,625,626,5,110,0,0, - 626,627,5,116,0,0,627,128,1,0,0,0,628,629,5,110,0,0,629,630,5,111, - 0,0,630,631,5,105,0,0,631,632,5,115,0,0,632,652,5,101,0,0,633,634, - 5,114,0,0,634,635,5,97,0,0,635,636,5,110,0,0,636,637,5,100,0,0,637, - 652,5,110,0,0,638,639,5,114,0,0,639,640,5,97,0,0,640,641,5,110,0, - 0,641,642,5,100,0,0,642,643,5,111,0,0,643,644,5,109,0,0,644,645, - 5,95,0,0,645,646,5,110,0,0,646,647,5,111,0,0,647,648,5,114,0,0,648, - 649,5,109,0,0,649,650,5,97,0,0,650,652,5,108,0,0,651,628,1,0,0,0, - 651,633,1,0,0,0,651,638,1,0,0,0,652,130,1,0,0,0,653,654,5,114,0, - 0,654,655,5,97,0,0,655,656,5,110,0,0,656,677,5,100,0,0,657,658,5, - 114,0,0,658,659,5,97,0,0,659,660,5,110,0,0,660,661,5,100,0,0,661, - 677,5,117,0,0,662,663,5,114,0,0,663,664,5,97,0,0,664,665,5,110,0, - 0,665,666,5,100,0,0,666,667,5,111,0,0,667,668,5,109,0,0,668,669, - 5,95,0,0,669,670,5,117,0,0,670,671,5,110,0,0,671,672,5,105,0,0,672, - 673,5,102,0,0,673,674,5,111,0,0,674,675,5,114,0,0,675,677,5,109, - 0,0,676,653,1,0,0,0,676,657,1,0,0,0,676,662,1,0,0,0,677,132,1,0, - 0,0,678,679,5,114,0,0,679,680,5,97,0,0,680,681,5,110,0,0,681,682, - 5,100,0,0,682,697,5,99,0,0,683,684,5,114,0,0,684,685,5,97,0,0,685, - 686,5,110,0,0,686,687,5,100,0,0,687,688,5,111,0,0,688,689,5,109, - 0,0,689,690,5,95,0,0,690,691,5,99,0,0,691,692,5,97,0,0,692,693,5, - 117,0,0,693,694,5,99,0,0,694,695,5,104,0,0,695,697,5,121,0,0,696, - 678,1,0,0,0,696,683,1,0,0,0,697,134,1,0,0,0,698,699,5,114,0,0,699, - 700,5,97,0,0,700,701,5,110,0,0,701,702,5,100,0,0,702,722,5,101,0, - 0,703,704,5,114,0,0,704,705,5,97,0,0,705,706,5,110,0,0,706,707,5, - 100,0,0,707,708,5,111,0,0,708,709,5,109,0,0,709,710,5,95,0,0,710, - 711,5,101,0,0,711,712,5,120,0,0,712,713,5,112,0,0,713,714,5,111, - 0,0,714,715,5,110,0,0,715,716,5,101,0,0,716,717,5,110,0,0,717,718, - 5,116,0,0,718,719,5,105,0,0,719,720,5,97,0,0,720,722,5,108,0,0,721, - 698,1,0,0,0,721,703,1,0,0,0,722,136,1,0,0,0,723,724,5,114,0,0,724, - 725,5,97,0,0,725,726,5,110,0,0,726,727,5,100,0,0,727,728,5,108,0, - 0,728,747,5,110,0,0,729,730,5,114,0,0,730,731,5,97,0,0,731,732,5, - 110,0,0,732,733,5,100,0,0,733,734,5,111,0,0,734,735,5,109,0,0,735, - 736,5,95,0,0,736,737,5,108,0,0,737,738,5,111,0,0,738,739,5,103,0, - 0,739,740,5,95,0,0,740,741,5,110,0,0,741,742,5,111,0,0,742,743,5, - 114,0,0,743,744,5,109,0,0,744,745,5,97,0,0,745,747,5,108,0,0,746, - 723,1,0,0,0,746,729,1,0,0,0,747,138,1,0,0,0,748,749,5,114,0,0,749, - 750,5,97,0,0,750,751,5,110,0,0,751,752,5,100,0,0,752,770,5,98,0, - 0,753,754,5,114,0,0,754,755,5,97,0,0,755,756,5,110,0,0,756,757,5, - 100,0,0,757,758,5,111,0,0,758,759,5,109,0,0,759,760,5,95,0,0,760, - 761,5,98,0,0,761,762,5,101,0,0,762,763,5,114,0,0,763,764,5,110,0, - 0,764,765,5,111,0,0,765,766,5,117,0,0,766,767,5,108,0,0,767,768, - 5,108,0,0,768,770,5,105,0,0,769,748,1,0,0,0,769,753,1,0,0,0,770, - 140,1,0,0,0,771,772,5,114,0,0,772,773,5,97,0,0,773,774,5,110,0,0, - 774,775,5,100,0,0,775,791,5,112,0,0,776,777,5,114,0,0,777,778,5, - 97,0,0,778,779,5,110,0,0,779,780,5,100,0,0,780,781,5,111,0,0,781, - 782,5,109,0,0,782,783,5,95,0,0,783,784,5,112,0,0,784,785,5,111,0, - 0,785,786,5,105,0,0,786,787,5,115,0,0,787,788,5,115,0,0,788,789, - 5,111,0,0,789,791,5,110,0,0,790,771,1,0,0,0,790,776,1,0,0,0,791, - 142,1,0,0,0,792,793,5,99,0,0,793,794,5,111,0,0,794,795,5,115,0,0, - 795,796,5,115,0,0,796,797,5,105,0,0,797,798,5,109,0,0,798,144,1, - 0,0,0,799,800,5,102,0,0,800,801,5,108,0,0,801,802,5,105,0,0,802, - 803,5,112,0,0,803,146,1,0,0,0,804,805,5,99,0,0,805,806,5,111,0,0, - 806,807,5,118,0,0,807,148,1,0,0,0,808,809,5,115,0,0,809,810,5,111, - 0,0,810,811,5,114,0,0,811,812,5,116,0,0,812,150,1,0,0,0,813,814, - 5,97,0,0,814,815,5,112,0,0,815,816,5,112,0,0,816,817,5,101,0,0,817, - 818,5,110,0,0,818,819,5,100,0,0,819,152,1,0,0,0,820,821,5,43,0,0, - 821,154,1,0,0,0,822,823,5,45,0,0,823,156,1,0,0,0,824,825,5,42,0, - 0,825,158,1,0,0,0,826,827,5,47,0,0,827,160,1,0,0,0,828,829,5,37, - 0,0,829,162,1,0,0,0,830,831,5,94,0,0,831,164,1,0,0,0,832,833,5,62, - 0,0,833,834,5,61,0,0,834,166,1,0,0,0,835,836,5,62,0,0,836,168,1, - 0,0,0,837,838,5,60,0,0,838,839,5,61,0,0,839,170,1,0,0,0,840,841, - 5,60,0,0,841,172,1,0,0,0,842,843,5,61,0,0,843,844,5,61,0,0,844,174, - 1,0,0,0,845,846,5,61,0,0,846,176,1,0,0,0,847,848,5,33,0,0,848,849, - 5,61,0,0,849,178,1,0,0,0,850,851,5,124,0,0,851,180,1,0,0,0,852,853, - 5,40,0,0,853,182,1,0,0,0,854,855,5,41,0,0,855,184,1,0,0,0,856,857, - 5,44,0,0,857,186,1,0,0,0,858,859,5,59,0,0,859,188,1,0,0,0,860,861, - 5,45,0,0,861,862,5,62,0,0,862,190,1,0,0,0,863,864,5,91,0,0,864,192, - 1,0,0,0,865,866,5,93,0,0,866,194,1,0,0,0,867,868,5,112,0,0,868,873, - 5,105,0,0,869,870,5,80,0,0,870,873,5,73,0,0,871,873,7,0,0,0,872, - 867,1,0,0,0,872,869,1,0,0,0,872,871,1,0,0,0,873,196,1,0,0,0,874, - 876,7,1,0,0,875,874,1,0,0,0,876,877,1,0,0,0,877,875,1,0,0,0,877, - 878,1,0,0,0,878,885,1,0,0,0,879,881,5,46,0,0,880,882,7,1,0,0,881, - 880,1,0,0,0,882,883,1,0,0,0,883,881,1,0,0,0,883,884,1,0,0,0,884, - 886,1,0,0,0,885,879,1,0,0,0,885,886,1,0,0,0,886,198,1,0,0,0,887, - 891,7,2,0,0,888,890,7,3,0,0,889,888,1,0,0,0,890,893,1,0,0,0,891, - 889,1,0,0,0,891,892,1,0,0,0,892,200,1,0,0,0,893,891,1,0,0,0,894, - 896,7,4,0,0,895,894,1,0,0,0,896,897,1,0,0,0,897,895,1,0,0,0,897, - 898,1,0,0,0,898,899,1,0,0,0,899,900,6,100,0,0,900,202,1,0,0,0,22, - 0,395,410,486,503,521,534,589,606,651,676,696,721,746,769,790,872, - 877,883,885,891,897,1,6,0,0 + 1,70,1,70,1,70,1,70,1,70,3,70,795,8,70,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,72,1,72,1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,74,1,74, + 1,74,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,76,1,76,1,77, + 1,77,1,78,1,78,1,79,1,79,1,80,1,80,1,81,1,81,1,82,1,82,1,82,1,83, + 1,83,1,84,1,84,1,84,1,85,1,85,1,86,1,86,1,86,1,87,1,87,1,88,1,88, + 1,88,1,89,1,89,1,90,1,90,1,91,1,91,1,92,1,92,1,93,1,93,1,94,1,94, + 1,94,1,95,1,95,1,96,1,96,1,97,1,97,1,98,1,98,1,99,1,99,1,99,1,99, + 1,99,3,99,881,8,99,1,100,4,100,884,8,100,11,100,12,100,885,1,100, + 1,100,4,100,890,8,100,11,100,12,100,891,3,100,894,8,100,1,101,1, + 101,5,101,898,8,101,10,101,12,101,901,9,101,1,102,4,102,904,8,102, + 11,102,12,102,905,1,102,1,102,0,0,103,1,1,3,2,5,3,7,4,9,5,11,6,13, + 7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18, + 37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29, + 59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40, + 81,41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101, + 51,103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,59,119,60, + 121,61,123,62,125,63,127,64,129,65,131,66,133,67,135,68,137,69,139, + 70,141,71,143,72,145,73,147,74,149,75,151,76,153,77,155,78,157,79, + 159,80,161,81,163,82,165,83,167,84,169,85,171,86,173,87,175,88,177, + 89,179,90,181,91,183,92,185,93,187,94,189,95,191,96,193,97,195,98, + 197,99,199,100,201,101,203,102,205,103,1,0,5,2,0,69,69,101,101,1, + 0,48,57,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,3,0, + 9,10,13,13,32,32,932,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0, + 0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0, + 0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0, + 0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0, + 0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0, + 0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0, + 0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0, + 0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0, + 0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0, + 0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0, + 0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107, + 1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0, + 0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1, + 0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0, + 135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0, + 0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153, + 1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0, + 0,163,1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1, + 0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0, + 181,1,0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0, + 0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,0,199, + 1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0,1,207,1,0,0,0, + 3,211,1,0,0,0,5,215,1,0,0,0,7,219,1,0,0,0,9,224,1,0,0,0,11,229,1, + 0,0,0,13,234,1,0,0,0,15,240,1,0,0,0,17,245,1,0,0,0,19,250,1,0,0, + 0,21,255,1,0,0,0,23,261,1,0,0,0,25,267,1,0,0,0,27,273,1,0,0,0,29, + 277,1,0,0,0,31,282,1,0,0,0,33,285,1,0,0,0,35,289,1,0,0,0,37,293, + 1,0,0,0,39,298,1,0,0,0,41,303,1,0,0,0,43,308,1,0,0,0,45,313,1,0, + 0,0,47,319,1,0,0,0,49,325,1,0,0,0,51,331,1,0,0,0,53,336,1,0,0,0, + 55,342,1,0,0,0,57,348,1,0,0,0,59,352,1,0,0,0,61,357,1,0,0,0,63,363, + 1,0,0,0,65,367,1,0,0,0,67,372,1,0,0,0,69,378,1,0,0,0,71,399,1,0, + 0,0,73,414,1,0,0,0,75,416,1,0,0,0,77,421,1,0,0,0,79,426,1,0,0,0, + 81,437,1,0,0,0,83,443,1,0,0,0,85,448,1,0,0,0,87,457,1,0,0,0,89,462, + 1,0,0,0,91,467,1,0,0,0,93,490,1,0,0,0,95,507,1,0,0,0,97,509,1,0, + 0,0,99,525,1,0,0,0,101,538,1,0,0,0,103,540,1,0,0,0,105,546,1,0,0, + 0,107,551,1,0,0,0,109,556,1,0,0,0,111,561,1,0,0,0,113,565,1,0,0, + 0,115,570,1,0,0,0,117,574,1,0,0,0,119,593,1,0,0,0,121,610,1,0,0, + 0,123,612,1,0,0,0,125,621,1,0,0,0,127,625,1,0,0,0,129,655,1,0,0, + 0,131,680,1,0,0,0,133,700,1,0,0,0,135,725,1,0,0,0,137,750,1,0,0, + 0,139,773,1,0,0,0,141,794,1,0,0,0,143,796,1,0,0,0,145,803,1,0,0, + 0,147,808,1,0,0,0,149,812,1,0,0,0,151,817,1,0,0,0,153,824,1,0,0, + 0,155,826,1,0,0,0,157,828,1,0,0,0,159,830,1,0,0,0,161,832,1,0,0, + 0,163,834,1,0,0,0,165,836,1,0,0,0,167,839,1,0,0,0,169,841,1,0,0, + 0,171,844,1,0,0,0,173,846,1,0,0,0,175,849,1,0,0,0,177,851,1,0,0, + 0,179,854,1,0,0,0,181,856,1,0,0,0,183,858,1,0,0,0,185,860,1,0,0, + 0,187,862,1,0,0,0,189,864,1,0,0,0,191,867,1,0,0,0,193,869,1,0,0, + 0,195,871,1,0,0,0,197,873,1,0,0,0,199,880,1,0,0,0,201,883,1,0,0, + 0,203,895,1,0,0,0,205,903,1,0,0,0,207,208,5,115,0,0,208,209,5,105, + 0,0,209,210,5,110,0,0,210,2,1,0,0,0,211,212,5,99,0,0,212,213,5,111, + 0,0,213,214,5,115,0,0,214,4,1,0,0,0,215,216,5,116,0,0,216,217,5, + 97,0,0,217,218,5,110,0,0,218,6,1,0,0,0,219,220,5,97,0,0,220,221, + 5,115,0,0,221,222,5,105,0,0,222,223,5,110,0,0,223,8,1,0,0,0,224, + 225,5,97,0,0,225,226,5,99,0,0,226,227,5,111,0,0,227,228,5,115,0, + 0,228,10,1,0,0,0,229,230,5,97,0,0,230,231,5,116,0,0,231,232,5,97, + 0,0,232,233,5,110,0,0,233,12,1,0,0,0,234,235,5,97,0,0,235,236,5, + 116,0,0,236,237,5,97,0,0,237,238,5,110,0,0,238,239,5,50,0,0,239, + 14,1,0,0,0,240,241,5,115,0,0,241,242,5,105,0,0,242,243,5,110,0,0, + 243,244,5,104,0,0,244,16,1,0,0,0,245,246,5,99,0,0,246,247,5,111, + 0,0,247,248,5,115,0,0,248,249,5,104,0,0,249,18,1,0,0,0,250,251,5, + 116,0,0,251,252,5,97,0,0,252,253,5,110,0,0,253,254,5,104,0,0,254, + 20,1,0,0,0,255,256,5,97,0,0,256,257,5,115,0,0,257,258,5,105,0,0, + 258,259,5,110,0,0,259,260,5,104,0,0,260,22,1,0,0,0,261,262,5,97, + 0,0,262,263,5,99,0,0,263,264,5,111,0,0,264,265,5,115,0,0,265,266, + 5,104,0,0,266,24,1,0,0,0,267,268,5,97,0,0,268,269,5,116,0,0,269, + 270,5,97,0,0,270,271,5,110,0,0,271,272,5,104,0,0,272,26,1,0,0,0, + 273,274,5,97,0,0,274,275,5,98,0,0,275,276,5,115,0,0,276,28,1,0,0, + 0,277,278,5,115,0,0,278,279,5,113,0,0,279,280,5,114,0,0,280,281, + 5,116,0,0,281,30,1,0,0,0,282,283,5,108,0,0,283,284,5,110,0,0,284, + 32,1,0,0,0,285,286,5,108,0,0,286,287,5,111,0,0,287,288,5,103,0,0, + 288,34,1,0,0,0,289,290,5,101,0,0,290,291,5,120,0,0,291,292,5,112, + 0,0,292,36,1,0,0,0,293,294,5,115,0,0,294,295,5,109,0,0,295,296,5, + 105,0,0,296,297,5,110,0,0,297,38,1,0,0,0,298,299,5,115,0,0,299,300, + 5,109,0,0,300,301,5,97,0,0,301,302,5,120,0,0,302,40,1,0,0,0,303, + 304,5,116,0,0,304,305,5,109,0,0,305,306,5,105,0,0,306,307,5,110, + 0,0,307,42,1,0,0,0,308,309,5,116,0,0,309,310,5,109,0,0,310,311,5, + 97,0,0,311,312,5,120,0,0,312,44,1,0,0,0,313,314,5,116,0,0,314,315, + 5,110,0,0,315,316,5,111,0,0,316,317,5,114,0,0,317,318,5,109,0,0, + 318,46,1,0,0,0,319,320,5,115,0,0,320,321,5,110,0,0,321,322,5,111, + 0,0,322,323,5,114,0,0,323,324,5,109,0,0,324,48,1,0,0,0,325,326,5, + 102,0,0,326,327,5,108,0,0,327,328,5,111,0,0,328,329,5,111,0,0,329, + 330,5,114,0,0,330,50,1,0,0,0,331,332,5,99,0,0,332,333,5,101,0,0, + 333,334,5,105,0,0,334,335,5,108,0,0,335,52,1,0,0,0,336,337,5,114, + 0,0,337,338,5,111,0,0,338,339,5,117,0,0,339,340,5,110,0,0,340,341, + 5,100,0,0,341,54,1,0,0,0,342,343,5,103,0,0,343,344,5,97,0,0,344, + 345,5,109,0,0,345,346,5,109,0,0,346,347,5,97,0,0,347,56,1,0,0,0, + 348,349,5,112,0,0,349,350,5,111,0,0,350,351,5,119,0,0,351,58,1,0, + 0,0,352,353,5,115,0,0,353,354,5,105,0,0,354,355,5,103,0,0,355,356, + 5,109,0,0,356,60,1,0,0,0,357,358,5,99,0,0,358,359,5,108,0,0,359, + 360,5,97,0,0,360,361,5,109,0,0,361,362,5,112,0,0,362,62,1,0,0,0, + 363,364,5,102,0,0,364,365,5,102,0,0,365,366,5,116,0,0,366,64,1,0, + 0,0,367,368,5,105,0,0,368,369,5,102,0,0,369,370,5,102,0,0,370,371, + 5,116,0,0,371,66,1,0,0,0,372,373,5,97,0,0,373,374,5,110,0,0,374, + 375,5,103,0,0,375,376,5,108,0,0,376,377,5,101,0,0,377,68,1,0,0,0, + 378,379,5,112,0,0,379,380,5,114,0,0,380,381,5,105,0,0,381,382,5, + 110,0,0,382,383,5,116,0,0,383,70,1,0,0,0,384,385,5,112,0,0,385,386, + 5,114,0,0,386,387,5,105,0,0,387,388,5,110,0,0,388,389,5,116,0,0, + 389,390,5,95,0,0,390,391,5,115,0,0,391,392,5,104,0,0,392,393,5,97, + 0,0,393,394,5,112,0,0,394,400,5,101,0,0,395,396,5,112,0,0,396,397, + 5,115,0,0,397,398,5,104,0,0,398,400,5,112,0,0,399,384,1,0,0,0,399, + 395,1,0,0,0,400,72,1,0,0,0,401,402,5,110,0,0,402,403,5,118,0,0,403, + 415,5,108,0,0,404,405,5,110,0,0,405,406,5,97,0,0,406,407,5,110,0, + 0,407,408,5,95,0,0,408,409,5,116,0,0,409,410,5,111,0,0,410,411,5, + 95,0,0,411,412,5,110,0,0,412,413,5,117,0,0,413,415,5,109,0,0,414, + 401,1,0,0,0,414,404,1,0,0,0,415,74,1,0,0,0,416,417,5,108,0,0,417, + 418,5,101,0,0,418,419,5,114,0,0,419,420,5,112,0,0,420,76,1,0,0,0, + 421,422,5,115,0,0,422,423,5,116,0,0,423,424,5,101,0,0,424,425,5, + 112,0,0,425,78,1,0,0,0,426,427,5,115,0,0,427,428,5,109,0,0,428,429, + 5,111,0,0,429,430,5,111,0,0,430,431,5,116,0,0,431,432,5,104,0,0, + 432,433,5,115,0,0,433,434,5,116,0,0,434,435,5,101,0,0,435,436,5, + 112,0,0,436,80,1,0,0,0,437,438,5,102,0,0,438,439,5,114,0,0,439,440, + 5,97,0,0,440,441,5,99,0,0,441,442,5,116,0,0,442,82,1,0,0,0,443,444, + 5,114,0,0,444,445,5,101,0,0,445,446,5,108,0,0,446,447,5,117,0,0, + 447,84,1,0,0,0,448,449,5,115,0,0,449,450,5,111,0,0,450,451,5,102, + 0,0,451,452,5,116,0,0,452,453,5,112,0,0,453,454,5,108,0,0,454,455, + 5,117,0,0,455,456,5,115,0,0,456,86,1,0,0,0,457,458,5,103,0,0,458, + 459,5,101,0,0,459,460,5,108,0,0,460,461,5,117,0,0,461,88,1,0,0,0, + 462,463,5,115,0,0,463,464,5,105,0,0,464,465,5,103,0,0,465,466,5, + 110,0,0,466,90,1,0,0,0,467,468,5,109,0,0,468,469,5,97,0,0,469,470, + 5,112,0,0,470,92,1,0,0,0,471,472,5,101,0,0,472,473,5,122,0,0,473, + 474,5,99,0,0,474,475,5,111,0,0,475,476,5,110,0,0,476,477,5,118,0, + 0,477,478,5,111,0,0,478,479,5,108,0,0,479,480,5,117,0,0,480,481, + 5,116,0,0,481,482,5,105,0,0,482,483,5,111,0,0,483,491,5,110,0,0, + 484,485,5,101,0,0,485,486,5,122,0,0,486,487,5,99,0,0,487,488,5,111, + 0,0,488,489,5,110,0,0,489,491,5,118,0,0,490,471,1,0,0,0,490,484, + 1,0,0,0,491,94,1,0,0,0,492,493,5,99,0,0,493,494,5,111,0,0,494,495, + 5,110,0,0,495,496,5,118,0,0,496,497,5,111,0,0,497,498,5,108,0,0, + 498,499,5,117,0,0,499,500,5,116,0,0,500,501,5,105,0,0,501,502,5, + 111,0,0,502,508,5,110,0,0,503,504,5,99,0,0,504,505,5,111,0,0,505, + 506,5,110,0,0,506,508,5,118,0,0,507,492,1,0,0,0,507,503,1,0,0,0, + 508,96,1,0,0,0,509,510,5,115,0,0,510,511,5,119,0,0,511,512,5,97, + 0,0,512,513,5,112,0,0,513,98,1,0,0,0,514,515,5,112,0,0,515,516,5, + 101,0,0,516,517,5,114,0,0,517,518,5,109,0,0,518,519,5,117,0,0,519, + 520,5,116,0,0,520,526,5,101,0,0,521,522,5,112,0,0,522,523,5,101, + 0,0,523,524,5,114,0,0,524,526,5,109,0,0,525,514,1,0,0,0,525,521, + 1,0,0,0,526,100,1,0,0,0,527,528,5,114,0,0,528,529,5,101,0,0,529, + 530,5,115,0,0,530,531,5,104,0,0,531,532,5,97,0,0,532,533,5,112,0, + 0,533,539,5,101,0,0,534,535,5,114,0,0,535,536,5,115,0,0,536,537, + 5,104,0,0,537,539,5,112,0,0,538,527,1,0,0,0,538,534,1,0,0,0,539, + 102,1,0,0,0,540,541,5,114,0,0,541,542,5,97,0,0,542,543,5,110,0,0, + 543,544,5,103,0,0,544,545,5,101,0,0,545,104,1,0,0,0,546,547,5,116, + 0,0,547,548,5,111,0,0,548,549,5,112,0,0,549,550,5,107,0,0,550,106, + 1,0,0,0,551,552,5,98,0,0,552,553,5,111,0,0,553,554,5,116,0,0,554, + 555,5,107,0,0,555,108,1,0,0,0,556,557,5,112,0,0,557,558,5,105,0, + 0,558,559,5,110,0,0,559,560,5,118,0,0,560,110,1,0,0,0,561,562,5, + 115,0,0,562,563,5,117,0,0,563,564,5,109,0,0,564,112,1,0,0,0,565, + 566,5,109,0,0,566,567,5,101,0,0,567,568,5,97,0,0,568,569,5,110,0, + 0,569,114,1,0,0,0,570,571,5,115,0,0,571,572,5,116,0,0,572,573,5, + 100,0,0,573,116,1,0,0,0,574,575,5,118,0,0,575,576,5,97,0,0,576,577, + 5,114,0,0,577,118,1,0,0,0,578,579,5,113,0,0,579,580,5,117,0,0,580, + 581,5,97,0,0,581,582,5,114,0,0,582,583,5,116,0,0,583,584,5,105,0, + 0,584,585,5,108,0,0,585,594,5,101,0,0,586,587,5,113,0,0,587,588, + 5,117,0,0,588,589,5,97,0,0,589,590,5,114,0,0,590,591,5,116,0,0,591, + 592,5,105,0,0,592,594,5,108,0,0,593,578,1,0,0,0,593,586,1,0,0,0, + 594,120,1,0,0,0,595,596,5,112,0,0,596,597,5,101,0,0,597,598,5,114, + 0,0,598,599,5,99,0,0,599,600,5,101,0,0,600,601,5,110,0,0,601,602, + 5,116,0,0,602,603,5,105,0,0,603,604,5,108,0,0,604,611,5,101,0,0, + 605,606,5,112,0,0,606,607,5,114,0,0,607,608,5,99,0,0,608,609,5,110, + 0,0,609,611,5,116,0,0,610,595,1,0,0,0,610,605,1,0,0,0,611,122,1, + 0,0,0,612,613,5,113,0,0,613,614,5,117,0,0,614,615,5,97,0,0,615,616, + 5,110,0,0,616,617,5,116,0,0,617,618,5,105,0,0,618,619,5,108,0,0, + 619,620,5,101,0,0,620,124,1,0,0,0,621,622,5,100,0,0,622,623,5,111, + 0,0,623,624,5,116,0,0,624,126,1,0,0,0,625,626,5,109,0,0,626,627, + 5,111,0,0,627,628,5,109,0,0,628,629,5,101,0,0,629,630,5,110,0,0, + 630,631,5,116,0,0,631,128,1,0,0,0,632,633,5,110,0,0,633,634,5,111, + 0,0,634,635,5,105,0,0,635,636,5,115,0,0,636,656,5,101,0,0,637,638, + 5,114,0,0,638,639,5,97,0,0,639,640,5,110,0,0,640,641,5,100,0,0,641, + 656,5,110,0,0,642,643,5,114,0,0,643,644,5,97,0,0,644,645,5,110,0, + 0,645,646,5,100,0,0,646,647,5,111,0,0,647,648,5,109,0,0,648,649, + 5,95,0,0,649,650,5,110,0,0,650,651,5,111,0,0,651,652,5,114,0,0,652, + 653,5,109,0,0,653,654,5,97,0,0,654,656,5,108,0,0,655,632,1,0,0,0, + 655,637,1,0,0,0,655,642,1,0,0,0,656,130,1,0,0,0,657,658,5,114,0, + 0,658,659,5,97,0,0,659,660,5,110,0,0,660,681,5,100,0,0,661,662,5, + 114,0,0,662,663,5,97,0,0,663,664,5,110,0,0,664,665,5,100,0,0,665, + 681,5,117,0,0,666,667,5,114,0,0,667,668,5,97,0,0,668,669,5,110,0, + 0,669,670,5,100,0,0,670,671,5,111,0,0,671,672,5,109,0,0,672,673, + 5,95,0,0,673,674,5,117,0,0,674,675,5,110,0,0,675,676,5,105,0,0,676, + 677,5,102,0,0,677,678,5,111,0,0,678,679,5,114,0,0,679,681,5,109, + 0,0,680,657,1,0,0,0,680,661,1,0,0,0,680,666,1,0,0,0,681,132,1,0, + 0,0,682,683,5,114,0,0,683,684,5,97,0,0,684,685,5,110,0,0,685,686, + 5,100,0,0,686,701,5,99,0,0,687,688,5,114,0,0,688,689,5,97,0,0,689, + 690,5,110,0,0,690,691,5,100,0,0,691,692,5,111,0,0,692,693,5,109, + 0,0,693,694,5,95,0,0,694,695,5,99,0,0,695,696,5,97,0,0,696,697,5, + 117,0,0,697,698,5,99,0,0,698,699,5,104,0,0,699,701,5,121,0,0,700, + 682,1,0,0,0,700,687,1,0,0,0,701,134,1,0,0,0,702,703,5,114,0,0,703, + 704,5,97,0,0,704,705,5,110,0,0,705,706,5,100,0,0,706,726,5,101,0, + 0,707,708,5,114,0,0,708,709,5,97,0,0,709,710,5,110,0,0,710,711,5, + 100,0,0,711,712,5,111,0,0,712,713,5,109,0,0,713,714,5,95,0,0,714, + 715,5,101,0,0,715,716,5,120,0,0,716,717,5,112,0,0,717,718,5,111, + 0,0,718,719,5,110,0,0,719,720,5,101,0,0,720,721,5,110,0,0,721,722, + 5,116,0,0,722,723,5,105,0,0,723,724,5,97,0,0,724,726,5,108,0,0,725, + 702,1,0,0,0,725,707,1,0,0,0,726,136,1,0,0,0,727,728,5,114,0,0,728, + 729,5,97,0,0,729,730,5,110,0,0,730,731,5,100,0,0,731,732,5,108,0, + 0,732,751,5,110,0,0,733,734,5,114,0,0,734,735,5,97,0,0,735,736,5, + 110,0,0,736,737,5,100,0,0,737,738,5,111,0,0,738,739,5,109,0,0,739, + 740,5,95,0,0,740,741,5,108,0,0,741,742,5,111,0,0,742,743,5,103,0, + 0,743,744,5,95,0,0,744,745,5,110,0,0,745,746,5,111,0,0,746,747,5, + 114,0,0,747,748,5,109,0,0,748,749,5,97,0,0,749,751,5,108,0,0,750, + 727,1,0,0,0,750,733,1,0,0,0,751,138,1,0,0,0,752,753,5,114,0,0,753, + 754,5,97,0,0,754,755,5,110,0,0,755,756,5,100,0,0,756,774,5,98,0, + 0,757,758,5,114,0,0,758,759,5,97,0,0,759,760,5,110,0,0,760,761,5, + 100,0,0,761,762,5,111,0,0,762,763,5,109,0,0,763,764,5,95,0,0,764, + 765,5,98,0,0,765,766,5,101,0,0,766,767,5,114,0,0,767,768,5,110,0, + 0,768,769,5,111,0,0,769,770,5,117,0,0,770,771,5,108,0,0,771,772, + 5,108,0,0,772,774,5,105,0,0,773,752,1,0,0,0,773,757,1,0,0,0,774, + 140,1,0,0,0,775,776,5,114,0,0,776,777,5,97,0,0,777,778,5,110,0,0, + 778,779,5,100,0,0,779,795,5,112,0,0,780,781,5,114,0,0,781,782,5, + 97,0,0,782,783,5,110,0,0,783,784,5,100,0,0,784,785,5,111,0,0,785, + 786,5,109,0,0,786,787,5,95,0,0,787,788,5,112,0,0,788,789,5,111,0, + 0,789,790,5,105,0,0,790,791,5,115,0,0,791,792,5,115,0,0,792,793, + 5,111,0,0,793,795,5,110,0,0,794,775,1,0,0,0,794,780,1,0,0,0,795, + 142,1,0,0,0,796,797,5,99,0,0,797,798,5,111,0,0,798,799,5,115,0,0, + 799,800,5,115,0,0,800,801,5,105,0,0,801,802,5,109,0,0,802,144,1, + 0,0,0,803,804,5,102,0,0,804,805,5,108,0,0,805,806,5,105,0,0,806, + 807,5,112,0,0,807,146,1,0,0,0,808,809,5,99,0,0,809,810,5,111,0,0, + 810,811,5,118,0,0,811,148,1,0,0,0,812,813,5,115,0,0,813,814,5,111, + 0,0,814,815,5,114,0,0,815,816,5,116,0,0,816,150,1,0,0,0,817,818, + 5,97,0,0,818,819,5,112,0,0,819,820,5,112,0,0,820,821,5,101,0,0,821, + 822,5,110,0,0,822,823,5,100,0,0,823,152,1,0,0,0,824,825,5,43,0,0, + 825,154,1,0,0,0,826,827,5,45,0,0,827,156,1,0,0,0,828,829,5,42,0, + 0,829,158,1,0,0,0,830,831,5,47,0,0,831,160,1,0,0,0,832,833,5,37, + 0,0,833,162,1,0,0,0,834,835,5,94,0,0,835,164,1,0,0,0,836,837,5,62, + 0,0,837,838,5,61,0,0,838,166,1,0,0,0,839,840,5,62,0,0,840,168,1, + 0,0,0,841,842,5,60,0,0,842,843,5,61,0,0,843,170,1,0,0,0,844,845, + 5,60,0,0,845,172,1,0,0,0,846,847,5,61,0,0,847,848,5,61,0,0,848,174, + 1,0,0,0,849,850,5,61,0,0,850,176,1,0,0,0,851,852,5,33,0,0,852,853, + 5,61,0,0,853,178,1,0,0,0,854,855,5,124,0,0,855,180,1,0,0,0,856,857, + 5,40,0,0,857,182,1,0,0,0,858,859,5,41,0,0,859,184,1,0,0,0,860,861, + 5,44,0,0,861,186,1,0,0,0,862,863,5,59,0,0,863,188,1,0,0,0,864,865, + 5,45,0,0,865,866,5,62,0,0,866,190,1,0,0,0,867,868,5,91,0,0,868,192, + 1,0,0,0,869,870,5,93,0,0,870,194,1,0,0,0,871,872,5,63,0,0,872,196, + 1,0,0,0,873,874,5,58,0,0,874,198,1,0,0,0,875,876,5,112,0,0,876,881, + 5,105,0,0,877,878,5,80,0,0,878,881,5,73,0,0,879,881,7,0,0,0,880, + 875,1,0,0,0,880,877,1,0,0,0,880,879,1,0,0,0,881,200,1,0,0,0,882, + 884,7,1,0,0,883,882,1,0,0,0,884,885,1,0,0,0,885,883,1,0,0,0,885, + 886,1,0,0,0,886,893,1,0,0,0,887,889,5,46,0,0,888,890,7,1,0,0,889, + 888,1,0,0,0,890,891,1,0,0,0,891,889,1,0,0,0,891,892,1,0,0,0,892, + 894,1,0,0,0,893,887,1,0,0,0,893,894,1,0,0,0,894,202,1,0,0,0,895, + 899,7,2,0,0,896,898,7,3,0,0,897,896,1,0,0,0,898,901,1,0,0,0,899, + 897,1,0,0,0,899,900,1,0,0,0,900,204,1,0,0,0,901,899,1,0,0,0,902, + 904,7,4,0,0,903,902,1,0,0,0,904,905,1,0,0,0,905,903,1,0,0,0,905, + 906,1,0,0,0,906,907,1,0,0,0,907,908,6,102,0,0,908,206,1,0,0,0,22, + 0,399,414,490,507,525,538,593,610,655,680,700,725,750,773,794,880, + 885,891,893,899,905,1,6,0,0 ] class MathExprLexer(Lexer): @@ -437,10 +440,12 @@ class MathExprLexer(Lexer): ARROW = 95 LBRACKET = 96 RBRACKET = 97 - CONSTANT = 98 - NUMBER = 99 - VARIABLE = 100 - WS = 101 + QUESTION = 98 + COLON = 99 + CONSTANT = 100 + NUMBER = 101 + VARIABLE = 102 + WS = 103 channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ] @@ -459,7 +464,7 @@ class MathExprLexer(Lexer): "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", "'<='", "'<'", "'=='", "'='", "'!='", "'|'", "'('", "')'", "','", "';'", "'->'", - "'['", "']'" ] + "'['", "']'", "'?'", "':'" ] symbolicNames = [ "", "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", @@ -475,7 +480,8 @@ class MathExprLexer(Lexer): "COSSIM", "FLIP", "COV", "SORT", "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", "ARROW", - "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" ] + "LBRACKET", "RBRACKET", "QUESTION", "COLON", "CONSTANT", "NUMBER", + "VARIABLE", "WS" ] ruleNames = [ "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", "TANH", "ASINH", "ACOSH", "ATANH", "ABS", @@ -491,8 +497,8 @@ class MathExprLexer(Lexer): "COV", "SORT", "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", - "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", - "VARIABLE", "WS" ] + "ARROW", "LBRACKET", "RBRACKET", "QUESTION", "COLON", + "CONSTANT", "NUMBER", "VARIABLE", "WS" ] grammarFileName = "MathExpr.g4" diff --git a/more_math/Parser/MathExprLexer.tokens b/more_math/Parser/MathExprLexer.tokens index 659c1e4..fc16f8a 100644 --- a/more_math/Parser/MathExprLexer.tokens +++ b/more_math/Parser/MathExprLexer.tokens @@ -95,10 +95,12 @@ SEMICOLON=94 ARROW=95 LBRACKET=96 RBRACKET=97 -CONSTANT=98 -NUMBER=99 -VARIABLE=100 -WS=101 +QUESTION=98 +COLON=99 +CONSTANT=100 +NUMBER=101 +VARIABLE=102 +WS=103 'sin'=1 'cos'=2 'tan'=3 @@ -181,3 +183,5 @@ WS=101 '->'=95 '['=96 ']'=97 +'?'=98 +':'=99 diff --git a/more_math/Parser/MathExprParser.py b/more_math/Parser/MathExprParser.py index 86e2d6c..2de136e 100644 --- a/more_math/Parser/MathExprParser.py +++ b/more_math/Parser/MathExprParser.py @@ -10,265 +10,269 @@ else: def serializedATN(): return [ - 4,1,101,715,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,103,724,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, - 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,1,0,5,0,38,8,0,10,0,12, - 0,41,9,0,1,0,5,0,44,8,0,10,0,12,0,47,9,0,1,0,1,0,1,0,1,1,1,1,1,1, - 3,1,55,8,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,5, - 3,70,8,3,10,3,12,3,73,9,3,1,4,1,4,3,4,77,8,4,1,5,1,5,1,5,1,5,1,5, - 1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5, - 5,5,100,8,5,10,5,12,5,103,9,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1, - 6,5,6,114,8,6,10,6,12,6,117,9,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7, - 1,7,1,7,1,7,1,7,5,7,131,8,7,10,7,12,7,134,9,7,1,8,1,8,1,8,1,8,1, - 8,3,8,141,8,8,1,9,1,9,1,9,1,9,1,9,3,9,148,8,9,1,10,1,10,1,10,1,10, - 1,10,1,10,1,10,1,10,5,10,158,8,10,10,10,12,10,161,9,10,1,10,1,10, - 5,10,165,8,10,10,10,12,10,168,9,10,1,11,1,11,1,11,1,11,1,11,1,11, - 1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11, - 1,11,5,11,190,8,11,10,11,12,11,193,9,11,1,11,1,11,1,11,1,11,1,11, - 3,11,200,8,11,1,11,3,11,203,8,11,1,12,1,12,1,12,5,12,208,8,12,10, - 12,12,12,211,9,12,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,1,13,1,13,1,13,1,13,3,13,423,8,13,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,1,14,1,14,3,14,551,8,14,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,3,15,616,8,15,1,16,1,16,1,16,1,16,1, - 16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1, - 16,1,16,1,16,1,16,1,16,3,16,640,8,16,1,17,1,17,1,17,1,17,1,17,5, - 17,647,8,17,10,17,12,17,650,9,17,1,17,1,17,1,17,1,17,1,17,1,17,1, - 17,5,17,659,8,17,10,17,12,17,662,9,17,1,17,1,17,1,17,1,17,1,17,1, - 17,1,17,4,17,671,8,17,11,17,12,17,672,1,17,1,17,1,17,1,17,1,17,1, - 17,1,17,4,17,682,8,17,11,17,12,17,683,1,17,1,17,1,17,1,17,1,17,1, - 17,1,17,4,17,693,8,17,11,17,12,17,694,1,17,1,17,1,17,1,17,1,17,1, - 17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,713,8, - 17,1,17,0,4,10,12,14,20,18,0,2,4,6,8,10,12,14,16,18,20,22,24,26, - 28,30,32,34,0,0,807,0,39,1,0,0,0,2,51,1,0,0,0,4,61,1,0,0,0,6,66, - 1,0,0,0,8,76,1,0,0,0,10,78,1,0,0,0,12,104,1,0,0,0,14,118,1,0,0,0, - 16,140,1,0,0,0,18,147,1,0,0,0,20,149,1,0,0,0,22,202,1,0,0,0,24,204, - 1,0,0,0,26,422,1,0,0,0,28,550,1,0,0,0,30,615,1,0,0,0,32,639,1,0, - 0,0,34,712,1,0,0,0,36,38,3,2,1,0,37,36,1,0,0,0,38,41,1,0,0,0,39, - 37,1,0,0,0,39,40,1,0,0,0,40,45,1,0,0,0,41,39,1,0,0,0,42,44,3,4,2, - 0,43,42,1,0,0,0,44,47,1,0,0,0,45,43,1,0,0,0,45,46,1,0,0,0,46,48, - 1,0,0,0,47,45,1,0,0,0,48,49,3,8,4,0,49,50,5,0,0,1,50,1,1,0,0,0,51, - 52,5,100,0,0,52,54,5,91,0,0,53,55,3,6,3,0,54,53,1,0,0,0,54,55,1, - 0,0,0,55,56,1,0,0,0,56,57,5,92,0,0,57,58,5,95,0,0,58,59,3,8,4,0, - 59,60,5,94,0,0,60,3,1,0,0,0,61,62,5,100,0,0,62,63,5,88,0,0,63,64, - 3,8,4,0,64,65,5,94,0,0,65,5,1,0,0,0,66,71,5,100,0,0,67,68,5,93,0, - 0,68,70,5,100,0,0,69,67,1,0,0,0,70,73,1,0,0,0,71,69,1,0,0,0,71,72, - 1,0,0,0,72,7,1,0,0,0,73,71,1,0,0,0,74,77,3,22,11,0,75,77,3,10,5, - 0,76,74,1,0,0,0,76,75,1,0,0,0,77,9,1,0,0,0,78,79,6,5,-1,0,79,80, - 3,12,6,0,80,101,1,0,0,0,81,82,10,7,0,0,82,83,5,84,0,0,83,100,3,12, - 6,0,84,85,10,6,0,0,85,86,5,83,0,0,86,100,3,12,6,0,87,88,10,5,0,0, - 88,89,5,86,0,0,89,100,3,12,6,0,90,91,10,4,0,0,91,92,5,85,0,0,92, - 100,3,12,6,0,93,94,10,3,0,0,94,95,5,87,0,0,95,100,3,12,6,0,96,97, - 10,2,0,0,97,98,5,89,0,0,98,100,3,12,6,0,99,81,1,0,0,0,99,84,1,0, - 0,0,99,87,1,0,0,0,99,90,1,0,0,0,99,93,1,0,0,0,99,96,1,0,0,0,100, - 103,1,0,0,0,101,99,1,0,0,0,101,102,1,0,0,0,102,11,1,0,0,0,103,101, - 1,0,0,0,104,105,6,6,-1,0,105,106,3,14,7,0,106,115,1,0,0,0,107,108, - 10,3,0,0,108,109,5,77,0,0,109,114,3,14,7,0,110,111,10,2,0,0,111, - 112,5,78,0,0,112,114,3,14,7,0,113,107,1,0,0,0,113,110,1,0,0,0,114, - 117,1,0,0,0,115,113,1,0,0,0,115,116,1,0,0,0,116,13,1,0,0,0,117,115, - 1,0,0,0,118,119,6,7,-1,0,119,120,3,16,8,0,120,132,1,0,0,0,121,122, - 10,4,0,0,122,123,5,79,0,0,123,131,3,16,8,0,124,125,10,3,0,0,125, - 126,5,80,0,0,126,131,3,16,8,0,127,128,10,2,0,0,128,129,5,81,0,0, - 129,131,3,16,8,0,130,121,1,0,0,0,130,124,1,0,0,0,130,127,1,0,0,0, - 131,134,1,0,0,0,132,130,1,0,0,0,132,133,1,0,0,0,133,15,1,0,0,0,134, - 132,1,0,0,0,135,136,3,18,9,0,136,137,5,82,0,0,137,138,3,16,8,0,138, - 141,1,0,0,0,139,141,3,18,9,0,140,135,1,0,0,0,140,139,1,0,0,0,141, - 17,1,0,0,0,142,143,5,77,0,0,143,148,3,18,9,0,144,145,5,78,0,0,145, - 148,3,18,9,0,146,148,3,20,10,0,147,142,1,0,0,0,147,144,1,0,0,0,147, - 146,1,0,0,0,148,19,1,0,0,0,149,150,6,10,-1,0,150,151,3,22,11,0,151, - 166,1,0,0,0,152,153,10,2,0,0,153,154,5,96,0,0,154,159,3,8,4,0,155, - 156,5,93,0,0,156,158,3,8,4,0,157,155,1,0,0,0,158,161,1,0,0,0,159, - 157,1,0,0,0,159,160,1,0,0,0,160,162,1,0,0,0,161,159,1,0,0,0,162, - 163,5,97,0,0,163,165,1,0,0,0,164,152,1,0,0,0,165,168,1,0,0,0,166, - 164,1,0,0,0,166,167,1,0,0,0,167,21,1,0,0,0,168,166,1,0,0,0,169,203, - 3,26,13,0,170,203,3,28,14,0,171,203,3,30,15,0,172,203,3,32,16,0, - 173,203,3,34,17,0,174,203,5,100,0,0,175,203,5,99,0,0,176,203,5,98, - 0,0,177,178,5,91,0,0,178,179,3,8,4,0,179,180,5,92,0,0,180,203,1, - 0,0,0,181,182,5,90,0,0,182,183,3,8,4,0,183,184,5,90,0,0,184,203, - 1,0,0,0,185,186,5,96,0,0,186,191,3,8,4,0,187,188,5,93,0,0,188,190, - 3,8,4,0,189,187,1,0,0,0,190,193,1,0,0,0,191,189,1,0,0,0,191,192, - 1,0,0,0,192,194,1,0,0,0,193,191,1,0,0,0,194,195,5,97,0,0,195,203, - 1,0,0,0,196,197,5,100,0,0,197,199,5,91,0,0,198,200,3,24,12,0,199, - 198,1,0,0,0,199,200,1,0,0,0,200,201,1,0,0,0,201,203,5,92,0,0,202, - 169,1,0,0,0,202,170,1,0,0,0,202,171,1,0,0,0,202,172,1,0,0,0,202, - 173,1,0,0,0,202,174,1,0,0,0,202,175,1,0,0,0,202,176,1,0,0,0,202, - 177,1,0,0,0,202,181,1,0,0,0,202,185,1,0,0,0,202,196,1,0,0,0,203, - 23,1,0,0,0,204,209,3,8,4,0,205,206,5,93,0,0,206,208,3,8,4,0,207, - 205,1,0,0,0,208,211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210, - 25,1,0,0,0,211,209,1,0,0,0,212,213,5,1,0,0,213,214,5,91,0,0,214, - 215,3,8,4,0,215,216,5,92,0,0,216,423,1,0,0,0,217,218,5,2,0,0,218, - 219,5,91,0,0,219,220,3,8,4,0,220,221,5,92,0,0,221,423,1,0,0,0,222, - 223,5,3,0,0,223,224,5,91,0,0,224,225,3,8,4,0,225,226,5,92,0,0,226, - 423,1,0,0,0,227,228,5,4,0,0,228,229,5,91,0,0,229,230,3,8,4,0,230, - 231,5,92,0,0,231,423,1,0,0,0,232,233,5,5,0,0,233,234,5,91,0,0,234, - 235,3,8,4,0,235,236,5,92,0,0,236,423,1,0,0,0,237,238,5,6,0,0,238, - 239,5,91,0,0,239,240,3,8,4,0,240,241,5,92,0,0,241,423,1,0,0,0,242, - 243,5,8,0,0,243,244,5,91,0,0,244,245,3,8,4,0,245,246,5,92,0,0,246, - 423,1,0,0,0,247,248,5,9,0,0,248,249,5,91,0,0,249,250,3,8,4,0,250, - 251,5,92,0,0,251,423,1,0,0,0,252,253,5,10,0,0,253,254,5,91,0,0,254, - 255,3,8,4,0,255,256,5,92,0,0,256,423,1,0,0,0,257,258,5,11,0,0,258, - 259,5,91,0,0,259,260,3,8,4,0,260,261,5,92,0,0,261,423,1,0,0,0,262, - 263,5,12,0,0,263,264,5,91,0,0,264,265,3,8,4,0,265,266,5,92,0,0,266, - 423,1,0,0,0,267,268,5,13,0,0,268,269,5,91,0,0,269,270,3,8,4,0,270, - 271,5,92,0,0,271,423,1,0,0,0,272,273,5,14,0,0,273,274,5,91,0,0,274, - 275,3,8,4,0,275,276,5,92,0,0,276,423,1,0,0,0,277,278,5,15,0,0,278, - 279,5,91,0,0,279,280,3,8,4,0,280,281,5,92,0,0,281,423,1,0,0,0,282, - 283,5,16,0,0,283,284,5,91,0,0,284,285,3,8,4,0,285,286,5,92,0,0,286, - 423,1,0,0,0,287,288,5,17,0,0,288,289,5,91,0,0,289,290,3,8,4,0,290, - 291,5,92,0,0,291,423,1,0,0,0,292,293,5,18,0,0,293,294,5,91,0,0,294, - 295,3,8,4,0,295,296,5,92,0,0,296,423,1,0,0,0,297,298,5,23,0,0,298, - 299,5,91,0,0,299,300,3,8,4,0,300,301,5,92,0,0,301,423,1,0,0,0,302, - 303,5,24,0,0,303,304,5,91,0,0,304,305,3,8,4,0,305,306,5,92,0,0,306, - 423,1,0,0,0,307,308,5,25,0,0,308,309,5,91,0,0,309,310,3,8,4,0,310, - 311,5,92,0,0,311,423,1,0,0,0,312,313,5,26,0,0,313,314,5,91,0,0,314, - 315,3,8,4,0,315,316,5,92,0,0,316,423,1,0,0,0,317,318,5,27,0,0,318, - 319,5,91,0,0,319,320,3,8,4,0,320,321,5,92,0,0,321,423,1,0,0,0,322, - 323,5,28,0,0,323,324,5,91,0,0,324,325,3,8,4,0,325,326,5,92,0,0,326, - 423,1,0,0,0,327,328,5,30,0,0,328,329,5,91,0,0,329,330,3,8,4,0,330, - 331,5,92,0,0,331,423,1,0,0,0,332,333,5,32,0,0,333,334,5,91,0,0,334, - 335,3,8,4,0,335,336,5,92,0,0,336,423,1,0,0,0,337,338,5,33,0,0,338, - 339,5,91,0,0,339,340,3,8,4,0,340,341,5,92,0,0,341,423,1,0,0,0,342, - 343,5,34,0,0,343,344,5,91,0,0,344,345,3,8,4,0,345,346,5,92,0,0,346, - 423,1,0,0,0,347,348,5,35,0,0,348,349,5,91,0,0,349,350,3,8,4,0,350, - 351,5,92,0,0,351,423,1,0,0,0,352,353,5,41,0,0,353,354,5,91,0,0,354, - 355,3,8,4,0,355,356,5,92,0,0,356,423,1,0,0,0,357,358,5,42,0,0,358, - 359,5,91,0,0,359,360,3,8,4,0,360,361,5,92,0,0,361,423,1,0,0,0,362, - 363,5,43,0,0,363,364,5,91,0,0,364,365,3,8,4,0,365,366,5,92,0,0,366, - 423,1,0,0,0,367,368,5,44,0,0,368,369,5,91,0,0,369,370,3,8,4,0,370, - 371,5,92,0,0,371,423,1,0,0,0,372,373,5,45,0,0,373,374,5,91,0,0,374, - 375,3,8,4,0,375,376,5,92,0,0,376,423,1,0,0,0,377,378,5,36,0,0,378, - 379,5,91,0,0,379,380,3,8,4,0,380,381,5,92,0,0,381,423,1,0,0,0,382, - 383,5,55,0,0,383,384,5,91,0,0,384,385,3,8,4,0,385,386,5,92,0,0,386, - 423,1,0,0,0,387,388,5,56,0,0,388,389,5,91,0,0,389,390,3,8,4,0,390, - 391,5,92,0,0,391,423,1,0,0,0,392,393,5,57,0,0,393,394,5,91,0,0,394, - 395,3,8,4,0,395,396,5,92,0,0,396,423,1,0,0,0,397,398,5,58,0,0,398, - 399,5,91,0,0,399,400,3,8,4,0,400,401,5,92,0,0,401,423,1,0,0,0,402, - 403,5,59,0,0,403,404,5,91,0,0,404,405,3,8,4,0,405,406,5,92,0,0,406, - 423,1,0,0,0,407,408,5,75,0,0,408,409,5,91,0,0,409,410,3,8,4,0,410, - 411,5,92,0,0,411,423,1,0,0,0,412,413,5,65,0,0,413,414,5,91,0,0,414, - 415,3,8,4,0,415,416,5,92,0,0,416,423,1,0,0,0,417,418,5,66,0,0,418, - 419,5,91,0,0,419,420,3,8,4,0,420,421,5,92,0,0,421,423,1,0,0,0,422, - 212,1,0,0,0,422,217,1,0,0,0,422,222,1,0,0,0,422,227,1,0,0,0,422, - 232,1,0,0,0,422,237,1,0,0,0,422,242,1,0,0,0,422,247,1,0,0,0,422, - 252,1,0,0,0,422,257,1,0,0,0,422,262,1,0,0,0,422,267,1,0,0,0,422, - 272,1,0,0,0,422,277,1,0,0,0,422,282,1,0,0,0,422,287,1,0,0,0,422, - 292,1,0,0,0,422,297,1,0,0,0,422,302,1,0,0,0,422,307,1,0,0,0,422, - 312,1,0,0,0,422,317,1,0,0,0,422,322,1,0,0,0,422,327,1,0,0,0,422, - 332,1,0,0,0,422,337,1,0,0,0,422,342,1,0,0,0,422,347,1,0,0,0,422, - 352,1,0,0,0,422,357,1,0,0,0,422,362,1,0,0,0,422,367,1,0,0,0,422, - 372,1,0,0,0,422,377,1,0,0,0,422,382,1,0,0,0,422,387,1,0,0,0,422, - 392,1,0,0,0,422,397,1,0,0,0,422,402,1,0,0,0,422,407,1,0,0,0,422, - 412,1,0,0,0,422,417,1,0,0,0,423,27,1,0,0,0,424,425,5,29,0,0,425, - 426,5,91,0,0,426,427,3,8,4,0,427,428,5,93,0,0,428,429,3,8,4,0,429, - 430,5,92,0,0,430,551,1,0,0,0,431,432,5,7,0,0,432,433,5,91,0,0,433, - 434,3,8,4,0,434,435,5,93,0,0,435,436,3,8,4,0,436,437,5,92,0,0,437, - 551,1,0,0,0,438,439,5,21,0,0,439,440,5,91,0,0,440,441,3,8,4,0,441, - 442,5,93,0,0,442,443,3,8,4,0,443,444,5,92,0,0,444,551,1,0,0,0,445, - 446,5,22,0,0,446,447,5,91,0,0,447,448,3,8,4,0,448,449,5,93,0,0,449, - 450,3,8,4,0,450,451,5,92,0,0,451,551,1,0,0,0,452,453,5,39,0,0,453, - 454,5,91,0,0,454,455,3,8,4,0,455,456,5,93,0,0,456,457,3,8,4,0,457, - 458,5,92,0,0,458,551,1,0,0,0,459,460,5,53,0,0,460,461,5,91,0,0,461, - 462,3,8,4,0,462,463,5,93,0,0,463,464,3,8,4,0,464,465,5,92,0,0,465, - 551,1,0,0,0,466,467,5,54,0,0,467,468,5,91,0,0,468,469,3,8,4,0,469, - 470,5,93,0,0,470,471,3,8,4,0,471,472,5,92,0,0,472,551,1,0,0,0,473, - 474,5,60,0,0,474,475,5,91,0,0,475,476,3,8,4,0,476,477,5,93,0,0,477, - 478,3,8,4,0,478,479,5,92,0,0,479,551,1,0,0,0,480,481,5,61,0,0,481, - 482,5,91,0,0,482,483,3,8,4,0,483,484,5,93,0,0,484,485,3,8,4,0,485, - 486,5,92,0,0,486,551,1,0,0,0,487,488,5,62,0,0,488,489,5,91,0,0,489, - 490,3,8,4,0,490,491,5,93,0,0,491,492,3,8,4,0,492,493,5,92,0,0,493, - 551,1,0,0,0,494,495,5,63,0,0,495,496,5,91,0,0,496,497,3,8,4,0,497, - 498,5,93,0,0,498,499,3,8,4,0,499,500,5,92,0,0,500,551,1,0,0,0,501, - 502,5,72,0,0,502,503,5,91,0,0,503,504,3,8,4,0,504,505,5,93,0,0,505, - 506,3,8,4,0,506,507,5,92,0,0,507,551,1,0,0,0,508,509,5,73,0,0,509, - 510,5,91,0,0,510,511,3,8,4,0,511,512,5,93,0,0,512,513,3,8,4,0,513, - 514,5,92,0,0,514,551,1,0,0,0,515,516,5,74,0,0,516,517,5,91,0,0,517, - 518,3,8,4,0,518,519,5,93,0,0,519,520,3,8,4,0,520,521,5,92,0,0,521, - 551,1,0,0,0,522,523,5,76,0,0,523,524,5,91,0,0,524,525,3,8,4,0,525, - 526,5,93,0,0,526,527,3,8,4,0,527,528,5,92,0,0,528,551,1,0,0,0,529, - 530,5,68,0,0,530,531,5,91,0,0,531,532,3,8,4,0,532,533,5,93,0,0,533, - 534,3,8,4,0,534,535,5,92,0,0,535,551,1,0,0,0,536,537,5,70,0,0,537, - 538,5,91,0,0,538,539,3,8,4,0,539,540,5,93,0,0,540,541,3,8,4,0,541, - 542,5,92,0,0,542,551,1,0,0,0,543,544,5,71,0,0,544,545,5,91,0,0,545, - 546,3,8,4,0,546,547,5,93,0,0,547,548,3,8,4,0,548,549,5,92,0,0,549, - 551,1,0,0,0,550,424,1,0,0,0,550,431,1,0,0,0,550,438,1,0,0,0,550, - 445,1,0,0,0,550,452,1,0,0,0,550,459,1,0,0,0,550,466,1,0,0,0,550, - 473,1,0,0,0,550,480,1,0,0,0,550,487,1,0,0,0,550,494,1,0,0,0,550, - 501,1,0,0,0,550,508,1,0,0,0,550,515,1,0,0,0,550,522,1,0,0,0,550, - 529,1,0,0,0,550,536,1,0,0,0,550,543,1,0,0,0,551,29,1,0,0,0,552,553, - 5,31,0,0,553,554,5,91,0,0,554,555,3,8,4,0,555,556,5,93,0,0,556,557, - 3,8,4,0,557,558,5,93,0,0,558,559,3,8,4,0,559,560,5,92,0,0,560,616, - 1,0,0,0,561,562,5,38,0,0,562,563,5,91,0,0,563,564,3,8,4,0,564,565, - 5,93,0,0,565,566,3,8,4,0,566,567,5,93,0,0,567,568,3,8,4,0,568,569, - 5,92,0,0,569,616,1,0,0,0,570,571,5,40,0,0,571,572,5,91,0,0,572,573, - 3,8,4,0,573,574,5,93,0,0,574,575,3,8,4,0,575,576,5,93,0,0,576,577, - 3,8,4,0,577,578,5,92,0,0,578,616,1,0,0,0,579,580,5,52,0,0,580,581, - 5,91,0,0,581,582,3,8,4,0,582,583,5,93,0,0,583,584,3,8,4,0,584,585, - 5,93,0,0,585,586,3,8,4,0,586,587,5,92,0,0,587,616,1,0,0,0,588,589, - 5,64,0,0,589,590,5,91,0,0,590,591,3,8,4,0,591,592,5,93,0,0,592,593, - 3,8,4,0,593,594,5,93,0,0,594,595,3,8,4,0,595,596,5,92,0,0,596,616, - 1,0,0,0,597,598,5,67,0,0,598,599,5,91,0,0,599,600,3,8,4,0,600,601, - 5,93,0,0,601,602,3,8,4,0,602,603,5,93,0,0,603,604,3,8,4,0,604,605, - 5,92,0,0,605,616,1,0,0,0,606,607,5,69,0,0,607,608,5,91,0,0,608,609, - 3,8,4,0,609,610,5,93,0,0,610,611,3,8,4,0,611,612,5,93,0,0,612,613, - 3,8,4,0,613,614,5,92,0,0,614,616,1,0,0,0,615,552,1,0,0,0,615,561, - 1,0,0,0,615,570,1,0,0,0,615,579,1,0,0,0,615,588,1,0,0,0,615,597, - 1,0,0,0,615,606,1,0,0,0,616,31,1,0,0,0,617,618,5,49,0,0,618,619, - 5,91,0,0,619,620,3,8,4,0,620,621,5,93,0,0,621,622,3,8,4,0,622,623, - 5,93,0,0,623,624,3,8,4,0,624,625,5,93,0,0,625,626,3,8,4,0,626,627, - 5,92,0,0,627,640,1,0,0,0,628,629,5,37,0,0,629,630,5,91,0,0,630,631, - 3,8,4,0,631,632,5,93,0,0,632,633,3,8,4,0,633,634,5,93,0,0,634,635, - 3,8,4,0,635,636,5,93,0,0,636,637,3,8,4,0,637,638,5,92,0,0,638,640, - 1,0,0,0,639,617,1,0,0,0,639,628,1,0,0,0,640,33,1,0,0,0,641,642,5, - 19,0,0,642,643,5,91,0,0,643,648,3,8,4,0,644,645,5,93,0,0,645,647, - 3,8,4,0,646,644,1,0,0,0,647,650,1,0,0,0,648,646,1,0,0,0,648,649, - 1,0,0,0,649,651,1,0,0,0,650,648,1,0,0,0,651,652,5,92,0,0,652,713, - 1,0,0,0,653,654,5,20,0,0,654,655,5,91,0,0,655,660,3,8,4,0,656,657, - 5,93,0,0,657,659,3,8,4,0,658,656,1,0,0,0,659,662,1,0,0,0,660,658, - 1,0,0,0,660,661,1,0,0,0,661,663,1,0,0,0,662,660,1,0,0,0,663,664, - 5,92,0,0,664,713,1,0,0,0,665,666,5,46,0,0,666,667,5,91,0,0,667,670, - 3,8,4,0,668,669,5,93,0,0,669,671,3,8,4,0,670,668,1,0,0,0,671,672, - 1,0,0,0,672,670,1,0,0,0,672,673,1,0,0,0,673,674,1,0,0,0,674,675, - 5,92,0,0,675,713,1,0,0,0,676,677,5,47,0,0,677,678,5,91,0,0,678,681, - 3,8,4,0,679,680,5,93,0,0,680,682,3,8,4,0,681,679,1,0,0,0,682,683, - 1,0,0,0,683,681,1,0,0,0,683,684,1,0,0,0,684,685,1,0,0,0,685,686, - 5,92,0,0,686,713,1,0,0,0,687,688,5,48,0,0,688,689,5,91,0,0,689,692, - 3,8,4,0,690,691,5,93,0,0,691,693,3,8,4,0,692,690,1,0,0,0,693,694, - 1,0,0,0,694,692,1,0,0,0,694,695,1,0,0,0,695,696,1,0,0,0,696,697, - 5,92,0,0,697,713,1,0,0,0,698,699,5,50,0,0,699,700,5,91,0,0,700,701, - 3,8,4,0,701,702,5,93,0,0,702,703,3,8,4,0,703,704,5,92,0,0,704,713, - 1,0,0,0,705,706,5,51,0,0,706,707,5,91,0,0,707,708,3,8,4,0,708,709, - 5,93,0,0,709,710,3,8,4,0,710,711,5,92,0,0,711,713,1,0,0,0,712,641, - 1,0,0,0,712,653,1,0,0,0,712,665,1,0,0,0,712,676,1,0,0,0,712,687, - 1,0,0,0,712,698,1,0,0,0,712,705,1,0,0,0,713,35,1,0,0,0,29,39,45, - 54,71,76,99,101,113,115,130,132,140,147,159,166,191,199,202,209, - 422,550,615,639,648,660,672,683,694,712 + 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,1,0,5,0,40, + 8,0,10,0,12,0,43,9,0,1,0,5,0,46,8,0,10,0,12,0,49,9,0,1,0,1,0,1,0, + 1,1,1,1,1,1,3,1,57,8,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1, + 3,1,3,1,3,5,3,72,8,3,10,3,12,3,75,9,3,1,4,1,4,1,4,3,4,80,8,4,1,5, + 1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6, + 1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,5,6,109,8,6,10,6,12,6,112, + 9,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,5,7,123,8,7,10,7,12,7,126, + 9,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,140,8,8, + 10,8,12,8,143,9,8,1,9,1,9,1,9,1,9,1,9,3,9,150,8,9,1,10,1,10,1,10, + 1,10,1,10,3,10,157,8,10,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11, + 5,11,167,8,11,10,11,12,11,170,9,11,1,11,1,11,5,11,174,8,11,10,11, + 12,11,177,9,11,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12, + 1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,5,12,199,8,12, + 10,12,12,12,202,9,12,1,12,1,12,1,12,1,12,1,12,3,12,209,8,12,1,12, + 3,12,212,8,12,1,13,1,13,1,13,5,13,217,8,13,10,13,12,13,220,9,13, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14, + 1,14,1,14,3,14,432,8,14,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,3,15,560,8,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, + 1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, + 1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, + 1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, + 1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, + 1,16,1,16,3,16,625,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 1,17,3,17,649,8,17,1,18,1,18,1,18,1,18,1,18,5,18,656,8,18,10,18, + 12,18,659,9,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,5,18,668,8,18, + 10,18,12,18,671,9,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,4,18,680, + 8,18,11,18,12,18,681,1,18,1,18,1,18,1,18,1,18,1,18,1,18,4,18,691, + 8,18,11,18,12,18,692,1,18,1,18,1,18,1,18,1,18,1,18,1,18,4,18,702, + 8,18,11,18,12,18,703,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18, + 1,18,1,18,1,18,1,18,1,18,1,18,1,18,3,18,722,8,18,1,18,0,4,12,14, + 16,22,19,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,0,0, + 816,0,41,1,0,0,0,2,53,1,0,0,0,4,63,1,0,0,0,6,68,1,0,0,0,8,79,1,0, + 0,0,10,81,1,0,0,0,12,87,1,0,0,0,14,113,1,0,0,0,16,127,1,0,0,0,18, + 149,1,0,0,0,20,156,1,0,0,0,22,158,1,0,0,0,24,211,1,0,0,0,26,213, + 1,0,0,0,28,431,1,0,0,0,30,559,1,0,0,0,32,624,1,0,0,0,34,648,1,0, + 0,0,36,721,1,0,0,0,38,40,3,2,1,0,39,38,1,0,0,0,40,43,1,0,0,0,41, + 39,1,0,0,0,41,42,1,0,0,0,42,47,1,0,0,0,43,41,1,0,0,0,44,46,3,4,2, + 0,45,44,1,0,0,0,46,49,1,0,0,0,47,45,1,0,0,0,47,48,1,0,0,0,48,50, + 1,0,0,0,49,47,1,0,0,0,50,51,3,8,4,0,51,52,5,0,0,1,52,1,1,0,0,0,53, + 54,5,102,0,0,54,56,5,91,0,0,55,57,3,6,3,0,56,55,1,0,0,0,56,57,1, + 0,0,0,57,58,1,0,0,0,58,59,5,92,0,0,59,60,5,95,0,0,60,61,3,8,4,0, + 61,62,5,94,0,0,62,3,1,0,0,0,63,64,5,102,0,0,64,65,5,88,0,0,65,66, + 3,8,4,0,66,67,5,94,0,0,67,5,1,0,0,0,68,73,5,102,0,0,69,70,5,93,0, + 0,70,72,5,102,0,0,71,69,1,0,0,0,72,75,1,0,0,0,73,71,1,0,0,0,73,74, + 1,0,0,0,74,7,1,0,0,0,75,73,1,0,0,0,76,80,3,10,5,0,77,80,3,24,12, + 0,78,80,3,12,6,0,79,76,1,0,0,0,79,77,1,0,0,0,79,78,1,0,0,0,80,9, + 1,0,0,0,81,82,3,12,6,0,82,83,5,98,0,0,83,84,3,8,4,0,84,85,5,99,0, + 0,85,86,3,8,4,0,86,11,1,0,0,0,87,88,6,6,-1,0,88,89,3,14,7,0,89,110, + 1,0,0,0,90,91,10,7,0,0,91,92,5,84,0,0,92,109,3,14,7,0,93,94,10,6, + 0,0,94,95,5,83,0,0,95,109,3,14,7,0,96,97,10,5,0,0,97,98,5,86,0,0, + 98,109,3,14,7,0,99,100,10,4,0,0,100,101,5,85,0,0,101,109,3,14,7, + 0,102,103,10,3,0,0,103,104,5,87,0,0,104,109,3,14,7,0,105,106,10, + 2,0,0,106,107,5,89,0,0,107,109,3,14,7,0,108,90,1,0,0,0,108,93,1, + 0,0,0,108,96,1,0,0,0,108,99,1,0,0,0,108,102,1,0,0,0,108,105,1,0, + 0,0,109,112,1,0,0,0,110,108,1,0,0,0,110,111,1,0,0,0,111,13,1,0,0, + 0,112,110,1,0,0,0,113,114,6,7,-1,0,114,115,3,16,8,0,115,124,1,0, + 0,0,116,117,10,3,0,0,117,118,5,77,0,0,118,123,3,16,8,0,119,120,10, + 2,0,0,120,121,5,78,0,0,121,123,3,16,8,0,122,116,1,0,0,0,122,119, + 1,0,0,0,123,126,1,0,0,0,124,122,1,0,0,0,124,125,1,0,0,0,125,15,1, + 0,0,0,126,124,1,0,0,0,127,128,6,8,-1,0,128,129,3,18,9,0,129,141, + 1,0,0,0,130,131,10,4,0,0,131,132,5,79,0,0,132,140,3,18,9,0,133,134, + 10,3,0,0,134,135,5,80,0,0,135,140,3,18,9,0,136,137,10,2,0,0,137, + 138,5,81,0,0,138,140,3,18,9,0,139,130,1,0,0,0,139,133,1,0,0,0,139, + 136,1,0,0,0,140,143,1,0,0,0,141,139,1,0,0,0,141,142,1,0,0,0,142, + 17,1,0,0,0,143,141,1,0,0,0,144,145,3,20,10,0,145,146,5,82,0,0,146, + 147,3,18,9,0,147,150,1,0,0,0,148,150,3,20,10,0,149,144,1,0,0,0,149, + 148,1,0,0,0,150,19,1,0,0,0,151,152,5,77,0,0,152,157,3,20,10,0,153, + 154,5,78,0,0,154,157,3,20,10,0,155,157,3,22,11,0,156,151,1,0,0,0, + 156,153,1,0,0,0,156,155,1,0,0,0,157,21,1,0,0,0,158,159,6,11,-1,0, + 159,160,3,24,12,0,160,175,1,0,0,0,161,162,10,2,0,0,162,163,5,96, + 0,0,163,168,3,8,4,0,164,165,5,93,0,0,165,167,3,8,4,0,166,164,1,0, + 0,0,167,170,1,0,0,0,168,166,1,0,0,0,168,169,1,0,0,0,169,171,1,0, + 0,0,170,168,1,0,0,0,171,172,5,97,0,0,172,174,1,0,0,0,173,161,1,0, + 0,0,174,177,1,0,0,0,175,173,1,0,0,0,175,176,1,0,0,0,176,23,1,0,0, + 0,177,175,1,0,0,0,178,212,3,28,14,0,179,212,3,30,15,0,180,212,3, + 32,16,0,181,212,3,34,17,0,182,212,3,36,18,0,183,212,5,102,0,0,184, + 212,5,101,0,0,185,212,5,100,0,0,186,187,5,91,0,0,187,188,3,8,4,0, + 188,189,5,92,0,0,189,212,1,0,0,0,190,191,5,90,0,0,191,192,3,8,4, + 0,192,193,5,90,0,0,193,212,1,0,0,0,194,195,5,96,0,0,195,200,3,8, + 4,0,196,197,5,93,0,0,197,199,3,8,4,0,198,196,1,0,0,0,199,202,1,0, + 0,0,200,198,1,0,0,0,200,201,1,0,0,0,201,203,1,0,0,0,202,200,1,0, + 0,0,203,204,5,97,0,0,204,212,1,0,0,0,205,206,5,102,0,0,206,208,5, + 91,0,0,207,209,3,26,13,0,208,207,1,0,0,0,208,209,1,0,0,0,209,210, + 1,0,0,0,210,212,5,92,0,0,211,178,1,0,0,0,211,179,1,0,0,0,211,180, + 1,0,0,0,211,181,1,0,0,0,211,182,1,0,0,0,211,183,1,0,0,0,211,184, + 1,0,0,0,211,185,1,0,0,0,211,186,1,0,0,0,211,190,1,0,0,0,211,194, + 1,0,0,0,211,205,1,0,0,0,212,25,1,0,0,0,213,218,3,8,4,0,214,215,5, + 93,0,0,215,217,3,8,4,0,216,214,1,0,0,0,217,220,1,0,0,0,218,216,1, + 0,0,0,218,219,1,0,0,0,219,27,1,0,0,0,220,218,1,0,0,0,221,222,5,1, + 0,0,222,223,5,91,0,0,223,224,3,8,4,0,224,225,5,92,0,0,225,432,1, + 0,0,0,226,227,5,2,0,0,227,228,5,91,0,0,228,229,3,8,4,0,229,230,5, + 92,0,0,230,432,1,0,0,0,231,232,5,3,0,0,232,233,5,91,0,0,233,234, + 3,8,4,0,234,235,5,92,0,0,235,432,1,0,0,0,236,237,5,4,0,0,237,238, + 5,91,0,0,238,239,3,8,4,0,239,240,5,92,0,0,240,432,1,0,0,0,241,242, + 5,5,0,0,242,243,5,91,0,0,243,244,3,8,4,0,244,245,5,92,0,0,245,432, + 1,0,0,0,246,247,5,6,0,0,247,248,5,91,0,0,248,249,3,8,4,0,249,250, + 5,92,0,0,250,432,1,0,0,0,251,252,5,8,0,0,252,253,5,91,0,0,253,254, + 3,8,4,0,254,255,5,92,0,0,255,432,1,0,0,0,256,257,5,9,0,0,257,258, + 5,91,0,0,258,259,3,8,4,0,259,260,5,92,0,0,260,432,1,0,0,0,261,262, + 5,10,0,0,262,263,5,91,0,0,263,264,3,8,4,0,264,265,5,92,0,0,265,432, + 1,0,0,0,266,267,5,11,0,0,267,268,5,91,0,0,268,269,3,8,4,0,269,270, + 5,92,0,0,270,432,1,0,0,0,271,272,5,12,0,0,272,273,5,91,0,0,273,274, + 3,8,4,0,274,275,5,92,0,0,275,432,1,0,0,0,276,277,5,13,0,0,277,278, + 5,91,0,0,278,279,3,8,4,0,279,280,5,92,0,0,280,432,1,0,0,0,281,282, + 5,14,0,0,282,283,5,91,0,0,283,284,3,8,4,0,284,285,5,92,0,0,285,432, + 1,0,0,0,286,287,5,15,0,0,287,288,5,91,0,0,288,289,3,8,4,0,289,290, + 5,92,0,0,290,432,1,0,0,0,291,292,5,16,0,0,292,293,5,91,0,0,293,294, + 3,8,4,0,294,295,5,92,0,0,295,432,1,0,0,0,296,297,5,17,0,0,297,298, + 5,91,0,0,298,299,3,8,4,0,299,300,5,92,0,0,300,432,1,0,0,0,301,302, + 5,18,0,0,302,303,5,91,0,0,303,304,3,8,4,0,304,305,5,92,0,0,305,432, + 1,0,0,0,306,307,5,23,0,0,307,308,5,91,0,0,308,309,3,8,4,0,309,310, + 5,92,0,0,310,432,1,0,0,0,311,312,5,24,0,0,312,313,5,91,0,0,313,314, + 3,8,4,0,314,315,5,92,0,0,315,432,1,0,0,0,316,317,5,25,0,0,317,318, + 5,91,0,0,318,319,3,8,4,0,319,320,5,92,0,0,320,432,1,0,0,0,321,322, + 5,26,0,0,322,323,5,91,0,0,323,324,3,8,4,0,324,325,5,92,0,0,325,432, + 1,0,0,0,326,327,5,27,0,0,327,328,5,91,0,0,328,329,3,8,4,0,329,330, + 5,92,0,0,330,432,1,0,0,0,331,332,5,28,0,0,332,333,5,91,0,0,333,334, + 3,8,4,0,334,335,5,92,0,0,335,432,1,0,0,0,336,337,5,30,0,0,337,338, + 5,91,0,0,338,339,3,8,4,0,339,340,5,92,0,0,340,432,1,0,0,0,341,342, + 5,32,0,0,342,343,5,91,0,0,343,344,3,8,4,0,344,345,5,92,0,0,345,432, + 1,0,0,0,346,347,5,33,0,0,347,348,5,91,0,0,348,349,3,8,4,0,349,350, + 5,92,0,0,350,432,1,0,0,0,351,352,5,34,0,0,352,353,5,91,0,0,353,354, + 3,8,4,0,354,355,5,92,0,0,355,432,1,0,0,0,356,357,5,35,0,0,357,358, + 5,91,0,0,358,359,3,8,4,0,359,360,5,92,0,0,360,432,1,0,0,0,361,362, + 5,41,0,0,362,363,5,91,0,0,363,364,3,8,4,0,364,365,5,92,0,0,365,432, + 1,0,0,0,366,367,5,42,0,0,367,368,5,91,0,0,368,369,3,8,4,0,369,370, + 5,92,0,0,370,432,1,0,0,0,371,372,5,43,0,0,372,373,5,91,0,0,373,374, + 3,8,4,0,374,375,5,92,0,0,375,432,1,0,0,0,376,377,5,44,0,0,377,378, + 5,91,0,0,378,379,3,8,4,0,379,380,5,92,0,0,380,432,1,0,0,0,381,382, + 5,45,0,0,382,383,5,91,0,0,383,384,3,8,4,0,384,385,5,92,0,0,385,432, + 1,0,0,0,386,387,5,36,0,0,387,388,5,91,0,0,388,389,3,8,4,0,389,390, + 5,92,0,0,390,432,1,0,0,0,391,392,5,55,0,0,392,393,5,91,0,0,393,394, + 3,8,4,0,394,395,5,92,0,0,395,432,1,0,0,0,396,397,5,56,0,0,397,398, + 5,91,0,0,398,399,3,8,4,0,399,400,5,92,0,0,400,432,1,0,0,0,401,402, + 5,57,0,0,402,403,5,91,0,0,403,404,3,8,4,0,404,405,5,92,0,0,405,432, + 1,0,0,0,406,407,5,58,0,0,407,408,5,91,0,0,408,409,3,8,4,0,409,410, + 5,92,0,0,410,432,1,0,0,0,411,412,5,59,0,0,412,413,5,91,0,0,413,414, + 3,8,4,0,414,415,5,92,0,0,415,432,1,0,0,0,416,417,5,75,0,0,417,418, + 5,91,0,0,418,419,3,8,4,0,419,420,5,92,0,0,420,432,1,0,0,0,421,422, + 5,65,0,0,422,423,5,91,0,0,423,424,3,8,4,0,424,425,5,92,0,0,425,432, + 1,0,0,0,426,427,5,66,0,0,427,428,5,91,0,0,428,429,3,8,4,0,429,430, + 5,92,0,0,430,432,1,0,0,0,431,221,1,0,0,0,431,226,1,0,0,0,431,231, + 1,0,0,0,431,236,1,0,0,0,431,241,1,0,0,0,431,246,1,0,0,0,431,251, + 1,0,0,0,431,256,1,0,0,0,431,261,1,0,0,0,431,266,1,0,0,0,431,271, + 1,0,0,0,431,276,1,0,0,0,431,281,1,0,0,0,431,286,1,0,0,0,431,291, + 1,0,0,0,431,296,1,0,0,0,431,301,1,0,0,0,431,306,1,0,0,0,431,311, + 1,0,0,0,431,316,1,0,0,0,431,321,1,0,0,0,431,326,1,0,0,0,431,331, + 1,0,0,0,431,336,1,0,0,0,431,341,1,0,0,0,431,346,1,0,0,0,431,351, + 1,0,0,0,431,356,1,0,0,0,431,361,1,0,0,0,431,366,1,0,0,0,431,371, + 1,0,0,0,431,376,1,0,0,0,431,381,1,0,0,0,431,386,1,0,0,0,431,391, + 1,0,0,0,431,396,1,0,0,0,431,401,1,0,0,0,431,406,1,0,0,0,431,411, + 1,0,0,0,431,416,1,0,0,0,431,421,1,0,0,0,431,426,1,0,0,0,432,29,1, + 0,0,0,433,434,5,29,0,0,434,435,5,91,0,0,435,436,3,8,4,0,436,437, + 5,93,0,0,437,438,3,8,4,0,438,439,5,92,0,0,439,560,1,0,0,0,440,441, + 5,7,0,0,441,442,5,91,0,0,442,443,3,8,4,0,443,444,5,93,0,0,444,445, + 3,8,4,0,445,446,5,92,0,0,446,560,1,0,0,0,447,448,5,21,0,0,448,449, + 5,91,0,0,449,450,3,8,4,0,450,451,5,93,0,0,451,452,3,8,4,0,452,453, + 5,92,0,0,453,560,1,0,0,0,454,455,5,22,0,0,455,456,5,91,0,0,456,457, + 3,8,4,0,457,458,5,93,0,0,458,459,3,8,4,0,459,460,5,92,0,0,460,560, + 1,0,0,0,461,462,5,39,0,0,462,463,5,91,0,0,463,464,3,8,4,0,464,465, + 5,93,0,0,465,466,3,8,4,0,466,467,5,92,0,0,467,560,1,0,0,0,468,469, + 5,53,0,0,469,470,5,91,0,0,470,471,3,8,4,0,471,472,5,93,0,0,472,473, + 3,8,4,0,473,474,5,92,0,0,474,560,1,0,0,0,475,476,5,54,0,0,476,477, + 5,91,0,0,477,478,3,8,4,0,478,479,5,93,0,0,479,480,3,8,4,0,480,481, + 5,92,0,0,481,560,1,0,0,0,482,483,5,60,0,0,483,484,5,91,0,0,484,485, + 3,8,4,0,485,486,5,93,0,0,486,487,3,8,4,0,487,488,5,92,0,0,488,560, + 1,0,0,0,489,490,5,61,0,0,490,491,5,91,0,0,491,492,3,8,4,0,492,493, + 5,93,0,0,493,494,3,8,4,0,494,495,5,92,0,0,495,560,1,0,0,0,496,497, + 5,62,0,0,497,498,5,91,0,0,498,499,3,8,4,0,499,500,5,93,0,0,500,501, + 3,8,4,0,501,502,5,92,0,0,502,560,1,0,0,0,503,504,5,63,0,0,504,505, + 5,91,0,0,505,506,3,8,4,0,506,507,5,93,0,0,507,508,3,8,4,0,508,509, + 5,92,0,0,509,560,1,0,0,0,510,511,5,72,0,0,511,512,5,91,0,0,512,513, + 3,8,4,0,513,514,5,93,0,0,514,515,3,8,4,0,515,516,5,92,0,0,516,560, + 1,0,0,0,517,518,5,73,0,0,518,519,5,91,0,0,519,520,3,8,4,0,520,521, + 5,93,0,0,521,522,3,8,4,0,522,523,5,92,0,0,523,560,1,0,0,0,524,525, + 5,74,0,0,525,526,5,91,0,0,526,527,3,8,4,0,527,528,5,93,0,0,528,529, + 3,8,4,0,529,530,5,92,0,0,530,560,1,0,0,0,531,532,5,76,0,0,532,533, + 5,91,0,0,533,534,3,8,4,0,534,535,5,93,0,0,535,536,3,8,4,0,536,537, + 5,92,0,0,537,560,1,0,0,0,538,539,5,68,0,0,539,540,5,91,0,0,540,541, + 3,8,4,0,541,542,5,93,0,0,542,543,3,8,4,0,543,544,5,92,0,0,544,560, + 1,0,0,0,545,546,5,70,0,0,546,547,5,91,0,0,547,548,3,8,4,0,548,549, + 5,93,0,0,549,550,3,8,4,0,550,551,5,92,0,0,551,560,1,0,0,0,552,553, + 5,71,0,0,553,554,5,91,0,0,554,555,3,8,4,0,555,556,5,93,0,0,556,557, + 3,8,4,0,557,558,5,92,0,0,558,560,1,0,0,0,559,433,1,0,0,0,559,440, + 1,0,0,0,559,447,1,0,0,0,559,454,1,0,0,0,559,461,1,0,0,0,559,468, + 1,0,0,0,559,475,1,0,0,0,559,482,1,0,0,0,559,489,1,0,0,0,559,496, + 1,0,0,0,559,503,1,0,0,0,559,510,1,0,0,0,559,517,1,0,0,0,559,524, + 1,0,0,0,559,531,1,0,0,0,559,538,1,0,0,0,559,545,1,0,0,0,559,552, + 1,0,0,0,560,31,1,0,0,0,561,562,5,31,0,0,562,563,5,91,0,0,563,564, + 3,8,4,0,564,565,5,93,0,0,565,566,3,8,4,0,566,567,5,93,0,0,567,568, + 3,8,4,0,568,569,5,92,0,0,569,625,1,0,0,0,570,571,5,38,0,0,571,572, + 5,91,0,0,572,573,3,8,4,0,573,574,5,93,0,0,574,575,3,8,4,0,575,576, + 5,93,0,0,576,577,3,8,4,0,577,578,5,92,0,0,578,625,1,0,0,0,579,580, + 5,40,0,0,580,581,5,91,0,0,581,582,3,8,4,0,582,583,5,93,0,0,583,584, + 3,8,4,0,584,585,5,93,0,0,585,586,3,8,4,0,586,587,5,92,0,0,587,625, + 1,0,0,0,588,589,5,52,0,0,589,590,5,91,0,0,590,591,3,8,4,0,591,592, + 5,93,0,0,592,593,3,8,4,0,593,594,5,93,0,0,594,595,3,8,4,0,595,596, + 5,92,0,0,596,625,1,0,0,0,597,598,5,64,0,0,598,599,5,91,0,0,599,600, + 3,8,4,0,600,601,5,93,0,0,601,602,3,8,4,0,602,603,5,93,0,0,603,604, + 3,8,4,0,604,605,5,92,0,0,605,625,1,0,0,0,606,607,5,67,0,0,607,608, + 5,91,0,0,608,609,3,8,4,0,609,610,5,93,0,0,610,611,3,8,4,0,611,612, + 5,93,0,0,612,613,3,8,4,0,613,614,5,92,0,0,614,625,1,0,0,0,615,616, + 5,69,0,0,616,617,5,91,0,0,617,618,3,8,4,0,618,619,5,93,0,0,619,620, + 3,8,4,0,620,621,5,93,0,0,621,622,3,8,4,0,622,623,5,92,0,0,623,625, + 1,0,0,0,624,561,1,0,0,0,624,570,1,0,0,0,624,579,1,0,0,0,624,588, + 1,0,0,0,624,597,1,0,0,0,624,606,1,0,0,0,624,615,1,0,0,0,625,33,1, + 0,0,0,626,627,5,49,0,0,627,628,5,91,0,0,628,629,3,8,4,0,629,630, + 5,93,0,0,630,631,3,8,4,0,631,632,5,93,0,0,632,633,3,8,4,0,633,634, + 5,93,0,0,634,635,3,8,4,0,635,636,5,92,0,0,636,649,1,0,0,0,637,638, + 5,37,0,0,638,639,5,91,0,0,639,640,3,8,4,0,640,641,5,93,0,0,641,642, + 3,8,4,0,642,643,5,93,0,0,643,644,3,8,4,0,644,645,5,93,0,0,645,646, + 3,8,4,0,646,647,5,92,0,0,647,649,1,0,0,0,648,626,1,0,0,0,648,637, + 1,0,0,0,649,35,1,0,0,0,650,651,5,19,0,0,651,652,5,91,0,0,652,657, + 3,8,4,0,653,654,5,93,0,0,654,656,3,8,4,0,655,653,1,0,0,0,656,659, + 1,0,0,0,657,655,1,0,0,0,657,658,1,0,0,0,658,660,1,0,0,0,659,657, + 1,0,0,0,660,661,5,92,0,0,661,722,1,0,0,0,662,663,5,20,0,0,663,664, + 5,91,0,0,664,669,3,8,4,0,665,666,5,93,0,0,666,668,3,8,4,0,667,665, + 1,0,0,0,668,671,1,0,0,0,669,667,1,0,0,0,669,670,1,0,0,0,670,672, + 1,0,0,0,671,669,1,0,0,0,672,673,5,92,0,0,673,722,1,0,0,0,674,675, + 5,46,0,0,675,676,5,91,0,0,676,679,3,8,4,0,677,678,5,93,0,0,678,680, + 3,8,4,0,679,677,1,0,0,0,680,681,1,0,0,0,681,679,1,0,0,0,681,682, + 1,0,0,0,682,683,1,0,0,0,683,684,5,92,0,0,684,722,1,0,0,0,685,686, + 5,47,0,0,686,687,5,91,0,0,687,690,3,8,4,0,688,689,5,93,0,0,689,691, + 3,8,4,0,690,688,1,0,0,0,691,692,1,0,0,0,692,690,1,0,0,0,692,693, + 1,0,0,0,693,694,1,0,0,0,694,695,5,92,0,0,695,722,1,0,0,0,696,697, + 5,48,0,0,697,698,5,91,0,0,698,701,3,8,4,0,699,700,5,93,0,0,700,702, + 3,8,4,0,701,699,1,0,0,0,702,703,1,0,0,0,703,701,1,0,0,0,703,704, + 1,0,0,0,704,705,1,0,0,0,705,706,5,92,0,0,706,722,1,0,0,0,707,708, + 5,50,0,0,708,709,5,91,0,0,709,710,3,8,4,0,710,711,5,93,0,0,711,712, + 3,8,4,0,712,713,5,92,0,0,713,722,1,0,0,0,714,715,5,51,0,0,715,716, + 5,91,0,0,716,717,3,8,4,0,717,718,5,93,0,0,718,719,3,8,4,0,719,720, + 5,92,0,0,720,722,1,0,0,0,721,650,1,0,0,0,721,662,1,0,0,0,721,674, + 1,0,0,0,721,685,1,0,0,0,721,696,1,0,0,0,721,707,1,0,0,0,721,714, + 1,0,0,0,722,37,1,0,0,0,29,41,47,56,73,79,108,110,122,124,139,141, + 149,156,168,175,200,208,211,218,431,559,624,648,657,669,681,692, + 703,721 ] class MathExprParser ( Parser ): @@ -298,7 +302,7 @@ class MathExprParser ( Parser ): "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", "'<='", "'<'", "'=='", "'='", "'!='", "'|'", "'('", - "')'", "','", "';'", "'->'", "'['", "']'" ] + "')'", "','", "';'", "'->'", "'['", "']'", "'?'", "':'" ] symbolicNames = [ "", "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", "TANH", "ASINH", @@ -316,31 +320,33 @@ class MathExprParser ( Parser ): "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", "ARROW", "LBRACKET", - "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" ] + "RBRACKET", "QUESTION", "COLON", "CONSTANT", "NUMBER", + "VARIABLE", "WS" ] RULE_start = 0 RULE_funcDef = 1 RULE_varDef = 2 RULE_paramList = 3 RULE_expr = 4 - RULE_compExpr = 5 - RULE_addExpr = 6 - RULE_mulExpr = 7 - RULE_powExpr = 8 - RULE_unaryExpr = 9 - RULE_indexExpr = 10 - RULE_atom = 11 - RULE_exprList = 12 - RULE_func1 = 13 - RULE_func2 = 14 - RULE_func3 = 15 - RULE_func4 = 16 - RULE_funcN = 17 + RULE_ternaryExpr = 5 + RULE_compExpr = 6 + RULE_addExpr = 7 + RULE_mulExpr = 8 + RULE_powExpr = 9 + RULE_unaryExpr = 10 + RULE_indexExpr = 11 + RULE_atom = 12 + RULE_exprList = 13 + RULE_func1 = 14 + RULE_func2 = 15 + RULE_func3 = 16 + RULE_func4 = 17 + RULE_funcN = 18 - ruleNames = [ "start", "funcDef", "varDef", "paramList", "expr", "compExpr", - "addExpr", "mulExpr", "powExpr", "unaryExpr", "indexExpr", - "atom", "exprList", "func1", "func2", "func3", "func4", - "funcN" ] + ruleNames = [ "start", "funcDef", "varDef", "paramList", "expr", "ternaryExpr", + "compExpr", "addExpr", "mulExpr", "powExpr", "unaryExpr", + "indexExpr", "atom", "exprList", "func1", "func2", "func3", + "func4", "funcN" ] EOF = Token.EOF SIN=1 @@ -440,10 +446,12 @@ class MathExprParser ( Parser ): ARROW=95 LBRACKET=96 RBRACKET=97 - CONSTANT=98 - NUMBER=99 - VARIABLE=100 - WS=101 + QUESTION=98 + COLON=99 + CONSTANT=100 + NUMBER=101 + VARIABLE=102 + WS=103 def __init__(self, input:TokenStream, output:TextIO = sys.stdout): super().__init__(input, output) @@ -485,14 +493,6 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_start - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterStart" ): - listener.enterStart(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitStart" ): - listener.exitStart(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitStart" ): return visitor.visitStart(self) @@ -508,31 +508,31 @@ class MathExprParser ( Parser ): self.enterRule(localctx, 0, self.RULE_start) try: self.enterOuterAlt(localctx, 1) - self.state = 39 + self.state = 41 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,0,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 36 + self.state = 38 self.funcDef() - self.state = 41 + self.state = 43 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,0,self._ctx) - self.state = 45 + self.state = 47 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,1,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 42 + self.state = 44 self.varDef() - self.state = 47 + self.state = 49 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,1,self._ctx) - self.state = 48 + self.state = 50 self.expr() - self.state = 49 + self.state = 51 self.match(MathExprParser.EOF) except RecognitionException as re: localctx.exception = re @@ -583,14 +583,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.ParamListContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFunctionDef" ): - listener.enterFunctionDef(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFunctionDef" ): - listener.exitFunctionDef(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFunctionDef" ): return visitor.visitFunctionDef(self) @@ -607,25 +599,25 @@ class MathExprParser ( Parser ): try: localctx = MathExprParser.FunctionDefContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 51 + self.state = 53 self.match(MathExprParser.VARIABLE) - self.state = 52 - self.match(MathExprParser.LPAREN) self.state = 54 + self.match(MathExprParser.LPAREN) + self.state = 56 self._errHandler.sync(self) _la = self._input.LA(1) - if _la==100: - self.state = 53 + if _la==102: + self.state = 55 self.paramList() - self.state = 56 - self.match(MathExprParser.RPAREN) - self.state = 57 - self.match(MathExprParser.ARROW) self.state = 58 - self.expr() + self.match(MathExprParser.RPAREN) self.state = 59 + self.match(MathExprParser.ARROW) + self.state = 60 + self.expr() + self.state = 61 self.match(MathExprParser.SEMICOLON) except RecognitionException as re: localctx.exception = re @@ -659,14 +651,6 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_varDef - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterVarDef" ): - listener.enterVarDef(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitVarDef" ): - listener.exitVarDef(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitVarDef" ): return visitor.visitVarDef(self) @@ -682,13 +666,13 @@ class MathExprParser ( Parser ): self.enterRule(localctx, 4, self.RULE_varDef) try: self.enterOuterAlt(localctx, 1) - self.state = 61 - self.match(MathExprParser.VARIABLE) - self.state = 62 - self.match(MathExprParser.EQUEALS) self.state = 63 - self.expr() + self.match(MathExprParser.VARIABLE) self.state = 64 + self.match(MathExprParser.EQUEALS) + self.state = 65 + self.expr() + self.state = 66 self.match(MathExprParser.SEMICOLON) except RecognitionException as re: localctx.exception = re @@ -721,14 +705,6 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_paramList - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterParamList" ): - listener.enterParamList(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitParamList" ): - listener.exitParamList(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitParamList" ): return visitor.visitParamList(self) @@ -745,17 +721,17 @@ class MathExprParser ( Parser ): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 66 + self.state = 68 self.match(MathExprParser.VARIABLE) - self.state = 71 + self.state = 73 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 67 + self.state = 69 self.match(MathExprParser.COMMA) - self.state = 68 + self.state = 70 self.match(MathExprParser.VARIABLE) - self.state = 73 + self.state = 75 self._errHandler.sync(self) _la = self._input.LA(1) @@ -775,6 +751,10 @@ class MathExprParser ( Parser ): super().__init__(parent, invokingState) self.parser = parser + def ternaryExpr(self): + return self.getTypedRuleContext(MathExprParser.TernaryExprContext,0) + + def atom(self): return self.getTypedRuleContext(MathExprParser.AtomContext,0) @@ -786,14 +766,6 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_expr - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterExpr" ): - listener.enterExpr(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitExpr" ): - listener.exitExpr(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitExpr" ): return visitor.visitExpr(self) @@ -808,18 +780,24 @@ class MathExprParser ( Parser ): localctx = MathExprParser.ExprContext(self, self._ctx, self.state) self.enterRule(localctx, 8, self.RULE_expr) try: - self.state = 76 + self.state = 79 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,4,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 74 - self.atom() + self.state = 76 + self.ternaryExpr() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 75 + self.state = 77 + self.atom() + pass + + elif la_ == 3: + self.enterOuterAlt(localctx, 3) + self.state = 78 self.compExpr(0) pass @@ -833,6 +811,77 @@ class MathExprParser ( Parser ): return localctx + class TernaryExprContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + + def getRuleIndex(self): + return MathExprParser.RULE_ternaryExpr + + + def copyFrom(self, ctx:ParserRuleContext): + super().copyFrom(ctx) + + + + class TernaryExpContext(TernaryExprContext): + + def __init__(self, parser, ctx:ParserRuleContext): # actually a MathExprParser.TernaryExprContext + super().__init__(parser) + self.copyFrom(ctx) + + def compExpr(self): + return self.getTypedRuleContext(MathExprParser.CompExprContext,0) + + def QUESTION(self): + return self.getToken(MathExprParser.QUESTION, 0) + def expr(self, i:int=None): + if i is None: + return self.getTypedRuleContexts(MathExprParser.ExprContext) + else: + return self.getTypedRuleContext(MathExprParser.ExprContext,i) + + def COLON(self): + return self.getToken(MathExprParser.COLON, 0) + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitTernaryExp" ): + return visitor.visitTernaryExp(self) + else: + return visitor.visitChildren(self) + + + + def ternaryExpr(self): + + localctx = MathExprParser.TernaryExprContext(self, self._ctx, self.state) + self.enterRule(localctx, 10, self.RULE_ternaryExpr) + try: + localctx = MathExprParser.TernaryExpContext(self, localctx) + self.enterOuterAlt(localctx, 1) + self.state = 81 + self.compExpr(0) + self.state = 82 + self.match(MathExprParser.QUESTION) + self.state = 83 + self.expr() + self.state = 84 + self.match(MathExprParser.COLON) + self.state = 85 + self.expr() + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + class CompExprContext(ParserRuleContext): __slots__ = 'parser' @@ -864,14 +913,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLtExp" ): - listener.enterLtExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLtExp" ): - listener.exitLtExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLtExp" ): return visitor.visitLtExp(self) @@ -894,14 +935,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterEqExp" ): - listener.enterEqExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitEqExp" ): - listener.exitEqExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitEqExp" ): return visitor.visitEqExp(self) @@ -919,14 +952,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToAdd" ): - listener.enterToAdd(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToAdd" ): - listener.exitToAdd(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToAdd" ): return visitor.visitToAdd(self) @@ -949,14 +974,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterGeExp" ): - listener.enterGeExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitGeExp" ): - listener.exitGeExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitGeExp" ): return visitor.visitGeExp(self) @@ -979,14 +996,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLeExp" ): - listener.enterLeExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLeExp" ): - listener.exitLeExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLeExp" ): return visitor.visitLeExp(self) @@ -1009,14 +1018,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterNeExp" ): - listener.enterNeExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitNeExp" ): - listener.exitNeExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitNeExp" ): return visitor.visitNeExp(self) @@ -1039,14 +1040,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AddExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterGtExp" ): - listener.enterGtExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitGtExp" ): - listener.exitGtExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitGtExp" ): return visitor.visitGtExp(self) @@ -1060,18 +1053,18 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.CompExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 10 - self.enterRecursionRule(localctx, 10, self.RULE_compExpr, _p) + _startState = 12 + self.enterRecursionRule(localctx, 12, self.RULE_compExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToAddContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 79 + self.state = 88 self.addExpr(0) self._ctx.stop = self._input.LT(-1) - self.state = 101 + self.state = 110 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,6,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -1079,89 +1072,89 @@ class MathExprParser ( Parser ): if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 99 + self.state = 108 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,5,self._ctx) if la_ == 1: localctx = MathExprParser.GtExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 81 + self.state = 90 if not self.precpred(self._ctx, 7): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 7)") - self.state = 82 + self.state = 91 self.match(MathExprParser.GT) - self.state = 83 + self.state = 92 self.addExpr(0) pass elif la_ == 2: localctx = MathExprParser.GeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 84 + self.state = 93 if not self.precpred(self._ctx, 6): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 6)") - self.state = 85 + self.state = 94 self.match(MathExprParser.GE) - self.state = 86 + self.state = 95 self.addExpr(0) pass elif la_ == 3: localctx = MathExprParser.LtExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 87 + self.state = 96 if not self.precpred(self._ctx, 5): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 5)") - self.state = 88 + self.state = 97 self.match(MathExprParser.LT) - self.state = 89 + self.state = 98 self.addExpr(0) pass elif la_ == 4: localctx = MathExprParser.LeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 90 + self.state = 99 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 91 + self.state = 100 self.match(MathExprParser.LE) - self.state = 92 + self.state = 101 self.addExpr(0) pass elif la_ == 5: localctx = MathExprParser.EqExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 93 + self.state = 102 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 94 + self.state = 103 self.match(MathExprParser.EQ) - self.state = 95 + self.state = 104 self.addExpr(0) pass elif la_ == 6: localctx = MathExprParser.NeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 96 + self.state = 105 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 97 + self.state = 106 self.match(MathExprParser.NE) - self.state = 98 + self.state = 107 self.addExpr(0) pass - self.state = 103 + self.state = 112 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,6,self._ctx) @@ -1205,14 +1198,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.MulExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAddExp" ): - listener.enterAddExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAddExp" ): - listener.exitAddExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAddExp" ): return visitor.visitAddExp(self) @@ -1230,14 +1215,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.MulExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToMul" ): - listener.enterToMul(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToMul" ): - listener.exitToMul(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToMul" ): return visitor.visitToMul(self) @@ -1260,14 +1237,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.MulExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSubExp" ): - listener.enterSubExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSubExp" ): - listener.exitSubExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSubExp" ): return visitor.visitSubExp(self) @@ -1281,18 +1250,18 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.AddExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 12 - self.enterRecursionRule(localctx, 12, self.RULE_addExpr, _p) + _startState = 14 + self.enterRecursionRule(localctx, 14, self.RULE_addExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToMulContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 105 + self.state = 114 self.mulExpr(0) self._ctx.stop = self._input.LT(-1) - self.state = 115 + self.state = 124 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,8,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -1300,37 +1269,37 @@ class MathExprParser ( Parser ): if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 113 + self.state = 122 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,7,self._ctx) if la_ == 1: localctx = MathExprParser.AddExpContext(self, MathExprParser.AddExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_addExpr) - self.state = 107 + self.state = 116 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 108 + self.state = 117 self.match(MathExprParser.PLUS) - self.state = 109 + self.state = 118 self.mulExpr(0) pass elif la_ == 2: localctx = MathExprParser.SubExpContext(self, MathExprParser.AddExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_addExpr) - self.state = 110 + self.state = 119 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 111 + self.state = 120 self.match(MathExprParser.MINUS) - self.state = 112 + self.state = 121 self.mulExpr(0) pass - self.state = 117 + self.state = 126 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,8,self._ctx) @@ -1374,14 +1343,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.PowExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterMulExp" ): - listener.enterMulExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitMulExp" ): - listener.exitMulExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitMulExp" ): return visitor.visitMulExp(self) @@ -1404,14 +1365,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.PowExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterModExp" ): - listener.enterModExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitModExp" ): - listener.exitModExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitModExp" ): return visitor.visitModExp(self) @@ -1434,14 +1387,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.PowExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterDivExp" ): - listener.enterDivExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitDivExp" ): - listener.exitDivExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitDivExp" ): return visitor.visitDivExp(self) @@ -1459,14 +1404,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.PowExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToPow" ): - listener.enterToPow(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToPow" ): - listener.exitToPow(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToPow" ): return visitor.visitToPow(self) @@ -1480,18 +1417,18 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.MulExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 14 - self.enterRecursionRule(localctx, 14, self.RULE_mulExpr, _p) + _startState = 16 + self.enterRecursionRule(localctx, 16, self.RULE_mulExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToPowContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 119 + self.state = 128 self.powExpr() self._ctx.stop = self._input.LT(-1) - self.state = 132 + self.state = 141 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,10,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -1499,50 +1436,50 @@ class MathExprParser ( Parser ): if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 130 + self.state = 139 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,9,self._ctx) if la_ == 1: localctx = MathExprParser.MulExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 121 + self.state = 130 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 122 + self.state = 131 self.match(MathExprParser.MULT) - self.state = 123 + self.state = 132 self.powExpr() pass elif la_ == 2: localctx = MathExprParser.DivExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 124 + self.state = 133 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 125 + self.state = 134 self.match(MathExprParser.DIV) - self.state = 126 + self.state = 135 self.powExpr() pass elif la_ == 3: localctx = MathExprParser.ModExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 127 + self.state = 136 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 128 + self.state = 137 self.match(MathExprParser.MOD) - self.state = 129 + self.state = 138 self.powExpr() pass - self.state = 134 + self.state = 143 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,10,self._ctx) @@ -1587,14 +1524,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.PowExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPowExp" ): - listener.enterPowExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPowExp" ): - listener.exitPowExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPowExp" ): return visitor.visitPowExp(self) @@ -1612,14 +1541,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.UnaryExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToUnary" ): - listener.enterToUnary(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToUnary" ): - listener.exitToUnary(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToUnary" ): return visitor.visitToUnary(self) @@ -1631,26 +1552,26 @@ class MathExprParser ( Parser ): def powExpr(self): localctx = MathExprParser.PowExprContext(self, self._ctx, self.state) - self.enterRule(localctx, 16, self.RULE_powExpr) + self.enterRule(localctx, 18, self.RULE_powExpr) try: - self.state = 140 + self.state = 149 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,11,self._ctx) if la_ == 1: localctx = MathExprParser.PowExpContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 135 + self.state = 144 self.unaryExpr() - self.state = 136 + self.state = 145 self.match(MathExprParser.POW) - self.state = 137 + self.state = 146 self.powExpr() pass elif la_ == 2: localctx = MathExprParser.ToUnaryContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 139 + self.state = 148 self.unaryExpr() pass @@ -1693,14 +1614,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.UnaryExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterUnaryPlus" ): - listener.enterUnaryPlus(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitUnaryPlus" ): - listener.exitUnaryPlus(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitUnaryPlus" ): return visitor.visitUnaryPlus(self) @@ -1720,14 +1633,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.UnaryExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterUnaryMinus" ): - listener.enterUnaryMinus(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitUnaryMinus" ): - listener.exitUnaryMinus(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitUnaryMinus" ): return visitor.visitUnaryMinus(self) @@ -1745,14 +1650,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.IndexExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToIndex" ): - listener.enterToIndex(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToIndex" ): - listener.exitToIndex(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToIndex" ): return visitor.visitToIndex(self) @@ -1764,31 +1661,31 @@ class MathExprParser ( Parser ): def unaryExpr(self): localctx = MathExprParser.UnaryExprContext(self, self._ctx, self.state) - self.enterRule(localctx, 18, self.RULE_unaryExpr) + self.enterRule(localctx, 20, self.RULE_unaryExpr) try: - self.state = 147 + self.state = 156 self._errHandler.sync(self) token = self._input.LA(1) if token in [77]: localctx = MathExprParser.UnaryPlusContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 142 + self.state = 151 self.match(MathExprParser.PLUS) - self.state = 143 + self.state = 152 self.unaryExpr() pass elif token in [78]: localctx = MathExprParser.UnaryMinusContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 144 + self.state = 153 self.match(MathExprParser.MINUS) - self.state = 145 + self.state = 154 self.unaryExpr() pass - elif token in [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, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 90, 91, 96, 98, 99, 100]: + elif token in [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, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 90, 91, 96, 100, 101, 102]: localctx = MathExprParser.ToIndexContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 146 + self.state = 155 self.indexExpr(0) pass else: @@ -1844,14 +1741,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterIndexExp" ): - listener.enterIndexExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitIndexExp" ): - listener.exitIndexExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitIndexExp" ): return visitor.visitIndexExp(self) @@ -1869,14 +1758,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.AtomContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterToAtom" ): - listener.enterToAtom(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitToAtom" ): - listener.exitToAtom(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitToAtom" ): return visitor.visitToAtom(self) @@ -1890,8 +1771,8 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.IndexExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 20 - self.enterRecursionRule(localctx, 20, self.RULE_indexExpr, _p) + _startState = 22 + self.enterRecursionRule(localctx, 22, self.RULE_indexExpr, _p) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) @@ -1899,10 +1780,10 @@ class MathExprParser ( Parser ): self._ctx = localctx _prevctx = localctx - self.state = 150 + self.state = 159 self.atom() self._ctx.stop = self._input.LT(-1) - self.state = 166 + self.state = 175 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,14,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -1912,29 +1793,29 @@ class MathExprParser ( Parser ): _prevctx = localctx localctx = MathExprParser.IndexExpContext(self, MathExprParser.IndexExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_indexExpr) - self.state = 152 + self.state = 161 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 153 + self.state = 162 self.match(MathExprParser.LBRACKET) - self.state = 154 + self.state = 163 self.expr() - self.state = 159 + self.state = 168 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 155 + self.state = 164 self.match(MathExprParser.COMMA) - self.state = 156 + self.state = 165 self.expr() - self.state = 161 + self.state = 170 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 162 + self.state = 171 self.match(MathExprParser.RBRACKET) - self.state = 168 + self.state = 177 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,14,self._ctx) @@ -1974,14 +1855,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.Func4Context,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFunc4Exp" ): - listener.enterFunc4Exp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFunc4Exp" ): - listener.exitFunc4Exp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFunc4Exp" ): return visitor.visitFunc4Exp(self) @@ -1999,14 +1872,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.Func2Context,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFunc2Exp" ): - listener.enterFunc2Exp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFunc2Exp" ): - listener.exitFunc2Exp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFunc2Exp" ): return visitor.visitFunc2Exp(self) @@ -2023,14 +1888,6 @@ class MathExprParser ( Parser ): def VARIABLE(self): return self.getToken(MathExprParser.VARIABLE, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterVariableExp" ): - listener.enterVariableExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitVariableExp" ): - listener.exitVariableExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitVariableExp" ): return visitor.visitVariableExp(self) @@ -2054,14 +1911,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.ExprListContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCallExp" ): - listener.enterCallExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCallExp" ): - listener.exitCallExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCallExp" ): return visitor.visitCallExp(self) @@ -2079,14 +1928,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.Func3Context,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFunc3Exp" ): - listener.enterFunc3Exp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFunc3Exp" ): - listener.exitFunc3Exp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFunc3Exp" ): return visitor.visitFunc3Exp(self) @@ -2108,14 +1949,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterParenExp" ): - listener.enterParenExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitParenExp" ): - listener.exitParenExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitParenExp" ): return visitor.visitParenExp(self) @@ -2132,14 +1965,6 @@ class MathExprParser ( Parser ): def CONSTANT(self): return self.getToken(MathExprParser.CONSTANT, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterConstantExp" ): - listener.enterConstantExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitConstantExp" ): - listener.exitConstantExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitConstantExp" ): return visitor.visitConstantExp(self) @@ -2157,14 +1982,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.Func1Context,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFunc1Exp" ): - listener.enterFunc1Exp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFunc1Exp" ): - listener.exitFunc1Exp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFunc1Exp" ): return visitor.visitFunc1Exp(self) @@ -2182,14 +1999,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.FuncNContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFuncNExp" ): - listener.enterFuncNExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFuncNExp" ): - listener.exitFuncNExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFuncNExp" ): return visitor.visitFuncNExp(self) @@ -2206,14 +2015,6 @@ class MathExprParser ( Parser ): def NUMBER(self): return self.getToken(MathExprParser.NUMBER, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterNumberExp" ): - listener.enterNumberExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitNumberExp" ): - listener.exitNumberExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitNumberExp" ): return visitor.visitNumberExp(self) @@ -2236,14 +2037,6 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.ExprContext,0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAbsExp" ): - listener.enterAbsExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAbsExp" ): - listener.exitAbsExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAbsExp" ): return visitor.visitAbsExp(self) @@ -2273,14 +2066,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterListExp" ): - listener.enterListExp(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitListExp" ): - listener.exitListExp(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitListExp" ): return visitor.visitListExp(self) @@ -2292,129 +2077,129 @@ class MathExprParser ( Parser ): def atom(self): localctx = MathExprParser.AtomContext(self, self._ctx, self.state) - self.enterRule(localctx, 22, self.RULE_atom) + self.enterRule(localctx, 24, self.RULE_atom) self._la = 0 # Token type try: - self.state = 202 + self.state = 211 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,17,self._ctx) if la_ == 1: localctx = MathExprParser.Func1ExpContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 169 + self.state = 178 self.func1() pass elif la_ == 2: localctx = MathExprParser.Func2ExpContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 170 + self.state = 179 self.func2() pass elif la_ == 3: localctx = MathExprParser.Func3ExpContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 171 + self.state = 180 self.func3() pass elif la_ == 4: localctx = MathExprParser.Func4ExpContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 172 + self.state = 181 self.func4() pass elif la_ == 5: localctx = MathExprParser.FuncNExpContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 173 + self.state = 182 self.funcN() pass elif la_ == 6: localctx = MathExprParser.VariableExpContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 174 + self.state = 183 self.match(MathExprParser.VARIABLE) pass elif la_ == 7: localctx = MathExprParser.NumberExpContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 175 + self.state = 184 self.match(MathExprParser.NUMBER) pass elif la_ == 8: localctx = MathExprParser.ConstantExpContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 176 + self.state = 185 self.match(MathExprParser.CONSTANT) pass elif la_ == 9: localctx = MathExprParser.ParenExpContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 177 + self.state = 186 self.match(MathExprParser.LPAREN) - self.state = 178 + self.state = 187 self.expr() - self.state = 179 + self.state = 188 self.match(MathExprParser.RPAREN) pass elif la_ == 10: localctx = MathExprParser.AbsExpContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 181 + self.state = 190 self.match(MathExprParser.PIPE) - self.state = 182 + self.state = 191 self.expr() - self.state = 183 + self.state = 192 self.match(MathExprParser.PIPE) pass elif la_ == 11: localctx = MathExprParser.ListExpContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 185 + self.state = 194 self.match(MathExprParser.LBRACKET) - self.state = 186 + self.state = 195 self.expr() - self.state = 191 + self.state = 200 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 187 + self.state = 196 self.match(MathExprParser.COMMA) - self.state = 188 + self.state = 197 self.expr() - self.state = 193 + self.state = 202 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 194 + self.state = 203 self.match(MathExprParser.RBRACKET) pass elif la_ == 12: localctx = MathExprParser.CallExpContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 196 + self.state = 205 self.match(MathExprParser.VARIABLE) - self.state = 197 + self.state = 206 self.match(MathExprParser.LPAREN) - self.state = 199 + self.state = 208 self._errHandler.sync(self) _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 124755410943) != 0): - self.state = 198 + if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 485532663807) != 0): + self.state = 207 self.exprList() - self.state = 201 + self.state = 210 self.match(MathExprParser.RPAREN) pass @@ -2451,14 +2236,6 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_exprList - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterExprList" ): - listener.enterExprList(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitExprList" ): - listener.exitExprList(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitExprList" ): return visitor.visitExprList(self) @@ -2471,21 +2248,21 @@ class MathExprParser ( Parser ): def exprList(self): localctx = MathExprParser.ExprListContext(self, self._ctx, self.state) - self.enterRule(localctx, 24, self.RULE_exprList) + self.enterRule(localctx, 26, self.RULE_exprList) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 204 + self.state = 213 self.expr() - self.state = 209 + self.state = 218 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 205 + self.state = 214 self.match(MathExprParser.COMMA) - self.state = 206 + self.state = 215 self.expr() - self.state = 211 + self.state = 220 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2531,14 +2308,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSoftplusFunc" ): - listener.enterSoftplusFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSoftplusFunc" ): - listener.exitSoftplusFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSoftplusFunc" ): return visitor.visitSoftplusFunc(self) @@ -2562,14 +2331,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSortFunc" ): - listener.enterSortFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSortFunc" ): - listener.exitSortFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSortFunc" ): return visitor.visitSortFunc(self) @@ -2593,14 +2354,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTanhFunc" ): - listener.enterTanhFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTanhFunc" ): - listener.exitTanhFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTanhFunc" ): return visitor.visitTanhFunc(self) @@ -2624,14 +2377,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAcoshFunc" ): - listener.enterAcoshFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAcoshFunc" ): - listener.exitAcoshFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAcoshFunc" ): return visitor.visitAcoshFunc(self) @@ -2655,14 +2400,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterNoiseFunc" ): - listener.enterNoiseFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitNoiseFunc" ): - listener.exitNoiseFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitNoiseFunc" ): return visitor.visitNoiseFunc(self) @@ -2686,14 +2423,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSqrtFunc" ): - listener.enterSqrtFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSqrtFunc" ): - listener.exitSqrtFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSqrtFunc" ): return visitor.visitSqrtFunc(self) @@ -2717,14 +2446,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFloorFunc" ): - listener.enterFloorFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFloorFunc" ): - listener.exitFloorFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFloorFunc" ): return visitor.visitFloorFunc(self) @@ -2748,14 +2469,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterRoundFunc" ): - listener.enterRoundFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitRoundFunc" ): - listener.exitRoundFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitRoundFunc" ): return visitor.visitRoundFunc(self) @@ -2779,14 +2492,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterMeanFunc" ): - listener.enterMeanFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitMeanFunc" ): - listener.exitMeanFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitMeanFunc" ): return visitor.visitMeanFunc(self) @@ -2810,14 +2515,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCeilFunc" ): - listener.enterCeilFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCeilFunc" ): - listener.exitCeilFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCeilFunc" ): return visitor.visitCeilFunc(self) @@ -2841,14 +2538,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterGeluFunc" ): - listener.enterGeluFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitGeluFunc" ): - listener.exitGeluFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitGeluFunc" ): return visitor.visitGeluFunc(self) @@ -2872,14 +2561,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPrintFunc" ): - listener.enterPrintFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPrintFunc" ): - listener.exitPrintFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPrintFunc" ): return visitor.visitPrintFunc(self) @@ -2903,14 +2584,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAbsFunc" ): - listener.enterAbsFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAbsFunc" ): - listener.exitAbsFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAbsFunc" ): return visitor.visitAbsFunc(self) @@ -2934,14 +2607,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAtanFunc" ): - listener.enterAtanFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAtanFunc" ): - listener.exitAtanFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAtanFunc" ): return visitor.visitAtanFunc(self) @@ -2965,14 +2630,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterReluFunc" ): - listener.enterReluFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitReluFunc" ): - listener.exitReluFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitReluFunc" ): return visitor.visitReluFunc(self) @@ -2996,14 +2653,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSinhFunc" ): - listener.enterSinhFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSinhFunc" ): - listener.exitSinhFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSinhFunc" ): return visitor.visitSinhFunc(self) @@ -3027,14 +2676,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSigmoidFunc" ): - listener.enterSigmoidFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSigmoidFunc" ): - listener.exitSigmoidFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSigmoidFunc" ): return visitor.visitSigmoidFunc(self) @@ -3058,14 +2699,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLogFunc" ): - listener.enterLogFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLogFunc" ): - listener.exitLogFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLogFunc" ): return visitor.visitLogFunc(self) @@ -3089,14 +2722,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLnFunc" ): - listener.enterLnFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLnFunc" ): - listener.exitLnFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLnFunc" ): return visitor.visitLnFunc(self) @@ -3120,14 +2745,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTNormFunc" ): - listener.enterTNormFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTNormFunc" ): - listener.exitTNormFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTNormFunc" ): return visitor.visitTNormFunc(self) @@ -3151,14 +2768,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSNormFunc" ): - listener.enterSNormFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSNormFunc" ): - listener.exitSNormFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSNormFunc" ): return visitor.visitSNormFunc(self) @@ -3182,14 +2791,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSinFunc" ): - listener.enterSinFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSinFunc" ): - listener.exitSinFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSinFunc" ): return visitor.visitSinFunc(self) @@ -3213,14 +2814,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterStdFunc" ): - listener.enterStdFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitStdFunc" ): - listener.exitStdFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitStdFunc" ): return visitor.visitStdFunc(self) @@ -3244,14 +2837,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterRandFunc" ): - listener.enterRandFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitRandFunc" ): - listener.exitRandFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitRandFunc" ): return visitor.visitRandFunc(self) @@ -3275,14 +2860,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAcosFunc" ): - listener.enterAcosFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAcosFunc" ): - listener.exitAcosFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAcosFunc" ): return visitor.visitAcosFunc(self) @@ -3306,14 +2883,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCoshFunc" ): - listener.enterCoshFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCoshFunc" ): - listener.exitCoshFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCoshFunc" ): return visitor.visitCoshFunc(self) @@ -3337,14 +2906,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAnglFunc" ): - listener.enterAnglFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAnglFunc" ): - listener.exitAnglFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAnglFunc" ): return visitor.visitAnglFunc(self) @@ -3368,14 +2929,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSumFunc" ): - listener.enterSumFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSumFunc" ): - listener.exitSumFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSumFunc" ): return visitor.visitSumFunc(self) @@ -3399,14 +2952,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSignFunc" ): - listener.enterSignFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSignFunc" ): - listener.exitSignFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSignFunc" ): return visitor.visitSignFunc(self) @@ -3430,14 +2975,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTanFunc" ): - listener.enterTanFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTanFunc" ): - listener.exitTanFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTanFunc" ): return visitor.visitTanFunc(self) @@ -3461,14 +2998,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPinvFunc" ): - listener.enterPinvFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPinvFunc" ): - listener.exitPinvFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPinvFunc" ): return visitor.visitPinvFunc(self) @@ -3492,14 +3021,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSifftFunc" ): - listener.enterSifftFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSifftFunc" ): - listener.exitSifftFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSifftFunc" ): return visitor.visitSifftFunc(self) @@ -3523,14 +3044,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFractFunc" ): - listener.enterFractFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFractFunc" ): - listener.exitFractFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFractFunc" ): return visitor.visitFractFunc(self) @@ -3554,14 +3067,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterGammaFunc" ): - listener.enterGammaFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitGammaFunc" ): - listener.exitGammaFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitGammaFunc" ): return visitor.visitGammaFunc(self) @@ -3585,14 +3090,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCosFunc" ): - listener.enterCosFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCosFunc" ): - listener.exitCosFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCosFunc" ): return visitor.visitCosFunc(self) @@ -3616,14 +3113,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterVarFunc" ): - listener.enterVarFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitVarFunc" ): - listener.exitVarFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitVarFunc" ): return visitor.visitVarFunc(self) @@ -3647,14 +3136,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAsinFunc" ): - listener.enterAsinFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAsinFunc" ): - listener.exitAsinFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAsinFunc" ): return visitor.visitAsinFunc(self) @@ -3678,14 +3159,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAsinhFunc" ): - listener.enterAsinhFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAsinhFunc" ): - listener.exitAsinhFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAsinhFunc" ): return visitor.visitAsinhFunc(self) @@ -3709,14 +3182,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSfftFunc" ): - listener.enterSfftFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSfftFunc" ): - listener.exitSfftFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSfftFunc" ): return visitor.visitSfftFunc(self) @@ -3740,14 +3205,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAtanhFunc" ): - listener.enterAtanhFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAtanhFunc" ): - listener.exitAtanhFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAtanhFunc" ): return visitor.visitAtanhFunc(self) @@ -3771,14 +3228,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterExpFunc" ): - listener.enterExpFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitExpFunc" ): - listener.exitExpFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitExpFunc" ): return visitor.visitExpFunc(self) @@ -3802,14 +3251,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPrintShapeFunc" ): - listener.enterPrintShapeFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPrintShapeFunc" ): - listener.exitPrintShapeFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPrintShapeFunc" ): return visitor.visitPrintShapeFunc(self) @@ -3821,513 +3262,513 @@ class MathExprParser ( Parser ): def func1(self): localctx = MathExprParser.Func1Context(self, self._ctx, self.state) - self.enterRule(localctx, 26, self.RULE_func1) + self.enterRule(localctx, 28, self.RULE_func1) try: - self.state = 422 + self.state = 431 self._errHandler.sync(self) token = self._input.LA(1) if token in [1]: localctx = MathExprParser.SinFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 212 + self.state = 221 self.match(MathExprParser.SIN) - self.state = 213 + self.state = 222 self.match(MathExprParser.LPAREN) - self.state = 214 + self.state = 223 self.expr() - self.state = 215 + self.state = 224 self.match(MathExprParser.RPAREN) pass elif token in [2]: localctx = MathExprParser.CosFuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 217 + self.state = 226 self.match(MathExprParser.COS) - self.state = 218 + self.state = 227 self.match(MathExprParser.LPAREN) - self.state = 219 + self.state = 228 self.expr() - self.state = 220 + self.state = 229 self.match(MathExprParser.RPAREN) pass elif token in [3]: localctx = MathExprParser.TanFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 222 + self.state = 231 self.match(MathExprParser.TAN) - self.state = 223 + self.state = 232 self.match(MathExprParser.LPAREN) - self.state = 224 + self.state = 233 self.expr() - self.state = 225 + self.state = 234 self.match(MathExprParser.RPAREN) pass elif token in [4]: localctx = MathExprParser.AsinFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 227 + self.state = 236 self.match(MathExprParser.ASIN) - self.state = 228 + self.state = 237 self.match(MathExprParser.LPAREN) - self.state = 229 + self.state = 238 self.expr() - self.state = 230 + self.state = 239 self.match(MathExprParser.RPAREN) pass elif token in [5]: localctx = MathExprParser.AcosFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 232 + self.state = 241 self.match(MathExprParser.ACOS) - self.state = 233 + self.state = 242 self.match(MathExprParser.LPAREN) - self.state = 234 + self.state = 243 self.expr() - self.state = 235 + self.state = 244 self.match(MathExprParser.RPAREN) pass elif token in [6]: localctx = MathExprParser.AtanFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 237 + self.state = 246 self.match(MathExprParser.ATAN) - self.state = 238 + self.state = 247 self.match(MathExprParser.LPAREN) - self.state = 239 + self.state = 248 self.expr() - self.state = 240 + self.state = 249 self.match(MathExprParser.RPAREN) pass elif token in [8]: localctx = MathExprParser.SinhFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 242 + self.state = 251 self.match(MathExprParser.SINH) - self.state = 243 + self.state = 252 self.match(MathExprParser.LPAREN) - self.state = 244 + self.state = 253 self.expr() - self.state = 245 + self.state = 254 self.match(MathExprParser.RPAREN) pass elif token in [9]: localctx = MathExprParser.CoshFuncContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 247 + self.state = 256 self.match(MathExprParser.COSH) - self.state = 248 + self.state = 257 self.match(MathExprParser.LPAREN) - self.state = 249 + self.state = 258 self.expr() - self.state = 250 + self.state = 259 self.match(MathExprParser.RPAREN) pass elif token in [10]: localctx = MathExprParser.TanhFuncContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 252 + self.state = 261 self.match(MathExprParser.TANH) - self.state = 253 + self.state = 262 self.match(MathExprParser.LPAREN) - self.state = 254 + self.state = 263 self.expr() - self.state = 255 + self.state = 264 self.match(MathExprParser.RPAREN) pass elif token in [11]: localctx = MathExprParser.AsinhFuncContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 257 + self.state = 266 self.match(MathExprParser.ASINH) - self.state = 258 + self.state = 267 self.match(MathExprParser.LPAREN) - self.state = 259 + self.state = 268 self.expr() - self.state = 260 + self.state = 269 self.match(MathExprParser.RPAREN) pass elif token in [12]: localctx = MathExprParser.AcoshFuncContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 262 + self.state = 271 self.match(MathExprParser.ACOSH) - self.state = 263 + self.state = 272 self.match(MathExprParser.LPAREN) - self.state = 264 + self.state = 273 self.expr() - self.state = 265 + self.state = 274 self.match(MathExprParser.RPAREN) pass elif token in [13]: localctx = MathExprParser.AtanhFuncContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 267 + self.state = 276 self.match(MathExprParser.ATANH) - self.state = 268 + self.state = 277 self.match(MathExprParser.LPAREN) - self.state = 269 + self.state = 278 self.expr() - self.state = 270 + self.state = 279 self.match(MathExprParser.RPAREN) pass elif token in [14]: localctx = MathExprParser.AbsFuncContext(self, localctx) self.enterOuterAlt(localctx, 13) - self.state = 272 + self.state = 281 self.match(MathExprParser.ABS) - self.state = 273 + self.state = 282 self.match(MathExprParser.LPAREN) - self.state = 274 + self.state = 283 self.expr() - self.state = 275 + self.state = 284 self.match(MathExprParser.RPAREN) pass elif token in [15]: localctx = MathExprParser.SqrtFuncContext(self, localctx) self.enterOuterAlt(localctx, 14) - self.state = 277 + self.state = 286 self.match(MathExprParser.SQRT) - self.state = 278 + self.state = 287 self.match(MathExprParser.LPAREN) - self.state = 279 + self.state = 288 self.expr() - self.state = 280 + self.state = 289 self.match(MathExprParser.RPAREN) pass elif token in [16]: localctx = MathExprParser.LnFuncContext(self, localctx) self.enterOuterAlt(localctx, 15) - self.state = 282 + self.state = 291 self.match(MathExprParser.LN) - self.state = 283 + self.state = 292 self.match(MathExprParser.LPAREN) - self.state = 284 + self.state = 293 self.expr() - self.state = 285 + self.state = 294 self.match(MathExprParser.RPAREN) pass elif token in [17]: localctx = MathExprParser.LogFuncContext(self, localctx) self.enterOuterAlt(localctx, 16) - self.state = 287 + self.state = 296 self.match(MathExprParser.LOG) - self.state = 288 + self.state = 297 self.match(MathExprParser.LPAREN) - self.state = 289 + self.state = 298 self.expr() - self.state = 290 + self.state = 299 self.match(MathExprParser.RPAREN) pass elif token in [18]: localctx = MathExprParser.ExpFuncContext(self, localctx) self.enterOuterAlt(localctx, 17) - self.state = 292 + self.state = 301 self.match(MathExprParser.EXP) - self.state = 293 + self.state = 302 self.match(MathExprParser.LPAREN) - self.state = 294 + self.state = 303 self.expr() - self.state = 295 + self.state = 304 self.match(MathExprParser.RPAREN) pass elif token in [23]: localctx = MathExprParser.TNormFuncContext(self, localctx) self.enterOuterAlt(localctx, 18) - self.state = 297 + self.state = 306 self.match(MathExprParser.TNORM) - self.state = 298 + self.state = 307 self.match(MathExprParser.LPAREN) - self.state = 299 + self.state = 308 self.expr() - self.state = 300 + self.state = 309 self.match(MathExprParser.RPAREN) pass elif token in [24]: localctx = MathExprParser.SNormFuncContext(self, localctx) self.enterOuterAlt(localctx, 19) - self.state = 302 + self.state = 311 self.match(MathExprParser.SNORM) - self.state = 303 + self.state = 312 self.match(MathExprParser.LPAREN) - self.state = 304 + self.state = 313 self.expr() - self.state = 305 + self.state = 314 self.match(MathExprParser.RPAREN) pass elif token in [25]: localctx = MathExprParser.FloorFuncContext(self, localctx) self.enterOuterAlt(localctx, 20) - self.state = 307 + self.state = 316 self.match(MathExprParser.FLOOR) - self.state = 308 + self.state = 317 self.match(MathExprParser.LPAREN) - self.state = 309 + self.state = 318 self.expr() - self.state = 310 + self.state = 319 self.match(MathExprParser.RPAREN) pass elif token in [26]: localctx = MathExprParser.CeilFuncContext(self, localctx) self.enterOuterAlt(localctx, 21) - self.state = 312 + self.state = 321 self.match(MathExprParser.CEIL) - self.state = 313 + self.state = 322 self.match(MathExprParser.LPAREN) - self.state = 314 + self.state = 323 self.expr() - self.state = 315 + self.state = 324 self.match(MathExprParser.RPAREN) pass elif token in [27]: localctx = MathExprParser.RoundFuncContext(self, localctx) self.enterOuterAlt(localctx, 22) - self.state = 317 + self.state = 326 self.match(MathExprParser.ROUND) - self.state = 318 + self.state = 327 self.match(MathExprParser.LPAREN) - self.state = 319 + self.state = 328 self.expr() - self.state = 320 + self.state = 329 self.match(MathExprParser.RPAREN) pass elif token in [28]: localctx = MathExprParser.GammaFuncContext(self, localctx) self.enterOuterAlt(localctx, 23) - self.state = 322 + self.state = 331 self.match(MathExprParser.GAMMA) - self.state = 323 + self.state = 332 self.match(MathExprParser.LPAREN) - self.state = 324 + self.state = 333 self.expr() - self.state = 325 + self.state = 334 self.match(MathExprParser.RPAREN) pass elif token in [30]: localctx = MathExprParser.SigmoidFuncContext(self, localctx) self.enterOuterAlt(localctx, 24) - self.state = 327 + self.state = 336 self.match(MathExprParser.SIGM) - self.state = 328 + self.state = 337 self.match(MathExprParser.LPAREN) - self.state = 329 + self.state = 338 self.expr() - self.state = 330 + self.state = 339 self.match(MathExprParser.RPAREN) pass elif token in [32]: localctx = MathExprParser.SfftFuncContext(self, localctx) self.enterOuterAlt(localctx, 25) - self.state = 332 + self.state = 341 self.match(MathExprParser.SFFT) - self.state = 333 + self.state = 342 self.match(MathExprParser.LPAREN) - self.state = 334 + self.state = 343 self.expr() - self.state = 335 + self.state = 344 self.match(MathExprParser.RPAREN) pass elif token in [33]: localctx = MathExprParser.SifftFuncContext(self, localctx) self.enterOuterAlt(localctx, 26) - self.state = 337 + self.state = 346 self.match(MathExprParser.SIFFT) - self.state = 338 + self.state = 347 self.match(MathExprParser.LPAREN) - self.state = 339 + self.state = 348 self.expr() - self.state = 340 + self.state = 349 self.match(MathExprParser.RPAREN) pass elif token in [34]: localctx = MathExprParser.AnglFuncContext(self, localctx) self.enterOuterAlt(localctx, 27) - self.state = 342 + self.state = 351 self.match(MathExprParser.ANGL) - self.state = 343 + self.state = 352 self.match(MathExprParser.LPAREN) - self.state = 344 + self.state = 353 self.expr() - self.state = 345 + self.state = 354 self.match(MathExprParser.RPAREN) pass elif token in [35]: localctx = MathExprParser.PrintFuncContext(self, localctx) self.enterOuterAlt(localctx, 28) - self.state = 347 + self.state = 356 self.match(MathExprParser.PRNT) - self.state = 348 + self.state = 357 self.match(MathExprParser.LPAREN) - self.state = 349 + self.state = 358 self.expr() - self.state = 350 + self.state = 359 self.match(MathExprParser.RPAREN) pass elif token in [41]: localctx = MathExprParser.FractFuncContext(self, localctx) self.enterOuterAlt(localctx, 29) - self.state = 352 + self.state = 361 self.match(MathExprParser.FRACT) - self.state = 353 + self.state = 362 self.match(MathExprParser.LPAREN) - self.state = 354 + self.state = 363 self.expr() - self.state = 355 + self.state = 364 self.match(MathExprParser.RPAREN) pass elif token in [42]: localctx = MathExprParser.ReluFuncContext(self, localctx) self.enterOuterAlt(localctx, 30) - self.state = 357 + self.state = 366 self.match(MathExprParser.RELU) - self.state = 358 + self.state = 367 self.match(MathExprParser.LPAREN) - self.state = 359 + self.state = 368 self.expr() - self.state = 360 + self.state = 369 self.match(MathExprParser.RPAREN) pass elif token in [43]: localctx = MathExprParser.SoftplusFuncContext(self, localctx) self.enterOuterAlt(localctx, 31) - self.state = 362 + self.state = 371 self.match(MathExprParser.SOFTPLUS) - self.state = 363 + self.state = 372 self.match(MathExprParser.LPAREN) - self.state = 364 + self.state = 373 self.expr() - self.state = 365 + self.state = 374 self.match(MathExprParser.RPAREN) pass elif token in [44]: localctx = MathExprParser.GeluFuncContext(self, localctx) self.enterOuterAlt(localctx, 32) - self.state = 367 + self.state = 376 self.match(MathExprParser.GELU) - self.state = 368 + self.state = 377 self.match(MathExprParser.LPAREN) - self.state = 369 + self.state = 378 self.expr() - self.state = 370 + self.state = 379 self.match(MathExprParser.RPAREN) pass elif token in [45]: localctx = MathExprParser.SignFuncContext(self, localctx) self.enterOuterAlt(localctx, 33) - self.state = 372 + self.state = 381 self.match(MathExprParser.SIGN) - self.state = 373 + self.state = 382 self.match(MathExprParser.LPAREN) - self.state = 374 + self.state = 383 self.expr() - self.state = 375 + self.state = 384 self.match(MathExprParser.RPAREN) pass elif token in [36]: localctx = MathExprParser.PrintShapeFuncContext(self, localctx) self.enterOuterAlt(localctx, 34) - self.state = 377 + self.state = 386 self.match(MathExprParser.PRINT_SHAPE) - self.state = 378 + self.state = 387 self.match(MathExprParser.LPAREN) - self.state = 379 + self.state = 388 self.expr() - self.state = 380 + self.state = 389 self.match(MathExprParser.RPAREN) pass elif token in [55]: localctx = MathExprParser.PinvFuncContext(self, localctx) self.enterOuterAlt(localctx, 35) - self.state = 382 + self.state = 391 self.match(MathExprParser.PINV) - self.state = 383 + self.state = 392 self.match(MathExprParser.LPAREN) - self.state = 384 + self.state = 393 self.expr() - self.state = 385 + self.state = 394 self.match(MathExprParser.RPAREN) pass elif token in [56]: localctx = MathExprParser.SumFuncContext(self, localctx) self.enterOuterAlt(localctx, 36) - self.state = 387 + self.state = 396 self.match(MathExprParser.SUM) - self.state = 388 + self.state = 397 self.match(MathExprParser.LPAREN) - self.state = 389 + self.state = 398 self.expr() - self.state = 390 + self.state = 399 self.match(MathExprParser.RPAREN) pass elif token in [57]: localctx = MathExprParser.MeanFuncContext(self, localctx) self.enterOuterAlt(localctx, 37) - self.state = 392 + self.state = 401 self.match(MathExprParser.MEAN) - self.state = 393 + self.state = 402 self.match(MathExprParser.LPAREN) - self.state = 394 + self.state = 403 self.expr() - self.state = 395 + self.state = 404 self.match(MathExprParser.RPAREN) pass elif token in [58]: localctx = MathExprParser.StdFuncContext(self, localctx) self.enterOuterAlt(localctx, 38) - self.state = 397 + self.state = 406 self.match(MathExprParser.STD) - self.state = 398 + self.state = 407 self.match(MathExprParser.LPAREN) - self.state = 399 + self.state = 408 self.expr() - self.state = 400 + self.state = 409 self.match(MathExprParser.RPAREN) pass elif token in [59]: localctx = MathExprParser.VarFuncContext(self, localctx) self.enterOuterAlt(localctx, 39) - self.state = 402 + self.state = 411 self.match(MathExprParser.VAR) - self.state = 403 + self.state = 412 self.match(MathExprParser.LPAREN) - self.state = 404 + self.state = 413 self.expr() - self.state = 405 + self.state = 414 self.match(MathExprParser.RPAREN) pass elif token in [75]: localctx = MathExprParser.SortFuncContext(self, localctx) self.enterOuterAlt(localctx, 40) - self.state = 407 + self.state = 416 self.match(MathExprParser.SORT) - self.state = 408 + self.state = 417 self.match(MathExprParser.LPAREN) - self.state = 409 + self.state = 418 self.expr() - self.state = 410 + self.state = 419 self.match(MathExprParser.RPAREN) pass elif token in [65]: localctx = MathExprParser.NoiseFuncContext(self, localctx) self.enterOuterAlt(localctx, 41) - self.state = 412 + self.state = 421 self.match(MathExprParser.NOISE) - self.state = 413 + self.state = 422 self.match(MathExprParser.LPAREN) - self.state = 414 + self.state = 423 self.expr() - self.state = 415 + self.state = 424 self.match(MathExprParser.RPAREN) pass elif token in [66]: localctx = MathExprParser.RandFuncContext(self, localctx) self.enterOuterAlt(localctx, 42) - self.state = 417 + self.state = 426 self.match(MathExprParser.RAND) - self.state = 418 + self.state = 427 self.match(MathExprParser.LPAREN) - self.state = 419 + self.state = 428 self.expr() - self.state = 420 + self.state = 429 self.match(MathExprParser.RPAREN) pass else: @@ -4380,14 +3821,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTopkFunc" ): - listener.enterTopkFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTopkFunc" ): - listener.exitTopkFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTopkFunc" ): return visitor.visitTopkFunc(self) @@ -4416,14 +3849,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPercentileFunc" ): - listener.enterPercentileFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPercentileFunc" ): - listener.exitPercentileFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPercentileFunc" ): return visitor.visitPercentileFunc(self) @@ -4452,14 +3877,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterExponentialFunc" ): - listener.enterExponentialFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitExponentialFunc" ): - listener.exitExponentialFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitExponentialFunc" ): return visitor.visitExponentialFunc(self) @@ -4488,14 +3905,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPoissonFunc" ): - listener.enterPoissonFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPoissonFunc" ): - listener.exitPoissonFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPoissonFunc" ): return visitor.visitPoissonFunc(self) @@ -4524,14 +3933,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCovFunc" ): - listener.enterCovFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCovFunc" ): - listener.exitCovFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCovFunc" ): return visitor.visitCovFunc(self) @@ -4560,14 +3961,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterBernoulliFunc" ): - listener.enterBernoulliFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitBernoulliFunc" ): - listener.exitBernoulliFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitBernoulliFunc" ): return visitor.visitBernoulliFunc(self) @@ -4596,14 +3989,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterStepFunc" ): - listener.enterStepFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitStepFunc" ): - listener.exitStepFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitStepFunc" ): return visitor.visitStepFunc(self) @@ -4632,14 +4017,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAtan2Func" ): - listener.enterAtan2Func(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAtan2Func" ): - listener.exitAtan2Func(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAtan2Func" ): return visitor.visitAtan2Func(self) @@ -4668,14 +4045,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterQuantileFunc" ): - listener.enterQuantileFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitQuantileFunc" ): - listener.exitQuantileFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitQuantileFunc" ): return visitor.visitQuantileFunc(self) @@ -4704,14 +4073,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterBotkFunc" ): - listener.enterBotkFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitBotkFunc" ): - listener.exitBotkFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitBotkFunc" ): return visitor.visitBotkFunc(self) @@ -4740,14 +4101,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTMaxFunc" ): - listener.enterTMaxFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTMaxFunc" ): - listener.exitTMaxFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTMaxFunc" ): return visitor.visitTMaxFunc(self) @@ -4776,14 +4129,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCossimFunc" ): - listener.enterCossimFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCossimFunc" ): - listener.exitCossimFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCossimFunc" ): return visitor.visitCossimFunc(self) @@ -4812,14 +4157,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPowFunc" ): - listener.enterPowFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPowFunc" ): - listener.exitPowFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPowFunc" ): return visitor.visitPowFunc(self) @@ -4848,14 +4185,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterDotFunc" ): - listener.enterDotFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitDotFunc" ): - listener.exitDotFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitDotFunc" ): return visitor.visitDotFunc(self) @@ -4884,14 +4213,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterAppendFunc" ): - listener.enterAppendFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitAppendFunc" ): - listener.exitAppendFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitAppendFunc" ): return visitor.visitAppendFunc(self) @@ -4920,14 +4241,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterFlipFunc" ): - listener.enterFlipFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitFlipFunc" ): - listener.exitFlipFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitFlipFunc" ): return visitor.visitFlipFunc(self) @@ -4956,14 +4269,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterQuartileFunc" ): - listener.enterQuartileFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitQuartileFunc" ): - listener.exitQuartileFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitQuartileFunc" ): return visitor.visitQuartileFunc(self) @@ -4992,14 +4297,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterTMinFunc" ): - listener.enterTMinFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitTMinFunc" ): - listener.exitTMinFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitTMinFunc" ): return visitor.visitTMinFunc(self) @@ -5011,297 +4308,297 @@ class MathExprParser ( Parser ): def func2(self): localctx = MathExprParser.Func2Context(self, self._ctx, self.state) - self.enterRule(localctx, 28, self.RULE_func2) + self.enterRule(localctx, 30, self.RULE_func2) try: - self.state = 550 + self.state = 559 self._errHandler.sync(self) token = self._input.LA(1) if token in [29]: localctx = MathExprParser.PowFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 424 + self.state = 433 self.match(MathExprParser.POWE) - self.state = 425 + self.state = 434 self.match(MathExprParser.LPAREN) - self.state = 426 + self.state = 435 self.expr() - self.state = 427 + self.state = 436 self.match(MathExprParser.COMMA) - self.state = 428 + self.state = 437 self.expr() - self.state = 429 + self.state = 438 self.match(MathExprParser.RPAREN) pass elif token in [7]: localctx = MathExprParser.Atan2FuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 431 + self.state = 440 self.match(MathExprParser.ATAN2) - self.state = 432 + self.state = 441 self.match(MathExprParser.LPAREN) - self.state = 433 + self.state = 442 self.expr() - self.state = 434 + self.state = 443 self.match(MathExprParser.COMMA) - self.state = 435 + self.state = 444 self.expr() - self.state = 436 + self.state = 445 self.match(MathExprParser.RPAREN) pass elif token in [21]: localctx = MathExprParser.TMinFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 438 + self.state = 447 self.match(MathExprParser.TMIN) - self.state = 439 + self.state = 448 self.match(MathExprParser.LPAREN) - self.state = 440 + self.state = 449 self.expr() - self.state = 441 + self.state = 450 self.match(MathExprParser.COMMA) - self.state = 442 + self.state = 451 self.expr() - self.state = 443 + self.state = 452 self.match(MathExprParser.RPAREN) pass elif token in [22]: localctx = MathExprParser.TMaxFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 445 + self.state = 454 self.match(MathExprParser.TMAX) - self.state = 446 + self.state = 455 self.match(MathExprParser.LPAREN) - self.state = 447 + self.state = 456 self.expr() - self.state = 448 + self.state = 457 self.match(MathExprParser.COMMA) - self.state = 449 + self.state = 458 self.expr() - self.state = 450 + self.state = 459 self.match(MathExprParser.RPAREN) pass elif token in [39]: localctx = MathExprParser.StepFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 452 + self.state = 461 self.match(MathExprParser.STEP) - self.state = 453 + self.state = 462 self.match(MathExprParser.LPAREN) - self.state = 454 + self.state = 463 self.expr() - self.state = 455 + self.state = 464 self.match(MathExprParser.COMMA) - self.state = 456 + self.state = 465 self.expr() - self.state = 457 + self.state = 466 self.match(MathExprParser.RPAREN) pass elif token in [53]: localctx = MathExprParser.TopkFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 459 + self.state = 468 self.match(MathExprParser.TOPK) - self.state = 460 + self.state = 469 self.match(MathExprParser.LPAREN) - self.state = 461 + self.state = 470 self.expr() - self.state = 462 + self.state = 471 self.match(MathExprParser.COMMA) - self.state = 463 + self.state = 472 self.expr() - self.state = 464 + self.state = 473 self.match(MathExprParser.RPAREN) pass elif token in [54]: localctx = MathExprParser.BotkFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 466 + self.state = 475 self.match(MathExprParser.BOTK) - self.state = 467 + self.state = 476 self.match(MathExprParser.LPAREN) - self.state = 468 + self.state = 477 self.expr() - self.state = 469 + self.state = 478 self.match(MathExprParser.COMMA) - self.state = 470 + self.state = 479 self.expr() - self.state = 471 + self.state = 480 self.match(MathExprParser.RPAREN) pass elif token in [60]: localctx = MathExprParser.QuartileFuncContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 473 + self.state = 482 self.match(MathExprParser.QUARTILE) - self.state = 474 + self.state = 483 self.match(MathExprParser.LPAREN) - self.state = 475 + self.state = 484 self.expr() - self.state = 476 + self.state = 485 self.match(MathExprParser.COMMA) - self.state = 477 + self.state = 486 self.expr() - self.state = 478 + self.state = 487 self.match(MathExprParser.RPAREN) pass elif token in [61]: localctx = MathExprParser.PercentileFuncContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 480 + self.state = 489 self.match(MathExprParser.PERCENTILE) - self.state = 481 + self.state = 490 self.match(MathExprParser.LPAREN) - self.state = 482 + self.state = 491 self.expr() - self.state = 483 + self.state = 492 self.match(MathExprParser.COMMA) - self.state = 484 + self.state = 493 self.expr() - self.state = 485 + self.state = 494 self.match(MathExprParser.RPAREN) pass elif token in [62]: localctx = MathExprParser.QuantileFuncContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 487 + self.state = 496 self.match(MathExprParser.QUANTILE) - self.state = 488 + self.state = 497 self.match(MathExprParser.LPAREN) - self.state = 489 + self.state = 498 self.expr() - self.state = 490 + self.state = 499 self.match(MathExprParser.COMMA) - self.state = 491 + self.state = 500 self.expr() - self.state = 492 + self.state = 501 self.match(MathExprParser.RPAREN) pass elif token in [63]: localctx = MathExprParser.DotFuncContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 494 + self.state = 503 self.match(MathExprParser.DOT) - self.state = 495 + self.state = 504 self.match(MathExprParser.LPAREN) - self.state = 496 + self.state = 505 self.expr() - self.state = 497 + self.state = 506 self.match(MathExprParser.COMMA) - self.state = 498 + self.state = 507 self.expr() - self.state = 499 + self.state = 508 self.match(MathExprParser.RPAREN) pass elif token in [72]: localctx = MathExprParser.CossimFuncContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 501 + self.state = 510 self.match(MathExprParser.COSSIM) - self.state = 502 + self.state = 511 self.match(MathExprParser.LPAREN) - self.state = 503 + self.state = 512 self.expr() - self.state = 504 + self.state = 513 self.match(MathExprParser.COMMA) - self.state = 505 + self.state = 514 self.expr() - self.state = 506 + self.state = 515 self.match(MathExprParser.RPAREN) pass elif token in [73]: localctx = MathExprParser.FlipFuncContext(self, localctx) self.enterOuterAlt(localctx, 13) - self.state = 508 + self.state = 517 self.match(MathExprParser.FLIP) - self.state = 509 + self.state = 518 self.match(MathExprParser.LPAREN) - self.state = 510 + self.state = 519 self.expr() - self.state = 511 + self.state = 520 self.match(MathExprParser.COMMA) - self.state = 512 + self.state = 521 self.expr() - self.state = 513 + self.state = 522 self.match(MathExprParser.RPAREN) pass elif token in [74]: localctx = MathExprParser.CovFuncContext(self, localctx) self.enterOuterAlt(localctx, 14) - self.state = 515 + self.state = 524 self.match(MathExprParser.COV) - self.state = 516 + self.state = 525 self.match(MathExprParser.LPAREN) - self.state = 517 + self.state = 526 self.expr() - self.state = 518 + self.state = 527 self.match(MathExprParser.COMMA) - self.state = 519 + self.state = 528 self.expr() - self.state = 520 + self.state = 529 self.match(MathExprParser.RPAREN) pass elif token in [76]: localctx = MathExprParser.AppendFuncContext(self, localctx) self.enterOuterAlt(localctx, 15) - self.state = 522 + self.state = 531 self.match(MathExprParser.APPEND) - self.state = 523 + self.state = 532 self.match(MathExprParser.LPAREN) - self.state = 524 + self.state = 533 self.expr() - self.state = 525 + self.state = 534 self.match(MathExprParser.COMMA) - self.state = 526 + self.state = 535 self.expr() - self.state = 527 + self.state = 536 self.match(MathExprParser.RPAREN) pass elif token in [68]: localctx = MathExprParser.ExponentialFuncContext(self, localctx) self.enterOuterAlt(localctx, 16) - self.state = 529 + self.state = 538 self.match(MathExprParser.EXPONENTIAL) - self.state = 530 + self.state = 539 self.match(MathExprParser.LPAREN) - self.state = 531 + self.state = 540 self.expr() - self.state = 532 + self.state = 541 self.match(MathExprParser.COMMA) - self.state = 533 + self.state = 542 self.expr() - self.state = 534 + self.state = 543 self.match(MathExprParser.RPAREN) pass elif token in [70]: localctx = MathExprParser.BernoulliFuncContext(self, localctx) self.enterOuterAlt(localctx, 17) - self.state = 536 + self.state = 545 self.match(MathExprParser.BERNOULLI) - self.state = 537 + self.state = 546 self.match(MathExprParser.LPAREN) - self.state = 538 + self.state = 547 self.expr() - self.state = 539 + self.state = 548 self.match(MathExprParser.COMMA) - self.state = 540 + self.state = 549 self.expr() - self.state = 541 + self.state = 550 self.match(MathExprParser.RPAREN) pass elif token in [71]: localctx = MathExprParser.PoissonFuncContext(self, localctx) self.enterOuterAlt(localctx, 18) - self.state = 543 + self.state = 552 self.match(MathExprParser.POISSON) - self.state = 544 + self.state = 553 self.match(MathExprParser.LPAREN) - self.state = 545 + self.state = 554 self.expr() - self.state = 546 + self.state = 555 self.match(MathExprParser.COMMA) - self.state = 547 + self.state = 556 self.expr() - self.state = 548 + self.state = 557 self.match(MathExprParser.RPAREN) pass else: @@ -5357,14 +4654,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterMomentFunc" ): - listener.enterMomentFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitMomentFunc" ): - listener.exitMomentFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitMomentFunc" ): return visitor.visitMomentFunc(self) @@ -5396,14 +4685,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLerpFunc" ): - listener.enterLerpFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLerpFunc" ): - listener.exitLerpFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLerpFunc" ): return visitor.visitLerpFunc(self) @@ -5435,14 +4716,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSmoothstepFunc" ): - listener.enterSmoothstepFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSmoothstepFunc" ): - listener.exitSmoothstepFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSmoothstepFunc" ): return visitor.visitSmoothstepFunc(self) @@ -5474,14 +4747,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterCauchyFunc" ): - listener.enterCauchyFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitCauchyFunc" ): - listener.exitCauchyFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitCauchyFunc" ): return visitor.visitCauchyFunc(self) @@ -5513,14 +4778,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterLogNormalFunc" ): - listener.enterLogNormalFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitLogNormalFunc" ): - listener.exitLogNormalFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitLogNormalFunc" ): return visitor.visitLogNormalFunc(self) @@ -5552,14 +4809,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterRangeFunc" ): - listener.enterRangeFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitRangeFunc" ): - listener.exitRangeFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitRangeFunc" ): return visitor.visitRangeFunc(self) @@ -5591,14 +4840,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterClampFunc" ): - listener.enterClampFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitClampFunc" ): - listener.exitClampFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitClampFunc" ): return visitor.visitClampFunc(self) @@ -5610,36 +4851,16 @@ class MathExprParser ( Parser ): def func3(self): localctx = MathExprParser.Func3Context(self, self._ctx, self.state) - self.enterRule(localctx, 30, self.RULE_func3) + self.enterRule(localctx, 32, self.RULE_func3) try: - self.state = 615 + self.state = 624 self._errHandler.sync(self) token = self._input.LA(1) if token in [31]: localctx = MathExprParser.ClampFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 552 - self.match(MathExprParser.CLAMP) - self.state = 553 - self.match(MathExprParser.LPAREN) - self.state = 554 - self.expr() - self.state = 555 - self.match(MathExprParser.COMMA) - self.state = 556 - self.expr() - self.state = 557 - self.match(MathExprParser.COMMA) - self.state = 558 - self.expr() - self.state = 559 - self.match(MathExprParser.RPAREN) - pass - elif token in [38]: - localctx = MathExprParser.LerpFuncContext(self, localctx) - self.enterOuterAlt(localctx, 2) self.state = 561 - self.match(MathExprParser.LERP) + self.match(MathExprParser.CLAMP) self.state = 562 self.match(MathExprParser.LPAREN) self.state = 563 @@ -5655,11 +4876,11 @@ class MathExprParser ( Parser ): self.state = 568 self.match(MathExprParser.RPAREN) pass - elif token in [40]: - localctx = MathExprParser.SmoothstepFuncContext(self, localctx) - self.enterOuterAlt(localctx, 3) + elif token in [38]: + localctx = MathExprParser.LerpFuncContext(self, localctx) + self.enterOuterAlt(localctx, 2) self.state = 570 - self.match(MathExprParser.SMOOTHSTEP) + self.match(MathExprParser.LERP) self.state = 571 self.match(MathExprParser.LPAREN) self.state = 572 @@ -5675,11 +4896,11 @@ class MathExprParser ( Parser ): self.state = 577 self.match(MathExprParser.RPAREN) pass - elif token in [52]: - localctx = MathExprParser.RangeFuncContext(self, localctx) - self.enterOuterAlt(localctx, 4) + elif token in [40]: + localctx = MathExprParser.SmoothstepFuncContext(self, localctx) + self.enterOuterAlt(localctx, 3) self.state = 579 - self.match(MathExprParser.RANGE) + self.match(MathExprParser.SMOOTHSTEP) self.state = 580 self.match(MathExprParser.LPAREN) self.state = 581 @@ -5695,11 +4916,11 @@ class MathExprParser ( Parser ): self.state = 586 self.match(MathExprParser.RPAREN) pass - elif token in [64]: - localctx = MathExprParser.MomentFuncContext(self, localctx) - self.enterOuterAlt(localctx, 5) + elif token in [52]: + localctx = MathExprParser.RangeFuncContext(self, localctx) + self.enterOuterAlt(localctx, 4) self.state = 588 - self.match(MathExprParser.MOMENT) + self.match(MathExprParser.RANGE) self.state = 589 self.match(MathExprParser.LPAREN) self.state = 590 @@ -5715,11 +4936,11 @@ class MathExprParser ( Parser ): self.state = 595 self.match(MathExprParser.RPAREN) pass - elif token in [67]: - localctx = MathExprParser.CauchyFuncContext(self, localctx) - self.enterOuterAlt(localctx, 6) + elif token in [64]: + localctx = MathExprParser.MomentFuncContext(self, localctx) + self.enterOuterAlt(localctx, 5) self.state = 597 - self.match(MathExprParser.CAUCHY) + self.match(MathExprParser.MOMENT) self.state = 598 self.match(MathExprParser.LPAREN) self.state = 599 @@ -5735,11 +4956,11 @@ class MathExprParser ( Parser ): self.state = 604 self.match(MathExprParser.RPAREN) pass - elif token in [69]: - localctx = MathExprParser.LogNormalFuncContext(self, localctx) - self.enterOuterAlt(localctx, 7) + elif token in [67]: + localctx = MathExprParser.CauchyFuncContext(self, localctx) + self.enterOuterAlt(localctx, 6) self.state = 606 - self.match(MathExprParser.LOGNORMAL) + self.match(MathExprParser.CAUCHY) self.state = 607 self.match(MathExprParser.LPAREN) self.state = 608 @@ -5755,6 +4976,26 @@ class MathExprParser ( Parser ): self.state = 613 self.match(MathExprParser.RPAREN) pass + elif token in [69]: + localctx = MathExprParser.LogNormalFuncContext(self, localctx) + self.enterOuterAlt(localctx, 7) + self.state = 615 + self.match(MathExprParser.LOGNORMAL) + self.state = 616 + self.match(MathExprParser.LPAREN) + self.state = 617 + self.expr() + self.state = 618 + self.match(MathExprParser.COMMA) + self.state = 619 + self.expr() + self.state = 620 + self.match(MathExprParser.COMMA) + self.state = 621 + self.expr() + self.state = 622 + self.match(MathExprParser.RPAREN) + pass else: raise NoViableAltException(self) @@ -5808,14 +5049,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterNvlFunc" ): - listener.enterNvlFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitNvlFunc" ): - listener.exitNvlFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitNvlFunc" ): return visitor.visitNvlFunc(self) @@ -5847,14 +5080,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSwapFunc" ): - listener.enterSwapFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSwapFunc" ): - listener.exitSwapFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSwapFunc" ): return visitor.visitSwapFunc(self) @@ -5866,42 +5091,22 @@ class MathExprParser ( Parser ): def func4(self): localctx = MathExprParser.Func4Context(self, self._ctx, self.state) - self.enterRule(localctx, 32, self.RULE_func4) + self.enterRule(localctx, 34, self.RULE_func4) try: - self.state = 639 + self.state = 648 self._errHandler.sync(self) token = self._input.LA(1) if token in [49]: localctx = MathExprParser.SwapFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 617 - self.match(MathExprParser.SWAP) - self.state = 618 - self.match(MathExprParser.LPAREN) - self.state = 619 - self.expr() - self.state = 620 - self.match(MathExprParser.COMMA) - self.state = 621 - self.expr() - self.state = 622 - self.match(MathExprParser.COMMA) - self.state = 623 - self.expr() - self.state = 624 - self.match(MathExprParser.COMMA) - self.state = 625 - self.expr() self.state = 626 - self.match(MathExprParser.RPAREN) - pass - elif token in [37]: - localctx = MathExprParser.NvlFuncContext(self, localctx) - self.enterOuterAlt(localctx, 2) - self.state = 628 - self.match(MathExprParser.NVL) - self.state = 629 + self.match(MathExprParser.SWAP) + self.state = 627 self.match(MathExprParser.LPAREN) + self.state = 628 + self.expr() + self.state = 629 + self.match(MathExprParser.COMMA) self.state = 630 self.expr() self.state = 631 @@ -5913,10 +5118,30 @@ class MathExprParser ( Parser ): self.state = 634 self.expr() self.state = 635 - self.match(MathExprParser.COMMA) - self.state = 636 - self.expr() + self.match(MathExprParser.RPAREN) + pass + elif token in [37]: + localctx = MathExprParser.NvlFuncContext(self, localctx) + self.enterOuterAlt(localctx, 2) self.state = 637 + self.match(MathExprParser.NVL) + self.state = 638 + self.match(MathExprParser.LPAREN) + self.state = 639 + self.expr() + self.state = 640 + self.match(MathExprParser.COMMA) + self.state = 641 + self.expr() + self.state = 642 + self.match(MathExprParser.COMMA) + self.state = 643 + self.expr() + self.state = 644 + self.match(MathExprParser.COMMA) + self.state = 645 + self.expr() + self.state = 646 self.match(MathExprParser.RPAREN) pass else: @@ -5972,14 +5197,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSMaxFunc" ): - listener.enterSMaxFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSMaxFunc" ): - listener.exitSMaxFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSMaxFunc" ): return visitor.visitSMaxFunc(self) @@ -6011,14 +5228,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterMapFunc" ): - listener.enterMapFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitMapFunc" ): - listener.exitMapFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitMapFunc" ): return visitor.visitMapFunc(self) @@ -6050,14 +5259,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterEzConvFunc" ): - listener.enterEzConvFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitEzConvFunc" ): - listener.exitEzConvFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitEzConvFunc" ): return visitor.visitEzConvFunc(self) @@ -6086,14 +5287,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterPermuteFunc" ): - listener.enterPermuteFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitPermuteFunc" ): - listener.exitPermuteFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitPermuteFunc" ): return visitor.visitPermuteFunc(self) @@ -6122,14 +5315,6 @@ class MathExprParser ( Parser ): def RPAREN(self): return self.getToken(MathExprParser.RPAREN, 0) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterReshapeFunc" ): - listener.enterReshapeFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitReshapeFunc" ): - listener.exitReshapeFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitReshapeFunc" ): return visitor.visitReshapeFunc(self) @@ -6161,14 +5346,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterSMinFunc" ): - listener.enterSMinFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitSMinFunc" ): - listener.exitSMinFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitSMinFunc" ): return visitor.visitSMinFunc(self) @@ -6200,14 +5377,6 @@ class MathExprParser ( Parser ): else: return self.getToken(MathExprParser.COMMA, i) - def enterRule(self, listener:ParseTreeListener): - if hasattr( listener, "enterConvFunc" ): - listener.enterConvFunc(self) - - def exitRule(self, listener:ParseTreeListener): - if hasattr( listener, "exitConvFunc" ): - listener.exitConvFunc(self) - def accept(self, visitor:ParseTreeVisitor): if hasattr( visitor, "visitConvFunc" ): return visitor.visitConvFunc(self) @@ -6219,168 +5388,168 @@ class MathExprParser ( Parser ): def funcN(self): localctx = MathExprParser.FuncNContext(self, self._ctx, self.state) - self.enterRule(localctx, 34, self.RULE_funcN) + self.enterRule(localctx, 36, self.RULE_funcN) self._la = 0 # Token type try: - self.state = 712 + self.state = 721 self._errHandler.sync(self) token = self._input.LA(1) if token in [19]: localctx = MathExprParser.SMinFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 641 + self.state = 650 self.match(MathExprParser.SMIN) - self.state = 642 + self.state = 651 self.match(MathExprParser.LPAREN) - self.state = 643 + self.state = 652 self.expr() - self.state = 648 + self.state = 657 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 644 + self.state = 653 self.match(MathExprParser.COMMA) - self.state = 645 + self.state = 654 self.expr() - self.state = 650 + self.state = 659 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 651 + self.state = 660 self.match(MathExprParser.RPAREN) pass elif token in [20]: localctx = MathExprParser.SMaxFuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 653 + self.state = 662 self.match(MathExprParser.SMAX) - self.state = 654 + self.state = 663 self.match(MathExprParser.LPAREN) - self.state = 655 + self.state = 664 self.expr() - self.state = 660 + self.state = 669 self._errHandler.sync(self) _la = self._input.LA(1) while _la==93: - self.state = 656 + self.state = 665 self.match(MathExprParser.COMMA) - self.state = 657 + self.state = 666 self.expr() - self.state = 662 + self.state = 671 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 663 + self.state = 672 self.match(MathExprParser.RPAREN) pass elif token in [46]: localctx = MathExprParser.MapFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 665 + self.state = 674 self.match(MathExprParser.MAP) - self.state = 666 + self.state = 675 self.match(MathExprParser.LPAREN) - self.state = 667 + self.state = 676 self.expr() - self.state = 670 + self.state = 679 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 668 + self.state = 677 self.match(MathExprParser.COMMA) - self.state = 669 + self.state = 678 self.expr() - self.state = 672 + self.state = 681 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==93): break - self.state = 674 + self.state = 683 self.match(MathExprParser.RPAREN) pass elif token in [47]: localctx = MathExprParser.EzConvFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 676 + self.state = 685 self.match(MathExprParser.EZCONV) - self.state = 677 + self.state = 686 self.match(MathExprParser.LPAREN) - self.state = 678 + self.state = 687 self.expr() - self.state = 681 + self.state = 690 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 679 + self.state = 688 self.match(MathExprParser.COMMA) - self.state = 680 + self.state = 689 self.expr() - self.state = 683 + self.state = 692 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==93): break - self.state = 685 + self.state = 694 self.match(MathExprParser.RPAREN) pass elif token in [48]: localctx = MathExprParser.ConvFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 687 + self.state = 696 self.match(MathExprParser.CONV) - self.state = 688 + self.state = 697 self.match(MathExprParser.LPAREN) - self.state = 689 + self.state = 698 self.expr() - self.state = 692 + self.state = 701 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 690 + self.state = 699 self.match(MathExprParser.COMMA) - self.state = 691 + self.state = 700 self.expr() - self.state = 694 + self.state = 703 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==93): break - self.state = 696 + self.state = 705 self.match(MathExprParser.RPAREN) pass elif token in [50]: localctx = MathExprParser.PermuteFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 698 + self.state = 707 self.match(MathExprParser.PERM) - self.state = 699 + self.state = 708 self.match(MathExprParser.LPAREN) - self.state = 700 + self.state = 709 self.expr() - self.state = 701 + self.state = 710 self.match(MathExprParser.COMMA) - self.state = 702 + self.state = 711 self.expr() - self.state = 703 + self.state = 712 self.match(MathExprParser.RPAREN) pass elif token in [51]: localctx = MathExprParser.ReshapeFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 705 + self.state = 714 self.match(MathExprParser.RESHAPE) - self.state = 706 + self.state = 715 self.match(MathExprParser.LPAREN) - self.state = 707 + self.state = 716 self.expr() - self.state = 708 + self.state = 717 self.match(MathExprParser.COMMA) - self.state = 709 + self.state = 718 self.expr() - self.state = 710 + self.state = 719 self.match(MathExprParser.RPAREN) pass else: @@ -6399,10 +5568,10 @@ class MathExprParser ( Parser ): def sempred(self, localctx:RuleContext, ruleIndex:int, predIndex:int): if self._predicates == None: self._predicates = dict() - self._predicates[5] = self.compExpr_sempred - self._predicates[6] = self.addExpr_sempred - self._predicates[7] = self.mulExpr_sempred - self._predicates[10] = self.indexExpr_sempred + self._predicates[6] = self.compExpr_sempred + self._predicates[7] = self.addExpr_sempred + self._predicates[8] = self.mulExpr_sempred + self._predicates[11] = self.indexExpr_sempred pred = self._predicates.get(ruleIndex, None) if pred is None: raise Exception("No predicate with index:" + str(ruleIndex)) diff --git a/more_math/Parser/MathExprVisitor.py b/more_math/Parser/MathExprVisitor.py index fe52b77..8d5f09f 100644 --- a/more_math/Parser/MathExprVisitor.py +++ b/more_math/Parser/MathExprVisitor.py @@ -34,6 +34,11 @@ class MathExprVisitor(ParseTreeVisitor): return self.visitChildren(ctx) + # Visit a parse tree produced by MathExprParser#TernaryExp. + def visitTernaryExp(self, ctx:MathExprParser.TernaryExpContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by MathExprParser#LtExp. def visitLtExp(self, ctx:MathExprParser.LtExpContext): return self.visitChildren(ctx) diff --git a/more_math/Parser/UnifiedMathVisitor.py b/more_math/Parser/UnifiedMathVisitor.py index b84a49b..8786751 100644 --- a/more_math/Parser/UnifiedMathVisitor.py +++ b/more_math/Parser/UnifiedMathVisitor.py @@ -150,6 +150,38 @@ class UnifiedMathVisitor(MathExprVisitor): def visitToAtom(self, ctx): return self.visit(ctx.atom()) + def visitTernaryExp(self, ctx): + condition = self.visit(ctx.compExpr()) + + if self._is_tensor(condition): + true_val = self.visit(ctx.expr(0)) + false_val = self.visit(ctx.expr(1)) + true_t = self._promote_to_tensor(true_val) + false_t = self._promote_to_tensor(false_val) + + cond_t = torch.isclose(condition, torch.tensor(0.0, device=self.device)) == False + return torch.where(cond_t, true_t, false_t).contiguous() + + if self._is_list(condition): + res = [] + cache_true = None + cache_false = None + for i, c in enumerate(condition): + if c: + if cache_true is None: + cache_true = self.visit(ctx.expr(0)) + res.append(cache_true) + else: + if cache_false is None: + cache_false = self.visit(ctx.expr(1)) + res.append(cache_false) + return res + + if condition: + return self.visit(ctx.expr(0)) + else: + return self.visit(ctx.expr(1)) + # Binary Ops def visitAddExp(self, ctx): return self._bin_op(self.visit(ctx.addExpr()), self.visit(ctx.mulExpr()), torch.add, lambda a, b: a + b) @@ -747,6 +779,7 @@ class UnifiedMathVisitor(MathExprVisitor): p_raw = self.visit(ctx.expr(1)) if self._is_tensor(p_raw): + # p is 0-100. q = p / 100 # p is 0-100. q = p / 100 return self._quartile_helper(val, p_raw.float() / 100.0) if self._is_list(p_raw):