From: Patrick Schönberger Date: Wed, 4 Aug 2021 19:44:26 +0000 (+0200) Subject: generic functions and structs X-Git-Url: https://gitweb.ps.run/toc/commitdiff_plain/b9322dfb8efe37f6f88a899269bdf21015f4db9a generic functions and structs --- diff --git a/Toc.g4 b/Toc.g4 index 4309e00..36e96e4 100644 --- a/Toc.g4 +++ b/Toc.g4 @@ -14,7 +14,7 @@ varDecl: 'var' var; var: varName (':' type) ('=' expr)?; varInit: varName (':' type) ('=' expr); -type: namespaceSpecifier* typeName (typeModifier)*; +type: namespaceSpecifier* typeName genericInstantiation? (typeModifier)*; typeModifier: '*' | ('[' (INT_LIT)? ']'); namespaceSpecifier: typeName '::'; @@ -33,6 +33,7 @@ structMethod: func; privateDecl: 'private'; genericDecl: '<' typeName (',' typeName)* '>'; +genericInstantiation: '<' type (',' type)* '>'; stmt: varDecl ';' | ifStmt @@ -59,19 +60,22 @@ assignStmt: expr '=' expr; returnStmt: 'return' expr; -expr: namespaceSpecifier* funcName '(' (expr (',' expr)*)? ')' #funcExpr - | expr '.' funcName '(' (expr (',' expr)*)? ')' #methodExpr - | literal #litExpr - | '(' expr ')' #parenExpr - | expr '.' varName #dotExpr - | prefix_op expr #prefixOpExpr - | expr postfix_op #postfixOpExpr - | expr binary_op expr #binaryOpExpr - | expr '?' expr ':' expr #ternaryOpExpr - | expr '[' expr ']' #bracketExpr - | namespaceSpecifier* varName #identifierExpr +expr: namespaceSpecifier* funcName genericInstantiation? '(' (expr (',' expr)*)? ')' #funcExpr + | expr '.' funcName genericInstantiation? '(' (expr (',' expr)*)? ')' #methodExpr + | literal #litExpr + | '(' expr ')' #parenExpr + | expr (dot | arrow) varName #dotExpr + | prefix_op expr #prefixOpExpr + | expr postfix_op #postfixOpExpr + | expr binary_op expr #binaryOpExpr + | expr '?' expr ':' expr #ternaryOpExpr + | expr '[' expr ']' #bracketExpr + | namespaceSpecifier* varName #identifierExpr ; +dot: '.'; +arrow: '->'; + literal: INT_LIT | DECIMAL_LIT | StringLit | BOOL_LIT; funcName: NAME; diff --git a/gen/Toc.interp b/gen/Toc.interp index b2cb439..dd61b6c 100644 --- a/gen/Toc.interp +++ b/gen/Toc.interp @@ -28,6 +28,7 @@ null 'return' '.' '?' +'->' '++' '--' '+' @@ -124,6 +125,7 @@ null null null null +null INT_LIT DECIMAL_LIT BOOL_LIT @@ -152,6 +154,7 @@ structVar structMethod privateDecl genericDecl +genericInstantiation stmt ifStmt elseIfStmt @@ -164,6 +167,8 @@ whileStmt assignStmt returnStmt expr +dot +arrow literal funcName varName @@ -175,4 +180,4 @@ binary_op atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 66, 400, 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, 3, 2, 6, 2, 82, 10, 2, 13, 2, 14, 2, 83, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 94, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 7, 4, 100, 10, 4, 12, 4, 14, 4, 103, 11, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 116, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 7, 8, 126, 10, 8, 12, 8, 14, 8, 129, 11, 8, 3, 8, 3, 8, 7, 8, 133, 10, 8, 12, 8, 14, 8, 136, 11, 8, 3, 9, 3, 9, 3, 9, 5, 9, 141, 10, 9, 3, 9, 5, 9, 144, 10, 9, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 5, 12, 154, 10, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 164, 10, 12, 3, 13, 3, 13, 3, 13, 7, 13, 169, 10, 13, 12, 13, 14, 13, 172, 11, 13, 5, 13, 174, 10, 13, 3, 14, 3, 14, 7, 14, 178, 10, 14, 12, 14, 14, 14, 181, 11, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 5, 15, 188, 10, 15, 3, 15, 3, 15, 7, 15, 192, 10, 15, 12, 15, 14, 15, 195, 11, 15, 3, 15, 3, 15, 3, 16, 5, 16, 200, 10, 16, 3, 16, 3, 16, 5, 16, 204, 10, 16, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 7, 20, 217, 10, 20, 12, 20, 14, 20, 220, 11, 20, 3, 20, 3, 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, 5, 21, 240, 10, 21, 3, 22, 3, 22, 3, 22, 3, 22, 7, 22, 246, 10, 22, 12, 22, 14, 22, 249, 11, 22, 3, 22, 5, 22, 252, 10, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 7, 26, 268, 10, 26, 12, 26, 14, 26, 271, 11, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 7, 32, 300, 10, 32, 12, 32, 14, 32, 303, 11, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 310, 10, 32, 12, 32, 14, 32, 313, 11, 32, 5, 32, 315, 10, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 328, 10, 32, 12, 32, 14, 32, 331, 11, 32, 3, 32, 5, 32, 334, 10, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 353, 10, 32, 12, 32, 14, 32, 356, 11, 32, 5, 32, 358, 10, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 372, 10, 32, 12, 32, 14, 32, 375, 11, 32, 3, 33, 3, 33, 3, 34, 3, 34, 3, 35, 3, 35, 3, 36, 3, 36, 3, 37, 3, 37, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 5, 39, 396, 10, 39, 3, 40, 3, 40, 3, 40, 2, 3, 62, 41, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 2, 5, 3, 2, 60, 63, 3, 2, 31, 32, 6, 2, 10, 10, 20, 21, 33, 34, 37, 59, 2, 412, 2, 81, 3, 2, 2, 2, 4, 93, 3, 2, 2, 2, 6, 95, 3, 2, 2, 2, 8, 106, 3, 2, 2, 2, 10, 109, 3, 2, 2, 2, 12, 117, 3, 2, 2, 2, 14, 127, 3, 2, 2, 2, 16, 143, 3, 2, 2, 2, 18, 145, 3, 2, 2, 2, 20, 148, 3, 2, 2, 2, 22, 151, 3, 2, 2, 2, 24, 173, 3, 2, 2, 2, 26, 175, 3, 2, 2, 2, 28, 184, 3, 2, 2, 2, 30, 203, 3, 2, 2, 2, 32, 205, 3, 2, 2, 2, 34, 208, 3, 2, 2, 2, 36, 210, 3, 2, 2, 2, 38, 212, 3, 2, 2, 2, 40, 239, 3, 2, 2, 2, 42, 241, 3, 2, 2, 2, 44, 253, 3, 2, 2, 2, 46, 258, 3, 2, 2, 2, 48, 261, 3, 2, 2, 2, 50, 265, 3, 2, 2, 2, 52, 274, 3, 2, 2, 2, 54, 278, 3, 2, 2, 2, 56, 286, 3, 2, 2, 2, 58, 290, 3, 2, 2, 2, 60, 294, 3, 2, 2, 2, 62, 333, 3, 2, 2, 2, 64, 376, 3, 2, 2, 2, 66, 378, 3, 2, 2, 2, 68, 380, 3, 2, 2, 2, 70, 382, 3, 2, 2, 2, 72, 384, 3, 2, 2, 2, 74, 386, 3, 2, 2, 2, 76, 395, 3, 2, 2, 2, 78, 397, 3, 2, 2, 2, 80, 82, 5, 4, 3, 2, 81, 80, 3, 2, 2, 2, 82, 83, 3, 2, 2, 2, 83, 81, 3, 2, 2, 2, 83, 84, 3, 2, 2, 2, 84, 85, 3, 2, 2, 2, 85, 86, 7, 2, 2, 3, 86, 3, 3, 2, 2, 2, 87, 88, 5, 8, 5, 2, 88, 89, 7, 3, 2, 2, 89, 94, 3, 2, 2, 2, 90, 94, 5, 20, 11, 2, 91, 94, 5, 28, 15, 2, 92, 94, 5, 6, 4, 2, 93, 87, 3, 2, 2, 2, 93, 90, 3, 2, 2, 2, 93, 91, 3, 2, 2, 2, 93, 92, 3, 2, 2, 2, 94, 5, 3, 2, 2, 2, 95, 96, 7, 4, 2, 2, 96, 97, 5, 70, 36, 2, 97, 101, 7, 5, 2, 2, 98, 100, 5, 4, 3, 2, 99, 98, 3, 2, 2, 2, 100, 103, 3, 2, 2, 2, 101, 99, 3, 2, 2, 2, 101, 102, 3, 2, 2, 2, 102, 104, 3, 2, 2, 2, 103, 101, 3, 2, 2, 2, 104, 105, 7, 6, 2, 2, 105, 7, 3, 2, 2, 2, 106, 107, 7, 7, 2, 2, 107, 108, 5, 10, 6, 2, 108, 9, 3, 2, 2, 2, 109, 110, 5, 68, 35, 2, 110, 111, 7, 8, 2, 2, 111, 112, 5, 14, 8, 2, 112, 115, 3, 2, 2, 2, 113, 114, 7, 9, 2, 2, 114, 116, 5, 62, 32, 2, 115, 113, 3, 2, 2, 2, 115, 116, 3, 2, 2, 2, 116, 11, 3, 2, 2, 2, 117, 118, 5, 68, 35, 2, 118, 119, 7, 8, 2, 2, 119, 120, 5, 14, 8, 2, 120, 121, 3, 2, 2, 2, 121, 122, 7, 9, 2, 2, 122, 123, 5, 62, 32, 2, 123, 13, 3, 2, 2, 2, 124, 126, 5, 18, 10, 2, 125, 124, 3, 2, 2, 2, 126, 129, 3, 2, 2, 2, 127, 125, 3, 2, 2, 2, 127, 128, 3, 2, 2, 2, 128, 130, 3, 2, 2, 2, 129, 127, 3, 2, 2, 2, 130, 134, 5, 70, 36, 2, 131, 133, 5, 16, 9, 2, 132, 131, 3, 2, 2, 2, 133, 136, 3, 2, 2, 2, 134, 132, 3, 2, 2, 2, 134, 135, 3, 2, 2, 2, 135, 15, 3, 2, 2, 2, 136, 134, 3, 2, 2, 2, 137, 144, 7, 10, 2, 2, 138, 140, 7, 11, 2, 2, 139, 141, 7, 60, 2, 2, 140, 139, 3, 2, 2, 2, 140, 141, 3, 2, 2, 2, 141, 142, 3, 2, 2, 2, 142, 144, 7, 12, 2, 2, 143, 137, 3, 2, 2, 2, 143, 138, 3, 2, 2, 2, 144, 17, 3, 2, 2, 2, 145, 146, 5, 70, 36, 2, 146, 147, 7, 13, 2, 2, 147, 19, 3, 2, 2, 2, 148, 149, 7, 14, 2, 2, 149, 150, 5, 22, 12, 2, 150, 21, 3, 2, 2, 2, 151, 153, 5, 66, 34, 2, 152, 154, 5, 38, 20, 2, 153, 152, 3, 2, 2, 2, 153, 154, 3, 2, 2, 2, 154, 155, 3, 2, 2, 2, 155, 156, 7, 15, 2, 2, 156, 157, 5, 24, 13, 2, 157, 158, 7, 16, 2, 2, 158, 159, 7, 8, 2, 2, 159, 160, 5, 14, 8, 2, 160, 163, 3, 2, 2, 2, 161, 164, 5, 26, 14, 2, 162, 164, 7, 3, 2, 2, 163, 161, 3, 2, 2, 2, 163, 162, 3, 2, 2, 2, 164, 23, 3, 2, 2, 2, 165, 170, 5, 10, 6, 2, 166, 167, 7, 17, 2, 2, 167, 169, 5, 10, 6, 2, 168, 166, 3, 2, 2, 2, 169, 172, 3, 2, 2, 2, 170, 168, 3, 2, 2, 2, 170, 171, 3, 2, 2, 2, 171, 174, 3, 2, 2, 2, 172, 170, 3, 2, 2, 2, 173, 165, 3, 2, 2, 2, 173, 174, 3, 2, 2, 2, 174, 25, 3, 2, 2, 2, 175, 179, 7, 5, 2, 2, 176, 178, 5, 40, 21, 2, 177, 176, 3, 2, 2, 2, 178, 181, 3, 2, 2, 2, 179, 177, 3, 2, 2, 2, 179, 180, 3, 2, 2, 2, 180, 182, 3, 2, 2, 2, 181, 179, 3, 2, 2, 2, 182, 183, 7, 6, 2, 2, 183, 27, 3, 2, 2, 2, 184, 185, 7, 18, 2, 2, 185, 187, 5, 72, 37, 2, 186, 188, 5, 38, 20, 2, 187, 186, 3, 2, 2, 2, 187, 188, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 193, 7, 5, 2, 2, 190, 192, 5, 30, 16, 2, 191, 190, 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, 6, 2, 2, 197, 29, 3, 2, 2, 2, 198, 200, 5, 36, 19, 2, 199, 198, 3, 2, 2, 2, 199, 200, 3, 2, 2, 2, 200, 201, 3, 2, 2, 2, 201, 204, 5, 32, 17, 2, 202, 204, 5, 34, 18, 2, 203, 199, 3, 2, 2, 2, 203, 202, 3, 2, 2, 2, 204, 31, 3, 2, 2, 2, 205, 206, 5, 10, 6, 2, 206, 207, 7, 3, 2, 2, 207, 33, 3, 2, 2, 2, 208, 209, 5, 22, 12, 2, 209, 35, 3, 2, 2, 2, 210, 211, 7, 19, 2, 2, 211, 37, 3, 2, 2, 2, 212, 213, 7, 20, 2, 2, 213, 218, 5, 70, 36, 2, 214, 215, 7, 17, 2, 2, 215, 217, 5, 70, 36, 2, 216, 214, 3, 2, 2, 2, 217, 220, 3, 2, 2, 2, 218, 216, 3, 2, 2, 2, 218, 219, 3, 2, 2, 2, 219, 221, 3, 2, 2, 2, 220, 218, 3, 2, 2, 2, 221, 222, 7, 21, 2, 2, 222, 39, 3, 2, 2, 2, 223, 224, 5, 8, 5, 2, 224, 225, 7, 3, 2, 2, 225, 240, 3, 2, 2, 2, 226, 240, 5, 42, 22, 2, 227, 240, 5, 48, 25, 2, 228, 240, 5, 54, 28, 2, 229, 240, 5, 56, 29, 2, 230, 231, 5, 58, 30, 2, 231, 232, 7, 3, 2, 2, 232, 240, 3, 2, 2, 2, 233, 234, 5, 60, 31, 2, 234, 235, 7, 3, 2, 2, 235, 240, 3, 2, 2, 2, 236, 237, 5, 62, 32, 2, 237, 238, 7, 3, 2, 2, 238, 240, 3, 2, 2, 2, 239, 223, 3, 2, 2, 2, 239, 226, 3, 2, 2, 2, 239, 227, 3, 2, 2, 2, 239, 228, 3, 2, 2, 2, 239, 229, 3, 2, 2, 2, 239, 230, 3, 2, 2, 2, 239, 233, 3, 2, 2, 2, 239, 236, 3, 2, 2, 2, 240, 41, 3, 2, 2, 2, 241, 242, 7, 22, 2, 2, 242, 243, 5, 62, 32, 2, 243, 247, 5, 26, 14, 2, 244, 246, 5, 44, 23, 2, 245, 244, 3, 2, 2, 2, 246, 249, 3, 2, 2, 2, 247, 245, 3, 2, 2, 2, 247, 248, 3, 2, 2, 2, 248, 251, 3, 2, 2, 2, 249, 247, 3, 2, 2, 2, 250, 252, 5, 46, 24, 2, 251, 250, 3, 2, 2, 2, 251, 252, 3, 2, 2, 2, 252, 43, 3, 2, 2, 2, 253, 254, 7, 23, 2, 2, 254, 255, 7, 22, 2, 2, 255, 256, 5, 62, 32, 2, 256, 257, 5, 26, 14, 2, 257, 45, 3, 2, 2, 2, 258, 259, 7, 23, 2, 2, 259, 260, 5, 26, 14, 2, 260, 47, 3, 2, 2, 2, 261, 262, 7, 24, 2, 2, 262, 263, 5, 62, 32, 2, 263, 264, 5, 50, 26, 2, 264, 49, 3, 2, 2, 2, 265, 269, 7, 5, 2, 2, 266, 268, 5, 52, 27, 2, 267, 266, 3, 2, 2, 2, 268, 271, 3, 2, 2, 2, 269, 267, 3, 2, 2, 2, 269, 270, 3, 2, 2, 2, 270, 272, 3, 2, 2, 2, 271, 269, 3, 2, 2, 2, 272, 273, 7, 6, 2, 2, 273, 51, 3, 2, 2, 2, 274, 275, 7, 25, 2, 2, 275, 276, 5, 62, 32, 2, 276, 277, 5, 26, 14, 2, 277, 53, 3, 2, 2, 2, 278, 279, 7, 26, 2, 2, 279, 280, 5, 12, 7, 2, 280, 281, 7, 17, 2, 2, 281, 282, 5, 62, 32, 2, 282, 283, 7, 17, 2, 2, 283, 284, 5, 62, 32, 2, 284, 285, 5, 26, 14, 2, 285, 55, 3, 2, 2, 2, 286, 287, 7, 27, 2, 2, 287, 288, 5, 62, 32, 2, 288, 289, 5, 26, 14, 2, 289, 57, 3, 2, 2, 2, 290, 291, 5, 62, 32, 2, 291, 292, 7, 9, 2, 2, 292, 293, 5, 62, 32, 2, 293, 59, 3, 2, 2, 2, 294, 295, 7, 28, 2, 2, 295, 296, 5, 62, 32, 2, 296, 61, 3, 2, 2, 2, 297, 301, 8, 32, 1, 2, 298, 300, 5, 18, 10, 2, 299, 298, 3, 2, 2, 2, 300, 303, 3, 2, 2, 2, 301, 299, 3, 2, 2, 2, 301, 302, 3, 2, 2, 2, 302, 304, 3, 2, 2, 2, 303, 301, 3, 2, 2, 2, 304, 305, 5, 66, 34, 2, 305, 314, 7, 15, 2, 2, 306, 311, 5, 62, 32, 2, 307, 308, 7, 17, 2, 2, 308, 310, 5, 62, 32, 2, 309, 307, 3, 2, 2, 2, 310, 313, 3, 2, 2, 2, 311, 309, 3, 2, 2, 2, 311, 312, 3, 2, 2, 2, 312, 315, 3, 2, 2, 2, 313, 311, 3, 2, 2, 2, 314, 306, 3, 2, 2, 2, 314, 315, 3, 2, 2, 2, 315, 316, 3, 2, 2, 2, 316, 317, 7, 16, 2, 2, 317, 334, 3, 2, 2, 2, 318, 334, 5, 64, 33, 2, 319, 320, 7, 15, 2, 2, 320, 321, 5, 62, 32, 2, 321, 322, 7, 16, 2, 2, 322, 334, 3, 2, 2, 2, 323, 324, 5, 76, 39, 2, 324, 325, 5, 62, 32, 8, 325, 334, 3, 2, 2, 2, 326, 328, 5, 18, 10, 2, 327, 326, 3, 2, 2, 2, 328, 331, 3, 2, 2, 2, 329, 327, 3, 2, 2, 2, 329, 330, 3, 2, 2, 2, 330, 332, 3, 2, 2, 2, 331, 329, 3, 2, 2, 2, 332, 334, 5, 68, 35, 2, 333, 297, 3, 2, 2, 2, 333, 318, 3, 2, 2, 2, 333, 319, 3, 2, 2, 2, 333, 323, 3, 2, 2, 2, 333, 329, 3, 2, 2, 2, 334, 373, 3, 2, 2, 2, 335, 336, 12, 6, 2, 2, 336, 337, 5, 78, 40, 2, 337, 338, 5, 62, 32, 7, 338, 372, 3, 2, 2, 2, 339, 340, 12, 5, 2, 2, 340, 341, 7, 30, 2, 2, 341, 342, 5, 62, 32, 2, 342, 343, 7, 8, 2, 2, 343, 344, 5, 62, 32, 6, 344, 372, 3, 2, 2, 2, 345, 346, 12, 12, 2, 2, 346, 347, 7, 29, 2, 2, 347, 348, 5, 66, 34, 2, 348, 357, 7, 15, 2, 2, 349, 354, 5, 62, 32, 2, 350, 351, 7, 17, 2, 2, 351, 353, 5, 62, 32, 2, 352, 350, 3, 2, 2, 2, 353, 356, 3, 2, 2, 2, 354, 352, 3, 2, 2, 2, 354, 355, 3, 2, 2, 2, 355, 358, 3, 2, 2, 2, 356, 354, 3, 2, 2, 2, 357, 349, 3, 2, 2, 2, 357, 358, 3, 2, 2, 2, 358, 359, 3, 2, 2, 2, 359, 360, 7, 16, 2, 2, 360, 372, 3, 2, 2, 2, 361, 362, 12, 9, 2, 2, 362, 363, 7, 29, 2, 2, 363, 372, 5, 68, 35, 2, 364, 365, 12, 7, 2, 2, 365, 372, 5, 74, 38, 2, 366, 367, 12, 4, 2, 2, 367, 368, 7, 11, 2, 2, 368, 369, 5, 62, 32, 2, 369, 370, 7, 12, 2, 2, 370, 372, 3, 2, 2, 2, 371, 335, 3, 2, 2, 2, 371, 339, 3, 2, 2, 2, 371, 345, 3, 2, 2, 2, 371, 361, 3, 2, 2, 2, 371, 364, 3, 2, 2, 2, 371, 366, 3, 2, 2, 2, 372, 375, 3, 2, 2, 2, 373, 371, 3, 2, 2, 2, 373, 374, 3, 2, 2, 2, 374, 63, 3, 2, 2, 2, 375, 373, 3, 2, 2, 2, 376, 377, 9, 2, 2, 2, 377, 65, 3, 2, 2, 2, 378, 379, 7, 64, 2, 2, 379, 67, 3, 2, 2, 2, 380, 381, 7, 64, 2, 2, 381, 69, 3, 2, 2, 2, 382, 383, 7, 64, 2, 2, 383, 71, 3, 2, 2, 2, 384, 385, 7, 64, 2, 2, 385, 73, 3, 2, 2, 2, 386, 387, 9, 3, 2, 2, 387, 75, 3, 2, 2, 2, 388, 396, 7, 33, 2, 2, 389, 396, 7, 34, 2, 2, 390, 396, 7, 35, 2, 2, 391, 396, 7, 36, 2, 2, 392, 396, 7, 37, 2, 2, 393, 396, 7, 10, 2, 2, 394, 396, 5, 74, 38, 2, 395, 388, 3, 2, 2, 2, 395, 389, 3, 2, 2, 2, 395, 390, 3, 2, 2, 2, 395, 391, 3, 2, 2, 2, 395, 392, 3, 2, 2, 2, 395, 393, 3, 2, 2, 2, 395, 394, 3, 2, 2, 2, 396, 77, 3, 2, 2, 2, 397, 398, 9, 4, 2, 2, 398, 79, 3, 2, 2, 2, 34, 83, 93, 101, 115, 127, 134, 140, 143, 153, 163, 170, 173, 179, 187, 193, 199, 203, 218, 239, 247, 251, 269, 301, 311, 314, 329, 333, 354, 357, 371, 373, 395] \ No newline at end of file +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 67, 434, 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, 3, 2, 6, 2, 88, 10, 2, 13, 2, 14, 2, 89, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 100, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 7, 4, 106, 10, 4, 12, 4, 14, 4, 109, 11, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 122, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 7, 8, 132, 10, 8, 12, 8, 14, 8, 135, 11, 8, 3, 8, 3, 8, 5, 8, 139, 10, 8, 3, 8, 7, 8, 142, 10, 8, 12, 8, 14, 8, 145, 11, 8, 3, 9, 3, 9, 3, 9, 5, 9, 150, 10, 9, 3, 9, 5, 9, 153, 10, 9, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 5, 12, 163, 10, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 173, 10, 12, 3, 13, 3, 13, 3, 13, 7, 13, 178, 10, 13, 12, 13, 14, 13, 181, 11, 13, 5, 13, 183, 10, 13, 3, 14, 3, 14, 7, 14, 187, 10, 14, 12, 14, 14, 14, 190, 11, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 5, 15, 197, 10, 15, 3, 15, 3, 15, 7, 15, 201, 10, 15, 12, 15, 14, 15, 204, 11, 15, 3, 15, 3, 15, 3, 16, 5, 16, 209, 10, 16, 3, 16, 3, 16, 5, 16, 213, 10, 16, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 7, 20, 226, 10, 20, 12, 20, 14, 20, 229, 11, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 7, 21, 237, 10, 21, 12, 21, 14, 21, 240, 11, 21, 3, 21, 3, 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, 5, 22, 260, 10, 22, 3, 23, 3, 23, 3, 23, 3, 23, 7, 23, 266, 10, 23, 12, 23, 14, 23, 269, 11, 23, 3, 23, 5, 23, 272, 10, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 7, 27, 288, 10, 27, 12, 27, 14, 27, 291, 11, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 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, 32, 3, 32, 3, 32, 3, 33, 3, 33, 7, 33, 320, 10, 33, 12, 33, 14, 33, 323, 11, 33, 3, 33, 3, 33, 5, 33, 327, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 7, 33, 333, 10, 33, 12, 33, 14, 33, 336, 11, 33, 5, 33, 338, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 7, 33, 351, 10, 33, 12, 33, 14, 33, 354, 11, 33, 3, 33, 5, 33, 357, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 373, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 7, 33, 379, 10, 33, 12, 33, 14, 33, 382, 11, 33, 5, 33, 384, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 391, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 7, 33, 402, 10, 33, 12, 33, 14, 33, 405, 11, 33, 3, 34, 3, 34, 3, 35, 3, 35, 3, 36, 3, 36, 3, 37, 3, 37, 3, 38, 3, 38, 3, 39, 3, 39, 3, 40, 3, 40, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 5, 42, 430, 10, 42, 3, 43, 3, 43, 3, 43, 2, 3, 64, 44, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 2, 5, 3, 2, 61, 64, 3, 2, 32, 33, 6, 2, 10, 10, 20, 21, 34, 35, 38, 60, 2, 448, 2, 87, 3, 2, 2, 2, 4, 99, 3, 2, 2, 2, 6, 101, 3, 2, 2, 2, 8, 112, 3, 2, 2, 2, 10, 115, 3, 2, 2, 2, 12, 123, 3, 2, 2, 2, 14, 133, 3, 2, 2, 2, 16, 152, 3, 2, 2, 2, 18, 154, 3, 2, 2, 2, 20, 157, 3, 2, 2, 2, 22, 160, 3, 2, 2, 2, 24, 182, 3, 2, 2, 2, 26, 184, 3, 2, 2, 2, 28, 193, 3, 2, 2, 2, 30, 212, 3, 2, 2, 2, 32, 214, 3, 2, 2, 2, 34, 217, 3, 2, 2, 2, 36, 219, 3, 2, 2, 2, 38, 221, 3, 2, 2, 2, 40, 232, 3, 2, 2, 2, 42, 259, 3, 2, 2, 2, 44, 261, 3, 2, 2, 2, 46, 273, 3, 2, 2, 2, 48, 278, 3, 2, 2, 2, 50, 281, 3, 2, 2, 2, 52, 285, 3, 2, 2, 2, 54, 294, 3, 2, 2, 2, 56, 298, 3, 2, 2, 2, 58, 306, 3, 2, 2, 2, 60, 310, 3, 2, 2, 2, 62, 314, 3, 2, 2, 2, 64, 356, 3, 2, 2, 2, 66, 406, 3, 2, 2, 2, 68, 408, 3, 2, 2, 2, 70, 410, 3, 2, 2, 2, 72, 412, 3, 2, 2, 2, 74, 414, 3, 2, 2, 2, 76, 416, 3, 2, 2, 2, 78, 418, 3, 2, 2, 2, 80, 420, 3, 2, 2, 2, 82, 429, 3, 2, 2, 2, 84, 431, 3, 2, 2, 2, 86, 88, 5, 4, 3, 2, 87, 86, 3, 2, 2, 2, 88, 89, 3, 2, 2, 2, 89, 87, 3, 2, 2, 2, 89, 90, 3, 2, 2, 2, 90, 91, 3, 2, 2, 2, 91, 92, 7, 2, 2, 3, 92, 3, 3, 2, 2, 2, 93, 94, 5, 8, 5, 2, 94, 95, 7, 3, 2, 2, 95, 100, 3, 2, 2, 2, 96, 100, 5, 20, 11, 2, 97, 100, 5, 28, 15, 2, 98, 100, 5, 6, 4, 2, 99, 93, 3, 2, 2, 2, 99, 96, 3, 2, 2, 2, 99, 97, 3, 2, 2, 2, 99, 98, 3, 2, 2, 2, 100, 5, 3, 2, 2, 2, 101, 102, 7, 4, 2, 2, 102, 103, 5, 76, 39, 2, 103, 107, 7, 5, 2, 2, 104, 106, 5, 4, 3, 2, 105, 104, 3, 2, 2, 2, 106, 109, 3, 2, 2, 2, 107, 105, 3, 2, 2, 2, 107, 108, 3, 2, 2, 2, 108, 110, 3, 2, 2, 2, 109, 107, 3, 2, 2, 2, 110, 111, 7, 6, 2, 2, 111, 7, 3, 2, 2, 2, 112, 113, 7, 7, 2, 2, 113, 114, 5, 10, 6, 2, 114, 9, 3, 2, 2, 2, 115, 116, 5, 74, 38, 2, 116, 117, 7, 8, 2, 2, 117, 118, 5, 14, 8, 2, 118, 121, 3, 2, 2, 2, 119, 120, 7, 9, 2, 2, 120, 122, 5, 64, 33, 2, 121, 119, 3, 2, 2, 2, 121, 122, 3, 2, 2, 2, 122, 11, 3, 2, 2, 2, 123, 124, 5, 74, 38, 2, 124, 125, 7, 8, 2, 2, 125, 126, 5, 14, 8, 2, 126, 127, 3, 2, 2, 2, 127, 128, 7, 9, 2, 2, 128, 129, 5, 64, 33, 2, 129, 13, 3, 2, 2, 2, 130, 132, 5, 18, 10, 2, 131, 130, 3, 2, 2, 2, 132, 135, 3, 2, 2, 2, 133, 131, 3, 2, 2, 2, 133, 134, 3, 2, 2, 2, 134, 136, 3, 2, 2, 2, 135, 133, 3, 2, 2, 2, 136, 138, 5, 76, 39, 2, 137, 139, 5, 40, 21, 2, 138, 137, 3, 2, 2, 2, 138, 139, 3, 2, 2, 2, 139, 143, 3, 2, 2, 2, 140, 142, 5, 16, 9, 2, 141, 140, 3, 2, 2, 2, 142, 145, 3, 2, 2, 2, 143, 141, 3, 2, 2, 2, 143, 144, 3, 2, 2, 2, 144, 15, 3, 2, 2, 2, 145, 143, 3, 2, 2, 2, 146, 153, 7, 10, 2, 2, 147, 149, 7, 11, 2, 2, 148, 150, 7, 61, 2, 2, 149, 148, 3, 2, 2, 2, 149, 150, 3, 2, 2, 2, 150, 151, 3, 2, 2, 2, 151, 153, 7, 12, 2, 2, 152, 146, 3, 2, 2, 2, 152, 147, 3, 2, 2, 2, 153, 17, 3, 2, 2, 2, 154, 155, 5, 76, 39, 2, 155, 156, 7, 13, 2, 2, 156, 19, 3, 2, 2, 2, 157, 158, 7, 14, 2, 2, 158, 159, 5, 22, 12, 2, 159, 21, 3, 2, 2, 2, 160, 162, 5, 72, 37, 2, 161, 163, 5, 38, 20, 2, 162, 161, 3, 2, 2, 2, 162, 163, 3, 2, 2, 2, 163, 164, 3, 2, 2, 2, 164, 165, 7, 15, 2, 2, 165, 166, 5, 24, 13, 2, 166, 167, 7, 16, 2, 2, 167, 168, 7, 8, 2, 2, 168, 169, 5, 14, 8, 2, 169, 172, 3, 2, 2, 2, 170, 173, 5, 26, 14, 2, 171, 173, 7, 3, 2, 2, 172, 170, 3, 2, 2, 2, 172, 171, 3, 2, 2, 2, 173, 23, 3, 2, 2, 2, 174, 179, 5, 10, 6, 2, 175, 176, 7, 17, 2, 2, 176, 178, 5, 10, 6, 2, 177, 175, 3, 2, 2, 2, 178, 181, 3, 2, 2, 2, 179, 177, 3, 2, 2, 2, 179, 180, 3, 2, 2, 2, 180, 183, 3, 2, 2, 2, 181, 179, 3, 2, 2, 2, 182, 174, 3, 2, 2, 2, 182, 183, 3, 2, 2, 2, 183, 25, 3, 2, 2, 2, 184, 188, 7, 5, 2, 2, 185, 187, 5, 42, 22, 2, 186, 185, 3, 2, 2, 2, 187, 190, 3, 2, 2, 2, 188, 186, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 191, 3, 2, 2, 2, 190, 188, 3, 2, 2, 2, 191, 192, 7, 6, 2, 2, 192, 27, 3, 2, 2, 2, 193, 194, 7, 18, 2, 2, 194, 196, 5, 78, 40, 2, 195, 197, 5, 38, 20, 2, 196, 195, 3, 2, 2, 2, 196, 197, 3, 2, 2, 2, 197, 198, 3, 2, 2, 2, 198, 202, 7, 5, 2, 2, 199, 201, 5, 30, 16, 2, 200, 199, 3, 2, 2, 2, 201, 204, 3, 2, 2, 2, 202, 200, 3, 2, 2, 2, 202, 203, 3, 2, 2, 2, 203, 205, 3, 2, 2, 2, 204, 202, 3, 2, 2, 2, 205, 206, 7, 6, 2, 2, 206, 29, 3, 2, 2, 2, 207, 209, 5, 36, 19, 2, 208, 207, 3, 2, 2, 2, 208, 209, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 213, 5, 32, 17, 2, 211, 213, 5, 34, 18, 2, 212, 208, 3, 2, 2, 2, 212, 211, 3, 2, 2, 2, 213, 31, 3, 2, 2, 2, 214, 215, 5, 10, 6, 2, 215, 216, 7, 3, 2, 2, 216, 33, 3, 2, 2, 2, 217, 218, 5, 22, 12, 2, 218, 35, 3, 2, 2, 2, 219, 220, 7, 19, 2, 2, 220, 37, 3, 2, 2, 2, 221, 222, 7, 20, 2, 2, 222, 227, 5, 76, 39, 2, 223, 224, 7, 17, 2, 2, 224, 226, 5, 76, 39, 2, 225, 223, 3, 2, 2, 2, 226, 229, 3, 2, 2, 2, 227, 225, 3, 2, 2, 2, 227, 228, 3, 2, 2, 2, 228, 230, 3, 2, 2, 2, 229, 227, 3, 2, 2, 2, 230, 231, 7, 21, 2, 2, 231, 39, 3, 2, 2, 2, 232, 233, 7, 20, 2, 2, 233, 238, 5, 14, 8, 2, 234, 235, 7, 17, 2, 2, 235, 237, 5, 14, 8, 2, 236, 234, 3, 2, 2, 2, 237, 240, 3, 2, 2, 2, 238, 236, 3, 2, 2, 2, 238, 239, 3, 2, 2, 2, 239, 241, 3, 2, 2, 2, 240, 238, 3, 2, 2, 2, 241, 242, 7, 21, 2, 2, 242, 41, 3, 2, 2, 2, 243, 244, 5, 8, 5, 2, 244, 245, 7, 3, 2, 2, 245, 260, 3, 2, 2, 2, 246, 260, 5, 44, 23, 2, 247, 260, 5, 50, 26, 2, 248, 260, 5, 56, 29, 2, 249, 260, 5, 58, 30, 2, 250, 251, 5, 60, 31, 2, 251, 252, 7, 3, 2, 2, 252, 260, 3, 2, 2, 2, 253, 254, 5, 62, 32, 2, 254, 255, 7, 3, 2, 2, 255, 260, 3, 2, 2, 2, 256, 257, 5, 64, 33, 2, 257, 258, 7, 3, 2, 2, 258, 260, 3, 2, 2, 2, 259, 243, 3, 2, 2, 2, 259, 246, 3, 2, 2, 2, 259, 247, 3, 2, 2, 2, 259, 248, 3, 2, 2, 2, 259, 249, 3, 2, 2, 2, 259, 250, 3, 2, 2, 2, 259, 253, 3, 2, 2, 2, 259, 256, 3, 2, 2, 2, 260, 43, 3, 2, 2, 2, 261, 262, 7, 22, 2, 2, 262, 263, 5, 64, 33, 2, 263, 267, 5, 26, 14, 2, 264, 266, 5, 46, 24, 2, 265, 264, 3, 2, 2, 2, 266, 269, 3, 2, 2, 2, 267, 265, 3, 2, 2, 2, 267, 268, 3, 2, 2, 2, 268, 271, 3, 2, 2, 2, 269, 267, 3, 2, 2, 2, 270, 272, 5, 48, 25, 2, 271, 270, 3, 2, 2, 2, 271, 272, 3, 2, 2, 2, 272, 45, 3, 2, 2, 2, 273, 274, 7, 23, 2, 2, 274, 275, 7, 22, 2, 2, 275, 276, 5, 64, 33, 2, 276, 277, 5, 26, 14, 2, 277, 47, 3, 2, 2, 2, 278, 279, 7, 23, 2, 2, 279, 280, 5, 26, 14, 2, 280, 49, 3, 2, 2, 2, 281, 282, 7, 24, 2, 2, 282, 283, 5, 64, 33, 2, 283, 284, 5, 52, 27, 2, 284, 51, 3, 2, 2, 2, 285, 289, 7, 5, 2, 2, 286, 288, 5, 54, 28, 2, 287, 286, 3, 2, 2, 2, 288, 291, 3, 2, 2, 2, 289, 287, 3, 2, 2, 2, 289, 290, 3, 2, 2, 2, 290, 292, 3, 2, 2, 2, 291, 289, 3, 2, 2, 2, 292, 293, 7, 6, 2, 2, 293, 53, 3, 2, 2, 2, 294, 295, 7, 25, 2, 2, 295, 296, 5, 64, 33, 2, 296, 297, 5, 26, 14, 2, 297, 55, 3, 2, 2, 2, 298, 299, 7, 26, 2, 2, 299, 300, 5, 12, 7, 2, 300, 301, 7, 17, 2, 2, 301, 302, 5, 64, 33, 2, 302, 303, 7, 17, 2, 2, 303, 304, 5, 64, 33, 2, 304, 305, 5, 26, 14, 2, 305, 57, 3, 2, 2, 2, 306, 307, 7, 27, 2, 2, 307, 308, 5, 64, 33, 2, 308, 309, 5, 26, 14, 2, 309, 59, 3, 2, 2, 2, 310, 311, 5, 64, 33, 2, 311, 312, 7, 9, 2, 2, 312, 313, 5, 64, 33, 2, 313, 61, 3, 2, 2, 2, 314, 315, 7, 28, 2, 2, 315, 316, 5, 64, 33, 2, 316, 63, 3, 2, 2, 2, 317, 321, 8, 33, 1, 2, 318, 320, 5, 18, 10, 2, 319, 318, 3, 2, 2, 2, 320, 323, 3, 2, 2, 2, 321, 319, 3, 2, 2, 2, 321, 322, 3, 2, 2, 2, 322, 324, 3, 2, 2, 2, 323, 321, 3, 2, 2, 2, 324, 326, 5, 72, 37, 2, 325, 327, 5, 40, 21, 2, 326, 325, 3, 2, 2, 2, 326, 327, 3, 2, 2, 2, 327, 328, 3, 2, 2, 2, 328, 337, 7, 15, 2, 2, 329, 334, 5, 64, 33, 2, 330, 331, 7, 17, 2, 2, 331, 333, 5, 64, 33, 2, 332, 330, 3, 2, 2, 2, 333, 336, 3, 2, 2, 2, 334, 332, 3, 2, 2, 2, 334, 335, 3, 2, 2, 2, 335, 338, 3, 2, 2, 2, 336, 334, 3, 2, 2, 2, 337, 329, 3, 2, 2, 2, 337, 338, 3, 2, 2, 2, 338, 339, 3, 2, 2, 2, 339, 340, 7, 16, 2, 2, 340, 357, 3, 2, 2, 2, 341, 357, 5, 70, 36, 2, 342, 343, 7, 15, 2, 2, 343, 344, 5, 64, 33, 2, 344, 345, 7, 16, 2, 2, 345, 357, 3, 2, 2, 2, 346, 347, 5, 82, 42, 2, 347, 348, 5, 64, 33, 8, 348, 357, 3, 2, 2, 2, 349, 351, 5, 18, 10, 2, 350, 349, 3, 2, 2, 2, 351, 354, 3, 2, 2, 2, 352, 350, 3, 2, 2, 2, 352, 353, 3, 2, 2, 2, 353, 355, 3, 2, 2, 2, 354, 352, 3, 2, 2, 2, 355, 357, 5, 74, 38, 2, 356, 317, 3, 2, 2, 2, 356, 341, 3, 2, 2, 2, 356, 342, 3, 2, 2, 2, 356, 346, 3, 2, 2, 2, 356, 352, 3, 2, 2, 2, 357, 403, 3, 2, 2, 2, 358, 359, 12, 6, 2, 2, 359, 360, 5, 84, 43, 2, 360, 361, 5, 64, 33, 7, 361, 402, 3, 2, 2, 2, 362, 363, 12, 5, 2, 2, 363, 364, 7, 30, 2, 2, 364, 365, 5, 64, 33, 2, 365, 366, 7, 8, 2, 2, 366, 367, 5, 64, 33, 6, 367, 402, 3, 2, 2, 2, 368, 369, 12, 12, 2, 2, 369, 370, 7, 29, 2, 2, 370, 372, 5, 72, 37, 2, 371, 373, 5, 40, 21, 2, 372, 371, 3, 2, 2, 2, 372, 373, 3, 2, 2, 2, 373, 374, 3, 2, 2, 2, 374, 383, 7, 15, 2, 2, 375, 380, 5, 64, 33, 2, 376, 377, 7, 17, 2, 2, 377, 379, 5, 64, 33, 2, 378, 376, 3, 2, 2, 2, 379, 382, 3, 2, 2, 2, 380, 378, 3, 2, 2, 2, 380, 381, 3, 2, 2, 2, 381, 384, 3, 2, 2, 2, 382, 380, 3, 2, 2, 2, 383, 375, 3, 2, 2, 2, 383, 384, 3, 2, 2, 2, 384, 385, 3, 2, 2, 2, 385, 386, 7, 16, 2, 2, 386, 402, 3, 2, 2, 2, 387, 390, 12, 9, 2, 2, 388, 391, 5, 66, 34, 2, 389, 391, 5, 68, 35, 2, 390, 388, 3, 2, 2, 2, 390, 389, 3, 2, 2, 2, 391, 392, 3, 2, 2, 2, 392, 393, 5, 74, 38, 2, 393, 402, 3, 2, 2, 2, 394, 395, 12, 7, 2, 2, 395, 402, 5, 80, 41, 2, 396, 397, 12, 4, 2, 2, 397, 398, 7, 11, 2, 2, 398, 399, 5, 64, 33, 2, 399, 400, 7, 12, 2, 2, 400, 402, 3, 2, 2, 2, 401, 358, 3, 2, 2, 2, 401, 362, 3, 2, 2, 2, 401, 368, 3, 2, 2, 2, 401, 387, 3, 2, 2, 2, 401, 394, 3, 2, 2, 2, 401, 396, 3, 2, 2, 2, 402, 405, 3, 2, 2, 2, 403, 401, 3, 2, 2, 2, 403, 404, 3, 2, 2, 2, 404, 65, 3, 2, 2, 2, 405, 403, 3, 2, 2, 2, 406, 407, 7, 29, 2, 2, 407, 67, 3, 2, 2, 2, 408, 409, 7, 31, 2, 2, 409, 69, 3, 2, 2, 2, 410, 411, 9, 2, 2, 2, 411, 71, 3, 2, 2, 2, 412, 413, 7, 65, 2, 2, 413, 73, 3, 2, 2, 2, 414, 415, 7, 65, 2, 2, 415, 75, 3, 2, 2, 2, 416, 417, 7, 65, 2, 2, 417, 77, 3, 2, 2, 2, 418, 419, 7, 65, 2, 2, 419, 79, 3, 2, 2, 2, 420, 421, 9, 3, 2, 2, 421, 81, 3, 2, 2, 2, 422, 430, 7, 34, 2, 2, 423, 430, 7, 35, 2, 2, 424, 430, 7, 36, 2, 2, 425, 430, 7, 37, 2, 2, 426, 430, 7, 38, 2, 2, 427, 430, 7, 10, 2, 2, 428, 430, 5, 80, 41, 2, 429, 422, 3, 2, 2, 2, 429, 423, 3, 2, 2, 2, 429, 424, 3, 2, 2, 2, 429, 425, 3, 2, 2, 2, 429, 426, 3, 2, 2, 2, 429, 427, 3, 2, 2, 2, 429, 428, 3, 2, 2, 2, 430, 83, 3, 2, 2, 2, 431, 432, 9, 4, 2, 2, 432, 85, 3, 2, 2, 2, 39, 89, 99, 107, 121, 133, 138, 143, 149, 152, 162, 172, 179, 182, 188, 196, 202, 208, 212, 227, 238, 259, 267, 271, 289, 321, 326, 334, 337, 352, 356, 372, 380, 383, 390, 401, 403, 429] \ No newline at end of file diff --git a/gen/Toc.tokens b/gen/Toc.tokens index dc0da9c..43b8baf 100644 --- a/gen/Toc.tokens +++ b/gen/Toc.tokens @@ -55,13 +55,14 @@ T__53=54 T__54=55 T__55=56 T__56=57 -INT_LIT=58 -DECIMAL_LIT=59 -BOOL_LIT=60 -StringLit=61 -NAME=62 -WS=63 -NEWLINE=64 +T__57=58 +INT_LIT=59 +DECIMAL_LIT=60 +BOOL_LIT=61 +StringLit=62 +NAME=63 +WS=64 +NEWLINE=65 ';'=1 'namespace'=2 '{'=3 @@ -90,32 +91,33 @@ NEWLINE=64 'return'=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 +'->'=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 diff --git a/gen/TocLexer.cpp b/gen/TocLexer.cpp index a376353..55419e3 100644 --- a/gen/TocLexer.cpp +++ b/gen/TocLexer.cpp @@ -67,8 +67,8 @@ std::vector TocLexer::_ruleNames = { "T__33", "T__34", "T__35", "T__36", "T__37", "T__38", "T__39", "T__40", "T__41", "T__42", "T__43", "T__44", "T__45", "T__46", "T__47", "T__48", "T__49", "T__50", "T__51", "T__52", "T__53", "T__54", "T__55", "T__56", - "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", "CharSeq", "Char", - "NAME", "WS", "NEWLINE" + "T__57", "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", "CharSeq", + "Char", "NAME", "WS", "NEWLINE" }; std::vector TocLexer::_channelNames = { @@ -83,18 +83,18 @@ std::vector TocLexer::_literalNames = { "", "';'", "'namespace'", "'{'", "'}'", "'var'", "':'", "'='", "'*'", "'['", "']'", "'::'", "'func'", "'('", "')'", "','", "'struct'", "'private'", "'<'", "'>'", "'if'", "'else'", "'switch'", "'case'", "'for'", "'while'", - "'return'", "'.'", "'\u003F'", "'++'", "'--'", "'+'", "'-'", "'!'", "'~'", - "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", "'<<'", - "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", "'+='", - "'-='", "'*='", "'/='", "'%='" + "'return'", "'.'", "'\u003F'", "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", + "'~'", "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", + "'<<'", "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", + "'+='", "'-='", "'*='", "'/='", "'%='" }; std::vector TocLexer::_symbolicNames = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "", "", "", "", "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", "NAME", - "WS", "NEWLINE" + "", "", "", "", "", "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", + "NAME", "WS", "NEWLINE" }; dfa::Vocabulary TocLexer::_vocabulary(_literalNames, _symbolicNames); @@ -118,7 +118,7 @@ TocLexer::Initializer::Initializer() { static const uint16_t serializedATNSegment0[] = { 0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964, - 0x2, 0x42, 0x187, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, + 0x2, 0x43, 0x18c, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, 0x4, 0x4, 0x9, 0x4, 0x4, 0x5, 0x9, 0x5, 0x4, 0x6, 0x9, 0x6, 0x4, 0x7, 0x9, 0x7, 0x4, 0x8, 0x9, 0x8, 0x4, 0x9, 0x9, 0x9, 0x4, 0xa, 0x9, 0xa, 0x4, 0xb, 0x9, 0xb, 0x4, 0xc, 0x9, 0xc, 0x4, 0xd, 0x9, @@ -140,68 +140,69 @@ TocLexer::Initializer::Initializer() { 0x4, 0x3b, 0x9, 0x3b, 0x4, 0x3c, 0x9, 0x3c, 0x4, 0x3d, 0x9, 0x3d, 0x4, 0x3e, 0x9, 0x3e, 0x4, 0x3f, 0x9, 0x3f, 0x4, 0x40, 0x9, 0x40, 0x4, 0x41, 0x9, 0x41, 0x4, 0x42, 0x9, 0x42, 0x4, 0x43, 0x9, 0x43, - 0x3, 0x2, 0x3, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, - 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, - 0x3, 0x4, 0x3, 0x5, 0x3, 0x5, 0x3, 0x6, 0x3, 0x6, 0x3, 0x6, 0x3, - 0x6, 0x3, 0x7, 0x3, 0x7, 0x3, 0x8, 0x3, 0x8, 0x3, 0x9, 0x3, 0x9, - 0x3, 0xa, 0x3, 0xa,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x3, 0x3d, 0x5, 0x3d, 0x162, 0xa, 0x3d, 0x3, - 0x3e, 0x3, 0x3e, 0x3, 0x3e, 0x3, 0x3e, 0x3, 0x3f, 0x6, 0x3f, 0x169, - 0xa, 0x3f, 0xd, 0x3f, 0xe, 0x3f, 0x16a, 0x3, 0x40, 0x3, 0x40, 0x3, - 0x40, 0x3, 0x40, 0x3, 0x40, 0x3, 0x40, 0x3, 0x40, 0x3, 0x40, 0x5, - 0x40, 0x175, 0xa, 0x40, 0x3, 0x41, 0x6, 0x41, 0x178, 0xa, 0x41, 0xd, - 0x41, 0xe, 0x41, 0x179, 0x3, 0x42, 0x6, 0x42, 0x17d, 0xa, 0x42, 0xd, - 0x42, 0xe, 0x42, 0x17e, 0x3, 0x42, 0x3, 0x42, 0x3, 0x43, 0x6, 0x43, - 0x184, 0xa, 0x43, 0xd, 0x43, 0xe, 0x43, 0x185, 0x2, 0x2, 0x44, 0x3, - 0x3, 0x5, 0x4, 0x7, 0x5, 0x9, 0x6, 0xb, 0x7, 0xd, 0x8, 0xf, 0x9, - 0x11, 0xa, 0x13, 0xb, 0x15, 0xc, 0x17, 0xd, 0x19, 0xe, 0x1b, 0xf, - 0x1d, 0x10, 0x1f, 0x11, 0x21, 0x12, 0x23, 0x13, 0x25, 0x14, 0x27, - 0x15, 0x29, 0x16, 0x2b, 0x17, 0x2d, 0x18, 0x2f, 0x19, 0x31, 0x1a, - 0x33, 0x1b, 0x35, 0x1c, 0x37, 0x1d, 0x39, 0x1e, 0x3b, 0x1f, 0x3d, - 0x20, 0x3f, 0x21, 0x41, 0x22, 0x43, 0x23, 0x45, 0x24, 0x47, 0x25, - 0x49, 0x26, 0x4b, 0x27, 0x4d, 0x28, 0x4f, 0x29, 0x51, 0x2a, 0x53, - 0x2b, 0x55, 0x2c, 0x57, 0x2d, 0x59, 0x2e, 0x5b, 0x2f, 0x5d, 0x30, - 0x5f, 0x31, 0x61, 0x32, 0x63, 0x33, 0x65, 0x34, 0x67, 0x35, 0x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x7, 0x5, 0x9, 0x6, 0xb, 0x7, 0xd, 0x8, 0xf, 0x9, 0x11, 0xa, + 0x13, 0xb, 0x15, 0xc, 0x17, 0xd, 0x19, 0xe, 0x1b, 0xf, 0x1d, 0x10, + 0x1f, 0x11, 0x21, 0x12, 0x23, 0x13, 0x25, 0x14, 0x27, 0x15, 0x29, + 0x16, 0x2b, 0x17, 0x2d, 0x18, 0x2f, 0x19, 0x31, 0x1a, 0x33, 0x1b, + 0x35, 0x1c, 0x37, 0x1d, 0x39, 0x1e, 0x3b, 0x1f, 0x3d, 0x20, 0x3f, + 0x21, 0x41, 0x22, 0x43, 0x23, 0x45, 0x24, 0x47, 0x25, 0x49, 0x26, + 0x4b, 0x27, 0x4d, 0x28, 0x4f, 0x29, 0x51, 0x2a, 0x53, 0x2b, 0x55, + 0x2c, 0x57, 0x2d, 0x59, 0x2e, 0x5b, 0x2f, 0x5d, 0x30, 0x5f, 0x31, + 0x61, 0x32, 0x63, 0x33, 0x65, 0x34, 0x67, 0x35, 0x69, 0x36, 0x6b, + 0x37, 0x6d, 0x38, 0x6f, 0x39, 0x71, 0x3a, 0x73, 0x3b, 0x75, 0x3c, + 0x77, 0x3d, 0x79, 0x3e, 0x7b, 0x3f, 0x7d, 0x40, 0x7f, 0x2, 0x81, + 0x2, 0x83, 0x41, 0x85, 0x42, 0x87, 0x43, 0x3, 0x2, 0x9, 0x4, 0x2, 0x2d, 0x2d, 0x2f, 0x2f, 0x3, 0x2, 0x32, 0x3b, 0x6, 0x2, 0xc, 0xc, 0xf, 0xf, 0x24, 0x24, 0x5e, 0x5e, 0xc, 0x2, 0x24, 0x24, 0x29, 0x29, 0x41, 0x41, 0x5e, 0x5e, 0x63, 0x64, 0x68, 0x68, 0x70, 0x70, 0x74, 0x74, 0x76, 0x76, 0x78, 0x78, 0x5, 0x2, 0x32, 0x3b, 0x43, 0x5c, 0x63, 0x7c, 0x5, 0x2, 0xb, 0xc, 0xf, 0xf, 0x22, 0x22, 0x4, 0x2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0x40, - 0x2, 0x2, 0x111, 0x112, 0x7, 0x3f, 0x2, 0x2, 0x112, 0x58, 0x3, 0x2, - 0x2, 0x2, 0x113, 0x114, 0x7, 0x3e, 0x2, 0x2, 0x114, 0x115, 0x7, 0x3e, - 0x2, 0x2, 0x115, 0x5a, 0x3, 0x2, 0x2, 0x2, 0x116, 0x117, 0x7, 0x40, - 0x2, 0x2, 0x117, 0x118, 0x7, 0x40, 0x2, 0x2, 0x118, 0x5c, 0x3, 0x2, - 0x2, 0x2, 0x119, 0x11a, 0x7, 0x7e, 0x2, 0x2, 0x11a, 0x11b, 0x7, 0x7e, - 0x2, 0x2, 0x11b, 0x5e, 0x3, 0x2, 0x2, 0x2, 0x11c, 0x11d, 0x7, 0x28, - 0x2, 0x2, 0x11d, 0x11e, 0x7, 0x28, 0x2, 0x2, 0x11e, 0x60, 0x3, 0x2, - 0x2, 0x2, 0x11f, 0x120, 0x7, 0x28, 0x2, 0x2, 0x120, 0x121, 0x7, 0x3f, - 0x2, 0x2, 0x121, 0x62, 0x3, 0x2, 0x2, 0x2, 0x122, 0x123, 0x7, 0x7e, - 0x2, 0x2, 0x123, 0x124, 0x7, 0x3f, 0x2, 0x2, 0x124, 0x64, 0x3, 0x2, - 0x2, 0x2, 0x125, 0x126, 0x7, 0x60, 0x2, 0x2, 0x126, 0x127, 0x7, 0x3f, - 0x2, 0x2, 0x127, 0x66, 0x3, 0x2, 0x2, 0x2, 0x128, 0x129, 0x7, 0x3e, - 0x2, 0x2, 0x129, 0x12a, 0x7, 0x3e, 0x2, 0x2, 0x12a, 0x12b, 0x7, 0x3f, - 0x2, 0x2, 0x12b, 0x68, 0x3, 0x2, 0x2, 0x2, 0x12c, 0x12d, 0x7, 0x40, - 0x2, 0x2, 0x12d, 0x12e, 0x7, 0x40, 0x2, 0x2, 0x12e, 0x12f, 0x7, 0x3f, - 0x2, 0x2, 0x12f, 0x6a, 0x3, 0x2, 0x2, 0x2, 0x130, 0x131, 0x7, 0x2d, - 0x2, 0x2, 0x131, 0x132, 0x7, 0x3f, 0x2, 0x2, 0x132, 0x6c, 0x3, 0x2, - 0x2, 0x2, 0x133, 0x134, 0x7, 0x2f, 0x2, 0x2, 0x134, 0x135, 0x7, 0x3f, - 0x2, 0x2, 0x135, 0x6e, 0x3, 0x2, 0x2, 0x2, 0x136, 0x137, 0x7, 0x2c, - 0x2, 0x2, 0x137, 0x138, 0x7, 0x3f, 0x2, 0x2, 0x138, 0x70, 0x3, 0x2, - 0x2, 0x2, 0x139, 0x13a, 0x7, 0x31, 0x2, 0x2, 0x13a, 0x13b, 0x7, 0x3f, - 0x2, 0x2, 0x13b, 0x72, 0x3, 0x2, 0x2, 0x2, 0x13c, 0x13d, 0x7, 0x27, - 0x2, 0x2, 0x13d, 0x13e, 0x7, 0x3f, 0x2, 0x2, 0x13e, 0x74, 0x3, 0x2, - 0x2, 0x2, 0x13f, 0x141, 0x9, 0x2, 0x2, 0x2, 0x140, 0x13f, 0x3, 0x2, - 0x2, 0x2, 0x140, 0x141, 0x3, 0x2, 0x2, 0x2, 0x141, 0x143, 0x3, 0x2, - 0x2, 0x2, 0x142, 0x144, 0x9, 0x3, 0x2, 0x2, 0x143, 0x142, 0x3, 0x2, - 0x2, 0x2, 0x144, 0x145, 0x3, 0x2, 0x2, 0x2, 0x145, 0x143, 0x3, 0x2, - 0x2, 0x2, 0x145, 0x146, 0x3, 0x2, 0x2, 0x2, 0x146, 0x76, 0x3, 0x2, - 0x2, 0x2, 0x147, 0x149, 0x9, 0x2, 0x2, 0x2, 0x148, 0x147, 0x3, 0x2, - 0x2, 0x2, 0x149, 0x14c, 0x3, 0x2, 0x2, 0x2, 0x14a, 0x148, 0x3, 0x2, - 0x2, 0x2, 0x14a, 0x14b, 0x3, 0x2, 0x2, 0x2, 0x14b, 0x14e, 0x3, 0x2, - 0x2, 0x2, 0x14c, 0x14a, 0x3, 0x2, 0x2, 0x2, 0x14d, 0x14f, 0x9, 0x3, - 0x2, 0x2, 0x14e, 0x14d, 0x3, 0x2, 0x2, 0x2, 0x14f, 0x150, 0x3, 0x2, - 0x2, 0x2, 0x150, 0x14e, 0x3, 0x2, 0x2, 0x2, 0x150, 0x151, 0x3, 0x2, - 0x2, 0x2, 0x151, 0x152, 0x3, 0x2, 0x2, 0x2, 0x152, 0x154, 0x7, 0x30, - 0x2, 0x2, 0x153, 0x155, 0x9, 0x3, 0x2, 0x2, 0x154, 0x153, 0x3, 0x2, - 0x2, 0x2, 0x155, 0x156, 0x3, 0x2, 0x2, 0x2, 0x156, 0x154, 0x3, 0x2, - 0x2, 0x2, 0x156, 0x157, 0x3, 0x2, 0x2, 0x2, 0x157, 0x78, 0x3, 0x2, - 0x2, 0x2, 0x158, 0x159, 0x7, 0x76, 0x2, 0x2, 0x159, 0x15a, 0x7, 0x74, - 0x2, 0x2, 0x15a, 0x15b, 0x7, 0x77, 0x2, 0x2, 0x15b, 0x162, 0x7, 0x67, - 0x2, 0x2, 0x15c, 0x15d, 0x7, 0x68, 0x2, 0x2, 0x15d, 0x15e, 0x7, 0x63, - 0x2, 0x2, 0x15e, 0x15f, 0x7, 0x6e, 0x2, 0x2, 0x15f, 0x160, 0x7, 0x75, - 0x2, 0x2, 0x160, 0x162, 0x7, 0x67, 0x2, 0x2, 0x161, 0x158, 0x3, 0x2, - 0x2, 0x2, 0x161, 0x15c, 0x3, 0x2, 0x2, 0x2, 0x162, 0x7a, 0x3, 0x2, - 0x2, 0x2, 0x163, 0x164, 0x7, 0x24, 0x2, 0x2, 0x164, 0x165, 0x5, 0x7d, - 0x3f, 0x2, 0x165, 0x166, 0x7, 0x24, 0x2, 0x2, 0x166, 0x7c, 0x3, 0x2, - 0x2, 0x2, 0x167, 0x169, 0x5, 0x7f, 0x40, 0x2, 0x168, 0x167, 0x3, - 0x2, 0x2, 0x2, 0x169, 0x16a, 0x3, 0x2, 0x2, 0x2, 0x16a, 0x168, 0x3, - 0x2, 0x2, 0x2, 0x16a, 0x16b, 0x3, 0x2, 0x2, 0x2, 0x16b, 0x7e, 0x3, - 0x2, 0x2, 0x2, 0x16c, 0x175, 0xa, 0x4, 0x2, 0x2, 0x16d, 0x16e, 0x7, - 0x5e, 0x2, 0x2, 0x16e, 0x175, 0x9, 0x5, 0x2, 0x2, 0x16f, 0x170, 0x7, - 0x5e, 0x2, 0x2, 0x170, 0x175, 0x7, 0xc, 0x2, 0x2, 0x171, 0x172, 0x7, - 0x5e, 0x2, 0x2, 0x172, 0x173, 0x7, 0xf, 0x2, 0x2, 0x173, 0x175, 0x7, - 0xc, 0x2, 0x2, 0x174, 0x16c, 0x3, 0x2, 0x2, 0x2, 0x174, 0x16d, 0x3, - 0x2, 0x2, 0x2, 0x174, 0x16f, 0x3, 0x2, 0x2, 0x2, 0x174, 0x171, 0x3, - 0x2, 0x2, 0x2, 0x175, 0x80, 0x3, 0x2, 0x2, 0x2, 0x176, 0x178, 0x9, - 0x6, 0x2, 0x2, 0x177, 0x176, 0x3, 0x2, 0x2, 0x2, 0x178, 0x179, 0x3, - 0x2, 0x2, 0x2, 0x179, 0x177, 0x3, 0x2, 0x2, 0x2, 0x179, 0x17a, 0x3, - 0x2, 0x2, 0x2, 0x17a, 0x82, 0x3, 0x2, 0x2, 0x2, 0x17b, 0x17d, 0x9, - 0x7, 0x2, 0x2, 0x17c, 0x17b, 0x3, 0x2, 0x2, 0x2, 0x17d, 0x17e, 0x3, - 0x2, 0x2, 0x2, 0x17e, 0x17c, 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17f, 0x3, - 0x2, 0x2, 0x2, 0x17f, 0x180, 0x3, 0x2, 0x2, 0x2, 0x180, 0x181, 0x8, - 0x42, 0x2, 0x2, 0x181, 0x84, 0x3, 0x2, 0x2, 0x2, 0x182, 0x184, 0x9, - 0x8, 0x2, 0x2, 0x183, 0x182, 0x3, 0x2, 0x2, 0x2, 0x184, 0x185, 0x3, - 0x2, 0x2, 0x2, 0x185, 0x183, 0x3, 0x2, 0x2, 0x2, 0x185, 0x186, 0x3, - 0x2, 0x2,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x2, 0x2, 0xfe, 0xff, 0x7, 0x23, + 0x2, 0x2, 0xff, 0x46, 0x3, 0x2, 0x2, 0x2, 0x100, 0x101, 0x7, 0x80, + 0x2, 0x2, 0x101, 0x48, 0x3, 0x2, 0x2, 0x2, 0x102, 0x103, 0x7, 0x28, + 0x2, 0x2, 0x103, 0x4a, 0x3, 0x2, 0x2, 0x2, 0x104, 0x105, 0x7, 0x31, + 0x2, 0x2, 0x105, 0x4c, 0x3, 0x2, 0x2, 0x2, 0x106, 0x107, 0x7, 0x27, + 0x2, 0x2, 0x107, 0x4e, 0x3, 0x2, 0x2, 0x2, 0x108, 0x109, 0x7, 0x7e, + 0x2, 0x2, 0x109, 0x50, 0x3, 0x2, 0x2, 0x2, 0x10a, 0x10b, 0x7, 0x60, + 0x2, 0x2, 0x10b, 0x52, 0x3, 0x2, 0x2, 0x2, 0x10c, 0x10d, 0x7, 0x3f, + 0x2, 0x2, 0x10d, 0x10e, 0x7, 0x3f, 0x2, 0x2, 0x10e, 0x54, 0x3, 0x2, + 0x2, 0x2, 0x10f, 0x110, 0x7, 0x23, 0x2, 0x2, 0x110, 0x111, 0x7, 0x3f, + 0x2, 0x2, 0x111, 0x56, 0x3, 0x2, 0x2, 0x2, 0x112, 0x113, 0x7, 0x3e, + 0x2, 0x2, 0x113, 0x114, 0x7, 0x3f, 0x2, 0x2, 0x114, 0x58, 0x3, 0x2, + 0x2, 0x2, 0x115, 0x116, 0x7, 0x40, 0x2, 0x2, 0x116, 0x117, 0x7, 0x3f, + 0x2, 0x2, 0x117, 0x5a, 0x3, 0x2, 0x2, 0x2, 0x118, 0x119, 0x7, 0x3e, + 0x2, 0x2, 0x119, 0x11a, 0x7, 0x3e, 0x2, 0x2, 0x11a, 0x5c, 0x3, 0x2, + 0x2, 0x2, 0x11b, 0x11c, 0x7, 0x40, 0x2, 0x2, 0x11c, 0x11d, 0x7, 0x40, + 0x2, 0x2, 0x11d, 0x5e, 0x3, 0x2, 0x2, 0x2, 0x11e, 0x11f, 0x7, 0x7e, + 0x2, 0x2, 0x11f, 0x120, 0x7, 0x7e, 0x2, 0x2, 0x120, 0x60, 0x3, 0x2, + 0x2, 0x2, 0x121, 0x122, 0x7, 0x28, 0x2, 0x2, 0x122, 0x123, 0x7, 0x28, + 0x2, 0x2, 0x123, 0x62, 0x3, 0x2, 0x2, 0x2, 0x124, 0x125, 0x7, 0x28, + 0x2, 0x2, 0x125, 0x126, 0x7, 0x3f, 0x2, 0x2, 0x126, 0x64, 0x3, 0x2, + 0x2, 0x2, 0x127, 0x128, 0x7, 0x7e, 0x2, 0x2, 0x128, 0x129, 0x7, 0x3f, + 0x2, 0x2, 0x129, 0x66, 0x3, 0x2, 0x2, 0x2, 0x12a, 0x12b, 0x7, 0x60, + 0x2, 0x2, 0x12b, 0x12c, 0x7, 0x3f, 0x2, 0x2, 0x12c, 0x68, 0x3, 0x2, + 0x2, 0x2, 0x12d, 0x12e, 0x7, 0x3e, 0x2, 0x2, 0x12e, 0x12f, 0x7, 0x3e, + 0x2, 0x2, 0x12f, 0x130, 0x7, 0x3f, 0x2, 0x2, 0x130, 0x6a, 0x3, 0x2, + 0x2, 0x2, 0x131, 0x132, 0x7, 0x40, 0x2, 0x2, 0x132, 0x133, 0x7, 0x40, + 0x2, 0x2, 0x133, 0x134, 0x7, 0x3f, 0x2, 0x2, 0x134, 0x6c, 0x3, 0x2, + 0x2, 0x2, 0x135, 0x136, 0x7, 0x2d, 0x2, 0x2, 0x136, 0x137, 0x7, 0x3f, + 0x2, 0x2, 0x137, 0x6e, 0x3, 0x2, 0x2, 0x2, 0x138, 0x139, 0x7, 0x2f, + 0x2, 0x2, 0x139, 0x13a, 0x7, 0x3f, 0x2, 0x2, 0x13a, 0x70, 0x3, 0x2, + 0x2, 0x2, 0x13b, 0x13c, 0x7, 0x2c, 0x2, 0x2, 0x13c, 0x13d, 0x7, 0x3f, + 0x2, 0x2, 0x13d, 0x72, 0x3, 0x2, 0x2, 0x2, 0x13e, 0x13f, 0x7, 0x31, + 0x2, 0x2, 0x13f, 0x140, 0x7, 0x3f, 0x2, 0x2, 0x140, 0x74, 0x3, 0x2, + 0x2, 0x2, 0x141, 0x142, 0x7, 0x27, 0x2, 0x2, 0x142, 0x143, 0x7, 0x3f, + 0x2, 0x2, 0x143, 0x76, 0x3, 0x2, 0x2, 0x2, 0x144, 0x146, 0x9, 0x2, + 0x2, 0x2, 0x145, 0x144, 0x3, 0x2, 0x2, 0x2, 0x145, 0x146, 0x3, 0x2, + 0x2, 0x2, 0x146, 0x148, 0x3, 0x2, 0x2, 0x2, 0x147, 0x149, 0x9, 0x3, + 0x2, 0x2, 0x148, 0x147, 0x3, 0x2, 0x2, 0x2, 0x149, 0x14a, 0x3, 0x2, + 0x2, 0x2, 0x14a, 0x148, 0x3, 0x2, 0x2, 0x2, 0x14a, 0x14b, 0x3, 0x2, + 0x2, 0x2, 0x14b, 0x78, 0x3, 0x2, 0x2, 0x2, 0x14c, 0x14e, 0x9, 0x2, + 0x2, 0x2, 0x14d, 0x14c, 0x3, 0x2, 0x2, 0x2, 0x14e, 0x151, 0x3, 0x2, + 0x2, 0x2, 0x14f, 0x14d, 0x3, 0x2, 0x2, 0x2, 0x14f, 0x150, 0x3, 0x2, + 0x2, 0x2, 0x150, 0x153, 0x3, 0x2, 0x2, 0x2, 0x151, 0x14f, 0x3, 0x2, + 0x2, 0x2, 0x152, 0x154, 0x9, 0x3, 0x2, 0x2, 0x153, 0x152, 0x3, 0x2, + 0x2, 0x2, 0x154, 0x155, 0x3, 0x2, 0x2, 0x2, 0x155, 0x153, 0x3, 0x2, + 0x2, 0x2, 0x155, 0x156, 0x3, 0x2, 0x2, 0x2, 0x156, 0x157, 0x3, 0x2, + 0x2, 0x2, 0x157, 0x159, 0x7, 0x30, 0x2, 0x2, 0x158, 0x15a, 0x9, 0x3, + 0x2, 0x2, 0x159, 0x158, 0x3, 0x2, 0x2, 0x2, 0x15a, 0x15b, 0x3, 0x2, + 0x2, 0x2, 0x15b, 0x159, 0x3, 0x2, 0x2, 0x2, 0x15b, 0x15c, 0x3, 0x2, + 0x2, 0x2, 0x15c, 0x7a, 0x3, 0x2, 0x2, 0x2, 0x15d, 0x15e, 0x7, 0x76, + 0x2, 0x2, 0x15e, 0x15f, 0x7, 0x74, 0x2, 0x2, 0x15f, 0x160, 0x7, 0x77, + 0x2, 0x2, 0x160, 0x167, 0x7, 0x67, 0x2, 0x2, 0x161, 0x162, 0x7, 0x68, + 0x2, 0x2, 0x162, 0x163, 0x7, 0x63, 0x2, 0x2, 0x163, 0x164, 0x7, 0x6e, + 0x2, 0x2, 0x164, 0x165, 0x7, 0x75, 0x2, 0x2, 0x165, 0x167, 0x7, 0x67, + 0x2, 0x2, 0x166, 0x15d, 0x3, 0x2, 0x2, 0x2, 0x166, 0x161, 0x3, 0x2, + 0x2, 0x2, 0x167, 0x7c, 0x3, 0x2, 0x2, 0x2, 0x168, 0x169, 0x7, 0x24, + 0x2, 0x2, 0x169, 0x16a, 0x5, 0x7f, 0x40, 0x2, 0x16a, 0x16b, 0x7, + 0x24, 0x2, 0x2, 0x16b, 0x7e, 0x3, 0x2, 0x2, 0x2, 0x16c, 0x16e, 0x5, + 0x81, 0x41, 0x2, 0x16d, 0x16c, 0x3, 0x2, 0x2, 0x2, 0x16e, 0x16f, + 0x3, 0x2, 0x2, 0x2, 0x16f, 0x16d, 0x3, 0x2, 0x2, 0x2, 0x16f, 0x170, + 0x3, 0x2, 0x2, 0x2, 0x170, 0x80, 0x3, 0x2, 0x2, 0x2, 0x171, 0x17a, + 0xa, 0x4, 0x2, 0x2, 0x172, 0x173, 0x7, 0x5e, 0x2, 0x2, 0x173, 0x17a, + 0x9, 0x5, 0x2, 0x2, 0x174, 0x175, 0x7, 0x5e, 0x2, 0x2, 0x175, 0x17a, + 0x7, 0xc, 0x2, 0x2, 0x176, 0x177, 0x7, 0x5e, 0x2, 0x2, 0x177, 0x178, + 0x7, 0xf, 0x2, 0x2, 0x178, 0x17a, 0x7, 0xc, 0x2, 0x2, 0x179, 0x171, + 0x3, 0x2, 0x2, 0x2, 0x179, 0x172, 0x3, 0x2, 0x2, 0x2, 0x179, 0x174, + 0x3, 0x2, 0x2, 0x2, 0x179, 0x176, 0x3, 0x2, 0x2, 0x2, 0x17a, 0x82, + 0x3, 0x2, 0x2, 0x2, 0x17b, 0x17d, 0x9, 0x6, 0x2, 0x2, 0x17c, 0x17b, + 0x3, 0x2, 0x2, 0x2, 0x17d, 0x17e, 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17c, + 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17f, 0x3, 0x2, 0x2, 0x2, 0x17f, 0x84, + 0x3, 0x2, 0x2, 0x2, 0x180, 0x182, 0x9, 0x7, 0x2, 0x2, 0x181, 0x180, + 0x3, 0x2, 0x2, 0x2, 0x182, 0x183, 0x3, 0x2, 0x2, 0x2, 0x183, 0x181, + 0x3, 0x2, 0x2, 0x2, 0x183, 0x184, 0x3, 0x2, 0x2, 0x2, 0x184, 0x185, + 0x3, 0x2, 0x2, 0x2, 0x185, 0x186, 0x8, 0x43, 0x2, 0x2, 0x186, 0x86, + 0x3, 0x2, 0x2, 0x2, 0x187, 0x189, 0x9, 0x8, 0x2, 0x2, 0x188, 0x187, + 0x3, 0x2, 0x2, 0x2, 0x189, 0x18a, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x188, + 0x3, 0x2, 0x2, 0x2, 0x18a, 0x18b, 0x3, 0x2, 0x2, 0x2, 0x18b, 0x88, + 0x3, 0x2, 0x2, 0x2, 0xf, 0x2, 0x145, 0x14a, 0x14f, 0x155, 0x15b, + 0x166, 0x16f, 0x179, 0x17c, 0x17e, 0x183, 0x18a, 0x3, 0x8, 0x2, 0x2, }; _serializedATN.insert(_serializedATN.end(), serializedATNSegment0, diff --git a/gen/TocLexer.h b/gen/TocLexer.h index b692afa..2a6252b 100644 --- a/gen/TocLexer.h +++ b/gen/TocLexer.h @@ -21,8 +21,8 @@ public: T__38 = 39, T__39 = 40, T__40 = 41, T__41 = 42, T__42 = 43, T__43 = 44, T__44 = 45, T__45 = 46, T__46 = 47, T__47 = 48, T__48 = 49, T__49 = 50, T__50 = 51, T__51 = 52, T__52 = 53, T__53 = 54, T__54 = 55, T__55 = 56, - T__56 = 57, INT_LIT = 58, DECIMAL_LIT = 59, BOOL_LIT = 60, StringLit = 61, - NAME = 62, WS = 63, NEWLINE = 64 + T__56 = 57, T__57 = 58, INT_LIT = 59, DECIMAL_LIT = 60, BOOL_LIT = 61, + StringLit = 62, NAME = 63, WS = 64, NEWLINE = 65 }; explicit TocLexer(antlr4::CharStream *input); diff --git a/gen/TocLexer.interp b/gen/TocLexer.interp index 815fdc7..ba1e1bd 100644 --- a/gen/TocLexer.interp +++ b/gen/TocLexer.interp @@ -28,6 +28,7 @@ null 'return' '.' '?' +'->' '++' '--' '+' @@ -124,6 +125,7 @@ null null null null +null INT_LIT DECIMAL_LIT BOOL_LIT @@ -190,6 +192,7 @@ T__53 T__54 T__55 T__56 +T__57 INT_LIT DECIMAL_LIT BOOL_LIT @@ -208,4 +211,4 @@ mode names: DEFAULT_MODE atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 66, 391, 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, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 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, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 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, 27, 3, 27, 3, 28, 3, 28, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 33, 3, 33, 3, 34, 3, 34, 3, 35, 3, 35, 3, 36, 3, 36, 3, 37, 3, 37, 3, 38, 3, 38, 3, 39, 3, 39, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 3, 59, 5, 59, 321, 10, 59, 3, 59, 6, 59, 324, 10, 59, 13, 59, 14, 59, 325, 3, 60, 7, 60, 329, 10, 60, 12, 60, 14, 60, 332, 11, 60, 3, 60, 6, 60, 335, 10, 60, 13, 60, 14, 60, 336, 3, 60, 3, 60, 6, 60, 341, 10, 60, 13, 60, 14, 60, 342, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 5, 61, 354, 10, 61, 3, 62, 3, 62, 3, 62, 3, 62, 3, 63, 6, 63, 361, 10, 63, 13, 63, 14, 63, 362, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 5, 64, 373, 10, 64, 3, 65, 6, 65, 376, 10, 65, 13, 65, 14, 65, 377, 3, 66, 6, 66, 381, 10, 66, 13, 66, 14, 66, 382, 3, 66, 3, 66, 3, 67, 6, 67, 388, 10, 67, 13, 67, 14, 67, 389, 2, 2, 68, 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, 2, 127, 2, 129, 64, 131, 65, 133, 66, 3, 2, 9, 4, 2, 45, 45, 47, 47, 3, 2, 50, 59, 6, 2, 12, 12, 15, 15, 36, 36, 94, 94, 12, 2, 36, 36, 41, 41, 65, 65, 94, 94, 99, 100, 104, 104, 112, 112, 116, 116, 118, 118, 120, 120, 5, 2, 50, 59, 67, 92, 99, 124, 5, 2, 11, 12, 15, 15, 34, 34, 4, 2, 12, 12, 15, 15, 2, 401, 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, 129, 3, 2, 2, 2, 2, 131, 3, 2, 2, 2, 2, 133, 3, 2, 2, 2, 3, 135, 3, 2, 2, 2, 5, 137, 3, 2, 2, 2, 7, 147, 3, 2, 2, 2, 9, 149, 3, 2, 2, 2, 11, 151, 3, 2, 2, 2, 13, 155, 3, 2, 2, 2, 15, 157, 3, 2, 2, 2, 17, 159, 3, 2, 2, 2, 19, 161, 3, 2, 2, 2, 21, 163, 3, 2, 2, 2, 23, 165, 3, 2, 2, 2, 25, 168, 3, 2, 2, 2, 27, 173, 3, 2, 2, 2, 29, 175, 3, 2, 2, 2, 31, 177, 3, 2, 2, 2, 33, 179, 3, 2, 2, 2, 35, 186, 3, 2, 2, 2, 37, 194, 3, 2, 2, 2, 39, 196, 3, 2, 2, 2, 41, 198, 3, 2, 2, 2, 43, 201, 3, 2, 2, 2, 45, 206, 3, 2, 2, 2, 47, 213, 3, 2, 2, 2, 49, 218, 3, 2, 2, 2, 51, 222, 3, 2, 2, 2, 53, 228, 3, 2, 2, 2, 55, 235, 3, 2, 2, 2, 57, 237, 3, 2, 2, 2, 59, 239, 3, 2, 2, 2, 61, 242, 3, 2, 2, 2, 63, 245, 3, 2, 2, 2, 65, 247, 3, 2, 2, 2, 67, 249, 3, 2, 2, 2, 69, 251, 3, 2, 2, 2, 71, 253, 3, 2, 2, 2, 73, 255, 3, 2, 2, 2, 75, 257, 3, 2, 2, 2, 77, 259, 3, 2, 2, 2, 79, 261, 3, 2, 2, 2, 81, 263, 3, 2, 2, 2, 83, 266, 3, 2, 2, 2, 85, 269, 3, 2, 2, 2, 87, 272, 3, 2, 2, 2, 89, 275, 3, 2, 2, 2, 91, 278, 3, 2, 2, 2, 93, 281, 3, 2, 2, 2, 95, 284, 3, 2, 2, 2, 97, 287, 3, 2, 2, 2, 99, 290, 3, 2, 2, 2, 101, 293, 3, 2, 2, 2, 103, 296, 3, 2, 2, 2, 105, 300, 3, 2, 2, 2, 107, 304, 3, 2, 2, 2, 109, 307, 3, 2, 2, 2, 111, 310, 3, 2, 2, 2, 113, 313, 3, 2, 2, 2, 115, 316, 3, 2, 2, 2, 117, 320, 3, 2, 2, 2, 119, 330, 3, 2, 2, 2, 121, 353, 3, 2, 2, 2, 123, 355, 3, 2, 2, 2, 125, 360, 3, 2, 2, 2, 127, 372, 3, 2, 2, 2, 129, 375, 3, 2, 2, 2, 131, 380, 3, 2, 2, 2, 133, 387, 3, 2, 2, 2, 135, 136, 7, 61, 2, 2, 136, 4, 3, 2, 2, 2, 137, 138, 7, 112, 2, 2, 138, 139, 7, 99, 2, 2, 139, 140, 7, 111, 2, 2, 140, 141, 7, 103, 2, 2, 141, 142, 7, 117, 2, 2, 142, 143, 7, 114, 2, 2, 143, 144, 7, 99, 2, 2, 144, 145, 7, 101, 2, 2, 145, 146, 7, 103, 2, 2, 146, 6, 3, 2, 2, 2, 147, 148, 7, 125, 2, 2, 148, 8, 3, 2, 2, 2, 149, 150, 7, 127, 2, 2, 150, 10, 3, 2, 2, 2, 151, 152, 7, 120, 2, 2, 152, 153, 7, 99, 2, 2, 153, 154, 7, 116, 2, 2, 154, 12, 3, 2, 2, 2, 155, 156, 7, 60, 2, 2, 156, 14, 3, 2, 2, 2, 157, 158, 7, 63, 2, 2, 158, 16, 3, 2, 2, 2, 159, 160, 7, 44, 2, 2, 160, 18, 3, 2, 2, 2, 161, 162, 7, 93, 2, 2, 162, 20, 3, 2, 2, 2, 163, 164, 7, 95, 2, 2, 164, 22, 3, 2, 2, 2, 165, 166, 7, 60, 2, 2, 166, 167, 7, 60, 2, 2, 167, 24, 3, 2, 2, 2, 168, 169, 7, 104, 2, 2, 169, 170, 7, 119, 2, 2, 170, 171, 7, 112, 2, 2, 171, 172, 7, 101, 2, 2, 172, 26, 3, 2, 2, 2, 173, 174, 7, 42, 2, 2, 174, 28, 3, 2, 2, 2, 175, 176, 7, 43, 2, 2, 176, 30, 3, 2, 2, 2, 177, 178, 7, 46, 2, 2, 178, 32, 3, 2, 2, 2, 179, 180, 7, 117, 2, 2, 180, 181, 7, 118, 2, 2, 181, 182, 7, 116, 2, 2, 182, 183, 7, 119, 2, 2, 183, 184, 7, 101, 2, 2, 184, 185, 7, 118, 2, 2, 185, 34, 3, 2, 2, 2, 186, 187, 7, 114, 2, 2, 187, 188, 7, 116, 2, 2, 188, 189, 7, 107, 2, 2, 189, 190, 7, 120, 2, 2, 190, 191, 7, 99, 2, 2, 191, 192, 7, 118, 2, 2, 192, 193, 7, 103, 2, 2, 193, 36, 3, 2, 2, 2, 194, 195, 7, 62, 2, 2, 195, 38, 3, 2, 2, 2, 196, 197, 7, 64, 2, 2, 197, 40, 3, 2, 2, 2, 198, 199, 7, 107, 2, 2, 199, 200, 7, 104, 2, 2, 200, 42, 3, 2, 2, 2, 201, 202, 7, 103, 2, 2, 202, 203, 7, 110, 2, 2, 203, 204, 7, 117, 2, 2, 204, 205, 7, 103, 2, 2, 205, 44, 3, 2, 2, 2, 206, 207, 7, 117, 2, 2, 207, 208, 7, 121, 2, 2, 208, 209, 7, 107, 2, 2, 209, 210, 7, 118, 2, 2, 210, 211, 7, 101, 2, 2, 211, 212, 7, 106, 2, 2, 212, 46, 3, 2, 2, 2, 213, 214, 7, 101, 2, 2, 214, 215, 7, 99, 2, 2, 215, 216, 7, 117, 2, 2, 216, 217, 7, 103, 2, 2, 217, 48, 3, 2, 2, 2, 218, 219, 7, 104, 2, 2, 219, 220, 7, 113, 2, 2, 220, 221, 7, 116, 2, 2, 221, 50, 3, 2, 2, 2, 222, 223, 7, 121, 2, 2, 223, 224, 7, 106, 2, 2, 224, 225, 7, 107, 2, 2, 225, 226, 7, 110, 2, 2, 226, 227, 7, 103, 2, 2, 227, 52, 3, 2, 2, 2, 228, 229, 7, 116, 2, 2, 229, 230, 7, 103, 2, 2, 230, 231, 7, 118, 2, 2, 231, 232, 7, 119, 2, 2, 232, 233, 7, 116, 2, 2, 233, 234, 7, 112, 2, 2, 234, 54, 3, 2, 2, 2, 235, 236, 7, 48, 2, 2, 236, 56, 3, 2, 2, 2, 237, 238, 7, 65, 2, 2, 238, 58, 3, 2, 2, 2, 239, 240, 7, 45, 2, 2, 240, 241, 7, 45, 2, 2, 241, 60, 3, 2, 2, 2, 242, 243, 7, 47, 2, 2, 243, 244, 7, 47, 2, 2, 244, 62, 3, 2, 2, 2, 245, 246, 7, 45, 2, 2, 246, 64, 3, 2, 2, 2, 247, 248, 7, 47, 2, 2, 248, 66, 3, 2, 2, 2, 249, 250, 7, 35, 2, 2, 250, 68, 3, 2, 2, 2, 251, 252, 7, 128, 2, 2, 252, 70, 3, 2, 2, 2, 253, 254, 7, 40, 2, 2, 254, 72, 3, 2, 2, 2, 255, 256, 7, 49, 2, 2, 256, 74, 3, 2, 2, 2, 257, 258, 7, 39, 2, 2, 258, 76, 3, 2, 2, 2, 259, 260, 7, 126, 2, 2, 260, 78, 3, 2, 2, 2, 261, 262, 7, 96, 2, 2, 262, 80, 3, 2, 2, 2, 263, 264, 7, 63, 2, 2, 264, 265, 7, 63, 2, 2, 265, 82, 3, 2, 2, 2, 266, 267, 7, 35, 2, 2, 267, 268, 7, 63, 2, 2, 268, 84, 3, 2, 2, 2, 269, 270, 7, 62, 2, 2, 270, 271, 7, 63, 2, 2, 271, 86, 3, 2, 2, 2, 272, 273, 7, 64, 2, 2, 273, 274, 7, 63, 2, 2, 274, 88, 3, 2, 2, 2, 275, 276, 7, 62, 2, 2, 276, 277, 7, 62, 2, 2, 277, 90, 3, 2, 2, 2, 278, 279, 7, 64, 2, 2, 279, 280, 7, 64, 2, 2, 280, 92, 3, 2, 2, 2, 281, 282, 7, 126, 2, 2, 282, 283, 7, 126, 2, 2, 283, 94, 3, 2, 2, 2, 284, 285, 7, 40, 2, 2, 285, 286, 7, 40, 2, 2, 286, 96, 3, 2, 2, 2, 287, 288, 7, 40, 2, 2, 288, 289, 7, 63, 2, 2, 289, 98, 3, 2, 2, 2, 290, 291, 7, 126, 2, 2, 291, 292, 7, 63, 2, 2, 292, 100, 3, 2, 2, 2, 293, 294, 7, 96, 2, 2, 294, 295, 7, 63, 2, 2, 295, 102, 3, 2, 2, 2, 296, 297, 7, 62, 2, 2, 297, 298, 7, 62, 2, 2, 298, 299, 7, 63, 2, 2, 299, 104, 3, 2, 2, 2, 300, 301, 7, 64, 2, 2, 301, 302, 7, 64, 2, 2, 302, 303, 7, 63, 2, 2, 303, 106, 3, 2, 2, 2, 304, 305, 7, 45, 2, 2, 305, 306, 7, 63, 2, 2, 306, 108, 3, 2, 2, 2, 307, 308, 7, 47, 2, 2, 308, 309, 7, 63, 2, 2, 309, 110, 3, 2, 2, 2, 310, 311, 7, 44, 2, 2, 311, 312, 7, 63, 2, 2, 312, 112, 3, 2, 2, 2, 313, 314, 7, 49, 2, 2, 314, 315, 7, 63, 2, 2, 315, 114, 3, 2, 2, 2, 316, 317, 7, 39, 2, 2, 317, 318, 7, 63, 2, 2, 318, 116, 3, 2, 2, 2, 319, 321, 9, 2, 2, 2, 320, 319, 3, 2, 2, 2, 320, 321, 3, 2, 2, 2, 321, 323, 3, 2, 2, 2, 322, 324, 9, 3, 2, 2, 323, 322, 3, 2, 2, 2, 324, 325, 3, 2, 2, 2, 325, 323, 3, 2, 2, 2, 325, 326, 3, 2, 2, 2, 326, 118, 3, 2, 2, 2, 327, 329, 9, 2, 2, 2, 328, 327, 3, 2, 2, 2, 329, 332, 3, 2, 2, 2, 330, 328, 3, 2, 2, 2, 330, 331, 3, 2, 2, 2, 331, 334, 3, 2, 2, 2, 332, 330, 3, 2, 2, 2, 333, 335, 9, 3, 2, 2, 334, 333, 3, 2, 2, 2, 335, 336, 3, 2, 2, 2, 336, 334, 3, 2, 2, 2, 336, 337, 3, 2, 2, 2, 337, 338, 3, 2, 2, 2, 338, 340, 7, 48, 2, 2, 339, 341, 9, 3, 2, 2, 340, 339, 3, 2, 2, 2, 341, 342, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 120, 3, 2, 2, 2, 344, 345, 7, 118, 2, 2, 345, 346, 7, 116, 2, 2, 346, 347, 7, 119, 2, 2, 347, 354, 7, 103, 2, 2, 348, 349, 7, 104, 2, 2, 349, 350, 7, 99, 2, 2, 350, 351, 7, 110, 2, 2, 351, 352, 7, 117, 2, 2, 352, 354, 7, 103, 2, 2, 353, 344, 3, 2, 2, 2, 353, 348, 3, 2, 2, 2, 354, 122, 3, 2, 2, 2, 355, 356, 7, 36, 2, 2, 356, 357, 5, 125, 63, 2, 357, 358, 7, 36, 2, 2, 358, 124, 3, 2, 2, 2, 359, 361, 5, 127, 64, 2, 360, 359, 3, 2, 2, 2, 361, 362, 3, 2, 2, 2, 362, 360, 3, 2, 2, 2, 362, 363, 3, 2, 2, 2, 363, 126, 3, 2, 2, 2, 364, 373, 10, 4, 2, 2, 365, 366, 7, 94, 2, 2, 366, 373, 9, 5, 2, 2, 367, 368, 7, 94, 2, 2, 368, 373, 7, 12, 2, 2, 369, 370, 7, 94, 2, 2, 370, 371, 7, 15, 2, 2, 371, 373, 7, 12, 2, 2, 372, 364, 3, 2, 2, 2, 372, 365, 3, 2, 2, 2, 372, 367, 3, 2, 2, 2, 372, 369, 3, 2, 2, 2, 373, 128, 3, 2, 2, 2, 374, 376, 9, 6, 2, 2, 375, 374, 3, 2, 2, 2, 376, 377, 3, 2, 2, 2, 377, 375, 3, 2, 2, 2, 377, 378, 3, 2, 2, 2, 378, 130, 3, 2, 2, 2, 379, 381, 9, 7, 2, 2, 380, 379, 3, 2, 2, 2, 381, 382, 3, 2, 2, 2, 382, 380, 3, 2, 2, 2, 382, 383, 3, 2, 2, 2, 383, 384, 3, 2, 2, 2, 384, 385, 8, 66, 2, 2, 385, 132, 3, 2, 2, 2, 386, 388, 9, 8, 2, 2, 387, 386, 3, 2, 2, 2, 388, 389, 3, 2, 2, 2, 389, 387, 3, 2, 2, 2, 389, 390, 3, 2, 2, 2, 390, 134, 3, 2, 2, 2, 15, 2, 320, 325, 330, 336, 342, 353, 362, 372, 375, 377, 382, 389, 3, 8, 2, 2] \ No newline at end of file +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 67, 396, 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, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 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, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 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, 27, 3, 27, 3, 28, 3, 28, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 34, 3, 34, 3, 35, 3, 35, 3, 36, 3, 36, 3, 37, 3, 37, 3, 38, 3, 38, 3, 39, 3, 39, 3, 40, 3, 40, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 3, 59, 3, 59, 3, 59, 3, 60, 5, 60, 326, 10, 60, 3, 60, 6, 60, 329, 10, 60, 13, 60, 14, 60, 330, 3, 61, 7, 61, 334, 10, 61, 12, 61, 14, 61, 337, 11, 61, 3, 61, 6, 61, 340, 10, 61, 13, 61, 14, 61, 341, 3, 61, 3, 61, 6, 61, 346, 10, 61, 13, 61, 14, 61, 347, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 5, 62, 359, 10, 62, 3, 63, 3, 63, 3, 63, 3, 63, 3, 64, 6, 64, 366, 10, 64, 13, 64, 14, 64, 367, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 5, 65, 378, 10, 65, 3, 66, 6, 66, 381, 10, 66, 13, 66, 14, 66, 382, 3, 67, 6, 67, 386, 10, 67, 13, 67, 14, 67, 387, 3, 67, 3, 67, 3, 68, 6, 68, 393, 10, 68, 13, 68, 14, 68, 394, 2, 2, 69, 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, 2, 129, 2, 131, 65, 133, 66, 135, 67, 3, 2, 9, 4, 2, 45, 45, 47, 47, 3, 2, 50, 59, 6, 2, 12, 12, 15, 15, 36, 36, 94, 94, 12, 2, 36, 36, 41, 41, 65, 65, 94, 94, 99, 100, 104, 104, 112, 112, 116, 116, 118, 118, 120, 120, 5, 2, 50, 59, 67, 92, 99, 124, 5, 2, 11, 12, 15, 15, 34, 34, 4, 2, 12, 12, 15, 15, 2, 406, 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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 2, 2, 2, 31, 179, 3, 2, 2, 2, 33, 181, 3, 2, 2, 2, 35, 188, 3, 2, 2, 2, 37, 196, 3, 2, 2, 2, 39, 198, 3, 2, 2, 2, 41, 200, 3, 2, 2, 2, 43, 203, 3, 2, 2, 2, 45, 208, 3, 2, 2, 2, 47, 215, 3, 2, 2, 2, 49, 220, 3, 2, 2, 2, 51, 224, 3, 2, 2, 2, 53, 230, 3, 2, 2, 2, 55, 237, 3, 2, 2, 2, 57, 239, 3, 2, 2, 2, 59, 241, 3, 2, 2, 2, 61, 244, 3, 2, 2, 2, 63, 247, 3, 2, 2, 2, 65, 250, 3, 2, 2, 2, 67, 252, 3, 2, 2, 2, 69, 254, 3, 2, 2, 2, 71, 256, 3, 2, 2, 2, 73, 258, 3, 2, 2, 2, 75, 260, 3, 2, 2, 2, 77, 262, 3, 2, 2, 2, 79, 264, 3, 2, 2, 2, 81, 266, 3, 2, 2, 2, 83, 268, 3, 2, 2, 2, 85, 271, 3, 2, 2, 2, 87, 274, 3, 2, 2, 2, 89, 277, 3, 2, 2, 2, 91, 280, 3, 2, 2, 2, 93, 283, 3, 2, 2, 2, 95, 286, 3, 2, 2, 2, 97, 289, 3, 2, 2, 2, 99, 292, 3, 2, 2, 2, 101, 295, 3, 2, 2, 2, 103, 298, 3, 2, 2, 2, 105, 301, 3, 2, 2, 2, 107, 305, 3, 2, 2, 2, 109, 309, 3, 2, 2, 2, 111, 312, 3, 2, 2, 2, 113, 315, 3, 2, 2, 2, 115, 318, 3, 2, 2, 2, 117, 321, 3, 2, 2, 2, 119, 325, 3, 2, 2, 2, 121, 335, 3, 2, 2, 2, 123, 358, 3, 2, 2, 2, 125, 360, 3, 2, 2, 2, 127, 365, 3, 2, 2, 2, 129, 377, 3, 2, 2, 2, 131, 380, 3, 2, 2, 2, 133, 385, 3, 2, 2, 2, 135, 392, 3, 2, 2, 2, 137, 138, 7, 61, 2, 2, 138, 4, 3, 2, 2, 2, 139, 140, 7, 112, 2, 2, 140, 141, 7, 99, 2, 2, 141, 142, 7, 111, 2, 2, 142, 143, 7, 103, 2, 2, 143, 144, 7, 117, 2, 2, 144, 145, 7, 114, 2, 2, 145, 146, 7, 99, 2, 2, 146, 147, 7, 101, 2, 2, 147, 148, 7, 103, 2, 2, 148, 6, 3, 2, 2, 2, 149, 150, 7, 125, 2, 2, 150, 8, 3, 2, 2, 2, 151, 152, 7, 127, 2, 2, 152, 10, 3, 2, 2, 2, 153, 154, 7, 120, 2, 2, 154, 155, 7, 99, 2, 2, 155, 156, 7, 116, 2, 2, 156, 12, 3, 2, 2, 2, 157, 158, 7, 60, 2, 2, 158, 14, 3, 2, 2, 2, 159, 160, 7, 63, 2, 2, 160, 16, 3, 2, 2, 2, 161, 162, 7, 44, 2, 2, 162, 18, 3, 2, 2, 2, 163, 164, 7, 93, 2, 2, 164, 20, 3, 2, 2, 2, 165, 166, 7, 95, 2, 2, 166, 22, 3, 2, 2, 2, 167, 168, 7, 60, 2, 2, 168, 169, 7, 60, 2, 2, 169, 24, 3, 2, 2, 2, 170, 171, 7, 104, 2, 2, 171, 172, 7, 119, 2, 2, 172, 173, 7, 112, 2, 2, 173, 174, 7, 101, 2, 2, 174, 26, 3, 2, 2, 2, 175, 176, 7, 42, 2, 2, 176, 28, 3, 2, 2, 2, 177, 178, 7, 43, 2, 2, 178, 30, 3, 2, 2, 2, 179, 180, 7, 46, 2, 2, 180, 32, 3, 2, 2, 2, 181, 182, 7, 117, 2, 2, 182, 183, 7, 118, 2, 2, 183, 184, 7, 116, 2, 2, 184, 185, 7, 119, 2, 2, 185, 186, 7, 101, 2, 2, 186, 187, 7, 118, 2, 2, 187, 34, 3, 2, 2, 2, 188, 189, 7, 114, 2, 2, 189, 190, 7, 116, 2, 2, 190, 191, 7, 107, 2, 2, 191, 192, 7, 120, 2, 2, 192, 193, 7, 99, 2, 2, 193, 194, 7, 118, 2, 2, 194, 195, 7, 103, 2, 2, 195, 36, 3, 2, 2, 2, 196, 197, 7, 62, 2, 2, 197, 38, 3, 2, 2, 2, 198, 199, 7, 64, 2, 2, 199, 40, 3, 2, 2, 2, 200, 201, 7, 107, 2, 2, 201, 202, 7, 104, 2, 2, 202, 42, 3, 2, 2, 2, 203, 204, 7, 103, 2, 2, 204, 205, 7, 110, 2, 2, 205, 206, 7, 117, 2, 2, 206, 207, 7, 103, 2, 2, 207, 44, 3, 2, 2, 2, 208, 209, 7, 117, 2, 2, 209, 210, 7, 121, 2, 2, 210, 211, 7, 107, 2, 2, 211, 212, 7, 118, 2, 2, 212, 213, 7, 101, 2, 2, 213, 214, 7, 106, 2, 2, 214, 46, 3, 2, 2, 2, 215, 216, 7, 101, 2, 2, 216, 217, 7, 99, 2, 2, 217, 218, 7, 117, 2, 2, 218, 219, 7, 103, 2, 2, 219, 48, 3, 2, 2, 2, 220, 221, 7, 104, 2, 2, 221, 222, 7, 113, 2, 2, 222, 223, 7, 116, 2, 2, 223, 50, 3, 2, 2, 2, 224, 225, 7, 121, 2, 2, 225, 226, 7, 106, 2, 2, 226, 227, 7, 107, 2, 2, 227, 228, 7, 110, 2, 2, 228, 229, 7, 103, 2, 2, 229, 52, 3, 2, 2, 2, 230, 231, 7, 116, 2, 2, 231, 232, 7, 103, 2, 2, 232, 233, 7, 118, 2, 2, 233, 234, 7, 119, 2, 2, 234, 235, 7, 116, 2, 2, 235, 236, 7, 112, 2, 2, 236, 54, 3, 2, 2, 2, 237, 238, 7, 48, 2, 2, 238, 56, 3, 2, 2, 2, 239, 240, 7, 65, 2, 2, 240, 58, 3, 2, 2, 2, 241, 242, 7, 47, 2, 2, 242, 243, 7, 64, 2, 2, 243, 60, 3, 2, 2, 2, 244, 245, 7, 45, 2, 2, 245, 246, 7, 45, 2, 2, 246, 62, 3, 2, 2, 2, 247, 248, 7, 47, 2, 2, 248, 249, 7, 47, 2, 2, 249, 64, 3, 2, 2, 2, 250, 251, 7, 45, 2, 2, 251, 66, 3, 2, 2, 2, 252, 253, 7, 47, 2, 2, 253, 68, 3, 2, 2, 2, 254, 255, 7, 35, 2, 2, 255, 70, 3, 2, 2, 2, 256, 257, 7, 128, 2, 2, 257, 72, 3, 2, 2, 2, 258, 259, 7, 40, 2, 2, 259, 74, 3, 2, 2, 2, 260, 261, 7, 49, 2, 2, 261, 76, 3, 2, 2, 2, 262, 263, 7, 39, 2, 2, 263, 78, 3, 2, 2, 2, 264, 265, 7, 126, 2, 2, 265, 80, 3, 2, 2, 2, 266, 267, 7, 96, 2, 2, 267, 82, 3, 2, 2, 2, 268, 269, 7, 63, 2, 2, 269, 270, 7, 63, 2, 2, 270, 84, 3, 2, 2, 2, 271, 272, 7, 35, 2, 2, 272, 273, 7, 63, 2, 2, 273, 86, 3, 2, 2, 2, 274, 275, 7, 62, 2, 2, 275, 276, 7, 63, 2, 2, 276, 88, 3, 2, 2, 2, 277, 278, 7, 64, 2, 2, 278, 279, 7, 63, 2, 2, 279, 90, 3, 2, 2, 2, 280, 281, 7, 62, 2, 2, 281, 282, 7, 62, 2, 2, 282, 92, 3, 2, 2, 2, 283, 284, 7, 64, 2, 2, 284, 285, 7, 64, 2, 2, 285, 94, 3, 2, 2, 2, 286, 287, 7, 126, 2, 2, 287, 288, 7, 126, 2, 2, 288, 96, 3, 2, 2, 2, 289, 290, 7, 40, 2, 2, 290, 291, 7, 40, 2, 2, 291, 98, 3, 2, 2, 2, 292, 293, 7, 40, 2, 2, 293, 294, 7, 63, 2, 2, 294, 100, 3, 2, 2, 2, 295, 296, 7, 126, 2, 2, 296, 297, 7, 63, 2, 2, 297, 102, 3, 2, 2, 2, 298, 299, 7, 96, 2, 2, 299, 300, 7, 63, 2, 2, 300, 104, 3, 2, 2, 2, 301, 302, 7, 62, 2, 2, 302, 303, 7, 62, 2, 2, 303, 304, 7, 63, 2, 2, 304, 106, 3, 2, 2, 2, 305, 306, 7, 64, 2, 2, 306, 307, 7, 64, 2, 2, 307, 308, 7, 63, 2, 2, 308, 108, 3, 2, 2, 2, 309, 310, 7, 45, 2, 2, 310, 311, 7, 63, 2, 2, 311, 110, 3, 2, 2, 2, 312, 313, 7, 47, 2, 2, 313, 314, 7, 63, 2, 2, 314, 112, 3, 2, 2, 2, 315, 316, 7, 44, 2, 2, 316, 317, 7, 63, 2, 2, 317, 114, 3, 2, 2, 2, 318, 319, 7, 49, 2, 2, 319, 320, 7, 63, 2, 2, 320, 116, 3, 2, 2, 2, 321, 322, 7, 39, 2, 2, 322, 323, 7, 63, 2, 2, 323, 118, 3, 2, 2, 2, 324, 326, 9, 2, 2, 2, 325, 324, 3, 2, 2, 2, 325, 326, 3, 2, 2, 2, 326, 328, 3, 2, 2, 2, 327, 329, 9, 3, 2, 2, 328, 327, 3, 2, 2, 2, 329, 330, 3, 2, 2, 2, 330, 328, 3, 2, 2, 2, 330, 331, 3, 2, 2, 2, 331, 120, 3, 2, 2, 2, 332, 334, 9, 2, 2, 2, 333, 332, 3, 2, 2, 2, 334, 337, 3, 2, 2, 2, 335, 333, 3, 2, 2, 2, 335, 336, 3, 2, 2, 2, 336, 339, 3, 2, 2, 2, 337, 335, 3, 2, 2, 2, 338, 340, 9, 3, 2, 2, 339, 338, 3, 2, 2, 2, 340, 341, 3, 2, 2, 2, 341, 339, 3, 2, 2, 2, 341, 342, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 345, 7, 48, 2, 2, 344, 346, 9, 3, 2, 2, 345, 344, 3, 2, 2, 2, 346, 347, 3, 2, 2, 2, 347, 345, 3, 2, 2, 2, 347, 348, 3, 2, 2, 2, 348, 122, 3, 2, 2, 2, 349, 350, 7, 118, 2, 2, 350, 351, 7, 116, 2, 2, 351, 352, 7, 119, 2, 2, 352, 359, 7, 103, 2, 2, 353, 354, 7, 104, 2, 2, 354, 355, 7, 99, 2, 2, 355, 356, 7, 110, 2, 2, 356, 357, 7, 117, 2, 2, 357, 359, 7, 103, 2, 2, 358, 349, 3, 2, 2, 2, 358, 353, 3, 2, 2, 2, 359, 124, 3, 2, 2, 2, 360, 361, 7, 36, 2, 2, 361, 362, 5, 127, 64, 2, 362, 363, 7, 36, 2, 2, 363, 126, 3, 2, 2, 2, 364, 366, 5, 129, 65, 2, 365, 364, 3, 2, 2, 2, 366, 367, 3, 2, 2, 2, 367, 365, 3, 2, 2, 2, 367, 368, 3, 2, 2, 2, 368, 128, 3, 2, 2, 2, 369, 378, 10, 4, 2, 2, 370, 371, 7, 94, 2, 2, 371, 378, 9, 5, 2, 2, 372, 373, 7, 94, 2, 2, 373, 378, 7, 12, 2, 2, 374, 375, 7, 94, 2, 2, 375, 376, 7, 15, 2, 2, 376, 378, 7, 12, 2, 2, 377, 369, 3, 2, 2, 2, 377, 370, 3, 2, 2, 2, 377, 372, 3, 2, 2, 2, 377, 374, 3, 2, 2, 2, 378, 130, 3, 2, 2, 2, 379, 381, 9, 6, 2, 2, 380, 379, 3, 2, 2, 2, 381, 382, 3, 2, 2, 2, 382, 380, 3, 2, 2, 2, 382, 383, 3, 2, 2, 2, 383, 132, 3, 2, 2, 2, 384, 386, 9, 7, 2, 2, 385, 384, 3, 2, 2, 2, 386, 387, 3, 2, 2, 2, 387, 385, 3, 2, 2, 2, 387, 388, 3, 2, 2, 2, 388, 389, 3, 2, 2, 2, 389, 390, 8, 67, 2, 2, 390, 134, 3, 2, 2, 2, 391, 393, 9, 8, 2, 2, 392, 391, 3, 2, 2, 2, 393, 394, 3, 2, 2, 2, 394, 392, 3, 2, 2, 2, 394, 395, 3, 2, 2, 2, 395, 136, 3, 2, 2, 2, 15, 2, 325, 330, 335, 341, 347, 358, 367, 377, 380, 382, 387, 394, 3, 8, 2, 2] \ No newline at end of file diff --git a/gen/TocLexer.tokens b/gen/TocLexer.tokens index dc0da9c..43b8baf 100644 --- a/gen/TocLexer.tokens +++ b/gen/TocLexer.tokens @@ -55,13 +55,14 @@ T__53=54 T__54=55 T__55=56 T__56=57 -INT_LIT=58 -DECIMAL_LIT=59 -BOOL_LIT=60 -StringLit=61 -NAME=62 -WS=63 -NEWLINE=64 +T__57=58 +INT_LIT=59 +DECIMAL_LIT=60 +BOOL_LIT=61 +StringLit=62 +NAME=63 +WS=64 +NEWLINE=65 ';'=1 'namespace'=2 '{'=3 @@ -90,32 +91,33 @@ NEWLINE=64 'return'=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 +'->'=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 diff --git a/gen/TocParser.cpp b/gen/TocParser.cpp index ec0c2e8..cc62d72 100644 --- a/gen/TocParser.cpp +++ b/gen/TocParser.cpp @@ -68,13 +68,13 @@ TocParser::ProgContext* TocParser::prog() { }); try { enterOuterAlt(_localctx, 1); - setState(79); + setState(85); _errHandler->sync(this); _la = _input->LA(1); do { - setState(78); + setState(84); decl(); - setState(81); + setState(87); _errHandler->sync(this); _la = _input->LA(1); } while ((((_la & ~ 0x3fULL) == 0) && @@ -82,7 +82,7 @@ TocParser::ProgContext* TocParser::prog() { | (1ULL << TocParser::T__4) | (1ULL << TocParser::T__11) | (1ULL << TocParser::T__15))) != 0)); - setState(83); + setState(89); match(TocParser::EOF); } @@ -135,35 +135,35 @@ TocParser::DeclContext* TocParser::decl() { exitRule(); }); try { - setState(91); + setState(97); _errHandler->sync(this); switch (_input->LA(1)) { case TocParser::T__4: { enterOuterAlt(_localctx, 1); - setState(85); + setState(91); varDecl(); - setState(86); + setState(92); match(TocParser::T__0); break; } case TocParser::T__11: { enterOuterAlt(_localctx, 2); - setState(88); + setState(94); funcDecl(); break; } case TocParser::T__15: { enterOuterAlt(_localctx, 3); - setState(89); + setState(95); structDecl(); break; } case TocParser::T__1: { enterOuterAlt(_localctx, 4); - setState(90); + setState(96); namespaceDecl(); break; } @@ -220,13 +220,13 @@ TocParser::NamespaceDeclContext* TocParser::namespaceDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(93); + setState(99); match(TocParser::T__1); - setState(94); + setState(100); typeName(); - setState(95); + setState(101); match(TocParser::T__2); - setState(99); + setState(105); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && @@ -234,13 +234,13 @@ TocParser::NamespaceDeclContext* TocParser::namespaceDecl() { | (1ULL << TocParser::T__4) | (1ULL << TocParser::T__11) | (1ULL << TocParser::T__15))) != 0)) { - setState(96); + setState(102); decl(); - setState(101); + setState(107); _errHandler->sync(this); _la = _input->LA(1); } - setState(102); + setState(108); match(TocParser::T__3); } @@ -282,9 +282,9 @@ TocParser::VarDeclContext* TocParser::varDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(104); + setState(110); match(TocParser::T__4); - setState(105); + setState(111); var(); } @@ -335,21 +335,21 @@ TocParser::VarContext* TocParser::var() { }); try { enterOuterAlt(_localctx, 1); - setState(107); + setState(113); varName(); - setState(108); + setState(114); match(TocParser::T__5); - setState(109); + setState(115); type(); - setState(113); + setState(119); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::T__6) { - setState(111); + setState(117); match(TocParser::T__6); - setState(112); + setState(118); expr(0); } @@ -400,17 +400,17 @@ TocParser::VarInitContext* TocParser::varInit() { }); try { enterOuterAlt(_localctx, 1); - setState(115); + setState(121); varName(); - setState(116); + setState(122); match(TocParser::T__5); - setState(117); + setState(123); type(); - setState(119); + setState(125); match(TocParser::T__6); - setState(120); + setState(126); expr(0); } @@ -441,6 +441,10 @@ TocParser::NamespaceSpecifierContext* TocParser::TypeContext::namespaceSpecifier return getRuleContext(i); } +TocParser::GenericInstantiationContext* TocParser::TypeContext::genericInstantiation() { + return getRuleContext(0); +} + std::vector TocParser::TypeContext::typeModifier() { return getRuleContexts(); } @@ -470,29 +474,37 @@ TocParser::TypeContext* TocParser::type() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(125); + setState(131); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 4, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(122); + setState(128); namespaceSpecifier(); } - setState(127); + setState(133); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 4, _ctx); } - setState(128); + setState(134); typeName(); - setState(132); + setState(136); + _errHandler->sync(this); + + _la = _input->LA(1); + if (_la == TocParser::T__17) { + setState(135); + genericInstantiation(); + } + setState(141); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__7 || _la == TocParser::T__8) { - setState(129); + setState(138); typeModifier(); - setState(134); + setState(143); _errHandler->sync(this); _la = _input->LA(1); } @@ -536,29 +548,29 @@ TocParser::TypeModifierContext* TocParser::typeModifier() { exitRule(); }); try { - setState(141); + setState(150); _errHandler->sync(this); switch (_input->LA(1)) { case TocParser::T__7: { enterOuterAlt(_localctx, 1); - setState(135); + setState(144); match(TocParser::T__7); break; } case TocParser::T__8: { enterOuterAlt(_localctx, 2); - setState(136); + setState(145); match(TocParser::T__8); - setState(138); + setState(147); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::INT_LIT) { - setState(137); + setState(146); match(TocParser::INT_LIT); } - setState(140); + setState(149); match(TocParser::T__9); break; } @@ -606,9 +618,9 @@ TocParser::NamespaceSpecifierContext* TocParser::namespaceSpecifier() { }); try { enterOuterAlt(_localctx, 1); - setState(143); + setState(152); typeName(); - setState(144); + setState(153); match(TocParser::T__10); } @@ -650,9 +662,9 @@ TocParser::FuncDeclContext* TocParser::funcDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(146); + setState(155); match(TocParser::T__11); - setState(147); + setState(156); func(); } @@ -711,38 +723,38 @@ TocParser::FuncContext* TocParser::func() { }); try { enterOuterAlt(_localctx, 1); - setState(149); + setState(158); funcName(); - setState(151); + setState(160); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::T__17) { - setState(150); + setState(159); genericDecl(); } - setState(153); + setState(162); match(TocParser::T__12); - setState(154); + setState(163); parameter(); - setState(155); + setState(164); match(TocParser::T__13); - setState(156); + setState(165); match(TocParser::T__5); - setState(157); + setState(166); type(); - setState(161); + setState(170); _errHandler->sync(this); switch (_input->LA(1)) { case TocParser::T__2: { - setState(159); + setState(168); body(); break; } case TocParser::T__0: { - setState(160); + setState(169); match(TocParser::T__0); break; } @@ -795,22 +807,22 @@ TocParser::ParameterContext* TocParser::parameter() { }); try { enterOuterAlt(_localctx, 1); - setState(171); + setState(180); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::NAME) { - setState(163); + setState(172); var(); - setState(168); + setState(177); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__14) { - setState(164); + setState(173); match(TocParser::T__14); - setState(165); + setState(174); var(); - setState(170); + setState(179); _errHandler->sync(this); _la = _input->LA(1); } @@ -860,9 +872,9 @@ TocParser::BodyContext* TocParser::body() { }); try { enterOuterAlt(_localctx, 1); - setState(173); + setState(182); match(TocParser::T__2); - setState(177); + setState(186); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && @@ -874,25 +886,25 @@ TocParser::BodyContext* TocParser::body() { | (1ULL << TocParser::T__23) | (1ULL << TocParser::T__24) | (1ULL << TocParser::T__25) - | (1ULL << TocParser::T__28) | (1ULL << TocParser::T__29) | (1ULL << TocParser::T__30) | (1ULL << TocParser::T__31) | (1ULL << TocParser::T__32) | (1ULL << TocParser::T__33) | (1ULL << TocParser::T__34) + | (1ULL << TocParser::T__35) | (1ULL << TocParser::INT_LIT) | (1ULL << TocParser::DECIMAL_LIT) | (1ULL << TocParser::BOOL_LIT) | (1ULL << TocParser::StringLit) | (1ULL << TocParser::NAME))) != 0)) { - setState(174); + setState(183); stmt(); - setState(179); + setState(188); _errHandler->sync(this); _la = _input->LA(1); } - setState(180); + setState(189); match(TocParser::T__3); } @@ -947,33 +959,33 @@ TocParser::StructDeclContext* TocParser::structDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(182); + setState(191); match(TocParser::T__15); - setState(183); + setState(192); structName(); - setState(185); + setState(194); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::T__17) { - setState(184); + setState(193); genericDecl(); } - setState(187); + setState(196); match(TocParser::T__2); - setState(191); + setState(200); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__16 || _la == TocParser::NAME) { - setState(188); + setState(197); structMember(); - setState(193); + setState(202); _errHandler->sync(this); _la = _input->LA(1); } - setState(194); + setState(203); match(TocParser::T__3); } @@ -1023,27 +1035,27 @@ TocParser::StructMemberContext* TocParser::structMember() { exitRule(); }); try { - setState(201); + setState(210); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 16, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 17, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(197); + setState(206); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::T__16) { - setState(196); + setState(205); privateDecl(); } - setState(199); + setState(208); structVar(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(200); + setState(209); structMethod(); break; } @@ -1091,9 +1103,9 @@ TocParser::StructVarContext* TocParser::structVar() { }); try { enterOuterAlt(_localctx, 1); - setState(203); + setState(212); var(); - setState(204); + setState(213); match(TocParser::T__0); } @@ -1135,7 +1147,7 @@ TocParser::StructMethodContext* TocParser::structMethod() { }); try { enterOuterAlt(_localctx, 1); - setState(206); + setState(215); func(); } @@ -1173,7 +1185,7 @@ TocParser::PrivateDeclContext* TocParser::privateDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(208); + setState(217); match(TocParser::T__16); } @@ -1220,23 +1232,86 @@ TocParser::GenericDeclContext* TocParser::genericDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(210); + setState(219); match(TocParser::T__17); - setState(211); + setState(220); typeName(); - setState(216); + setState(225); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__14) { - setState(212); + setState(221); match(TocParser::T__14); - setState(213); + setState(222); typeName(); - setState(218); + setState(227); _errHandler->sync(this); _la = _input->LA(1); } - setState(219); + setState(228); + match(TocParser::T__18); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; +} + +//----------------- GenericInstantiationContext ------------------------------------------------------------------ + +TocParser::GenericInstantiationContext::GenericInstantiationContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + +std::vector TocParser::GenericInstantiationContext::type() { + return getRuleContexts(); +} + +TocParser::TypeContext* TocParser::GenericInstantiationContext::type(size_t i) { + return getRuleContext(i); +} + + +size_t TocParser::GenericInstantiationContext::getRuleIndex() const { + return TocParser::RuleGenericInstantiation; +} + + +TocParser::GenericInstantiationContext* TocParser::genericInstantiation() { + GenericInstantiationContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 38, TocParser::RuleGenericInstantiation); + size_t _la = 0; + +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(230); + match(TocParser::T__17); + setState(231); + type(); + setState(236); + _errHandler->sync(this); + _la = _input->LA(1); + while (_la == TocParser::T__14) { + setState(232); + match(TocParser::T__14); + setState(233); + type(); + setState(238); + _errHandler->sync(this); + _la = _input->LA(1); + } + setState(239); match(TocParser::T__18); } @@ -1295,7 +1370,7 @@ size_t TocParser::StmtContext::getRuleIndex() const { TocParser::StmtContext* TocParser::stmt() { StmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 38, TocParser::RuleStmt); + enterRule(_localctx, 40, TocParser::RuleStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1305,69 +1380,69 @@ TocParser::StmtContext* TocParser::stmt() { exitRule(); }); try { - setState(237); + setState(257); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 18, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 20, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(221); + setState(241); varDecl(); - setState(222); + setState(242); match(TocParser::T__0); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(224); + setState(244); ifStmt(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(225); + setState(245); switchStmt(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(226); + setState(246); forStmt(); break; } case 5: { enterOuterAlt(_localctx, 5); - setState(227); + setState(247); whileStmt(); break; } case 6: { enterOuterAlt(_localctx, 6); - setState(228); + setState(248); assignStmt(); - setState(229); + setState(249); match(TocParser::T__0); break; } case 7: { enterOuterAlt(_localctx, 7); - setState(231); + setState(251); returnStmt(); - setState(232); + setState(252); match(TocParser::T__0); break; } case 8: { enterOuterAlt(_localctx, 8); - setState(234); + setState(254); expr(0); - setState(235); + setState(255); match(TocParser::T__0); break; } @@ -1420,7 +1495,7 @@ size_t TocParser::IfStmtContext::getRuleIndex() const { TocParser::IfStmtContext* TocParser::ifStmt() { IfStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 40, TocParser::RuleIfStmt); + enterRule(_localctx, 42, TocParser::RuleIfStmt); size_t _la = 0; #if __cplusplus > 201703L @@ -1433,30 +1508,30 @@ TocParser::IfStmtContext* TocParser::ifStmt() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(239); + setState(259); match(TocParser::T__19); - setState(240); + setState(260); expr(0); - setState(241); + setState(261); body(); - setState(245); + setState(265); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 19, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 21, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(242); + setState(262); elseIfStmt(); } - setState(247); + setState(267); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 19, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 21, _ctx); } - setState(249); + setState(269); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::T__20) { - setState(248); + setState(268); elseStmt(); } @@ -1492,7 +1567,7 @@ size_t TocParser::ElseIfStmtContext::getRuleIndex() const { TocParser::ElseIfStmtContext* TocParser::elseIfStmt() { ElseIfStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 42, TocParser::RuleElseIfStmt); + enterRule(_localctx, 44, TocParser::RuleElseIfStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1503,13 +1578,13 @@ TocParser::ElseIfStmtContext* TocParser::elseIfStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(251); + setState(271); match(TocParser::T__20); - setState(252); + setState(272); match(TocParser::T__19); - setState(253); + setState(273); expr(0); - setState(254); + setState(274); body(); } @@ -1540,7 +1615,7 @@ size_t TocParser::ElseStmtContext::getRuleIndex() const { TocParser::ElseStmtContext* TocParser::elseStmt() { ElseStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 44, TocParser::RuleElseStmt); + enterRule(_localctx, 46, TocParser::RuleElseStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1551,9 +1626,9 @@ TocParser::ElseStmtContext* TocParser::elseStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(256); + setState(276); match(TocParser::T__20); - setState(257); + setState(277); body(); } @@ -1588,7 +1663,7 @@ size_t TocParser::SwitchStmtContext::getRuleIndex() const { TocParser::SwitchStmtContext* TocParser::switchStmt() { SwitchStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 46, TocParser::RuleSwitchStmt); + enterRule(_localctx, 48, TocParser::RuleSwitchStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1599,11 +1674,11 @@ TocParser::SwitchStmtContext* TocParser::switchStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(259); + setState(279); match(TocParser::T__21); - setState(260); + setState(280); expr(0); - setState(261); + setState(281); switchBody(); } @@ -1638,7 +1713,7 @@ size_t TocParser::SwitchBodyContext::getRuleIndex() const { TocParser::SwitchBodyContext* TocParser::switchBody() { SwitchBodyContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 48, TocParser::RuleSwitchBody); + enterRule(_localctx, 50, TocParser::RuleSwitchBody); size_t _la = 0; #if __cplusplus > 201703L @@ -1650,19 +1725,19 @@ TocParser::SwitchBodyContext* TocParser::switchBody() { }); try { enterOuterAlt(_localctx, 1); - setState(263); + setState(283); match(TocParser::T__2); - setState(267); + setState(287); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__22) { - setState(264); + setState(284); switchCase(); - setState(269); + setState(289); _errHandler->sync(this); _la = _input->LA(1); } - setState(270); + setState(290); match(TocParser::T__3); } @@ -1697,7 +1772,7 @@ size_t TocParser::SwitchCaseContext::getRuleIndex() const { TocParser::SwitchCaseContext* TocParser::switchCase() { SwitchCaseContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 50, TocParser::RuleSwitchCase); + enterRule(_localctx, 52, TocParser::RuleSwitchCase); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1708,11 +1783,11 @@ TocParser::SwitchCaseContext* TocParser::switchCase() { }); try { enterOuterAlt(_localctx, 1); - setState(272); + setState(292); match(TocParser::T__22); - setState(273); + setState(293); expr(0); - setState(274); + setState(294); body(); } @@ -1755,7 +1830,7 @@ size_t TocParser::ForStmtContext::getRuleIndex() const { TocParser::ForStmtContext* TocParser::forStmt() { ForStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 52, TocParser::RuleForStmt); + enterRule(_localctx, 54, TocParser::RuleForStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1766,19 +1841,19 @@ TocParser::ForStmtContext* TocParser::forStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(276); + setState(296); match(TocParser::T__23); - setState(277); + setState(297); varInit(); - setState(278); + setState(298); match(TocParser::T__14); - setState(279); + setState(299); expr(0); - setState(280); + setState(300); match(TocParser::T__14); - setState(281); + setState(301); expr(0); - setState(282); + setState(302); body(); } @@ -1813,7 +1888,7 @@ size_t TocParser::WhileStmtContext::getRuleIndex() const { TocParser::WhileStmtContext* TocParser::whileStmt() { WhileStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 54, TocParser::RuleWhileStmt); + enterRule(_localctx, 56, TocParser::RuleWhileStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1824,11 +1899,11 @@ TocParser::WhileStmtContext* TocParser::whileStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(284); + setState(304); match(TocParser::T__24); - setState(285); + setState(305); expr(0); - setState(286); + setState(306); body(); } @@ -1863,7 +1938,7 @@ size_t TocParser::AssignStmtContext::getRuleIndex() const { TocParser::AssignStmtContext* TocParser::assignStmt() { AssignStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 56, TocParser::RuleAssignStmt); + enterRule(_localctx, 58, TocParser::RuleAssignStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1874,11 +1949,11 @@ TocParser::AssignStmtContext* TocParser::assignStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(288); + setState(308); expr(0); - setState(289); + setState(309); match(TocParser::T__6); - setState(290); + setState(310); expr(0); } @@ -1909,7 +1984,7 @@ size_t TocParser::ReturnStmtContext::getRuleIndex() const { TocParser::ReturnStmtContext* TocParser::returnStmt() { ReturnStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 58, TocParser::RuleReturnStmt); + enterRule(_localctx, 60, TocParser::RuleReturnStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1920,9 +1995,9 @@ TocParser::ReturnStmtContext* TocParser::returnStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(292); + setState(312); match(TocParser::T__25); - setState(293); + setState(313); expr(0); } @@ -1960,6 +2035,14 @@ TocParser::VarNameContext* TocParser::DotExprContext::varName() { return getRuleContext(0); } +TocParser::DotContext* TocParser::DotExprContext::dot() { + return getRuleContext(0); +} + +TocParser::ArrowContext* TocParser::DotExprContext::arrow() { + return getRuleContext(0); +} + TocParser::DotExprContext::DotExprContext(ExprContext *ctx) { copyFrom(ctx); } @@ -1977,6 +2060,10 @@ TocParser::NamespaceSpecifierContext* TocParser::FuncExprContext::namespaceSpeci return getRuleContext(i); } +TocParser::GenericInstantiationContext* TocParser::FuncExprContext::genericInstantiation() { + return getRuleContext(0); +} + std::vector TocParser::FuncExprContext::expr() { return getRuleContexts(); } @@ -2028,6 +2115,10 @@ TocParser::FuncNameContext* TocParser::MethodExprContext::funcName() { return getRuleContext(0); } +TocParser::GenericInstantiationContext* TocParser::MethodExprContext::genericInstantiation() { + return getRuleContext(0); +} + TocParser::MethodExprContext::MethodExprContext(ExprContext *ctx) { copyFrom(ctx); } @@ -2120,8 +2211,8 @@ TocParser::ExprContext* TocParser::expr(int precedence) { TocParser::ExprContext *_localctx = _tracker.createInstance(_ctx, parentState); TocParser::ExprContext *previousContext = _localctx; (void)previousContext; // Silence compiler, in case the context is not used by generated code. - size_t startState = 60; - enterRecursionRule(_localctx, 60, TocParser::RuleExpr, precedence); + size_t startState = 62; + enterRecursionRule(_localctx, 62, TocParser::RuleExpr, precedence); size_t _la = 0; @@ -2135,65 +2226,73 @@ TocParser::ExprContext* TocParser::expr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(331); + setState(354); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 26, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 29, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(299); + setState(319); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 22, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 24, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(296); + setState(316); namespaceSpecifier(); } - setState(301); + setState(321); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 22, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 24, _ctx); } - setState(302); + setState(322); funcName(); - setState(303); + setState(324); + _errHandler->sync(this); + + _la = _input->LA(1); + if (_la == TocParser::T__17) { + setState(323); + genericInstantiation(); + } + setState(326); match(TocParser::T__12); - setState(312); + setState(335); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::T__7) | (1ULL << TocParser::T__12) - | (1ULL << TocParser::T__28) | (1ULL << TocParser::T__29) | (1ULL << TocParser::T__30) | (1ULL << TocParser::T__31) | (1ULL << TocParser::T__32) | (1ULL << TocParser::T__33) | (1ULL << TocParser::T__34) + | (1ULL << TocParser::T__35) | (1ULL << TocParser::INT_LIT) | (1ULL << TocParser::DECIMAL_LIT) | (1ULL << TocParser::BOOL_LIT) | (1ULL << TocParser::StringLit) | (1ULL << TocParser::NAME))) != 0)) { - setState(304); + setState(327); expr(0); - setState(309); + setState(332); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__14) { - setState(305); + setState(328); match(TocParser::T__14); - setState(306); + setState(329); expr(0); - setState(311); + setState(334); _errHandler->sync(this); _la = _input->LA(1); } } - setState(314); + setState(337); match(TocParser::T__13); break; } @@ -2202,7 +2301,7 @@ TocParser::ExprContext* TocParser::expr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(316); + setState(339); literal(); break; } @@ -2211,11 +2310,11 @@ TocParser::ExprContext* TocParser::expr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(317); + setState(340); match(TocParser::T__12); - setState(318); + setState(341); expr(0); - setState(319); + setState(342); match(TocParser::T__13); break; } @@ -2224,9 +2323,9 @@ TocParser::ExprContext* TocParser::expr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(321); + setState(344); prefix_op(); - setState(322); + setState(345); expr(6); break; } @@ -2235,19 +2334,19 @@ TocParser::ExprContext* TocParser::expr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(327); + setState(350); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 25, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 28, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(324); + setState(347); namespaceSpecifier(); } - setState(329); + setState(352); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 25, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 28, _ctx); } - setState(330); + setState(353); varName(); break; } @@ -2256,27 +2355,27 @@ TocParser::ExprContext* TocParser::expr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(371); + setState(401); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 30, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 35, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { if (!_parseListeners.empty()) triggerExitRuleEvent(); previousContext = _localctx; - setState(369); + setState(399); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 29, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 34, _ctx)) { case 1: { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(333); + setState(356); if (!(precpred(_ctx, 4))) throw FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(334); + setState(357); binary_op(); - setState(335); + setState(358); expr(5); break; } @@ -2285,16 +2384,16 @@ TocParser::ExprContext* TocParser::expr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(337); + setState(360); if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(338); + setState(361); match(TocParser::T__27); - setState(339); + setState(362); expr(0); - setState(340); + setState(363); match(TocParser::T__5); - setState(341); + setState(364); expr(4); break; } @@ -2303,50 +2402,58 @@ TocParser::ExprContext* TocParser::expr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(343); + setState(366); if (!(precpred(_ctx, 10))) throw FailedPredicateException(this, "precpred(_ctx, 10)"); - setState(344); + setState(367); match(TocParser::T__26); - setState(345); + setState(368); funcName(); - setState(346); + setState(370); + _errHandler->sync(this); + + _la = _input->LA(1); + if (_la == TocParser::T__17) { + setState(369); + genericInstantiation(); + } + setState(372); match(TocParser::T__12); - setState(355); + setState(381); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::T__7) | (1ULL << TocParser::T__12) - | (1ULL << TocParser::T__28) | (1ULL << TocParser::T__29) | (1ULL << TocParser::T__30) | (1ULL << TocParser::T__31) | (1ULL << TocParser::T__32) | (1ULL << TocParser::T__33) | (1ULL << TocParser::T__34) + | (1ULL << TocParser::T__35) | (1ULL << TocParser::INT_LIT) | (1ULL << TocParser::DECIMAL_LIT) | (1ULL << TocParser::BOOL_LIT) | (1ULL << TocParser::StringLit) | (1ULL << TocParser::NAME))) != 0)) { - setState(347); + setState(373); expr(0); - setState(352); + setState(378); _errHandler->sync(this); _la = _input->LA(1); while (_la == TocParser::T__14) { - setState(348); + setState(374); match(TocParser::T__14); - setState(349); + setState(375); expr(0); - setState(354); + setState(380); _errHandler->sync(this); _la = _input->LA(1); } } - setState(357); + setState(383); match(TocParser::T__13); break; } @@ -2355,12 +2462,28 @@ TocParser::ExprContext* TocParser::expr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(359); + setState(385); if (!(precpred(_ctx, 7))) throw FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(360); - match(TocParser::T__26); - setState(361); + setState(388); + _errHandler->sync(this); + switch (_input->LA(1)) { + case TocParser::T__26: { + setState(386); + dot(); + break; + } + + case TocParser::T__28: { + setState(387); + arrow(); + break; + } + + default: + throw NoViableAltException(this); + } + setState(390); varName(); break; } @@ -2369,10 +2492,10 @@ TocParser::ExprContext* TocParser::expr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(362); + setState(392); if (!(precpred(_ctx, 5))) throw FailedPredicateException(this, "precpred(_ctx, 5)"); - setState(363); + setState(393); postfix_op(); break; } @@ -2381,14 +2504,14 @@ TocParser::ExprContext* TocParser::expr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleExpr); - setState(364); + setState(394); if (!(precpred(_ctx, 2))) throw FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(365); + setState(395); match(TocParser::T__8); - setState(366); + setState(396); expr(0); - setState(367); + setState(397); match(TocParser::T__9); break; } @@ -2397,9 +2520,9 @@ TocParser::ExprContext* TocParser::expr(int precedence) { break; } } - setState(373); + setState(403); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 30, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 35, _ctx); } } catch (RecognitionException &e) { @@ -2410,6 +2533,82 @@ TocParser::ExprContext* TocParser::expr(int precedence) { return _localctx; } +//----------------- DotContext ------------------------------------------------------------------ + +TocParser::DotContext::DotContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + + +size_t TocParser::DotContext::getRuleIndex() const { + return TocParser::RuleDot; +} + + +TocParser::DotContext* TocParser::dot() { + DotContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 64, TocParser::RuleDot); + +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(404); + match(TocParser::T__26); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; +} + +//----------------- ArrowContext ------------------------------------------------------------------ + +TocParser::ArrowContext::ArrowContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + + +size_t TocParser::ArrowContext::getRuleIndex() const { + return TocParser::RuleArrow; +} + + +TocParser::ArrowContext* TocParser::arrow() { + ArrowContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 66, TocParser::RuleArrow); + +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(406); + match(TocParser::T__28); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; +} + //----------------- LiteralContext ------------------------------------------------------------------ TocParser::LiteralContext::LiteralContext(ParserRuleContext *parent, size_t invokingState) @@ -2440,7 +2639,7 @@ size_t TocParser::LiteralContext::getRuleIndex() const { TocParser::LiteralContext* TocParser::literal() { LiteralContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 62, TocParser::RuleLiteral); + enterRule(_localctx, 68, TocParser::RuleLiteral); size_t _la = 0; #if __cplusplus > 201703L @@ -2452,7 +2651,7 @@ TocParser::LiteralContext* TocParser::literal() { }); try { enterOuterAlt(_localctx, 1); - setState(374); + setState(408); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::INT_LIT) @@ -2494,7 +2693,7 @@ size_t TocParser::FuncNameContext::getRuleIndex() const { TocParser::FuncNameContext* TocParser::funcName() { FuncNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 64, TocParser::RuleFuncName); + enterRule(_localctx, 70, TocParser::RuleFuncName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2505,7 +2704,7 @@ TocParser::FuncNameContext* TocParser::funcName() { }); try { enterOuterAlt(_localctx, 1); - setState(376); + setState(410); match(TocParser::NAME); } @@ -2536,7 +2735,7 @@ size_t TocParser::VarNameContext::getRuleIndex() const { TocParser::VarNameContext* TocParser::varName() { VarNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 66, TocParser::RuleVarName); + enterRule(_localctx, 72, TocParser::RuleVarName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2547,7 +2746,7 @@ TocParser::VarNameContext* TocParser::varName() { }); try { enterOuterAlt(_localctx, 1); - setState(378); + setState(412); match(TocParser::NAME); } @@ -2578,7 +2777,7 @@ size_t TocParser::TypeNameContext::getRuleIndex() const { TocParser::TypeNameContext* TocParser::typeName() { TypeNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 68, TocParser::RuleTypeName); + enterRule(_localctx, 74, TocParser::RuleTypeName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2589,7 +2788,7 @@ TocParser::TypeNameContext* TocParser::typeName() { }); try { enterOuterAlt(_localctx, 1); - setState(380); + setState(414); match(TocParser::NAME); } @@ -2620,7 +2819,7 @@ size_t TocParser::StructNameContext::getRuleIndex() const { TocParser::StructNameContext* TocParser::structName() { StructNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 70, TocParser::RuleStructName); + enterRule(_localctx, 76, TocParser::RuleStructName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2631,7 +2830,7 @@ TocParser::StructNameContext* TocParser::structName() { }); try { enterOuterAlt(_localctx, 1); - setState(382); + setState(416); match(TocParser::NAME); } @@ -2658,7 +2857,7 @@ size_t TocParser::Postfix_opContext::getRuleIndex() const { TocParser::Postfix_opContext* TocParser::postfix_op() { Postfix_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 72, TocParser::RulePostfix_op); + enterRule(_localctx, 78, TocParser::RulePostfix_op); size_t _la = 0; #if __cplusplus > 201703L @@ -2670,11 +2869,11 @@ TocParser::Postfix_opContext* TocParser::postfix_op() { }); try { enterOuterAlt(_localctx, 1); - setState(384); + setState(418); _la = _input->LA(1); - if (!(_la == TocParser::T__28 + if (!(_la == TocParser::T__29 - || _la == TocParser::T__29)) { + || _la == TocParser::T__30)) { _errHandler->recoverInline(this); } else { @@ -2710,7 +2909,7 @@ size_t TocParser::Prefix_opContext::getRuleIndex() const { TocParser::Prefix_opContext* TocParser::prefix_op() { Prefix_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 74, TocParser::RulePrefix_op); + enterRule(_localctx, 80, TocParser::RulePrefix_op); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2720,55 +2919,55 @@ TocParser::Prefix_opContext* TocParser::prefix_op() { exitRule(); }); try { - setState(393); + setState(427); _errHandler->sync(this); switch (_input->LA(1)) { - case TocParser::T__30: { - enterOuterAlt(_localctx, 1); - setState(386); - match(TocParser::T__30); - break; - } - case TocParser::T__31: { - enterOuterAlt(_localctx, 2); - setState(387); + enterOuterAlt(_localctx, 1); + setState(420); match(TocParser::T__31); break; } case TocParser::T__32: { - enterOuterAlt(_localctx, 3); - setState(388); + enterOuterAlt(_localctx, 2); + setState(421); match(TocParser::T__32); break; } case TocParser::T__33: { - enterOuterAlt(_localctx, 4); - setState(389); + enterOuterAlt(_localctx, 3); + setState(422); match(TocParser::T__33); break; } case TocParser::T__34: { - enterOuterAlt(_localctx, 5); - setState(390); + enterOuterAlt(_localctx, 4); + setState(423); match(TocParser::T__34); break; } + case TocParser::T__35: { + enterOuterAlt(_localctx, 5); + setState(424); + match(TocParser::T__35); + break; + } + case TocParser::T__7: { enterOuterAlt(_localctx, 6); - setState(391); + setState(425); match(TocParser::T__7); break; } - case TocParser::T__28: - case TocParser::T__29: { + case TocParser::T__29: + case TocParser::T__30: { enterOuterAlt(_localctx, 7); - setState(392); + setState(426); postfix_op(); break; } @@ -2801,7 +3000,7 @@ size_t TocParser::Binary_opContext::getRuleIndex() const { TocParser::Binary_opContext* TocParser::binary_op() { Binary_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 76, TocParser::RuleBinary_op); + enterRule(_localctx, 82, TocParser::RuleBinary_op); size_t _la = 0; #if __cplusplus > 201703L @@ -2813,15 +3012,14 @@ TocParser::Binary_opContext* TocParser::binary_op() { }); try { enterOuterAlt(_localctx, 1); - setState(395); + setState(429); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::T__7) | (1ULL << TocParser::T__17) | (1ULL << TocParser::T__18) - | (1ULL << TocParser::T__30) | (1ULL << TocParser::T__31) - | (1ULL << TocParser::T__34) + | (1ULL << TocParser::T__32) | (1ULL << TocParser::T__35) | (1ULL << TocParser::T__36) | (1ULL << TocParser::T__37) @@ -2843,7 +3041,8 @@ TocParser::Binary_opContext* TocParser::binary_op() { | (1ULL << TocParser::T__53) | (1ULL << TocParser::T__54) | (1ULL << TocParser::T__55) - | (1ULL << TocParser::T__56))) != 0))) { + | (1ULL << TocParser::T__56) + | (1ULL << TocParser::T__57))) != 0))) { _errHandler->recoverInline(this); } else { @@ -2863,7 +3062,7 @@ TocParser::Binary_opContext* TocParser::binary_op() { bool TocParser::sempred(RuleContext *context, size_t ruleIndex, size_t predicateIndex) { switch (ruleIndex) { - case 30: return exprSempred(dynamic_cast(context), predicateIndex); + case 31: return exprSempred(dynamic_cast(context), predicateIndex); default: break; @@ -2898,28 +3097,28 @@ std::vector TocParser::_ruleNames = { "prog", "decl", "namespaceDecl", "varDecl", "var", "varInit", "type", "typeModifier", "namespaceSpecifier", "funcDecl", "func", "parameter", "body", "structDecl", "structMember", "structVar", "structMethod", "privateDecl", - "genericDecl", "stmt", "ifStmt", "elseIfStmt", "elseStmt", "switchStmt", - "switchBody", "switchCase", "forStmt", "whileStmt", "assignStmt", "returnStmt", - "expr", "literal", "funcName", "varName", "typeName", "structName", "postfix_op", - "prefix_op", "binary_op" + "genericDecl", "genericInstantiation", "stmt", "ifStmt", "elseIfStmt", + "elseStmt", "switchStmt", "switchBody", "switchCase", "forStmt", "whileStmt", + "assignStmt", "returnStmt", "expr", "dot", "arrow", "literal", "funcName", + "varName", "typeName", "structName", "postfix_op", "prefix_op", "binary_op" }; std::vector TocParser::_literalNames = { "", "';'", "'namespace'", "'{'", "'}'", "'var'", "':'", "'='", "'*'", "'['", "']'", "'::'", "'func'", "'('", "')'", "','", "'struct'", "'private'", "'<'", "'>'", "'if'", "'else'", "'switch'", "'case'", "'for'", "'while'", - "'return'", "'.'", "'\u003F'", "'++'", "'--'", "'+'", "'-'", "'!'", "'~'", - "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", "'<<'", - "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", "'+='", - "'-='", "'*='", "'/='", "'%='" + "'return'", "'.'", "'\u003F'", "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", + "'~'", "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", + "'<<'", "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", + "'+='", "'-='", "'*='", "'/='", "'%='" }; std::vector TocParser::_symbolicNames = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "", "", "", "", "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", "NAME", - "WS", "NEWLINE" + "", "", "", "", "", "INT_LIT", "DECIMAL_LIT", "BOOL_LIT", "StringLit", + "NAME", "WS", "NEWLINE" }; dfa::Vocabulary TocParser::_vocabulary(_literalNames, _symbolicNames); @@ -2942,7 +3141,7 @@ TocParser::Initializer::Initializer() { static const uint16_t serializedATNSegment0[] = { 0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964, - 0x3, 0x42, 0x190, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, 0x4, 0x4, + 0x3, 0x43, 0x1b2, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, 0x4, 0x4, 0x9, 0x4, 0x4, 0x5, 0x9, 0x5, 0x4, 0x6, 0x9, 0x6, 0x4, 0x7, 0x9, 0x7, 0x4, 0x8, 0x9, 0x8, 0x4, 0x9, 0x9, 0x9, 0x4, 0xa, 0x9, 0xa, 0x4, 0xb, 0x9, 0xb, 0x4, 0xc, 0x9, 0xc, 0x4, 0xd, 0x9, 0xd, 0x4, @@ -2954,271 +3153,297 @@ TocParser::Initializer::Initializer() { 0x9, 0x1d, 0x4, 0x1e, 0x9, 0x1e, 0x4, 0x1f, 0x9, 0x1f, 0x4, 0x20, 0x9, 0x20, 0x4, 0x21, 0x9, 0x21, 0x4, 0x22, 0x9, 0x22, 0x4, 0x23, 0x9, 0x23, 0x4, 0x24, 0x9, 0x24, 0x4, 0x25, 0x9, 0x25, 0x4, 0x26, - 0x9, 0x26, 0x4, 0x27, 0x9, 0x27, 0x4, 0x28, 0x9, 0x28, 0x3, 0x2, - 0x6, 0x2, 0x52, 0xa, 0x2, 0xd, 0x2, 0xe, 0x2, 0x53, 0x3, 0x2, 0x3, + 0x9, 0x26, 0x4, 0x27, 0x9, 0x27, 0x4, 0x28, 0x9, 0x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0xb, 0x20, 0x3, 0x20, 0x5, 0x20, 0x14e, 0xa, 0x20, - 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, - 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, - 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x7, 0x20, - 0x161, 0xa, 0x20, 0xc, 0x20, 0xe, 0x20, 0x164, 0xb, 0x20, 0x5, 0x20, - 0x166, 0xa, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, - 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, 0x20, 0x3, - 0x20, 0x3, 0x20, 0x7, 0x20, 0x174, 0xa, 0x20, 0xc, 0x20, 0xe, 0x20, - 0x177, 0xb, 0x20, 0x3, 0x21, 0x3, 0x21, 0x3, 0x22, 0x3, 0x22, 0x3, - 0x23, 0x3, 0x23, 0x3, 0x24, 0x3, 0x24, 0x3, 0x25, 0x3, 0x25, 0x3, - 0x26, 0x3, 0x26, 0x3, 0x27, 0x3, 0x27, 0x3, 0x27, 0x3, 0x27, 0x3, - 0x27, 0x3, 0x27, 0x3, 0x27, 0x5, 0x27, 0x18c, 0xa, 0x27, 0x3, 0x28, - 0x3, 0x28, 0x3, 0x28, 0x2, 0x3, 0x3e, 0x29, 0x2, 0x4, 0x6, 0x8, 0xa, - 0xc, 0xe, 0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e, 0x20, 0x22, - 0x24, 0x26, 0x28, 0x2a, 0x2c, 0x2e, 0x30, 0x32, 0x34, 0x36, 0x38, - 0x3a, 0x3c, 0x3e, 0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e, - 0x2, 0x5, 0x3, 0x2, 0x3c, 0x3f, 0x3, 0x2, 0x1f, 0x20, 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, 0x3, 0x20, 0x3, 0x20, 0x3, 0x21, 0x3, 0x21, 0x7, + 0x21, 0x140, 0xa, 0x21, 0xc, 0x21, 0xe, 0x21, 0x143, 0xb, 0x21, 0x3, + 0x21, 0x3, 0x21, 0x5, 0x21, 0x147, 0xa, 0x21, 0x3, 0x21, 0x3, 0x21, + 0x3, 0x21, 0x3, 0x21, 0x7, 0x21, 0x14d, 0xa, 0x21, 0xc, 0x21, 0xe, + 0x21, 0x150, 0xb, 0x21, 0x5, 0x21, 0x152, 0xa, 0x21, 0x3, 0x21, 0x3, + 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, + 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x7, 0x21, 0x15f, 0xa, 0x21, + 0xc, 0x21, 0xe, 0x21, 0x162, 0xb, 0x21, 0x3, 0x21, 0x5, 0x21, 0x165, + 0xa, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, + 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, + 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x5, 0x21, 0x175, 0xa, 0x21, 0x3, + 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x7, 0x21, 0x17b, 0xa, 0x21, + 0xc, 0x21, 0xe, 0x21, 0x17e, 0xb, 0x21, 0x5, 0x21, 0x180, 0xa, 0x21, + 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x5, 0x21, + 0x187, 0xa, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, + 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x7, 0x21, 0x192, + 0xa, 0x21, 0xc, 0x21, 0xe, 0x21, 0x195, 0xb, 0x21, 0x3, 0x22, 0x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, 0x2, 0x103, 0xf6, 0x3, 0x2, 0x2, 0x2, 0x103, 0xf7, + 0x3, 0x2, 0x2, 0x2, 0x103, 0xf8, 0x3, 0x2, 0x2, 0x2, 0x103, 0xf9, + 0x3, 0x2, 0x2, 0x2, 0x103, 0xfa, 0x3, 0x2, 0x2, 0x2, 0x103, 0xfd, + 0x3, 0x2, 0x2, 0x2, 0x103, 0x100, 0x3, 0x2, 0x2, 0x2, 0x104, 0x2b, + 0x3, 0x2, 0x2, 0x2, 0x105, 0x106, 0x7, 0x16, 0x2, 0x2, 0x106, 0x107, + 0x5, 0x40, 0x21, 0x2, 0x107, 0x10b, 0x5, 0x1a, 0xe, 0x2, 0x108, 0x10a, + 0x5, 0x2e, 0x18, 0x2, 0x109, 0x108, 0x3, 0x2, 0x2, 0x2, 0x10a, 0x10d, + 0x3, 0x2, 0x2, 0x2, 0x10b, 0x109, 0x3, 0x2, 0x2, 0x2, 0x10b, 0x10c, 0x3, 0x2, 0x2, 0x2, 0x10c, 0x10f, 0x3, 0x2, 0x2, 0x2, 0x10d, 0x10b, - 0x3, 0x2, 0x2, 0x2, 0x10d, 0x10e, 0x3, 0x2, 0x2, 0x2, 0x10e, 0x110, - 0x3, 0x2, 0x2, 0x2, 0x10f, 0x10d, 0x3, 0x2, 0x2, 0x2, 0x110, 0x111, - 0x7, 0x6, 0x2, 0x2, 0x111, 0x33, 0x3, 0x2, 0x2, 0x2, 0x112, 0x113, - 0x7, 0x19, 0x2, 0x2, 0x113, 0x114, 0x5, 0x3e, 0x20, 0x2, 0x114, 0x115, - 0x5, 0x1a, 0xe, 0x2, 0x115, 0x35, 0x3, 0x2, 0x2, 0x2, 0x116, 0x117, - 0x7, 0x1a, 0x2, 0x2, 0x117, 0x118, 0x5, 0xc, 0x7, 0x2, 0x118, 0x119, - 0x7, 0x11, 0x2, 0x2, 0x119, 0x11a, 0x5, 0x3e, 0x20, 0x2, 0x11a, 0x11b, - 0x7, 0x11, 0x2, 0x2, 0x11b, 0x11c, 0x5, 0x3e, 0x20, 0x2, 0x11c, 0x11d, - 0x5, 0x1a, 0xe, 0x2, 0x11d, 0x37, 0x3, 0x2, 0x2, 0x2, 0x11e, 0x11f, - 0x7, 0x1b, 0x2, 0x2, 0x11f, 0x120, 0x5, 0x3e, 0x20, 0x2, 0x120, 0x121, - 0x5, 0x1a, 0xe, 0x2, 0x121, 0x39, 0x3, 0x2, 0x2, 0x2, 0x122, 0x123, - 0x5, 0x3e, 0x20, 0x2, 0x123, 0x124, 0x7, 0x9, 0x2, 0x2, 0x124, 0x125, - 0x5, 0x3e, 0x20, 0x2, 0x125, 0x3b, 0x3, 0x2, 0x2, 0x2, 0x126, 0x127, - 0x7, 0x1c, 0x2, 0x2, 0x127, 0x128, 0x5, 0x3e, 0x20, 0x2, 0x128, 0x3d, - 0x3, 0x2, 0x2, 0x2, 0x129, 0x12d, 0x8, 0x20, 0x1, 0x2, 0x12a, 0x12c, - 0x5, 0x12, 0xa, 0x2, 0x12b, 0x12a, 0x3, 0x2, 0x2, 0x2, 0x12c, 0x12f, - 0x3, 0x2, 0x2, 0x2, 0x12d, 0x12b, 0x3, 0x2, 0x2, 0x2, 0x12d, 0x12e, - 0x3, 0x2, 0x2, 0x2, 0x12e, 0x130, 0x3, 0x2, 0x2, 0x2, 0x12f, 0x12d, - 0x3, 0x2, 0x2, 0x2, 0x130, 0x131, 0x5, 0x42, 0x22, 0x2, 0x131, 0x13a, - 0x7, 0xf, 0x2, 0x2, 0x132, 0x137, 0x5, 0x3e, 0x20, 0x2, 0x133, 0x134, - 0x7, 0x11, 0x2, 0x2, 0x134, 0x136, 0x5, 0x3e, 0x20, 0x2, 0x135, 0x133, - 0x3, 0x2, 0x2, 0x2, 0x136, 0x139, 0x3, 0x2, 0x2, 0x2, 0x137, 0x135, - 0x3, 0x2, 0x2, 0x2, 0x137, 0x138, 0x3, 0x2, 0x2, 0x2, 0x138, 0x13b, - 0x3, 0x2, 0x2, 0x2, 0x139, 0x137, 0x3, 0x2, 0x2, 0x2, 0x13a, 0x132, - 0x3, 0x2, 0x2, 0x2, 0x13a, 0x13b, 0x3, 0x2, 0x2, 0x2, 0x13b, 0x13c, - 0x3, 0x2, 0x2, 0x2, 0x13c, 0x13d, 0x7, 0x10, 0x2, 0x2, 0x13d, 0x14e, - 0x3, 0x2, 0x2, 0x2, 0x13e, 0x14e, 0x5, 0x40, 0x21, 0x2, 0x13f, 0x140, - 0x7, 0xf, 0x2, 0x2, 0x140, 0x141, 0x5, 0x3e, 0x20, 0x2, 0x141, 0x142, - 0x7, 0x10, 0x2, 0x2, 0x142, 0x14e, 0x3, 0x2, 0x2, 0x2, 0x143, 0x144, - 0x5, 0x4c, 0x27, 0x2, 0x144, 0x145, 0x5, 0x3e, 0x20, 0x8, 0x145, - 0x14e, 0x3, 0x2, 0x2, 0x2, 0x146, 0x148, 0x5, 0x12, 0xa, 0x2, 0x147, - 0x146, 0x3, 0x2, 0x2, 0x2, 0x148, 0x14b, 0x3, 0x2, 0x2, 0x2, 0x149, - 0x147, 0x3, 0x2, 0x2, 0x2, 0x149, 0x14a, 0x3, 0x2, 0x2, 0x2, 0x14a, - 0x14c, 0x3, 0x2, 0x2, 0x2, 0x14b, 0x149, 0x3, 0x2, 0x2, 0x2, 0x14c, - 0x14e, 0x5, 0x44, 0x23, 0x2, 0x14d, 0x129, 0x3, 0x2, 0x2, 0x2, 0x14d, - 0x13e, 0x3, 0x2, 0x2, 0x2, 0x14d, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x14d, - 0x143, 0x3, 0x2, 0x2, 0x2, 0x14d, 0x149, 0x3, 0x2, 0x2, 0x2, 0x14e, - 0x175, 0x3, 0x2, 0x2, 0x2, 0x14f, 0x150, 0xc, 0x6, 0x2, 0x2, 0x150, - 0x151, 0x5, 0x4e, 0x28, 0x2, 0x151, 0x152, 0x5, 0x3e, 0x20, 0x7, - 0x152, 0x174, 0x3, 0x2, 0x2, 0x2, 0x153, 0x154, 0xc, 0x5, 0x2, 0x2, - 0x154, 0x155, 0x7, 0x1e, 0x2, 0x2, 0x155, 0x156, 0x5, 0x3e, 0x20, - 0x2, 0x156, 0x157, 0x7, 0x8, 0x2, 0x2, 0x157, 0x158, 0x5, 0x3e, 0x20, - 0x6, 0x158, 0x174, 0x3, 0x2, 0x2, 0x2, 0x159, 0x15a, 0xc, 0xc, 0x2, - 0x2, 0x15a, 0x15b, 0x7, 0x1d, 0x2, 0x2, 0x15b, 0x15c, 0x5, 0x42, - 0x22, 0x2, 0x15c, 0x165, 0x7, 0xf, 0x2, 0x2, 0x15d, 0x162, 0x5, 0x3e, - 0x20, 0x2, 0x15e, 0x15f, 0x7, 0x11, 0x2, 0x2, 0x15f, 0x161, 0x5, - 0x3e, 0x20, 0x2, 0x160, 0x15e, 0x3, 0x2, 0x2, 0x2, 0x161, 0x164, - 0x3, 0x2, 0x2, 0x2, 0x162, 0x160, 0x3, 0x2, 0x2, 0x2, 0x162, 0x163, - 0x3, 0x2, 0x2, 0x2, 0x163, 0x166, 0x3, 0x2, 0x2, 0x2, 0x164, 0x162, - 0x3, 0x2, 0x2, 0x2, 0x165, 0x15d, 0x3, 0x2, 0x2, 0x2, 0x165, 0x166, - 0x3, 0x2, 0x2, 0x2, 0x166, 0x167, 0x3, 0x2, 0x2, 0x2, 0x167, 0x168, - 0x7, 0x10, 0x2, 0x2, 0x168, 0x174, 0x3, 0x2, 0x2, 0x2, 0x169, 0x16a, - 0xc, 0x9, 0x2, 0x2, 0x16a, 0x16b, 0x7, 0x1d, 0x2, 0x2, 0x16b, 0x174, - 0x5, 0x44, 0x23, 0x2, 0x16c, 0x16d, 0xc, 0x7, 0x2, 0x2, 0x16d, 0x174, - 0x5, 0x4a, 0x26, 0x2, 0x16e, 0x16f, 0xc, 0x4, 0x2, 0x2, 0x16f, 0x170, - 0x7, 0xb, 0x2, 0x2, 0x170, 0x171, 0x5, 0x3e, 0x20, 0x2, 0x171, 0x172, - 0x7, 0xc, 0x2, 0x2, 0x172, 0x174, 0x3, 0x2, 0x2, 0x2, 0x173, 0x14f, - 0x3, 0x2, 0x2, 0x2, 0x173, 0x153, 0x3, 0x2, 0x2, 0x2, 0x173, 0x159, - 0x3, 0x2, 0x2, 0x2, 0x173, 0x169, 0x3, 0x2, 0x2, 0x2, 0x173, 0x16c, - 0x3, 0x2, 0x2, 0x2, 0x173, 0x16e, 0x3, 0x2, 0x2, 0x2, 0x174, 0x177, - 0x3, 0x2, 0x2, 0x2, 0x175, 0x173, 0x3, 0x2, 0x2, 0x2, 0x175, 0x176, - 0x3, 0x2, 0x2, 0x2, 0x176, 0x3f, 0x3, 0x2, 0x2, 0x2, 0x177, 0x175, - 0x3, 0x2, 0x2, 0x2, 0x178, 0x179, 0x9, 0x2, 0x2, 0x2, 0x179, 0x41, - 0x3, 0x2, 0x2, 0x2, 0x17a, 0x17b, 0x7, 0x40, 0x2, 0x2, 0x17b, 0x43, - 0x3, 0x2, 0x2, 0x2, 0x17c, 0x17d, 0x7, 0x40, 0x2, 0x2, 0x17d, 0x45, - 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17f, 0x7, 0x40, 0x2, 0x2, 0x17f, 0x47, - 0x3, 0x2, 0x2, 0x2, 0x180, 0x181, 0x7, 0x40, 0x2, 0x2, 0x181, 0x49, - 0x3, 0x2, 0x2, 0x2, 0x182, 0x183, 0x9, 0x3, 0x2, 0x2, 0x183, 0x4b, - 0x3, 0x2, 0x2, 0x2, 0x184, 0x18c, 0x7, 0x21, 0x2, 0x2, 0x185, 0x18c, - 0x7, 0x22, 0x2, 0x2, 0x186, 0x18c, 0x7, 0x23, 0x2, 0x2, 0x187, 0x18c, - 0x7, 0x24, 0x2, 0x2, 0x188, 0x18c, 0x7, 0x25, 0x2, 0x2, 0x189, 0x18c, - 0x7, 0xa, 0x2, 0x2, 0x18a, 0x18c, 0x5, 0x4a, 0x26, 0x2, 0x18b, 0x184, - 0x3, 0x2, 0x2, 0x2, 0x18b, 0x185, 0x3, 0x2, 0x2, 0x2, 0x18b, 0x186, - 0x3, 0x2, 0x2, 0x2, 0x18b, 0x187, 0x3, 0x2, 0x2, 0x2, 0x18b, 0x188, - 0x3, 0x2, 0x2, 0x2, 0x18b, 0x189, 0x3, 0x2, 0x2, 0x2, 0x18b, 0x18a, - 0x3, 0x2, 0x2, 0x2, 0x18c, 0x4d, 0x3, 0x2, 0x2, 0x2, 0x18d, 0x18e, - 0x9, 0x4, 0x2, 0x2, 0x18e, 0x4f, 0x3, 0x2, 0x2, 0x2, 0x22, 0x53, - 0x5d, 0x65, 0x73, 0x7f, 0x86, 0x8c, 0x8f, 0x99, 0xa3, 0xaa, 0xad, - 0xb3, 0xbb, 0xc1, 0xc7, 0xcb, 0xda, 0xef, 0xf7, 0xfb, 0x10d, 0x12d, - 0x137, 0x13a, 0x149, 0x14d, 0x162, 0x165, 0x173, 0x175, 0x18b, + 0x3, 0x2, 0x2, 0x2, 0x10e, 0x110, 0x5, 0x30, 0x19, 0x2, 0x10f, 0x10e, + 0x3, 0x2, 0x2, 0x2, 0x10f, 0x110, 0x3, 0x2, 0x2, 0x2, 0x110, 0x2d, + 0x3, 0x2, 0x2, 0x2, 0x111, 0x112, 0x7, 0x17, 0x2, 0x2, 0x112, 0x113, + 0x7, 0x16, 0x2, 0x2, 0x113, 0x114, 0x5, 0x40, 0x21, 0x2, 0x114, 0x115, + 0x5, 0x1a, 0xe, 0x2, 0x115, 0x2f, 0x3, 0x2, 0x2, 0x2, 0x116, 0x117, + 0x7, 0x17, 0x2, 0x2, 0x117, 0x118, 0x5, 0x1a, 0xe, 0x2, 0x118, 0x31, + 0x3, 0x2, 0x2, 0x2, 0x119, 0x11a, 0x7, 0x18, 0x2, 0x2, 0x11a, 0x11b, + 0x5, 0x40, 0x21, 0x2, 0x11b, 0x11c, 0x5, 0x34, 0x1b, 0x2, 0x11c, + 0x33, 0x3, 0x2, 0x2, 0x2, 0x11d, 0x121, 0x7, 0x5, 0x2, 0x2, 0x11e, + 0x120, 0x5, 0x36, 0x1c, 0x2, 0x11f, 0x11e, 0x3, 0x2, 0x2, 0x2, 0x120, + 0x123, 0x3, 0x2, 0x2, 0x2, 0x121, 0x11f, 0x3, 0x2, 0x2, 0x2, 0x121, + 0x122, 0x3, 0x2, 0x2, 0x2, 0x122, 0x124, 0x3, 0x2, 0x2, 0x2, 0x123, + 0x121, 0x3, 0x2, 0x2, 0x2, 0x124, 0x125, 0x7, 0x6, 0x2, 0x2, 0x125, + 0x35, 0x3, 0x2, 0x2, 0x2, 0x126, 0x127, 0x7, 0x19, 0x2, 0x2, 0x127, + 0x128, 0x5, 0x40, 0x21, 0x2, 0x128, 0x129, 0x5, 0x1a, 0xe, 0x2, 0x129, + 0x37, 0x3, 0x2, 0x2, 0x2, 0x12a, 0x12b, 0x7, 0x1a, 0x2, 0x2, 0x12b, + 0x12c, 0x5, 0xc, 0x7, 0x2, 0x12c, 0x12d, 0x7, 0x11, 0x2, 0x2, 0x12d, + 0x12e, 0x5, 0x40, 0x21, 0x2, 0x12e, 0x12f, 0x7, 0x11, 0x2, 0x2, 0x12f, + 0x130, 0x5, 0x40, 0x21, 0x2, 0x130, 0x131, 0x5, 0x1a, 0xe, 0x2, 0x131, + 0x39, 0x3, 0x2, 0x2, 0x2, 0x132, 0x133, 0x7, 0x1b, 0x2, 0x2, 0x133, + 0x134, 0x5, 0x40, 0x21, 0x2, 0x134, 0x135, 0x5, 0x1a, 0xe, 0x2, 0x135, + 0x3b, 0x3, 0x2, 0x2, 0x2, 0x136, 0x137, 0x5, 0x40, 0x21, 0x2, 0x137, + 0x138, 0x7, 0x9, 0x2, 0x2, 0x138, 0x139, 0x5, 0x40, 0x21, 0x2, 0x139, + 0x3d, 0x3, 0x2, 0x2, 0x2, 0x13a, 0x13b, 0x7, 0x1c, 0x2, 0x2, 0x13b, + 0x13c, 0x5, 0x40, 0x21, 0x2, 0x13c, 0x3f, 0x3, 0x2, 0x2, 0x2, 0x13d, + 0x141, 0x8, 0x21, 0x1, 0x2, 0x13e, 0x140, 0x5, 0x12, 0xa, 0x2, 0x13f, + 0x13e, 0x3, 0x2, 0x2, 0x2, 0x140, 0x143, 0x3, 0x2, 0x2, 0x2, 0x141, + 0x13f, 0x3, 0x2, 0x2, 0x2, 0x141, 0x142, 0x3, 0x2, 0x2, 0x2, 0x142, + 0x144, 0x3, 0x2, 0x2, 0x2, 0x143, 0x141, 0x3, 0x2, 0x2, 0x2, 0x144, + 0x146, 0x5, 0x48, 0x25, 0x2, 0x145, 0x147, 0x5, 0x28, 0x15, 0x2, + 0x146, 0x145, 0x3, 0x2, 0x2, 0x2, 0x146, 0x147, 0x3, 0x2, 0x2, 0x2, + 0x147, 0x148, 0x3, 0x2, 0x2, 0x2, 0x148, 0x151, 0x7, 0xf, 0x2, 0x2, + 0x149, 0x14e, 0x5, 0x40, 0x21, 0x2, 0x14a, 0x14b, 0x7, 0x11, 0x2, + 0x2, 0x14b, 0x14d, 0x5, 0x40, 0x21, 0x2, 0x14c, 0x14a, 0x3, 0x2, + 0x2, 0x2, 0x14d, 0x150, 0x3, 0x2, 0x2, 0x2, 0x14e, 0x14c, 0x3, 0x2, + 0x2, 0x2, 0x14e, 0x14f, 0x3, 0x2, 0x2, 0x2, 0x14f, 0x152, 0x3, 0x2, + 0x2, 0x2, 0x150, 0x14e, 0x3, 0x2, 0x2, 0x2, 0x151, 0x149, 0x3, 0x2, + 0x2, 0x2, 0x151, 0x152, 0x3, 0x2, 0x2, 0x2, 0x152, 0x153, 0x3, 0x2, + 0x2, 0x2, 0x153, 0x154, 0x7, 0x10, 0x2, 0x2, 0x154, 0x165, 0x3, 0x2, + 0x2, 0x2, 0x155, 0x165, 0x5, 0x46, 0x24, 0x2, 0x156, 0x157, 0x7, + 0xf, 0x2, 0x2, 0x157, 0x158, 0x5, 0x40, 0x21, 0x2, 0x158, 0x159, + 0x7, 0x10, 0x2, 0x2, 0x159, 0x165, 0x3, 0x2, 0x2, 0x2, 0x15a, 0x15b, + 0x5, 0x52, 0x2a, 0x2, 0x15b, 0x15c, 0x5, 0x40, 0x21, 0x8, 0x15c, + 0x165, 0x3, 0x2, 0x2, 0x2, 0x15d, 0x15f, 0x5, 0x12, 0xa, 0x2, 0x15e, + 0x15d, 0x3, 0x2, 0x2, 0x2, 0x15f, 0x162, 0x3, 0x2, 0x2, 0x2, 0x160, + 0x15e, 0x3, 0x2, 0x2, 0x2, 0x160, 0x161, 0x3, 0x2, 0x2, 0x2, 0x161, + 0x163, 0x3, 0x2, 0x2, 0x2, 0x162, 0x160, 0x3, 0x2, 0x2, 0x2, 0x163, + 0x165, 0x5, 0x4a, 0x26, 0x2, 0x164, 0x13d, 0x3, 0x2, 0x2, 0x2, 0x164, + 0x155, 0x3, 0x2, 0x2, 0x2, 0x164, 0x156, 0x3, 0x2, 0x2, 0x2, 0x164, + 0x15a, 0x3, 0x2, 0x2, 0x2, 0x164, 0x160, 0x3, 0x2, 0x2, 0x2, 0x165, + 0x193, 0x3, 0x2, 0x2, 0x2, 0x166, 0x167, 0xc, 0x6, 0x2, 0x2, 0x167, + 0x168, 0x5, 0x54, 0x2b, 0x2, 0x168, 0x169, 0x5, 0x40, 0x21, 0x7, + 0x169, 0x192, 0x3, 0x2, 0x2, 0x2, 0x16a, 0x16b, 0xc, 0x5, 0x2, 0x2, + 0x16b, 0x16c, 0x7, 0x1e, 0x2, 0x2, 0x16c, 0x16d, 0x5, 0x40, 0x21, + 0x2, 0x16d, 0x16e, 0x7, 0x8, 0x2, 0x2, 0x16e, 0x16f, 0x5, 0x40, 0x21, + 0x6, 0x16f, 0x192, 0x3, 0x2, 0x2, 0x2, 0x170, 0x171, 0xc, 0xc, 0x2, + 0x2, 0x171, 0x172, 0x7, 0x1d, 0x2, 0x2, 0x172, 0x174, 0x5, 0x48, + 0x25, 0x2, 0x173, 0x175, 0x5, 0x28, 0x15, 0x2, 0x174, 0x173, 0x3, + 0x2, 0x2, 0x2, 0x174, 0x175, 0x3, 0x2, 0x2, 0x2, 0x175, 0x176, 0x3, + 0x2, 0x2, 0x2, 0x176, 0x17f, 0x7, 0xf, 0x2, 0x2, 0x177, 0x17c, 0x5, + 0x40, 0x21, 0x2, 0x178, 0x179, 0x7, 0x11, 0x2, 0x2, 0x179, 0x17b, + 0x5, 0x40, 0x21, 0x2, 0x17a, 0x178, 0x3, 0x2, 0x2, 0x2, 0x17b, 0x17e, + 0x3, 0x2, 0x2, 0x2, 0x17c, 0x17a, 0x3, 0x2, 0x2, 0x2, 0x17c, 0x17d, + 0x3, 0x2, 0x2, 0x2, 0x17d, 0x180, 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17c, + 0x3, 0x2, 0x2, 0x2, 0x17f, 0x177, 0x3, 0x2, 0x2, 0x2, 0x17f, 0x180, + 0x3, 0x2, 0x2, 0x2, 0x180, 0x181, 0x3, 0x2, 0x2, 0x2, 0x181, 0x182, + 0x7, 0x10, 0x2, 0x2, 0x182, 0x192, 0x3, 0x2, 0x2, 0x2, 0x183, 0x186, + 0xc, 0x9, 0x2, 0x2, 0x184, 0x187, 0x5, 0x42, 0x22, 0x2, 0x185, 0x187, + 0x5, 0x44, 0x23, 0x2, 0x186, 0x184, 0x3, 0x2, 0x2, 0x2, 0x186, 0x185, + 0x3, 0x2, 0x2, 0x2, 0x187, 0x188, 0x3, 0x2, 0x2, 0x2, 0x188, 0x189, + 0x5, 0x4a, 0x26, 0x2, 0x189, 0x192, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x18b, + 0xc, 0x7, 0x2, 0x2, 0x18b, 0x192, 0x5, 0x50, 0x29, 0x2, 0x18c, 0x18d, + 0xc, 0x4, 0x2, 0x2, 0x18d, 0x18e, 0x7, 0xb, 0x2, 0x2, 0x18e, 0x18f, + 0x5, 0x40, 0x21, 0x2, 0x18f, 0x190, 0x7, 0xc, 0x2, 0x2, 0x190, 0x192, + 0x3, 0x2, 0x2, 0x2, 0x191, 0x166, 0x3, 0x2, 0x2, 0x2, 0x191, 0x16a, + 0x3, 0x2, 0x2, 0x2, 0x191, 0x170, 0x3, 0x2, 0x2, 0x2, 0x191,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x2, 0x2, 0x2, 0x1ad, 0x1a7, + 0x3, 0x2, 0x2, 0x2, 0x1ad, 0x1a8, 0x3, 0x2, 0x2, 0x2, 0x1ad, 0x1a9, + 0x3, 0x2, 0x2, 0x2, 0x1ad, 0x1aa, 0x3, 0x2, 0x2, 0x2, 0x1ad, 0x1ab, + 0x3, 0x2, 0x2, 0x2, 0x1ad, 0x1ac, 0x3, 0x2, 0x2, 0x2, 0x1ae, 0x53, + 0x3, 0x2, 0x2, 0x2, 0x1af, 0x1b0, 0x9, 0x4, 0x2, 0x2, 0x1b0, 0x55, + 0x3, 0x2, 0x2, 0x2, 0x27, 0x59, 0x63, 0x6b, 0x79, 0x85, 0x8a, 0x8f, + 0x95, 0x98, 0xa2, 0xac, 0xb3, 0xb6, 0xbc, 0xc4, 0xca, 0xd0, 0xd4, + 0xe3, 0xee, 0x103, 0x10b, 0x10f, 0x121, 0x141, 0x146, 0x14e, 0x151, + 0x160, 0x164, 0x174, 0x17c, 0x17f, 0x186, 0x191, 0x193, 0x1ad, }; _serializedATN.insert(_serializedATN.end(), serializedATNSegment0, diff --git a/gen/TocParser.h b/gen/TocParser.h index 35798a1..14b7706 100644 --- a/gen/TocParser.h +++ b/gen/TocParser.h @@ -21,8 +21,8 @@ public: T__38 = 39, T__39 = 40, T__40 = 41, T__41 = 42, T__42 = 43, T__43 = 44, T__44 = 45, T__45 = 46, T__46 = 47, T__47 = 48, T__48 = 49, T__49 = 50, T__50 = 51, T__51 = 52, T__52 = 53, T__53 = 54, T__54 = 55, T__55 = 56, - T__56 = 57, INT_LIT = 58, DECIMAL_LIT = 59, BOOL_LIT = 60, StringLit = 61, - NAME = 62, WS = 63, NEWLINE = 64 + T__56 = 57, T__57 = 58, INT_LIT = 59, DECIMAL_LIT = 60, BOOL_LIT = 61, + StringLit = 62, NAME = 63, WS = 64, NEWLINE = 65 }; enum { @@ -30,12 +30,13 @@ public: RuleVar = 4, RuleVarInit = 5, RuleType = 6, RuleTypeModifier = 7, RuleNamespaceSpecifier = 8, RuleFuncDecl = 9, RuleFunc = 10, RuleParameter = 11, RuleBody = 12, RuleStructDecl = 13, RuleStructMember = 14, RuleStructVar = 15, RuleStructMethod = 16, - RulePrivateDecl = 17, RuleGenericDecl = 18, RuleStmt = 19, RuleIfStmt = 20, - RuleElseIfStmt = 21, RuleElseStmt = 22, RuleSwitchStmt = 23, RuleSwitchBody = 24, - RuleSwitchCase = 25, RuleForStmt = 26, RuleWhileStmt = 27, RuleAssignStmt = 28, - RuleReturnStmt = 29, RuleExpr = 30, RuleLiteral = 31, RuleFuncName = 32, - RuleVarName = 33, RuleTypeName = 34, RuleStructName = 35, RulePostfix_op = 36, - RulePrefix_op = 37, RuleBinary_op = 38 + RulePrivateDecl = 17, RuleGenericDecl = 18, RuleGenericInstantiation = 19, + RuleStmt = 20, RuleIfStmt = 21, RuleElseIfStmt = 22, RuleElseStmt = 23, + RuleSwitchStmt = 24, RuleSwitchBody = 25, RuleSwitchCase = 26, RuleForStmt = 27, + RuleWhileStmt = 28, RuleAssignStmt = 29, RuleReturnStmt = 30, RuleExpr = 31, + RuleDot = 32, RuleArrow = 33, RuleLiteral = 34, RuleFuncName = 35, RuleVarName = 36, + RuleTypeName = 37, RuleStructName = 38, RulePostfix_op = 39, RulePrefix_op = 40, + RuleBinary_op = 41 }; explicit TocParser(antlr4::TokenStream *input); @@ -67,6 +68,7 @@ public: class StructMethodContext; class PrivateDeclContext; class GenericDeclContext; + class GenericInstantiationContext; class StmtContext; class IfStmtContext; class ElseIfStmtContext; @@ -79,6 +81,8 @@ public: class AssignStmtContext; class ReturnStmtContext; class ExprContext; + class DotContext; + class ArrowContext; class LiteralContext; class FuncNameContext; class VarNameContext; @@ -172,6 +176,7 @@ public: TypeNameContext *typeName(); std::vector namespaceSpecifier(); NamespaceSpecifierContext* namespaceSpecifier(size_t i); + GenericInstantiationContext *genericInstantiation(); std::vector typeModifier(); TypeModifierContext* typeModifier(size_t i); @@ -323,6 +328,18 @@ public: GenericDeclContext* genericDecl(); + class GenericInstantiationContext : public antlr4::ParserRuleContext { + public: + GenericInstantiationContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + std::vector type(); + TypeContext* type(size_t i); + + + }; + + GenericInstantiationContext* genericInstantiation(); + class StmtContext : public antlr4::ParserRuleContext { public: StmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); @@ -483,6 +500,8 @@ public: ExprContext *expr(); VarNameContext *varName(); + DotContext *dot(); + ArrowContext *arrow(); }; class FuncExprContext : public ExprContext { @@ -492,6 +511,7 @@ public: FuncNameContext *funcName(); std::vector namespaceSpecifier(); NamespaceSpecifierContext* namespaceSpecifier(size_t i); + GenericInstantiationContext *genericInstantiation(); std::vector expr(); ExprContext* expr(size_t i); }; @@ -519,6 +539,7 @@ public: std::vector expr(); ExprContext* expr(size_t i); FuncNameContext *funcName(); + GenericInstantiationContext *genericInstantiation(); }; class PostfixOpExprContext : public ExprContext { @@ -571,6 +592,26 @@ public: ExprContext* expr(); ExprContext* expr(int precedence); + class DotContext : public antlr4::ParserRuleContext { + public: + DotContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + + + }; + + DotContext* dot(); + + class ArrowContext : public antlr4::ParserRuleContext { + public: + ArrowContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + + + }; + + ArrowContext* arrow(); + class LiteralContext : public antlr4::ParserRuleContext { public: LiteralContext(antlr4::ParserRuleContext *parent, size_t invokingState); diff --git a/src/find.h b/src/find.h index 1876a1e..fec540f 100644 --- a/src/find.h +++ b/src/find.h @@ -18,6 +18,15 @@ opt find(const std::vector & ts, std::function f) return nullopt; } +template +opt findPtr(const std::vector & ts, std::function f) +{ + for (int i = 0; i < ts.size(); i++) + if (f(ts[i])) + return &((T *)ts.data())[i]; + return nullopt; +} + opt findFunction( const Program & p, const std::string & name, @@ -55,6 +64,43 @@ opt findFunction( return find(p.functions, [&](Function f) { return f.name == name; }); } +opt findFunctionPtr( + const Program & p, + const std::string & name, + const std::vector & namespacePrefixes) +{ + if (namespacePrefixes.empty()) + { + return findPtr(p.functions, [&](Function f) { return f.name == name; }); + } + + auto n = find(p.namespaces, [&](Namespace n) { return n.name == namespacePrefixes[0]; }); + + if (!n.has_value()) + return nullopt; + + std::vector namespaces = { n.value() }; + + for (int i = 1; i < namespacePrefixes.size(); i++) + { + n = find(n.value().namespaces, [&](Namespace n) { return n.name == namespacePrefixes[i]; }); + + if (!n.has_value()) + return nullopt; + + namespaces.push_back(n.value()); + } + + for (int i = namespaces.size()-1; i >= 0; i--) + { + auto f = findPtr(namespaces[i].functions, [&](Function f) { return f.name == name; }); + if (f.has_value()) + return f.value(); + } + + return findPtr(p.functions, [&](Function f) { return f.name == name; }); +} + opt findStruct( const Program & p, const std::string & name, @@ -69,6 +115,8 @@ opt findStruct( if (!n.has_value()) return nullopt; + + std::vector namespaces = { n.value() }; for (int i = 1; i < namespacePrefixes.size(); i++) { @@ -76,10 +124,57 @@ opt findStruct( if (!n.has_value()) return nullopt; + + namespaces.push_back(n.value()); + } + + for (int i = namespaces.size()-1; i >= 0; i--) + { + auto f = find(namespaces[i].structs, [&](Struct f) { return f.name == name; }); + if (f.has_value()) + return f.value(); } + return find(n.value().structs, [&](Struct s) { return s.name == name; }); } +opt findStructPtr( + const Program & p, + const std::string & name, + const std::vector & namespacePrefixes) +{ + if (namespacePrefixes.empty()) + { + return findPtr(p.structs, [&](Struct s) { return s.name == name; }); + } + + auto n = find(p.namespaces, [&](Namespace n) { return n.name == namespacePrefixes[0]; }); + + if (!n.has_value()) + return nullopt; + + std::vector namespaces = { n.value() }; + + for (int i = 1; i < namespacePrefixes.size(); i++) + { + n = find(n.value().namespaces, [&](Namespace n) { return n.name == namespacePrefixes[i]; }); + + if (!n.has_value()) + return nullopt; + + namespaces.push_back(n.value()); + } + + for (int i = namespaces.size()-1; i >= 0; i--) + { + auto f = findPtr(namespaces[i].structs, [&](Struct f) { return f.name == name; }); + if (f.has_value()) + return f.value(); + } + + return findPtr(n.value().structs, [&](Struct s) { return s.name == name; }); +} + opt findVariable( const Program & p, const std::string & name, @@ -96,7 +191,7 @@ opt findVariable( return nullopt; } -opt findStructMethod( +opt> findStructMethod( const Program & p, const std::string & name, TypeInfo ti) @@ -108,8 +203,20 @@ opt findStructMethod( return nullopt; return find>(s.value().methods, [&](Function f) { return f.name == name; }); } +opt *> findStructMethodPtr( + const Program & p, + const std::string & name, + TypeInfo ti) +{ + if (!ti.isStruct) + return nullopt; + auto s = findStruct(p, ti.type.name, ti.type.namespacePrefixes); + if (!s.has_value()) + return nullopt; + return findPtr>(s.value().methods, [&](Function f) { return f.name == name; }); +} -opt findStructMember( +opt> findStructMember( const Program & p, TypeInfo ti, const std::string & name) diff --git a/src/repr.h b/src/repr.h index f12b0da..b30aecd 100644 --- a/src/repr.h +++ b/src/repr.h @@ -61,6 +61,7 @@ struct Type std::vector namespacePrefixes; std::string name; std::vector modifiers; + std::vector genericInstantiation; }; struct Variable @@ -77,8 +78,10 @@ struct Body struct Function { - Type returnType; std::string name; + std::vector genericTypeNames; + std::vector> genericInstantiations; + Type returnType; std::vector parameters; bool defined; Body body; @@ -95,6 +98,8 @@ struct StructMember struct Struct { std::string name; + std::vector genericTypeNames; + std::vector> genericInstantiations; std::vector> members; std::vector> methods; }; @@ -126,6 +131,7 @@ struct FuncExpr std::vector namespacePrefixes; std::string functionName; std::vector arguments; + std::vector genericInstantiation; }; struct MethodExpr @@ -133,6 +139,7 @@ struct MethodExpr std::shared_ptr expr; std::string methodName; std::vector arguments; + std::vector genericInstantiation; }; enum class LitType @@ -157,6 +164,7 @@ struct ParenExpr struct DotExpr { + bool isPointer; std::shared_ptr expr; std::string identifier; }; diff --git a/src/repr_get.h b/src/repr_get.h index 827c02b..2d321b0 100644 --- a/src/repr_get.h +++ b/src/repr_get.h @@ -43,6 +43,13 @@ Type getType(TocParser::TypeContext * ctx) isStaticArray ? atoi(m->INT_LIT()->toString().c_str()) : -1 ); } + if (ctx->genericInstantiation() != nullptr) + { + for (auto g : ctx->genericInstantiation()->type()) + { + result.genericInstantiation.push_back(getType(g)); + } + } return result; } Variable getVariable(TocParser::VarContext * ctx) @@ -77,11 +84,20 @@ Function getFunction(TocParser::FuncContext * ctx, std::shared_ptr pare Function result; result.name = ctx->funcName()->NAME()->toString(); result.returnType = getType(ctx->type()); + if (ctx->genericDecl() != nullptr) + { + for (auto t : ctx->genericDecl()->typeName()) + { + result.genericTypeNames.push_back(t->getText()); + } + } + if (!ctx->parameter()->var().empty()) { for (auto p : ctx->parameter()->var()) result.parameters.push_back(getVariable(p)); } + if (ctx->body() != nullptr) { result.body = getBody(ctx->body(), parent); @@ -97,6 +113,14 @@ Struct getStruct(TocParser::StructDeclContext * ctx, std::shared_ptr pa { Struct result; result.name = ctx->structName()->NAME()->toString(); + if (ctx->genericDecl() != nullptr) + { + for (auto t : ctx->genericDecl()->typeName()) + { + result.genericTypeNames.push_back(t->getText()); + } + } + for (auto m : ctx->structMember()) { if (m->structVar() != nullptr) @@ -199,6 +223,13 @@ Expr getExpr(TocParser::FuncExprContext * ctx) for (auto n : ctx->namespaceSpecifier()) result._func.namespacePrefixes.push_back(n->typeName()->getText()); result._func.functionName = ctx->funcName()->NAME()->toString(); + if (ctx->genericInstantiation() != nullptr) + { + for (auto g : ctx->genericInstantiation()->type()) + { + result._func.genericInstantiation.push_back(getType(g)); + } + } for (auto e : ctx->expr()) result._func.arguments.push_back(getExpr(e)); return result; @@ -209,6 +240,13 @@ Expr getExpr(TocParser::MethodExprContext * ctx) result.type = ExprType::Method; result._method.expr = std::make_unique(getExpr(ctx->expr(0))); result._method.methodName = ctx->funcName()->NAME()->toString(); + if (ctx->genericInstantiation() != nullptr) + { + for (auto g : ctx->genericInstantiation()->type()) + { + result._method.genericInstantiation.push_back(getType(g)); + } + } for (int i = 1; i < ctx->expr().size(); i++) result._method.arguments.push_back(getExpr(ctx->expr(i))); return result; @@ -252,6 +290,7 @@ Expr getExpr(TocParser::DotExprContext * ctx) result.type = ExprType::Dot; result._dot.expr = std::make_unique(getExpr(ctx->expr())); result._dot.identifier = ctx->varName()->getText(); + result._dot.isPointer = ctx->arrow() != nullptr; return result; } Expr getExpr(TocParser::PrefixOpExprContext * ctx) diff --git a/src/toc.h b/src/toc.h index c0c73f1..659c9f3 100644 --- a/src/toc.h +++ b/src/toc.h @@ -4,6 +4,7 @@ #include #include "repr.h" +#include "generic.h" #include "typeInfo.h" template @@ -53,15 +54,27 @@ static std::string namespacePrefix() { return sstr.str(); } +static std::map currentInstantiation; + static Program globalPrg; static std::shared_ptr globalCtx; std::ostream & operator<< (std::ostream & out, const Type & t) { + for (auto kv : currentInstantiation) + { + if (t.name == kv.first) + { + out << kv.second; + return out; + } + } TypeInfo ti = typeType(globalPrg, t); if (ti.isStruct) out << "struct "; out << vectorStr(t.namespacePrefixes, "_", true) << t.name; + if (!t.genericInstantiation.empty()) + out << genericAppendix(t.genericInstantiation); return out; } @@ -135,16 +148,21 @@ std::ostream & operator<< (std::ostream & out, const Expr & e) TypeInfo ti = typeExpr(globalPrg, namespaces, globalCtx, e); } - out << vectorStr(e._func.namespacePrefixes, "_", true) << e._func.functionName << "(" << vectorStr(e._func.arguments, ", ") << ")"; break; + out << vectorStr(e._func.namespacePrefixes, "_", true) << e._func.functionName; + if (!e._func.genericInstantiation.empty()) + out << genericAppendix(e._func.genericInstantiation); + out <<"(" << vectorStr(e._func.arguments, ", ") << ")"; break; } case ExprType::Method: { TypeInfo ti = typeExpr(globalPrg, namespaces, globalCtx, *e._method.expr); out << vectorStr(ti.type.namespacePrefixes, "_", true) << - ti.type.name << "_" << e._method.methodName << - "(&" << *e._method.expr << (e._method.arguments.empty() ? "" : ", ") << - vectorStr(e._method.arguments, ", ") << ")"; break; + ti.type.name << genericAppendix(ti.type.genericInstantiation) << "_" << e._method.methodName; + if (!e._method.genericInstantiation.empty()) + out << genericAppendix(e._method.genericInstantiation); + out << "(&" << *e._method.expr << (e._method.arguments.empty() ? "" : ", ") << + vectorStr(e._method.arguments, ", ") << ")"; break; } case ExprType::Lit: /**/ if (e._lit.type == LitType::Int) out << e._lit._int; @@ -155,7 +173,7 @@ std::ostream & operator<< (std::ostream & out, const Expr & e) case ExprType::Paren: out << "(" << e._paren.expr << ")"; break; case ExprType::Dot: - out << *e._dot.expr << "." << e._dot.identifier; break; + out << *e._dot.expr << (e._dot.isPointer ? "->" : ".") << e._dot.identifier; break; case ExprType::PrefixOp: out << PrefixOperatorTypeStrings[(int)e._prefixOp.type] << *e._prefixOp.expr; break; case ExprType::PostfixOp: @@ -216,75 +234,172 @@ void tocFunction (std::ostream & out, const Function & f, bool stub) { if (!stub && !f.defined) return; - out << f.returnType << " " << namespacePrefix() << f.name << " (" << vectorStr(f.parameters, ", ") << ")"; - - if (stub) + if (f.genericTypeNames.empty()) { - out << ";\n"; + out << f.returnType << " " << namespacePrefix() << f.name << " (" << vectorStr(f.parameters, ", ") << ")"; + + if (stub) + { + out << ";\n"; + } + else + { + out << "\n" << f.body; + } } else { - out << "\n" << f.body; + for (auto instantiation : f.genericInstantiations) + { + for (int i = 0; i < f.genericTypeNames.size(); i++) + { + currentInstantiation[f.genericTypeNames[i]] = instantiation[i]; + } + + out << f.returnType << " " << namespacePrefix() << f.name << genericAppendix(instantiation) << " (" << vectorStr(f.parameters, ", ") << ")"; + + if (stub) + { + out << ";\n"; + } + else + { + out << "\n" << f.body; + } + + currentInstantiation.clear(); + } } } void tocStruct (std::ostream & out, const Struct & s, bool stub) { - out << "struct " << namespacePrefix() << s.name; - if (stub) + if (s.genericTypeNames.empty()) { - out << ";\n"; + out << "struct " << namespacePrefix() << s.name; + if (stub) + { + out << ";\n"; + for (auto m : s.methods) + { + Function f = m; + + f.parameters.insert(f.parameters.begin(), + {"this", + { + namespaces, + s.name, + { + {TypeModifierType::Pointer, false, -1} + } + } + }); + out << f.returnType << " " << + namespacePrefix() << s.name << "_" << f.name << + " (" << vectorStr(f.parameters, ", ") << ");\n"; + } + return; + } + out << "\n{\n"; + indentation += 2; + + for (auto m : s.members) + { + indent(out); + out << m << ";\n"; + } + + indent(out, -2); + out << "};\n"; + for (auto m : s.methods) { Function f = m; - f.parameters.insert(f.parameters.begin(), - {"this", - { - namespaces, - s.name, + {"this", { - {TypeModifierType::Pointer, false, -1} + namespaces, + s.name, + { + {TypeModifierType::Pointer, false, -1} + } } - } - }); + }); out << f.returnType << " " << - namespacePrefix() << s.name << "_" << f.name << - " (" << vectorStr(f.parameters, ", ") << ");\n"; + namespacePrefix() << s.name << "_" << f.name << + " (" << vectorStr(f.parameters, ", ") << ")\n" << f.body; } - return; - } - out << "\n{\n"; - indentation += 2; - - for (auto m : s.members) - { - indent(out); - out << m << ";\n"; } - - indent(out, -2); - out << "};\n"; - - for (auto m : s.methods) + else { - Function f = m; - f.parameters.insert(f.parameters.begin(), - {"this", + for (auto instantiation : s.genericInstantiations) + { + for (int i = 0; i < s.genericTypeNames.size(); i++) + { + currentInstantiation[s.genericTypeNames[i]] = instantiation[i]; + } + + out << "struct " << namespacePrefix() << s.name << genericAppendix(instantiation); + if (stub) + { + out << ";\n"; + for (auto m : s.methods) { - namespaces, - s.name, - { - {TypeModifierType::Pointer, false, -1} - } + Function f = m; + + f.parameters.insert(f.parameters.begin(), + {"this", + { + namespaces, + s.name + genericAppendix(instantiation), + { + {TypeModifierType::Pointer, false, -1} + } + } + }); + out << f.returnType << " " << + namespacePrefix() << s.name << genericAppendix(instantiation) << "_" << f.name << + " (" << vectorStr(f.parameters, ", ") << ");\n"; } - }); - out << f.returnType << " " << - namespacePrefix() << s.name << "_" << f.name << - " (" << vectorStr(f.parameters, ", ") << ")\n" << f.body; + return; + } + out << "\n{\n"; + indentation += 2; + + for (auto m : s.members) + { + indent(out); + out << m << ";\n"; + } + + indent(out, -2); + out << "};\n"; + + for (auto m : s.methods) + { + Function f = m; + f.parameters.insert(f.parameters.begin(), + {"this", + { + namespaces, + s.name + genericAppendix(instantiation), + { + {TypeModifierType::Pointer, false, -1} + } + } + }); + out << f.returnType << " " << + namespacePrefix() << s.name << genericAppendix(instantiation) << "_" << f.name << + " (" << vectorStr(f.parameters, ", ") << ")\n" << f.body; + } + + currentInstantiation.clear(); + } } } -void tocProgram (std::ostream & out, const Program & p) +void tocProgram (std::ostream & out, const Program & _p) { + Program p = instantiateGenerics(_p); + globalCtx = p.ctx; globalPrg = p; diff --git a/src/typeInfo.h b/src/typeInfo.h index 0fd4114..cbe421c 100644 --- a/src/typeInfo.h +++ b/src/typeInfo.h @@ -15,7 +15,8 @@ TypeInfo typeType(const Program & p, Type t) TypeInfo result; result.isStruct = true; if (t.name == "int" || t.name == "float" || t.name == "double" || - t.name == "char" || t.name == "long" || t.name == "short" || t.name == "bool") + t.name == "char" || t.name == "long" || t.name == "short" || t.name == "bool" || + t.name == "void") { result.isStruct = false; } @@ -47,7 +48,7 @@ TypeInfo typeExpr(const Program & p, const std::vector & globalName auto m = findStructMethod(p, e._method.methodName, tiCaller); if (!m.has_value()) throw "Unknown method"; - result = typeType(p, m.value().returnType); + result = typeType(p, m.value().t.returnType); break; } case ExprType::Lit: @@ -69,7 +70,7 @@ TypeInfo typeExpr(const Program & p, const std::vector & globalName typeExpr(p, globalNamespace, globalCtx, *e._dot.expr), e._dot.identifier); if (!sm.has_value()) throw "Unknown struct member"; - result = typeType(p, sm.value().type); + result = typeType(p, sm.value().t.type); break; } case ExprType::PrefixOp: diff --git a/src/visit.h b/src/visit.h new file mode 100644 index 0000000..0cfb9e6 --- /dev/null +++ b/src/visit.h @@ -0,0 +1,193 @@ +#pragma once + +#include "repr.h" + +#include + +struct Visitor { + std::function & namespaces)> onType = [](auto, auto){}; + std::function & namespaces)> onExpr = [](auto, auto){}; + std::function & namespaces)> onStmt = [](auto, auto){}; + std::function & namespaces)> onBody = [](auto, auto){}; + std::function & namespaces)> onFunction = [](auto, auto){}; + std::function & namespaces)> onVariable = [](auto, auto){}; + std::function &, const std::vector & namespaces)> onStructMethod = [](auto, auto){}; + std::function &, const std::vector & namespaces)> onStructMember = [](auto, auto){}; + std::function & namespaces)> onStruct = [](auto, auto){}; + std::function & namespaces)> onNamespace = [](auto, auto){}; + std::function & namespaces)> onProgram = [](auto, auto){}; +}; + +#define VISIT(XS) for (auto x : XS) visit(x); + +struct Visit { +private: + Visitor v; + std::vector namespaces; +public: + Visit(Visitor v) + { + this->v = v; + } + void visit(const Type & x) + { + v.onType(x, namespaces); + } + void visit(const Expr & x) + { + v.onExpr(x, namespaces); + + switch (x.type) + { + case ExprType::Func: + VISIT(x._func.arguments) + break; + case ExprType::Method: + visit(*x._method.expr); + VISIT(x._method.arguments); + break; + case ExprType::Lit: + break; + case ExprType::Paren: + visit(*x._paren.expr); + break; + case ExprType::Dot: + visit(*x._dot.expr); + break; + case ExprType::PrefixOp: + visit(*x._prefixOp.expr); + break; + case ExprType::PostfixOp: + visit(*x._postfixOp.expr); + break; + case ExprType::BinaryOp: + visit(*x._binaryOp.lexpr); + visit(*x._binaryOp.rexpr); + break; + case ExprType::TernaryOp: + visit(*x._ternaryOp.lexpr); + visit(*x._ternaryOp.rexprTrue); + visit(*x._ternaryOp.rexprFalse); + break; + case ExprType::Bracket: + visit(*x._brackets.lexpr); + visit(*x._brackets.rexpr); + break; + case ExprType::Identifier: + break; + } + } + void visit(const Stmt & x) + { + v.onStmt(x, namespaces); + + switch (x.type) + { + case StmtType::Assign: + visit(x._assign.lexpr); + visit(x._assign.rexpr); + break; + case StmtType::Expr: + visit(x._expr); + break; + case StmtType::For: + visit(x._for.init->lexpr); + visit(x._for.init->rexpr); + visit(*x._for.condition); + visit(*x._for.action); + visit(x._for.body); + break; + case StmtType::If: + visit(x._if.condition); + visit(x._if.body); + for (auto e : x._if.elses) + { + if (e._if) + visit(*e.expr); + visit(e.body); + } + break; + case StmtType::Return: + visit(x._return.expr); + break; + case StmtType::Switch: + visit(*x._switch.ident); + for (auto c : x._switch.cases) + { + visit(*c.expr); + visit(c.body); + } + break; + case StmtType::While: + visit(x._while.condition); + visit(x._while.body); + break; + } + } + void visit(const Body & x) + { + v.onBody(x, namespaces); + + VISIT(x.ctx->variables) + VISIT(x.statements) + } + void visit(const Namespace & x) + { + v.onNamespace(x, namespaces); + + namespaces.push_back(x.name); + + VISIT(x.namespaces) + VISIT(x.ctx->variables) + VISIT(x.structs) + VISIT(x.functions) + + namespaces.pop_back(); + } + void visit(const Variable & x) + { + v.onVariable(x, namespaces); + visit(x.type); + } + void visit(const Function & x) + { + v.onFunction(x, namespaces); + + if (x.defined) { + visit(x.body); + for (auto v : x.parameters) + visit(v.type); + } + } + void visit(const StructMember & x) + { + v.onStructMethod(x, namespaces); + + visit(x.t); + } + void visit(const StructMember & x) + { + v.onStructMember(x, namespaces); + + visit(x.t); + } + void visit(const Struct & x) + { + v.onStruct(x, namespaces); + + VISIT(x.members) + VISIT(x.methods) + } + void visit(const Program & x) + { + v.onProgram(x, namespaces); + + VISIT(x.namespaces) + VISIT(x.ctx->variables) + VISIT(x.structs) + VISIT(x.functions) + } +}; + +#undef VISIT + diff --git a/test/test1.toc b/test/test1.toc new file mode 100644 index 0000000..1f604c0 --- /dev/null +++ b/test/test1.toc @@ -0,0 +1,40 @@ +var abc: int; +var def: int; +var ghi: int; + +func f1 (a : int, b : int, cs: int[]) : int { + var i1 : int; + var s1 : S1; + if a != i1 { + var i2 : int = 987; + return i2; + } + print(s1.i1); + print(s1.a1[0]); + return 133; +} + +struct S1 { + i1 : int; + i2 : int; + a1 : int[10]; + a2 : int[10]*; + a2 : int[]; + + m1() : void { + while i1 < i2 { + i1 = m2(i1); + + i2 = i1 + i2 * (i2 - 45) + 4; + + print(12345); + } + } + + m2(i: int) : int { + var j : int = 0; + while j < 10 { + print(a1[j]); + } + } +} \ No newline at end of file diff --git a/test/test2.toc b/test/test2.toc new file mode 100644 index 0000000..6e8d4f8 --- /dev/null +++ b/test/test2.toc @@ -0,0 +1,61 @@ +func puts(str : char*) : void; + +namespace N1 { + func f1() : void { + puts("Hello\n"); + } + namespace N2 { + struct S1 { + i1 : int; + i2 : int; + i3 : int; + + m1(i: int) : int { + this->i3 = this->i1 * this->i2; + + N1::f1(); + + return this->i1 + this->i2; + } + } + + func f1() : void { + var s1 : N1::N2::S1; + s1.m1(123); + } + } +} + +struct S1 { + t1: T; + t2: T; + + m1() : T { + return this->t1 + this->t2; + } +} + +func generic1(a1 : A, a2 : A) : A { + return a1 + a2; +} + +func main(argc : int, argv : char**) : int { + var s1 : N1::N2::S1; + var s2 : N1::N2::S1; + var s3 : N1::N2::S1; + s1.i1 = 123; + s1.i2 = 456; + s1.m1(s2.m1(s3.m1(89))); + + N1::N2::f1(); + + var s4 : S1; + s4.t1 = 123; + s4.t2 = 456; + s4.m1(); + + generic1(1, 2); + generic1(3.4, 5.6); + + return 0; +} \ No newline at end of file diff --git a/todo.txt b/todo.txt index 07e6bb6..25b4473 100644 --- a/todo.txt +++ b/todo.txt @@ -43,11 +43,6 @@ define grammar: - private -Zeitplan: -02.08: Schreiben, generics -03.08: Schreiben, namespaces, private -04.08: Schreiben, type system - @@ -59,4 +54,11 @@ Missing: - bitfields - nested bodies {} - multiple files -- call outer functions with same name (::f1()) \ No newline at end of file +- call outer functions with same name (::f1()) +- generic methods +- nested type instantiation +- automatic dereference/-> +- automatic "this" +- Kommentare +- include C +- (compile) \ No newline at end of file