From 71a20a4f3d4e5f5278f7d004af710af89dfd7ebc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Patrick=20Sch=C3=B6nberger?= Date: Tue, 3 Aug 2021 12:08:12 +0200 Subject: [PATCH] add namespace, private struct member grammar, change bracket style --- Toc.g4 | 6 +- gen/Toc.interp | 12 +- gen/Toc.tokens | 126 ++-- gen/TocLexer.cpp | 501 ++++++++------- gen/TocLexer.h | 6 +- gen/TocLexer.interp | 12 +- gen/TocLexer.tokens | 126 ++-- gen/TocParser.cpp | 1467 ++++++++++++++++++++++++------------------- gen/TocParser.h | 59 +- src/check.h | 12 +- src/main.cpp | 6 +- src/repr.h | 99 ++- src/repr_get.h | 240 ++++--- src/toc.h | 115 ++-- 14 files changed, 1582 insertions(+), 1205 deletions(-) diff --git a/Toc.g4 b/Toc.g4 index 0c8b501..0f2f613 100644 --- a/Toc.g4 +++ b/Toc.g4 @@ -5,8 +5,11 @@ prog: (decl)+ EOF; decl: varDecl ';' | funcDecl | structDecl + | namespaceDecl ; +namespaceDecl: 'namespace' typeName '{' decl* '}'; + varDecl: 'var' var; var: varName (':' type) ('=' expr)?; varInit: varName (':' type) ('=' expr); @@ -23,9 +26,10 @@ body: '{' stmt* '}'; structDecl: 'struct' structName genericDecl? '{' structMember* '}'; -structMember: structVar | structMethod; +structMember: privateDecl? structVar | structMethod; structVar: var ';'; structMethod: func; +privateDecl: 'private'; genericDecl: '<' typeName (',' typeName)* '>'; diff --git a/gen/Toc.interp b/gen/Toc.interp index 7518a4a..33fec15 100644 --- a/gen/Toc.interp +++ b/gen/Toc.interp @@ -1,6 +1,9 @@ token literal names: null ';' +'namespace' +'{' +'}' 'var' ':' '=' @@ -11,9 +14,8 @@ null '(' ')' ',' -'{' -'}' 'struct' +'private' '<' '>' 'if' @@ -120,6 +122,8 @@ null null null null +null +null INT_LIT DECIMAL_LIT STRING_LIT @@ -131,6 +135,7 @@ NEWLINE rule names: prog decl +namespaceDecl varDecl var varInit @@ -144,6 +149,7 @@ structDecl structMember structVar structMethod +privateDecl genericDecl stmt ifStmt @@ -182,4 +188,4 @@ binary_op atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 64, 404, 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, 3, 2, 6, 2, 104, 10, 2, 13, 2, 14, 2, 105, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 115, 10, 3, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 126, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 7, 7, 137, 10, 7, 12, 7, 14, 7, 140, 11, 7, 3, 8, 3, 8, 3, 8, 5, 8, 145, 10, 8, 3, 8, 5, 8, 148, 10, 8, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 5, 10, 155, 10, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 7, 11, 168, 10, 11, 12, 11, 14, 11, 171, 11, 11, 5, 11, 173, 10, 11, 3, 12, 3, 12, 7, 12, 177, 10, 12, 12, 12, 14, 12, 180, 11, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 5, 13, 187, 10, 13, 3, 13, 3, 13, 7, 13, 191, 10, 13, 12, 13, 14, 13, 194, 11, 13, 3, 13, 3, 13, 3, 14, 3, 14, 5, 14, 200, 10, 14, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 7, 17, 211, 10, 17, 12, 17, 14, 17, 214, 11, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 5, 18, 234, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 7, 19, 240, 10, 19, 12, 19, 14, 19, 243, 11, 19, 3, 19, 5, 19, 246, 10, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 7, 23, 262, 10, 23, 12, 23, 14, 23, 265, 11, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 5, 25, 276, 10, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 301, 10, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 308, 10, 30, 3, 31, 3, 31, 3, 31, 5, 31, 313, 10, 31, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 320, 10, 32, 12, 32, 14, 32, 323, 11, 32, 5, 32, 325, 10, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 333, 10, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 7, 34, 341, 10, 34, 12, 34, 14, 34, 344, 11, 34, 3, 35, 3, 35, 3, 35, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 38, 3, 38, 3, 39, 3, 39, 3, 40, 3, 40, 6, 40, 364, 10, 40, 13, 40, 14, 40, 365, 3, 41, 3, 41, 5, 41, 370, 10, 41, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 46, 3, 46, 3, 47, 3, 47, 3, 48, 3, 48, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 5, 50, 400, 10, 50, 3, 51, 3, 51, 3, 51, 2, 2, 52, 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, 86, 88, 90, 92, 94, 96, 98, 100, 2, 6, 3, 2, 58, 61, 3, 2, 27, 28, 3, 2, 29, 30, 6, 2, 7, 7, 17, 18, 31, 32, 35, 57, 2, 404, 2, 103, 3, 2, 2, 2, 4, 114, 3, 2, 2, 2, 6, 116, 3, 2, 2, 2, 8, 119, 3, 2, 2, 2, 10, 127, 3, 2, 2, 2, 12, 134, 3, 2, 2, 2, 14, 147, 3, 2, 2, 2, 16, 149, 3, 2, 2, 2, 18, 152, 3, 2, 2, 2, 20, 172, 3, 2, 2, 2, 22, 174, 3, 2, 2, 2, 24, 183, 3, 2, 2, 2, 26, 199, 3, 2, 2, 2, 28, 201, 3, 2, 2, 2, 30, 204, 3, 2, 2, 2, 32, 206, 3, 2, 2, 2, 34, 233, 3, 2, 2, 2, 36, 235, 3, 2, 2, 2, 38, 247, 3, 2, 2, 2, 40, 252, 3, 2, 2, 2, 42, 255, 3, 2, 2, 2, 44, 259, 3, 2, 2, 2, 46, 268, 3, 2, 2, 2, 48, 272, 3, 2, 2, 2, 50, 283, 3, 2, 2, 2, 52, 287, 3, 2, 2, 2, 54, 291, 3, 2, 2, 2, 56, 300, 3, 2, 2, 2, 58, 307, 3, 2, 2, 2, 60, 312, 3, 2, 2, 2, 62, 314, 3, 2, 2, 2, 64, 332, 3, 2, 2, 2, 66, 334, 3, 2, 2, 2, 68, 345, 3, 2, 2, 2, 70, 348, 3, 2, 2, 2, 72, 351, 3, 2, 2, 2, 74, 357, 3, 2, 2, 2, 76, 359, 3, 2, 2, 2, 78, 361, 3, 2, 2, 2, 80, 369, 3, 2, 2, 2, 82, 371, 3, 2, 2, 2, 84, 374, 3, 2, 2, 2, 86, 378, 3, 2, 2, 2, 88, 382, 3, 2, 2, 2, 90, 384, 3, 2, 2, 2, 92, 386, 3, 2, 2, 2, 94, 388, 3, 2, 2, 2, 96, 390, 3, 2, 2, 2, 98, 399, 3, 2, 2, 2, 100, 401, 3, 2, 2, 2, 102, 104, 5, 4, 3, 2, 103, 102, 3, 2, 2, 2, 104, 105, 3, 2, 2, 2, 105, 103, 3, 2, 2, 2, 105, 106, 3, 2, 2, 2, 106, 107, 3, 2, 2, 2, 107, 108, 7, 2, 2, 3, 108, 3, 3, 2, 2, 2, 109, 110, 5, 6, 4, 2, 110, 111, 7, 3, 2, 2, 111, 115, 3, 2, 2, 2, 112, 115, 5, 16, 9, 2, 113, 115, 5, 24, 13, 2, 114, 109, 3, 2, 2, 2, 114, 112, 3, 2, 2, 2, 114, 113, 3, 2, 2, 2, 115, 5, 3, 2, 2, 2, 116, 117, 7, 4, 2, 2, 117, 118, 5, 8, 5, 2, 118, 7, 3, 2, 2, 2, 119, 120, 5, 90, 46, 2, 120, 121, 7, 5, 2, 2, 121, 122, 5, 12, 7, 2, 122, 125, 3, 2, 2, 2, 123, 124, 7, 6, 2, 2, 124, 126, 5, 56, 29, 2, 125, 123, 3, 2, 2, 2, 125, 126, 3, 2, 2, 2, 126, 9, 3, 2, 2, 2, 127, 128, 5, 90, 46, 2, 128, 129, 7, 5, 2, 2, 129, 130, 5, 12, 7, 2, 130, 131, 3, 2, 2, 2, 131, 132, 7, 6, 2, 2, 132, 133, 5, 56, 29, 2, 133, 11, 3, 2, 2, 2, 134, 138, 5, 92, 47, 2, 135, 137, 5, 14, 8, 2, 136, 135, 3, 2, 2, 2, 137, 140, 3, 2, 2, 2, 138, 136, 3, 2, 2, 2, 138, 139, 3, 2, 2, 2, 139, 13, 3, 2, 2, 2, 140, 138, 3, 2, 2, 2, 141, 148, 7, 7, 2, 2, 142, 144, 7, 8, 2, 2, 143, 145, 7, 58, 2, 2, 144, 143, 3, 2, 2, 2, 144, 145, 3, 2, 2, 2, 145, 146, 3, 2, 2, 2, 146, 148, 7, 9, 2, 2, 147, 141, 3, 2, 2, 2, 147, 142, 3, 2, 2, 2, 148, 15, 3, 2, 2, 2, 149, 150, 7, 10, 2, 2, 150, 151, 5, 18, 10, 2, 151, 17, 3, 2, 2, 2, 152, 154, 5, 88, 45, 2, 153, 155, 5, 32, 17, 2, 154, 153, 3, 2, 2, 2, 154, 155, 3, 2, 2, 2, 155, 156, 3, 2, 2, 2, 156, 157, 7, 11, 2, 2, 157, 158, 5, 20, 11, 2, 158, 159, 7, 12, 2, 2, 159, 160, 7, 5, 2, 2, 160, 161, 5, 12, 7, 2, 161, 162, 3, 2, 2, 2, 162, 163, 5, 22, 12, 2, 163, 19, 3, 2, 2, 2, 164, 169, 5, 8, 5, 2, 165, 166, 7, 13, 2, 2, 166, 168, 5, 8, 5, 2, 167, 165, 3, 2, 2, 2, 168, 171, 3, 2, 2, 2, 169, 167, 3, 2, 2, 2, 169, 170, 3, 2, 2, 2, 170, 173, 3, 2, 2, 2, 171, 169, 3, 2, 2, 2, 172, 164, 3, 2, 2, 2, 172, 173, 3, 2, 2, 2, 173, 21, 3, 2, 2, 2, 174, 178, 7, 14, 2, 2, 175, 177, 5, 34, 18, 2, 176, 175, 3, 2, 2, 2, 177, 180, 3, 2, 2, 2, 178, 176, 3, 2, 2, 2, 178, 179, 3, 2, 2, 2, 179, 181, 3, 2, 2, 2, 180, 178, 3, 2, 2, 2, 181, 182, 7, 15, 2, 2, 182, 23, 3, 2, 2, 2, 183, 184, 7, 16, 2, 2, 184, 186, 5, 94, 48, 2, 185, 187, 5, 32, 17, 2, 186, 185, 3, 2, 2, 2, 186, 187, 3, 2, 2, 2, 187, 188, 3, 2, 2, 2, 188, 192, 7, 14, 2, 2, 189, 191, 5, 26, 14, 2, 190, 189, 3, 2, 2, 2, 191, 194, 3, 2, 2, 2, 192, 190, 3, 2, 2, 2, 192, 193, 3, 2, 2, 2, 193, 195, 3, 2, 2, 2, 194, 192, 3, 2, 2, 2, 195, 196, 7, 15, 2, 2, 196, 25, 3, 2, 2, 2, 197, 200, 5, 28, 15, 2, 198, 200, 5, 30, 16, 2, 199, 197, 3, 2, 2, 2, 199, 198, 3, 2, 2, 2, 200, 27, 3, 2, 2, 2, 201, 202, 5, 8, 5, 2, 202, 203, 7, 3, 2, 2, 203, 29, 3, 2, 2, 2, 204, 205, 5, 18, 10, 2, 205, 31, 3, 2, 2, 2, 206, 207, 7, 17, 2, 2, 207, 212, 5, 92, 47, 2, 208, 209, 7, 13, 2, 2, 209, 211, 5, 92, 47, 2, 210, 208, 3, 2, 2, 2, 211, 214, 3, 2, 2, 2, 212, 210, 3, 2, 2, 2, 212, 213, 3, 2, 2, 2, 213, 215, 3, 2, 2, 2, 214, 212, 3, 2, 2, 2, 215, 216, 7, 18, 2, 2, 216, 33, 3, 2, 2, 2, 217, 218, 5, 6, 4, 2, 218, 219, 7, 3, 2, 2, 219, 234, 3, 2, 2, 2, 220, 234, 5, 36, 19, 2, 221, 234, 5, 42, 22, 2, 222, 234, 5, 48, 25, 2, 223, 234, 5, 50, 26, 2, 224, 225, 5, 52, 27, 2, 225, 226, 7, 3, 2, 2, 226, 234, 3, 2, 2, 2, 227, 228, 5, 54, 28, 2, 228, 229, 7, 3, 2, 2, 229, 234, 3, 2, 2, 2, 230, 231, 5, 56, 29, 2, 231, 232, 7, 3, 2, 2, 232, 234, 3, 2, 2, 2, 233, 217, 3, 2, 2, 2, 233, 220, 3, 2, 2, 2, 233, 221, 3, 2, 2, 2, 233, 222, 3, 2, 2, 2, 233, 223, 3, 2, 2, 2, 233, 224, 3, 2, 2, 2, 233, 227, 3, 2, 2, 2, 233, 230, 3, 2, 2, 2, 234, 35, 3, 2, 2, 2, 235, 236, 7, 19, 2, 2, 236, 237, 5, 56, 29, 2, 237, 241, 5, 22, 12, 2, 238, 240, 5, 38, 20, 2, 239, 238, 3, 2, 2, 2, 240, 243, 3, 2, 2, 2, 241, 239, 3, 2, 2, 2, 241, 242, 3, 2, 2, 2, 242, 245, 3, 2, 2, 2, 243, 241, 3, 2, 2, 2, 244, 246, 5, 40, 21, 2, 245, 244, 3, 2, 2, 2, 245, 246, 3, 2, 2, 2, 246, 37, 3, 2, 2, 2, 247, 248, 7, 20, 2, 2, 248, 249, 7, 19, 2, 2, 249, 250, 5, 56, 29, 2, 250, 251, 5, 22, 12, 2, 251, 39, 3, 2, 2, 2, 252, 253, 7, 20, 2, 2, 253, 254, 5, 22, 12, 2, 254, 41, 3, 2, 2, 2, 255, 256, 7, 21, 2, 2, 256, 257, 5, 74, 38, 2, 257, 258, 5, 44, 23, 2, 258, 43, 3, 2, 2, 2, 259, 263, 7, 14, 2, 2, 260, 262, 5, 46, 24, 2, 261, 260, 3, 2, 2, 2, 262, 265, 3, 2, 2, 2, 263, 261, 3, 2, 2, 2, 263, 264, 3, 2, 2, 2, 264, 266, 3, 2, 2, 2, 265, 263, 3, 2, 2, 2, 266, 267, 7, 15, 2, 2, 267, 45, 3, 2, 2, 2, 268, 269, 7, 22, 2, 2, 269, 270, 5, 56, 29, 2, 270, 271, 5, 22, 12, 2, 271, 47, 3, 2, 2, 2, 272, 275, 7, 23, 2, 2, 273, 276, 5, 10, 6, 2, 274, 276, 5, 52, 27, 2, 275, 273, 3, 2, 2, 2, 275, 274, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 278, 7, 13, 2, 2, 278, 279, 5, 56, 29, 2, 279, 280, 7, 13, 2, 2, 280, 281, 5, 56, 29, 2, 281, 282, 5, 22, 12, 2, 282, 49, 3, 2, 2, 2, 283, 284, 7, 24, 2, 2, 284, 285, 5, 56, 29, 2, 285, 286, 5, 22, 12, 2, 286, 51, 3, 2, 2, 2, 287, 288, 5, 74, 38, 2, 288, 289, 7, 6, 2, 2, 289, 290, 5, 56, 29, 2, 290, 53, 3, 2, 2, 2, 291, 292, 7, 25, 2, 2, 292, 293, 5, 56, 29, 2, 293, 55, 3, 2, 2, 2, 294, 301, 5, 62, 32, 2, 295, 301, 5, 76, 39, 2, 296, 301, 5, 74, 38, 2, 297, 301, 5, 86, 44, 2, 298, 301, 5, 78, 40, 2, 299, 301, 5, 64, 33, 2, 300, 294, 3, 2, 2, 2, 300, 295, 3, 2, 2, 2, 300, 296, 3, 2, 2, 2, 300, 297, 3, 2, 2, 2, 300, 298, 3, 2, 2, 2, 300, 299, 3, 2, 2, 2, 301, 57, 3, 2, 2, 2, 302, 308, 5, 62, 32, 2, 303, 308, 5, 76, 39, 2, 304, 308, 5, 74, 38, 2, 305, 308, 5, 86, 44, 2, 306, 308, 5, 78, 40, 2, 307, 302, 3, 2, 2, 2, 307, 303, 3, 2, 2, 2, 307, 304, 3, 2, 2, 2, 307, 305, 3, 2, 2, 2, 307, 306, 3, 2, 2, 2, 308, 59, 3, 2, 2, 2, 309, 313, 5, 62, 32, 2, 310, 313, 5, 74, 38, 2, 311, 313, 5, 86, 44, 2, 312, 309, 3, 2, 2, 2, 312, 310, 3, 2, 2, 2, 312, 311, 3, 2, 2, 2, 313, 61, 3, 2, 2, 2, 314, 315, 5, 88, 45, 2, 315, 324, 7, 11, 2, 2, 316, 321, 5, 56, 29, 2, 317, 318, 7, 13, 2, 2, 318, 320, 5, 56, 29, 2, 319, 317, 3, 2, 2, 2, 320, 323, 3, 2, 2, 2, 321, 319, 3, 2, 2, 2, 321, 322, 3, 2, 2, 2, 322, 325, 3, 2, 2, 2, 323, 321, 3, 2, 2, 2, 324, 316, 3, 2, 2, 2, 324, 325, 3, 2, 2, 2, 325, 326, 3, 2, 2, 2, 326, 327, 7, 12, 2, 2, 327, 63, 3, 2, 2, 2, 328, 333, 5, 66, 34, 2, 329, 333, 5, 68, 35, 2, 330, 333, 5, 70, 36, 2, 331, 333, 5, 72, 37, 2, 332, 328, 3, 2, 2, 2, 332, 329, 3, 2, 2, 2, 332, 330, 3, 2, 2, 2, 332, 331, 3, 2, 2, 2, 333, 65, 3, 2, 2, 2, 334, 335, 5, 58, 30, 2, 335, 336, 5, 100, 51, 2, 336, 342, 5, 58, 30, 2, 337, 338, 5, 100, 51, 2, 338, 339, 5, 58, 30, 2, 339, 341, 3, 2, 2, 2, 340, 337, 3, 2, 2, 2, 341, 344, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 67, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 345, 346, 5, 98, 50, 2, 346, 347, 5, 58, 30, 2, 347, 69, 3, 2, 2, 2, 348, 349, 5, 58, 30, 2, 349, 350, 5, 96, 49, 2, 350, 71, 3, 2, 2, 2, 351, 352, 5, 58, 30, 2, 352, 353, 7, 26, 2, 2, 353, 354, 5, 56, 29, 2, 354, 355, 7, 5, 2, 2, 355, 356, 5, 56, 29, 2, 356, 73, 3, 2, 2, 2, 357, 358, 5, 90, 46, 2, 358, 75, 3, 2, 2, 2, 359, 360, 9, 2, 2, 2, 360, 77, 3, 2, 2, 2, 361, 363, 5, 60, 31, 2, 362, 364, 5, 80, 41, 2, 363, 362, 3, 2, 2, 2, 364, 365, 3, 2, 2, 2, 365, 363, 3, 2, 2, 2, 365, 366, 3, 2, 2, 2, 366, 79, 3, 2, 2, 2, 367, 370, 5, 82, 42, 2, 368, 370, 5, 84, 43, 2, 369, 367, 3, 2, 2, 2, 369, 368, 3, 2, 2, 2, 370, 81, 3, 2, 2, 2, 371, 372, 9, 3, 2, 2, 372, 373, 5, 74, 38, 2, 373, 83, 3, 2, 2, 2, 374, 375, 7, 8, 2, 2, 375, 376, 5, 56, 29, 2, 376, 377, 7, 9, 2, 2, 377, 85, 3, 2, 2, 2, 378, 379, 7, 11, 2, 2, 379, 380, 5, 56, 29, 2, 380, 381, 7, 12, 2, 2, 381, 87, 3, 2, 2, 2, 382, 383, 7, 62, 2, 2, 383, 89, 3, 2, 2, 2, 384, 385, 7, 62, 2, 2, 385, 91, 3, 2, 2, 2, 386, 387, 7, 62, 2, 2, 387, 93, 3, 2, 2, 2, 388, 389, 7, 62, 2, 2, 389, 95, 3, 2, 2, 2, 390, 391, 9, 4, 2, 2, 391, 97, 3, 2, 2, 2, 392, 400, 7, 31, 2, 2, 393, 400, 7, 32, 2, 2, 394, 400, 7, 33, 2, 2, 395, 400, 7, 34, 2, 2, 396, 400, 7, 35, 2, 2, 397, 400, 7, 7, 2, 2, 398, 400, 5, 96, 49, 2, 399, 392, 3, 2, 2, 2, 399, 393, 3, 2, 2, 2, 399, 394, 3, 2, 2, 2, 399, 395, 3, 2, 2, 2, 399, 396, 3, 2, 2, 2, 399, 397, 3, 2, 2, 2, 399, 398, 3, 2, 2, 2, 400, 99, 3, 2, 2, 2, 401, 402, 9, 5, 2, 2, 402, 101, 3, 2, 2, 2, 31, 105, 114, 125, 138, 144, 147, 154, 169, 172, 178, 186, 192, 199, 212, 233, 241, 245, 263, 275, 300, 307, 312, 321, 324, 332, 342, 365, 369, 399] \ No newline at end of file +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 66, 425, 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, 3, 2, 6, 2, 108, 10, 2, 13, 2, 14, 2, 109, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 120, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 7, 4, 126, 10, 4, 12, 4, 14, 4, 129, 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, 142, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 7, 8, 153, 10, 8, 12, 8, 14, 8, 156, 11, 8, 3, 9, 3, 9, 3, 9, 5, 9, 161, 10, 9, 3, 9, 5, 9, 164, 10, 9, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 5, 11, 171, 10, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 7, 12, 184, 10, 12, 12, 12, 14, 12, 187, 11, 12, 5, 12, 189, 10, 12, 3, 13, 3, 13, 7, 13, 193, 10, 13, 12, 13, 14, 13, 196, 11, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 5, 14, 203, 10, 14, 3, 14, 3, 14, 7, 14, 207, 10, 14, 12, 14, 14, 14, 210, 11, 14, 3, 14, 3, 14, 3, 15, 5, 15, 215, 10, 15, 3, 15, 3, 15, 5, 15, 219, 10, 15, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 7, 19, 232, 10, 19, 12, 19, 14, 19, 235, 11, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 5, 20, 255, 10, 20, 3, 21, 3, 21, 3, 21, 3, 21, 7, 21, 261, 10, 21, 12, 21, 14, 21, 264, 11, 21, 3, 21, 5, 21, 267, 10, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 7, 25, 283, 10, 25, 12, 25, 14, 25, 286, 11, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 5, 27, 297, 10, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 322, 10, 31, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 5, 32, 329, 10, 32, 3, 33, 3, 33, 3, 33, 5, 33, 334, 10, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 7, 34, 341, 10, 34, 12, 34, 14, 34, 344, 11, 34, 5, 34, 346, 10, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 35, 5, 35, 354, 10, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 362, 10, 36, 12, 36, 14, 36, 365, 11, 36, 3, 37, 3, 37, 3, 37, 3, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 41, 3, 41, 3, 42, 3, 42, 6, 42, 385, 10, 42, 13, 42, 14, 42, 386, 3, 43, 3, 43, 5, 43, 391, 10, 43, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 48, 3, 48, 3, 49, 3, 49, 3, 50, 3, 50, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 5, 52, 421, 10, 52, 3, 53, 3, 53, 3, 53, 2, 2, 54, 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, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 2, 6, 3, 2, 60, 63, 3, 2, 29, 30, 3, 2, 31, 32, 6, 2, 10, 10, 19, 20, 33, 34, 37, 59, 2, 426, 2, 107, 3, 2, 2, 2, 4, 119, 3, 2, 2, 2, 6, 121, 3, 2, 2, 2, 8, 132, 3, 2, 2, 2, 10, 135, 3, 2, 2, 2, 12, 143, 3, 2, 2, 2, 14, 150, 3, 2, 2, 2, 16, 163, 3, 2, 2, 2, 18, 165, 3, 2, 2, 2, 20, 168, 3, 2, 2, 2, 22, 188, 3, 2, 2, 2, 24, 190, 3, 2, 2, 2, 26, 199, 3, 2, 2, 2, 28, 218, 3, 2, 2, 2, 30, 220, 3, 2, 2, 2, 32, 223, 3, 2, 2, 2, 34, 225, 3, 2, 2, 2, 36, 227, 3, 2, 2, 2, 38, 254, 3, 2, 2, 2, 40, 256, 3, 2, 2, 2, 42, 268, 3, 2, 2, 2, 44, 273, 3, 2, 2, 2, 46, 276, 3, 2, 2, 2, 48, 280, 3, 2, 2, 2, 50, 289, 3, 2, 2, 2, 52, 293, 3, 2, 2, 2, 54, 304, 3, 2, 2, 2, 56, 308, 3, 2, 2, 2, 58, 312, 3, 2, 2, 2, 60, 321, 3, 2, 2, 2, 62, 328, 3, 2, 2, 2, 64, 333, 3, 2, 2, 2, 66, 335, 3, 2, 2, 2, 68, 353, 3, 2, 2, 2, 70, 355, 3, 2, 2, 2, 72, 366, 3, 2, 2, 2, 74, 369, 3, 2, 2, 2, 76, 372, 3, 2, 2, 2, 78, 378, 3, 2, 2, 2, 80, 380, 3, 2, 2, 2, 82, 382, 3, 2, 2, 2, 84, 390, 3, 2, 2, 2, 86, 392, 3, 2, 2, 2, 88, 395, 3, 2, 2, 2, 90, 399, 3, 2, 2, 2, 92, 403, 3, 2, 2, 2, 94, 405, 3, 2, 2, 2, 96, 407, 3, 2, 2, 2, 98, 409, 3, 2, 2, 2, 100, 411, 3, 2, 2, 2, 102, 420, 3, 2, 2, 2, 104, 422, 3, 2, 2, 2, 106, 108, 5, 4, 3, 2, 107, 106, 3, 2, 2, 2, 108, 109, 3, 2, 2, 2, 109, 107, 3, 2, 2, 2, 109, 110, 3, 2, 2, 2, 110, 111, 3, 2, 2, 2, 111, 112, 7, 2, 2, 3, 112, 3, 3, 2, 2, 2, 113, 114, 5, 8, 5, 2, 114, 115, 7, 3, 2, 2, 115, 120, 3, 2, 2, 2, 116, 120, 5, 18, 10, 2, 117, 120, 5, 26, 14, 2, 118, 120, 5, 6, 4, 2, 119, 113, 3, 2, 2, 2, 119, 116, 3, 2, 2, 2, 119, 117, 3, 2, 2, 2, 119, 118, 3, 2, 2, 2, 120, 5, 3, 2, 2, 2, 121, 122, 7, 4, 2, 2, 122, 123, 5, 96, 49, 2, 123, 127, 7, 5, 2, 2, 124, 126, 5, 4, 3, 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, 131, 7, 6, 2, 2, 131, 7, 3, 2, 2, 2, 132, 133, 7, 7, 2, 2, 133, 134, 5, 10, 6, 2, 134, 9, 3, 2, 2, 2, 135, 136, 5, 94, 48, 2, 136, 137, 7, 8, 2, 2, 137, 138, 5, 14, 8, 2, 138, 141, 3, 2, 2, 2, 139, 140, 7, 9, 2, 2, 140, 142, 5, 60, 31, 2, 141, 139, 3, 2, 2, 2, 141, 142, 3, 2, 2, 2, 142, 11, 3, 2, 2, 2, 143, 144, 5, 94, 48, 2, 144, 145, 7, 8, 2, 2, 145, 146, 5, 14, 8, 2, 146, 147, 3, 2, 2, 2, 147, 148, 7, 9, 2, 2, 148, 149, 5, 60, 31, 2, 149, 13, 3, 2, 2, 2, 150, 154, 5, 96, 49, 2, 151, 153, 5, 16, 9, 2, 152, 151, 3, 2, 2, 2, 153, 156, 3, 2, 2, 2, 154, 152, 3, 2, 2, 2, 154, 155, 3, 2, 2, 2, 155, 15, 3, 2, 2, 2, 156, 154, 3, 2, 2, 2, 157, 164, 7, 10, 2, 2, 158, 160, 7, 11, 2, 2, 159, 161, 7, 60, 2, 2, 160, 159, 3, 2, 2, 2, 160, 161, 3, 2, 2, 2, 161, 162, 3, 2, 2, 2, 162, 164, 7, 12, 2, 2, 163, 157, 3, 2, 2, 2, 163, 158, 3, 2, 2, 2, 164, 17, 3, 2, 2, 2, 165, 166, 7, 13, 2, 2, 166, 167, 5, 20, 11, 2, 167, 19, 3, 2, 2, 2, 168, 170, 5, 92, 47, 2, 169, 171, 5, 36, 19, 2, 170, 169, 3, 2, 2, 2, 170, 171, 3, 2, 2, 2, 171, 172, 3, 2, 2, 2, 172, 173, 7, 14, 2, 2, 173, 174, 5, 22, 12, 2, 174, 175, 7, 15, 2, 2, 175, 176, 7, 8, 2, 2, 176, 177, 5, 14, 8, 2, 177, 178, 3, 2, 2, 2, 178, 179, 5, 24, 13, 2, 179, 21, 3, 2, 2, 2, 180, 185, 5, 10, 6, 2, 181, 182, 7, 16, 2, 2, 182, 184, 5, 10, 6, 2, 183, 181, 3, 2, 2, 2, 184, 187, 3, 2, 2, 2, 185, 183, 3, 2, 2, 2, 185, 186, 3, 2, 2, 2, 186, 189, 3, 2, 2, 2, 187, 185, 3, 2, 2, 2, 188, 180, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 23, 3, 2, 2, 2, 190, 194, 7, 5, 2, 2, 191, 193, 5, 38, 20, 2, 192, 191, 3, 2, 2, 2, 193, 196, 3, 2, 2, 2, 194, 192, 3, 2, 2, 2, 194, 195, 3, 2, 2, 2, 195, 197, 3, 2, 2, 2, 196, 194, 3, 2, 2, 2, 197, 198, 7, 6, 2, 2, 198, 25, 3, 2, 2, 2, 199, 200, 7, 17, 2, 2, 200, 202, 5, 98, 50, 2, 201, 203, 5, 36, 19, 2, 202, 201, 3, 2, 2, 2, 202, 203, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 208, 7, 5, 2, 2, 205, 207, 5, 28, 15, 2, 206, 205, 3, 2, 2, 2, 207, 210, 3, 2, 2, 2, 208, 206, 3, 2, 2, 2, 208, 209, 3, 2, 2, 2, 209, 211, 3, 2, 2, 2, 210, 208, 3, 2, 2, 2, 211, 212, 7, 6, 2, 2, 212, 27, 3, 2, 2, 2, 213, 215, 5, 34, 18, 2, 214, 213, 3, 2, 2, 2, 214, 215, 3, 2, 2, 2, 215, 216, 3, 2, 2, 2, 216, 219, 5, 30, 16, 2, 217, 219, 5, 32, 17, 2, 218, 214, 3, 2, 2, 2, 218, 217, 3, 2, 2, 2, 219, 29, 3, 2, 2, 2, 220, 221, 5, 10, 6, 2, 221, 222, 7, 3, 2, 2, 222, 31, 3, 2, 2, 2, 223, 224, 5, 20, 11, 2, 224, 33, 3, 2, 2, 2, 225, 226, 7, 18, 2, 2, 226, 35, 3, 2, 2, 2, 227, 228, 7, 19, 2, 2, 228, 233, 5, 96, 49, 2, 229, 230, 7, 16, 2, 2, 230, 232, 5, 96, 49, 2, 231, 229, 3, 2, 2, 2, 232, 235, 3, 2, 2, 2, 233, 231, 3, 2, 2, 2, 233, 234, 3, 2, 2, 2, 234, 236, 3, 2, 2, 2, 235, 233, 3, 2, 2, 2, 236, 237, 7, 20, 2, 2, 237, 37, 3, 2, 2, 2, 238, 239, 5, 8, 5, 2, 239, 240, 7, 3, 2, 2, 240, 255, 3, 2, 2, 2, 241, 255, 5, 40, 21, 2, 242, 255, 5, 46, 24, 2, 243, 255, 5, 52, 27, 2, 244, 255, 5, 54, 28, 2, 245, 246, 5, 56, 29, 2, 246, 247, 7, 3, 2, 2, 247, 255, 3, 2, 2, 2, 248, 249, 5, 58, 30, 2, 249, 250, 7, 3, 2, 2, 250, 255, 3, 2, 2, 2, 251, 252, 5, 60, 31, 2, 252, 253, 7, 3, 2, 2, 253, 255, 3, 2, 2, 2, 254, 238, 3, 2, 2, 2, 254, 241, 3, 2, 2, 2, 254, 242, 3, 2, 2, 2, 254, 243, 3, 2, 2, 2, 254, 244, 3, 2, 2, 2, 254, 245, 3, 2, 2, 2, 254, 248, 3, 2, 2, 2, 254, 251, 3, 2, 2, 2, 255, 39, 3, 2, 2, 2, 256, 257, 7, 21, 2, 2, 257, 258, 5, 60, 31, 2, 258, 262, 5, 24, 13, 2, 259, 261, 5, 42, 22, 2, 260, 259, 3, 2, 2, 2, 261, 264, 3, 2, 2, 2, 262, 260, 3, 2, 2, 2, 262, 263, 3, 2, 2, 2, 263, 266, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 265, 267, 5, 44, 23, 2, 266, 265, 3, 2, 2, 2, 266, 267, 3, 2, 2, 2, 267, 41, 3, 2, 2, 2, 268, 269, 7, 22, 2, 2, 269, 270, 7, 21, 2, 2, 270, 271, 5, 60, 31, 2, 271, 272, 5, 24, 13, 2, 272, 43, 3, 2, 2, 2, 273, 274, 7, 22, 2, 2, 274, 275, 5, 24, 13, 2, 275, 45, 3, 2, 2, 2, 276, 277, 7, 23, 2, 2, 277, 278, 5, 78, 40, 2, 278, 279, 5, 48, 25, 2, 279, 47, 3, 2, 2, 2, 280, 284, 7, 5, 2, 2, 281, 283, 5, 50, 26, 2, 282, 281, 3, 2, 2, 2, 283, 286, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2, 285, 287, 3, 2, 2, 2, 286, 284, 3, 2, 2, 2, 287, 288, 7, 6, 2, 2, 288, 49, 3, 2, 2, 2, 289, 290, 7, 24, 2, 2, 290, 291, 5, 60, 31, 2, 291, 292, 5, 24, 13, 2, 292, 51, 3, 2, 2, 2, 293, 296, 7, 25, 2, 2, 294, 297, 5, 12, 7, 2, 295, 297, 5, 56, 29, 2, 296, 294, 3, 2, 2, 2, 296, 295, 3, 2, 2, 2, 297, 298, 3, 2, 2, 2, 298, 299, 7, 16, 2, 2, 299, 300, 5, 60, 31, 2, 300, 301, 7, 16, 2, 2, 301, 302, 5, 60, 31, 2, 302, 303, 5, 24, 13, 2, 303, 53, 3, 2, 2, 2, 304, 305, 7, 26, 2, 2, 305, 306, 5, 60, 31, 2, 306, 307, 5, 24, 13, 2, 307, 55, 3, 2, 2, 2, 308, 309, 5, 78, 40, 2, 309, 310, 7, 9, 2, 2, 310, 311, 5, 60, 31, 2, 311, 57, 3, 2, 2, 2, 312, 313, 7, 27, 2, 2, 313, 314, 5, 60, 31, 2, 314, 59, 3, 2, 2, 2, 315, 322, 5, 66, 34, 2, 316, 322, 5, 80, 41, 2, 317, 322, 5, 78, 40, 2, 318, 322, 5, 90, 46, 2, 319, 322, 5, 82, 42, 2, 320, 322, 5, 68, 35, 2, 321, 315, 3, 2, 2, 2, 321, 316, 3, 2, 2, 2, 321, 317, 3, 2, 2, 2, 321, 318, 3, 2, 2, 2, 321, 319, 3, 2, 2, 2, 321, 320, 3, 2, 2, 2, 322, 61, 3, 2, 2, 2, 323, 329, 5, 66, 34, 2, 324, 329, 5, 80, 41, 2, 325, 329, 5, 78, 40, 2, 326, 329, 5, 90, 46, 2, 327, 329, 5, 82, 42, 2, 328, 323, 3, 2, 2, 2, 328, 324, 3, 2, 2, 2, 328, 325, 3, 2, 2, 2, 328, 326, 3, 2, 2, 2, 328, 327, 3, 2, 2, 2, 329, 63, 3, 2, 2, 2, 330, 334, 5, 66, 34, 2, 331, 334, 5, 78, 40, 2, 332, 334, 5, 90, 46, 2, 333, 330, 3, 2, 2, 2, 333, 331, 3, 2, 2, 2, 333, 332, 3, 2, 2, 2, 334, 65, 3, 2, 2, 2, 335, 336, 5, 92, 47, 2, 336, 345, 7, 14, 2, 2, 337, 342, 5, 60, 31, 2, 338, 339, 7, 16, 2, 2, 339, 341, 5, 60, 31, 2, 340, 338, 3, 2, 2, 2, 341, 344, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 346, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 345, 337, 3, 2, 2, 2, 345, 346, 3, 2, 2, 2, 346, 347, 3, 2, 2, 2, 347, 348, 7, 15, 2, 2, 348, 67, 3, 2, 2, 2, 349, 354, 5, 70, 36, 2, 350, 354, 5, 72, 37, 2, 351, 354, 5, 74, 38, 2, 352, 354, 5, 76, 39, 2, 353, 349, 3, 2, 2, 2, 353, 350, 3, 2, 2, 2, 353, 351, 3, 2, 2, 2, 353, 352, 3, 2, 2, 2, 354, 69, 3, 2, 2, 2, 355, 356, 5, 62, 32, 2, 356, 357, 5, 104, 53, 2, 357, 363, 5, 62, 32, 2, 358, 359, 5, 104, 53, 2, 359, 360, 5, 62, 32, 2, 360, 362, 3, 2, 2, 2, 361, 358, 3, 2, 2, 2, 362, 365, 3, 2, 2, 2, 363, 361, 3, 2, 2, 2, 363, 364, 3, 2, 2, 2, 364, 71, 3, 2, 2, 2, 365, 363, 3, 2, 2, 2, 366, 367, 5, 102, 52, 2, 367, 368, 5, 62, 32, 2, 368, 73, 3, 2, 2, 2, 369, 370, 5, 62, 32, 2, 370, 371, 5, 100, 51, 2, 371, 75, 3, 2, 2, 2, 372, 373, 5, 62, 32, 2, 373, 374, 7, 28, 2, 2, 374, 375, 5, 60, 31, 2, 375, 376, 7, 8, 2, 2, 376, 377, 5, 60, 31, 2, 377, 77, 3, 2, 2, 2, 378, 379, 5, 94, 48, 2, 379, 79, 3, 2, 2, 2, 380, 381, 9, 2, 2, 2, 381, 81, 3, 2, 2, 2, 382, 384, 5, 64, 33, 2, 383, 385, 5, 84, 43, 2, 384, 383, 3, 2, 2, 2, 385, 386, 3, 2, 2, 2, 386, 384, 3, 2, 2, 2, 386, 387, 3, 2, 2, 2, 387, 83, 3, 2, 2, 2, 388, 391, 5, 86, 44, 2, 389, 391, 5, 88, 45, 2, 390, 388, 3, 2, 2, 2, 390, 389, 3, 2, 2, 2, 391, 85, 3, 2, 2, 2, 392, 393, 9, 3, 2, 2, 393, 394, 5, 78, 40, 2, 394, 87, 3, 2, 2, 2, 395, 396, 7, 11, 2, 2, 396, 397, 5, 60, 31, 2, 397, 398, 7, 12, 2, 2, 398, 89, 3, 2, 2, 2, 399, 400, 7, 14, 2, 2, 400, 401, 5, 60, 31, 2, 401, 402, 7, 15, 2, 2, 402, 91, 3, 2, 2, 2, 403, 404, 7, 64, 2, 2, 404, 93, 3, 2, 2, 2, 405, 406, 7, 64, 2, 2, 406, 95, 3, 2, 2, 2, 407, 408, 7, 64, 2, 2, 408, 97, 3, 2, 2, 2, 409, 410, 7, 64, 2, 2, 410, 99, 3, 2, 2, 2, 411, 412, 9, 4, 2, 2, 412, 101, 3, 2, 2, 2, 413, 421, 7, 33, 2, 2, 414, 421, 7, 34, 2, 2, 415, 421, 7, 35, 2, 2, 416, 421, 7, 36, 2, 2, 417, 421, 7, 37, 2, 2, 418, 421, 7, 10, 2, 2, 419, 421, 5, 100, 51, 2, 420, 413, 3, 2, 2, 2, 420, 414, 3, 2, 2, 2, 420, 415, 3, 2, 2, 2, 420, 416, 3, 2, 2, 2, 420, 417, 3, 2, 2, 2, 420, 418, 3, 2, 2, 2, 420, 419, 3, 2, 2, 2, 421, 103, 3, 2, 2, 2, 422, 423, 9, 5, 2, 2, 423, 105, 3, 2, 2, 2, 33, 109, 119, 127, 141, 154, 160, 163, 170, 185, 188, 194, 202, 208, 214, 218, 233, 254, 262, 266, 284, 296, 321, 328, 333, 342, 345, 353, 363, 386, 390, 420] \ No newline at end of file diff --git a/gen/Toc.tokens b/gen/Toc.tokens index 090c12d..ca9564e 100644 --- a/gen/Toc.tokens +++ b/gen/Toc.tokens @@ -53,65 +53,69 @@ T__51=52 T__52=53 T__53=54 T__54=55 -INT_LIT=56 -DECIMAL_LIT=57 -STRING_LIT=58 -BOOL_LIT=59 -NAME=60 -WS=61 -NEWLINE=62 +T__55=56 +T__56=57 +INT_LIT=58 +DECIMAL_LIT=59 +STRING_LIT=60 +BOOL_LIT=61 +NAME=62 +WS=63 +NEWLINE=64 ';'=1 -'var'=2 -':'=3 -'='=4 -'*'=5 -'['=6 -']'=7 -'func'=8 -'('=9 -')'=10 -','=11 -'{'=12 -'}'=13 -'struct'=14 -'<'=15 -'>'=16 -'if'=17 -'else'=18 -'switch'=19 -'case'=20 -'for'=21 -'while'=22 -'return'=23 -'?'=24 -'.'=25 -'->'=26 -'++'=27 -'--'=28 -'+'=29 -'-'=30 -'!'=31 -'~'=32 -'&'=33 -'/'=34 -'%'=35 -'|'=36 -'^'=37 -'=='=38 -'!='=39 -'<='=40 -'>='=41 -'<<'=42 -'>>'=43 -'||'=44 -'&&'=45 -'&='=46 -'|='=47 -'^='=48 -'<<='=49 -'>>='=50 -'+='=51 -'-='=52 -'*='=53 -'/='=54 -'%='=55 +'namespace'=2 +'{'=3 +'}'=4 +'var'=5 +':'=6 +'='=7 +'*'=8 +'['=9 +']'=10 +'func'=11 +'('=12 +')'=13 +','=14 +'struct'=15 +'private'=16 +'<'=17 +'>'=18 +'if'=19 +'else'=20 +'switch'=21 +'case'=22 +'for'=23 +'while'=24 +'return'=25 +'?'=26 +'.'=27 +'->'=28 +'++'=29 +'--'=30 +'+'=31 +'-'=32 +'!'=33 +'~'=34 +'&'=35 +'/'=36 +'%'=37 +'|'=38 +'^'=39 +'=='=40 +'!='=41 +'<='=42 +'>='=43 +'<<'=44 +'>>'=45 +'||'=46 +'&&'=47 +'&='=48 +'|='=49 +'^='=50 +'<<='=51 +'>>='=52 +'+='=53 +'-='=54 +'*='=55 +'/='=56 +'%='=57 diff --git a/gen/TocLexer.cpp b/gen/TocLexer.cpp index 65263d2..ddc9970 100644 --- a/gen/TocLexer.cpp +++ b/gen/TocLexer.cpp @@ -66,8 +66,8 @@ std::vector TocLexer::_ruleNames = { "T__25", "T__26", "T__27", "T__28", "T__29", "T__30", "T__31", "T__32", "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", "INT_LIT", "DECIMAL_LIT", - "STRING_LIT", "BOOL_LIT", "NAME", "WS", "NEWLINE" + "T__49", "T__50", "T__51", "T__52", "T__53", "T__54", "T__55", "T__56", + "INT_LIT", "DECIMAL_LIT", "STRING_LIT", "BOOL_LIT", "NAME", "WS", "NEWLINE" }; std::vector TocLexer::_channelNames = { @@ -79,21 +79,21 @@ std::vector TocLexer::_modeNames = { }; std::vector TocLexer::_literalNames = { - "", "';'", "'var'", "':'", "'='", "'*'", "'['", "']'", "'func'", "'('", - "')'", "','", "'{'", "'}'", "'struct'", "'<'", "'>'", "'if'", "'else'", - "'switch'", "'case'", "'for'", "'while'", "'return'", "'\u003F'", "'.'", - "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", "'~'", "'&'", "'/'", "'%'", - "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", "'<<'", "'>>'", "'||'", - "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", "'+='", "'-='", "'*='", - "'/='", "'%='" + "", "';'", "'namespace'", "'{'", "'}'", "'var'", "':'", "'='", "'*'", + "'['", "']'", "'func'", "'('", "')'", "','", "'struct'", "'private'", + "'<'", "'>'", "'if'", "'else'", "'switch'", "'case'", "'for'", "'while'", + "'return'", "'\u003F'", "'.'", "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", + "'~'", "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", + "'<<'", "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", + "'+='", "'-='", "'*='", "'/='", "'%='" }; std::vector TocLexer::_symbolicNames = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "", "", "INT_LIT", "DECIMAL_LIT", "STRING_LIT", "BOOL_LIT", "NAME", "WS", - "NEWLINE" + "", "", "", "", "INT_LIT", "DECIMAL_LIT", "STRING_LIT", "BOOL_LIT", "NAME", + "WS", "NEWLINE" }; dfa::Vocabulary TocLexer::_vocabulary(_literalNames, _symbolicNames); @@ -117,7 +117,7 @@ TocLexer::Initializer::Initializer() { static const uint16_t serializedATNSegment0[] = { 0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964, - 0x2, 0x40, 0x163, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, + 0x2, 0x42, 0x179, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3,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 0x3, 0x2, - 0x2, 0x2, 0x108, 0x109, 0x7, 0x7e, 0x2, 0x2, 0x109, 0x10a, 0x7, 0x3f, - 0x2, 0x2, 0x10a, 0x60, 0x3, 0x2, 0x2, 0x2, 0x10b, 0x10c, 0x7, 0x60, - 0x2, 0x2, 0x10c, 0x10d, 0x7, 0x3f, 0x2, 0x2, 0x10d, 0x62, 0x3, 0x2, - 0x2, 0x2, 0x10e, 0x10f, 0x7, 0x3e, 0x2, 0x2, 0x10f, 0x110, 0x7, 0x3e, - 0x2, 0x2, 0x110, 0x111, 0x7, 0x3f, 0x2, 0x2, 0x111, 0x64, 0x3, 0x2, - 0x2, 0x2, 0x112, 0x113, 0x7, 0x40, 0x2, 0x2, 0x113, 0x114, 0x7, 0x40, - 0x2, 0x2, 0x114, 0x115, 0x7, 0x3f, 0x2, 0x2, 0x115, 0x66, 0x3, 0x2, - 0x2, 0x2, 0x116, 0x117, 0x7, 0x2d, 0x2, 0x2, 0x117, 0x118, 0x7, 0x3f, - 0x2, 0x2, 0x118, 0x68, 0x3, 0x2, 0x2, 0x2, 0x119, 0x11a, 0x7, 0x2f, - 0x2, 0x2, 0x11a, 0x11b, 0x7, 0x3f, 0x2, 0x2, 0x11b, 0x6a, 0x3, 0x2, - 0x2, 0x2, 0x11c, 0x11d, 0x7, 0x2c, 0x2, 0x2, 0x11d, 0x11e, 0x7, 0x3f, - 0x2, 0x2, 0x11e, 0x6c, 0x3, 0x2, 0x2, 0x2, 0x11f, 0x120, 0x7, 0x31, - 0x2, 0x2, 0x120, 0x121, 0x7, 0x3f, 0x2, 0x2, 0x121, 0x6e, 0x3, 0x2, - 0x2, 0x2, 0x122, 0x123, 0x7, 0x27, 0x2, 0x2, 0x123, 0x124, 0x7, 0x3f, - 0x2, 0x2, 0x124, 0x70, 0x3, 0x2, 0x2, 0x2, 0x125, 0x127, 0x9, 0x2, - 0x2, 0x2, 0x126, 0x125, 0x3, 0x2, 0x2, 0x2, 0x126, 0x127, 0x3, 0x2, - 0x2, 0x2, 0x127, 0x129, 0x3, 0x2, 0x2, 0x2, 0x128, 0x12a, 0x9, 0x3, - 0x2, 0x2, 0x129, 0x128, 0x3, 0x2, 0x2, 0x2, 0x12a, 0x12b, 0x3, 0x2, - 0x2, 0x2, 0x12b, 0x129, 0x3, 0x2, 0x2, 0x2, 0x12b, 0x12c, 0x3, 0x2, - 0x2, 0x2, 0x12c, 0x72, 0x3, 0x2, 0x2, 0x2, 0x12d, 0x12f, 0x9, 0x2, - 0x2, 0x2, 0x12e, 0x12d, 0x3, 0x2, 0x2, 0x2, 0x12f, 0x132, 0x3, 0x2, - 0x2, 0x2, 0x130, 0x12e, 0x3, 0x2, 0x2, 0x2, 0x130, 0x131, 0x3, 0x2, - 0x2, 0x2, 0x131, 0x134, 0x3, 0x2, 0x2, 0x2, 0x132, 0x130, 0x3, 0x2, - 0x2, 0x2, 0x133, 0x135, 0x9, 0x3, 0x2, 0x2, 0x134, 0x133, 0x3, 0x2, - 0x2, 0x2, 0x135, 0x136, 0x3, 0x2, 0x2, 0x2, 0x136, 0x134, 0x3, 0x2, - 0x2, 0x2, 0x136, 0x137, 0x3, 0x2, 0x2, 0x2, 0x137, 0x138, 0x3, 0x2, - 0x2, 0x2, 0x138, 0x13a, 0x7, 0x30, 0x2, 0x2, 0x139, 0x13b, 0x9, 0x3, - 0x2, 0x2, 0x13a, 0x139, 0x3, 0x2, 0x2, 0x2, 0x13b, 0x13c, 0x3, 0x2, - 0x2, 0x2, 0x13c, 0x13a, 0x3, 0x2, 0x2, 0x2, 0x13c, 0x13d, 0x3, 0x2, - 0x2, 0x2, 0x13d, 0x74, 0x3, 0x2, 0x2, 0x2, 0x13e, 0x142, 0x7, 0x24, - 0x2, 0x2, 0x13f, 0x141, 0x9, 0x4, 0x2, 0x2, 0x140, 0x13f, 0x3, 0x2, - 0x2, 0x2, 0x141, 0x144, 0x3, 0x2, 0x2, 0x2, 0x142, 0x140, 0x3, 0x2, - 0x2, 0x2, 0x142, 0x143, 0x3, 0x2, 0x2, 0x2, 0x143, 0x145, 0x3, 0x2, - 0x2, 0x2, 0x144, 0x142, 0x3, 0x2, 0x2, 0x2, 0x145, 0x146, 0x7, 0x24, - 0x2, 0x2, 0x146, 0x76, 0x3, 0x2, 0x2, 0x2, 0x147, 0x148, 0x7, 0x76, - 0x2, 0x2, 0x148, 0x149, 0x7, 0x74, 0x2, 0x2, 0x149, 0x14a, 0x7, 0x77, - 0x2, 0x2, 0x14a, 0x151, 0x7, 0x67, 0x2, 0x2, 0x14b, 0x14c, 0x7, 0x68, - 0x2, 0x2, 0x14c, 0x14d, 0x7, 0x63, 0x2, 0x2, 0x14d, 0x14e, 0x7, 0x6e, - 0x2, 0x2, 0x14e, 0x14f, 0x7, 0x75, 0x2, 0x2, 0x14f, 0x151, 0x7, 0x67, - 0x2, 0x2, 0x150, 0x147, 0x3, 0x2, 0x2, 0x2, 0x150, 0x14b, 0x3, 0x2, - 0x2, 0x2, 0x151, 0x78, 0x3, 0x2, 0x2, 0x2, 0x152, 0x154, 0x9, 0x5, - 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, 0x7a, 0x3, 0x2, 0x2, 0x2, 0x157, 0x159, 0x9, 0x6, - 0x2, 0x2, 0x158, 0x157, 0x3, 0x2, 0x2, 0x2, 0x159, 0x15a, 0x3, 0x2, - 0x2, 0x2, 0x15a, 0x158, 0x3, 0x2, 0x2, 0x2, 0x15a, 0x15b, 0x3, 0x2, - 0x2, 0x2, 0x15b, 0x15c, 0x3, 0x2, 0x2, 0x2, 0x15c, 0x15d, 0x8, 0x3e, - 0x2, 0x2, 0x15d, 0x7c, 0x3, 0x2, 0x2, 0x2, 0x15e, 0x160, 0x9, 0x7, - 0x2, 0x2, 0x15f, 0x15e, 0x3, 0x2, 0x2, 0x2, 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x116, 0x117, 0x7, 0x7e, 0x2, 0x2, 0x117, 0x5e, 0x3, + 0x2, 0x2, 0x2, 0x118, 0x119, 0x7, 0x28, 0x2, 0x2, 0x119, 0x11a, 0x7, + 0x28, 0x2, 0x2, 0x11a, 0x60, 0x3, 0x2, 0x2, 0x2, 0x11b, 0x11c, 0x7, + 0x28, 0x2, 0x2, 0x11c, 0x11d, 0x7, 0x3f, 0x2, 0x2, 0x11d, 0x62, 0x3, + 0x2, 0x2, 0x2, 0x11e, 0x11f, 0x7, 0x7e, 0x2, 0x2, 0x11f, 0x120, 0x7, + 0x3f, 0x2, 0x2, 0x120, 0x64, 0x3, 0x2, 0x2, 0x2, 0x121, 0x122, 0x7, + 0x60, 0x2, 0x2, 0x122, 0x123, 0x7, 0x3f, 0x2, 0x2, 0x123, 0x66, 0x3, + 0x2, 0x2, 0x2, 0x124, 0x125, 0x7, 0x3e, 0x2, 0x2, 0x125, 0x126, 0x7, + 0x3e, 0x2, 0x2, 0x126, 0x127, 0x7, 0x3f, 0x2, 0x2, 0x127, 0x68, 0x3, + 0x2, 0x2, 0x2, 0x128, 0x129, 0x7, 0x40, 0x2, 0x2, 0x129, 0x12a, 0x7, + 0x40, 0x2, 0x2, 0x12a, 0x12b, 0x7, 0x3f, 0x2, 0x2, 0x12b, 0x6a, 0x3, + 0x2, 0x2, 0x2, 0x12c, 0x12d, 0x7, 0x2d, 0x2, 0x2, 0x12d, 0x12e, 0x7, + 0x3f, 0x2, 0x2, 0x12e, 0x6c, 0x3, 0x2, 0x2, 0x2, 0x12f, 0x130, 0x7, + 0x2f, 0x2, 0x2, 0x130, 0x131, 0x7, 0x3f, 0x2, 0x2, 0x131, 0x6e, 0x3, + 0x2, 0x2, 0x2, 0x132, 0x133, 0x7, 0x2c, 0x2, 0x2, 0x133, 0x134, 0x7, + 0x3f, 0x2, 0x2, 0x134, 0x70, 0x3, 0x2, 0x2, 0x2, 0x135, 0x136, 0x7, + 0x31, 0x2, 0x2, 0x136, 0x137, 0x7, 0x3f, 0x2, 0x2, 0x137, 0x72, 0x3, + 0x2, 0x2, 0x2, 0x138, 0x139, 0x7, 0x27, 0x2, 0x2, 0x139, 0x13a, 0x7, + 0x3f, 0x2, 0x2, 0x13a, 0x74, 0x3, 0x2, 0x2, 0x2, 0x13b, 0x13d, 0x9, + 0x2, 0x2, 0x2, 0x13c, 0x13b, 0x3, 0x2, 0x2, 0x2, 0x13c, 0x13d, 0x3, + 0x2, 0x2, 0x2, 0x13d, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x13e, 0x140, 0x9, + 0x3, 0x2, 0x2, 0x13f, 0x13e, 0x3, 0x2, 0x2, 0x2, 0x140, 0x141, 0x3, + 0x2, 0x2, 0x2, 0x141, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x141, 0x142, 0x3, + 0x2, 0x2, 0x2, 0x142, 0x76, 0x3, 0x2, 0x2, 0x2, 0x143, 0x145, 0x9, + 0x2, 0x2, 0x2, 0x144, 0x143, 0x3, 0x2, 0x2, 0x2, 0x145, 0x148, 0x3, + 0x2, 0x2, 0x2, 0x146, 0x144, 0x3, 0x2, 0x2, 0x2, 0x146, 0x147, 0x3, + 0x2, 0x2, 0x2, 0x147, 0x14a, 0x3, 0x2, 0x2, 0x2, 0x148, 0x146, 0x3, + 0x2, 0x2, 0x2, 0x149, 0x14b, 0x9, 0x3, 0x2, 0x2, 0x14a, 0x149, 0x3, + 0x2, 0x2, 0x2, 0x14b, 0x14c, 0x3, 0x2, 0x2, 0x2, 0x14c, 0x14a, 0x3, + 0x2, 0x2, 0x2, 0x14c, 0x14d, 0x3, 0x2, 0x2, 0x2, 0x14d, 0x14e, 0x3, + 0x2, 0x2, 0x2, 0x14e, 0x150, 0x7, 0x30, 0x2, 0x2, 0x14f, 0x151, 0x9, + 0x3, 0x2, 0x2, 0x150, 0x14f, 0x3, 0x2, 0x2, 0x2, 0x151, 0x152, 0x3, + 0x2, 0x2, 0x2, 0x152, 0x150, 0x3, 0x2, 0x2, 0x2, 0x152, 0x153, 0x3, + 0x2, 0x2, 0x2, 0x153, 0x78, 0x3, 0x2, 0x2, 0x2, 0x154, 0x158, 0x7, + 0x24, 0x2, 0x2, 0x155, 0x157, 0x9, 0x4, 0x2, 0x2, 0x156, 0x155, 0x3, + 0x2, 0x2, 0x2, 0x157, 0x15a, 0x3, 0x2, 0x2, 0x2, 0x158, 0x156, 0x3, + 0x2, 0x2, 0x2, 0x158, 0x159, 0x3, 0x2, 0x2, 0x2, 0x159, 0x15b, 0x3, + 0x2, 0x2, 0x2, 0x15a, 0x158, 0x3, 0x2, 0x2, 0x2, 0x15b, 0x15c, 0x7, + 0x24, 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, 0x16a, + 0x9, 0x5, 0x2, 0x2, 0x169, 0x168, 0x3, 0x2, 0x2, 0x2, 0x16a, 0x16b, + 0x3, 0x2, 0x2, 0x2, 0x16b, 0x169, 0x3, 0x2, 0x2, 0x2, 0x16b, 0x16c, + 0x3, 0x2, 0x2, 0x2, 0x16c, 0x7e, 0x3, 0x2, 0x2, 0x2, 0x16d, 0x16f, + 0x9, 0x6, 0x2, 0x2, 0x16e, 0x16d, 0x3, 0x2, 0x2, 0x2, 0x16f, 0x170, + 0x3, 0x2, 0x2, 0x2, 0x170, 0x16e, 0x3, 0x2, 0x2, 0x2, 0x170, 0x171, + 0x3, 0x2, 0x2, 0x2, 0x171, 0x172, 0x3, 0x2, 0x2, 0x2, 0x172, 0x173, + 0x8, 0x40, 0x2, 0x2, 0x173, 0x80, 0x3, 0x2, 0x2, 0x2, 0x174, 0x176, + 0x9, 0x7, 0x2, 0x2, 0x175, 0x174, 0x3, 0x2, 0x2, 0x2, 0x176, 0x177, + 0x3, 0x2, 0x2, 0x2, 0x177, 0x175, 0x3, 0x2, 0x2, 0x2, 0x177, 0x178, + 0x3, 0x2, 0x2, 0x2, 0x178, 0x82, 0x3, 0x2, 0x2, 0x2, 0xe, 0x2, 0x13c, + 0x141, 0x146, 0x14c, 0x152, 0x158, 0x166, 0x169, 0x16b, 0x170, 0x177, + 0x3, 0x8, 0x2, 0x2, }; _serializedATN.insert(_serializedATN.end(), serializedATNSegment0, diff --git a/gen/TocLexer.h b/gen/TocLexer.h index c93c851..a9252f0 100644 --- a/gen/TocLexer.h +++ b/gen/TocLexer.h @@ -20,9 +20,9 @@ public: T__32 = 33, T__33 = 34, T__34 = 35, T__35 = 36, T__36 = 37, T__37 = 38, 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, INT_LIT = 56, - DECIMAL_LIT = 57, STRING_LIT = 58, BOOL_LIT = 59, NAME = 60, WS = 61, - NEWLINE = 62 + 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, STRING_LIT = 60, BOOL_LIT = 61, + NAME = 62, WS = 63, NEWLINE = 64 }; explicit TocLexer(antlr4::CharStream *input); diff --git a/gen/TocLexer.interp b/gen/TocLexer.interp index 23dcf24..5f26239 100644 --- a/gen/TocLexer.interp +++ b/gen/TocLexer.interp @@ -1,6 +1,9 @@ token literal names: null ';' +'namespace' +'{' +'}' 'var' ':' '=' @@ -11,9 +14,8 @@ null '(' ')' ',' -'{' -'}' 'struct' +'private' '<' '>' 'if' @@ -120,6 +122,8 @@ null null null null +null +null INT_LIT DECIMAL_LIT STRING_LIT @@ -184,6 +188,8 @@ T__51 T__52 T__53 T__54 +T__55 +T__56 INT_LIT DECIMAL_LIT STRING_LIT @@ -200,4 +206,4 @@ mode names: DEFAULT_MODE atn: -[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 64, 355, 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, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3, 6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 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, 39, 3, 40, 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, 50, 3, 51, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 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, 5, 57, 295, 10, 57, 3, 57, 6, 57, 298, 10, 57, 13, 57, 14, 57, 299, 3, 58, 7, 58, 303, 10, 58, 12, 58, 14, 58, 306, 11, 58, 3, 58, 6, 58, 309, 10, 58, 13, 58, 14, 58, 310, 3, 58, 3, 58, 6, 58, 315, 10, 58, 13, 58, 14, 58, 316, 3, 59, 3, 59, 7, 59, 321, 10, 59, 12, 59, 14, 59, 324, 11, 59, 3, 59, 3, 59, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 5, 60, 337, 10, 60, 3, 61, 6, 61, 340, 10, 61, 13, 61, 14, 61, 341, 3, 62, 6, 62, 345, 10, 62, 13, 62, 14, 62, 346, 3, 62, 3, 62, 3, 63, 6, 63, 352, 10, 63, 13, 63, 14, 63, 353, 2, 2, 64, 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, 3, 2, 8, 4, 2, 45, 45, 47, 47, 3, 2, 50, 59, 4, 2, 36, 36, 96, 96, 5, 2, 50, 59, 67, 92, 99, 124, 5, 2, 11, 12, 15, 15, 34, 34, 4, 2, 12, 12, 15, 15, 2, 364, 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, 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, 125, 3, 2, 2, 2, 3, 127, 3, 2, 2, 2, 5, 129, 3, 2, 2, 2, 7, 133, 3, 2, 2, 2, 9, 135, 3, 2, 2, 2, 11, 137, 3, 2, 2, 2, 13, 139, 3, 2, 2, 2, 15, 141, 3, 2, 2, 2, 17, 143, 3, 2, 2, 2, 19, 148, 3, 2, 2, 2, 21, 150, 3, 2, 2, 2, 23, 152, 3, 2, 2, 2, 25, 154, 3, 2, 2, 2, 27, 156, 3, 2, 2, 2, 29, 158, 3, 2, 2, 2, 31, 165, 3, 2, 2, 2, 33, 167, 3, 2, 2, 2, 35, 169, 3, 2, 2, 2, 37, 172, 3, 2, 2, 2, 39, 177, 3, 2, 2, 2, 41, 184, 3, 2, 2, 2, 43, 189, 3, 2, 2, 2, 45, 193, 3, 2, 2, 2, 47, 199, 3, 2, 2, 2, 49, 206, 3, 2, 2, 2, 51, 208, 3, 2, 2, 2, 53, 210, 3, 2, 2, 2, 55, 213, 3, 2, 2, 2, 57, 216, 3, 2, 2, 2, 59, 219, 3, 2, 2, 2, 61, 221, 3, 2, 2, 2, 63, 223, 3, 2, 2, 2, 65, 225, 3, 2, 2, 2, 67, 227, 3, 2, 2, 2, 69, 229, 3, 2, 2, 2, 71, 231, 3, 2, 2, 2, 73, 233, 3, 2, 2, 2, 75, 235, 3, 2, 2, 2, 77, 237, 3, 2, 2, 2, 79, 240, 3, 2, 2, 2, 81, 243, 3, 2, 2, 2, 83, 246, 3, 2, 2, 2, 85, 249, 3, 2, 2, 2, 87, 252, 3, 2, 2, 2, 89, 255, 3, 2, 2, 2, 91, 258, 3, 2, 2, 2, 93, 261, 3, 2, 2, 2, 95, 264, 3, 2, 2, 2, 97, 267, 3, 2, 2, 2, 99, 270, 3, 2, 2, 2, 101, 274, 3, 2, 2, 2, 103, 278, 3, 2, 2, 2, 105, 281, 3, 2, 2, 2, 107, 284, 3, 2, 2, 2, 109, 287, 3, 2, 2, 2, 111, 290, 3, 2, 2, 2, 113, 294, 3, 2, 2, 2, 115, 304, 3, 2, 2, 2, 117, 318, 3, 2, 2, 2, 119, 336, 3, 2, 2, 2, 121, 339, 3, 2, 2, 2, 123, 344, 3, 2, 2, 2, 125, 351, 3, 2, 2, 2, 127, 128, 7, 61, 2, 2, 128, 4, 3, 2, 2, 2, 129, 130, 7, 120, 2, 2, 130, 131, 7, 99, 2, 2, 131, 132, 7, 116, 2, 2, 132, 6, 3, 2, 2, 2, 133, 134, 7, 60, 2, 2, 134, 8, 3, 2, 2, 2, 135, 136, 7, 63, 2, 2, 136, 10, 3, 2, 2, 2, 137, 138, 7, 44, 2, 2, 138, 12, 3, 2, 2, 2, 139, 140, 7, 93, 2, 2, 140, 14, 3, 2, 2, 2, 141, 142, 7, 95, 2, 2, 142, 16, 3, 2, 2, 2, 143, 144, 7, 104, 2, 2, 144, 145, 7, 119, 2, 2, 145, 146, 7, 112, 2, 2, 146, 147, 7, 101, 2, 2, 147, 18, 3, 2, 2, 2, 148, 149, 7, 42, 2, 2, 149, 20, 3, 2, 2, 2, 150, 151, 7, 43, 2, 2, 151, 22, 3, 2, 2, 2, 152, 153, 7, 46, 2, 2, 153, 24, 3, 2, 2, 2, 154, 155, 7, 125, 2, 2, 155, 26, 3, 2, 2, 2, 156, 157, 7, 127, 2, 2, 157, 28, 3, 2, 2, 2, 158, 159, 7, 117, 2, 2, 159, 160, 7, 118, 2, 2, 160, 161, 7, 116, 2, 2, 161, 162, 7, 119, 2, 2, 162, 163, 7, 101, 2, 2, 163, 164, 7, 118, 2, 2, 164, 30, 3, 2, 2, 2, 165, 166, 7, 62, 2, 2, 166, 32, 3, 2, 2, 2, 167, 168, 7, 64, 2, 2, 168, 34, 3, 2, 2, 2, 169, 170, 7, 107, 2, 2, 170, 171, 7, 104, 2, 2, 171, 36, 3, 2, 2, 2, 172, 173, 7, 103, 2, 2, 173, 174, 7, 110, 2, 2, 174, 175, 7, 117, 2, 2, 175, 176, 7, 103, 2, 2, 176, 38, 3, 2, 2, 2, 177, 178, 7, 117, 2, 2, 178, 179, 7, 121, 2, 2, 179, 180, 7, 107, 2, 2, 180, 181, 7, 118, 2, 2, 181, 182, 7, 101, 2, 2, 182, 183, 7, 106, 2, 2, 183, 40, 3, 2, 2, 2, 184, 185, 7, 101, 2, 2, 185, 186, 7, 99, 2, 2, 186, 187, 7, 117, 2, 2, 187, 188, 7, 103, 2, 2, 188, 42, 3, 2, 2, 2, 189, 190, 7, 104, 2, 2, 190, 191, 7, 113, 2, 2, 191, 192, 7, 116, 2, 2, 192, 44, 3, 2, 2, 2, 193, 194, 7, 121, 2, 2, 194, 195, 7, 106, 2, 2, 195, 196, 7, 107, 2, 2, 196, 197, 7, 110, 2, 2, 197, 198, 7, 103, 2, 2, 198, 46, 3, 2, 2, 2, 199, 200, 7, 116, 2, 2, 200, 201, 7, 103, 2, 2, 201, 202, 7, 118, 2, 2, 202, 203, 7, 119, 2, 2, 203, 204, 7, 116, 2, 2, 204, 205, 7, 112, 2, 2, 205, 48, 3, 2, 2, 2, 206, 207, 7, 65, 2, 2, 207, 50, 3, 2, 2, 2, 208, 209, 7, 48, 2, 2, 209, 52, 3, 2, 2, 2, 210, 211, 7, 47, 2, 2, 211, 212, 7, 64, 2, 2, 212, 54, 3, 2, 2, 2, 213, 214, 7, 45, 2, 2, 214, 215, 7, 45, 2, 2, 215, 56, 3, 2, 2, 2, 216, 217, 7, 47, 2, 2, 217, 218, 7, 47, 2, 2, 218, 58, 3, 2, 2, 2, 219, 220, 7, 45, 2, 2, 220, 60, 3, 2, 2, 2, 221, 222, 7, 47, 2, 2, 222, 62, 3, 2, 2, 2, 223, 224, 7, 35, 2, 2, 224, 64, 3, 2, 2, 2, 225, 226, 7, 128, 2, 2, 226, 66, 3, 2, 2, 2, 227, 228, 7, 40, 2, 2, 228, 68, 3, 2, 2, 2, 229, 230, 7, 49, 2, 2, 230, 70, 3, 2, 2, 2, 231, 232, 7, 39, 2, 2, 232, 72, 3, 2, 2, 2, 233, 234, 7, 126, 2, 2, 234, 74, 3, 2, 2, 2, 235, 236, 7, 96, 2, 2, 236, 76, 3, 2, 2, 2, 237, 238, 7, 63, 2, 2, 238, 239, 7, 63, 2, 2, 239, 78, 3, 2, 2, 2, 240, 241, 7, 35, 2, 2, 241, 242, 7, 63, 2, 2, 242, 80, 3, 2, 2, 2, 243, 244, 7, 62, 2, 2, 244, 245, 7, 63, 2, 2, 245, 82, 3, 2, 2, 2, 246, 247, 7, 64, 2, 2, 247, 248, 7, 63, 2, 2, 248, 84, 3, 2, 2, 2, 249, 250, 7, 62, 2, 2, 250, 251, 7, 62, 2, 2, 251, 86, 3, 2, 2, 2, 252, 253, 7, 64, 2, 2, 253, 254, 7, 64, 2, 2, 254, 88, 3, 2, 2, 2, 255, 256, 7, 126, 2, 2, 256, 257, 7, 126, 2, 2, 257, 90, 3, 2, 2, 2, 258, 259, 7, 40, 2, 2, 259, 260, 7, 40, 2, 2, 260, 92, 3, 2, 2, 2, 261, 262, 7, 40, 2, 2, 262, 263, 7, 63, 2, 2, 263, 94, 3, 2, 2, 2, 264, 265, 7, 126, 2, 2, 265, 266, 7, 63, 2, 2, 266, 96, 3, 2, 2, 2, 267, 268, 7, 96, 2, 2, 268, 269, 7, 63, 2, 2, 269, 98, 3, 2, 2, 2, 270, 271, 7, 62, 2, 2, 271, 272, 7, 62, 2, 2, 272, 273, 7, 63, 2, 2, 273, 100, 3, 2, 2, 2, 274, 275, 7, 64, 2, 2, 275, 276, 7, 64, 2, 2, 276, 277, 7, 63, 2, 2, 277, 102, 3, 2, 2, 2, 278, 279, 7, 45, 2, 2, 279, 280, 7, 63, 2, 2, 280, 104, 3, 2, 2, 2, 281, 282, 7, 47, 2, 2, 282, 283, 7, 63, 2, 2, 283, 106, 3, 2, 2, 2, 284, 285, 7, 44, 2, 2, 285, 286, 7, 63, 2, 2, 286, 108, 3, 2, 2, 2, 287, 288, 7, 49, 2, 2, 288, 289, 7, 63, 2, 2, 289, 110, 3, 2, 2, 2, 290, 291, 7, 39, 2, 2, 291, 292, 7, 63, 2, 2, 292, 112, 3, 2, 2, 2, 293, 295, 9, 2, 2, 2, 294, 293, 3, 2, 2, 2, 294, 295, 3, 2, 2, 2, 295, 297, 3, 2, 2, 2, 296, 298, 9, 3, 2, 2, 297, 296, 3, 2, 2, 2, 298, 299, 3, 2, 2, 2, 299, 297, 3, 2, 2, 2, 299, 300, 3, 2, 2, 2, 300, 114, 3, 2, 2, 2, 301, 303, 9, 2, 2, 2, 302, 301, 3, 2, 2, 2, 303, 306, 3, 2, 2, 2, 304, 302, 3, 2, 2, 2, 304, 305, 3, 2, 2, 2, 305, 308, 3, 2, 2, 2, 306, 304, 3, 2, 2, 2, 307, 309, 9, 3, 2, 2, 308, 307, 3, 2, 2, 2, 309, 310, 3, 2, 2, 2, 310, 308, 3, 2, 2, 2, 310, 311, 3, 2, 2, 2, 311, 312, 3, 2, 2, 2, 312, 314, 7, 48, 2, 2, 313, 315, 9, 3, 2, 2, 314, 313, 3, 2, 2, 2, 315, 316, 3, 2, 2, 2, 316, 314, 3, 2, 2, 2, 316, 317, 3, 2, 2, 2, 317, 116, 3, 2, 2, 2, 318, 322, 7, 36, 2, 2, 319, 321, 9, 4, 2, 2, 320, 319, 3, 2, 2, 2, 321, 324, 3, 2, 2, 2, 322, 320, 3, 2, 2, 2, 322, 323, 3, 2, 2, 2, 323, 325, 3, 2, 2, 2, 324, 322, 3, 2, 2, 2, 325, 326, 7, 36, 2, 2, 326, 118, 3, 2, 2, 2, 327, 328, 7, 118, 2, 2, 328, 329, 7, 116, 2, 2, 329, 330, 7, 119, 2, 2, 330, 337, 7, 103, 2, 2, 331, 332, 7, 104, 2, 2, 332, 333, 7, 99, 2, 2, 333, 334, 7, 110, 2, 2, 334, 335, 7, 117, 2, 2, 335, 337, 7, 103, 2, 2, 336, 327, 3, 2, 2, 2, 336, 331, 3, 2, 2, 2, 337, 120, 3, 2, 2, 2, 338, 340, 9, 5, 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, 122, 3, 2, 2, 2, 343, 345, 9, 6, 2, 2, 344, 343, 3, 2, 2, 2, 345, 346, 3, 2, 2, 2, 346, 344, 3, 2, 2, 2, 346, 347, 3, 2, 2, 2, 347, 348, 3, 2, 2, 2, 348, 349, 8, 62, 2, 2, 349, 124, 3, 2, 2, 2, 350, 352, 9, 7, 2, 2, 351, 350, 3, 2, 2, 2, 352, 353, 3, 2, 2, 2, 353, 351, 3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 126, 3, 2, 2, 2, 14, 2, 294, 299, 304, 310, 316, 322, 336, 339, 341, 346, 353, 3, 8, 2, 2] \ No newline at end of file +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 66, 377, 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, 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, 12, 3, 12, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 28, 3, 28, 3, 29, 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, 317, 10, 59, 3, 59, 6, 59, 320, 10, 59, 13, 59, 14, 59, 321, 3, 60, 7, 60, 325, 10, 60, 12, 60, 14, 60, 328, 11, 60, 3, 60, 6, 60, 331, 10, 60, 13, 60, 14, 60, 332, 3, 60, 3, 60, 6, 60, 337, 10, 60, 13, 60, 14, 60, 338, 3, 61, 3, 61, 7, 61, 343, 10, 61, 12, 61, 14, 61, 346, 11, 61, 3, 61, 3, 61, 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, 6, 63, 362, 10, 63, 13, 63, 14, 63, 363, 3, 64, 6, 64, 367, 10, 64, 13, 64, 14, 64, 368, 3, 64, 3, 64, 3, 65, 6, 65, 374, 10, 65, 13, 65, 14, 65, 375, 2, 2, 66, 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, 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, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2, 2, 105, 3, 2, 2, 2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3, 2, 2, 2, 2, 113, 3, 2, 2, 2, 2, 115, 3, 2, 2, 2, 2, 117, 3, 2, 2, 2, 2, 119, 3, 2, 2, 2, 2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 2, 127, 3, 2, 2, 2, 2, 129, 3, 2, 2, 2, 3, 131, 3, 2, 2, 2, 5, 133, 3, 2, 2, 2, 7, 143, 3, 2, 2, 2, 9, 145, 3, 2, 2, 2, 11, 147, 3, 2, 2, 2, 13, 151, 3, 2, 2, 2, 15, 153, 3, 2, 2, 2, 17, 155, 3, 2, 2, 2, 19, 157, 3, 2, 2, 2, 21, 159, 3, 2, 2, 2, 23, 161, 3, 2, 2, 2, 25, 166, 3, 2, 2, 2, 27, 168, 3, 2, 2, 2, 29, 170, 3, 2, 2, 2, 31, 172, 3, 2, 2, 2, 33, 179, 3, 2, 2, 2, 35, 187, 3, 2, 2, 2, 37, 189, 3, 2, 2, 2, 39, 191, 3, 2, 2, 2, 41, 194, 3, 2, 2, 2, 43, 199, 3, 2, 2, 2, 45, 206, 3, 2, 2, 2, 47, 211, 3, 2, 2, 2, 49, 215, 3, 2, 2, 2, 51, 221, 3, 2, 2, 2, 53, 228, 3, 2, 2, 2, 55, 230, 3, 2, 2, 2, 57, 232, 3, 2, 2, 2, 59, 235, 3, 2, 2, 2, 61, 238, 3, 2, 2, 2, 63, 241, 3, 2, 2, 2, 65, 243, 3, 2, 2, 2, 67, 245, 3, 2, 2, 2, 69, 247, 3, 2, 2, 2, 71, 249, 3, 2, 2, 2, 73, 251, 3, 2, 2, 2, 75, 253, 3, 2, 2, 2, 77, 255, 3, 2, 2, 2, 79, 257, 3, 2, 2, 2, 81, 259, 3, 2, 2, 2, 83, 262, 3, 2, 2, 2, 85, 265, 3, 2, 2, 2, 87, 268, 3, 2, 2, 2, 89, 271, 3, 2, 2, 2, 91, 274, 3, 2, 2, 2, 93, 277, 3, 2, 2, 2, 95, 280, 3, 2, 2, 2, 97, 283, 3, 2, 2, 2, 99, 286, 3, 2, 2, 2, 101, 289, 3, 2, 2, 2, 103, 292, 3, 2, 2, 2, 105, 296, 3, 2, 2, 2, 107, 300, 3, 2, 2, 2, 109, 303, 3, 2, 2, 2, 111, 306, 3, 2, 2, 2, 113, 309, 3, 2, 2, 2, 115, 312, 3, 2, 2, 2, 117, 316, 3, 2, 2, 2, 119, 326, 3, 2, 2, 2, 121, 340, 3, 2, 2, 2, 123, 358, 3, 2, 2, 2, 125, 361, 3, 2, 2, 2, 127, 366, 3, 2, 2, 2, 129, 373, 3, 2, 2, 2, 131, 132, 7, 61, 2, 2, 132, 4, 3, 2, 2, 2, 133, 134, 7, 112, 2, 2, 134, 135, 7, 99, 2, 2, 135, 136, 7, 111, 2, 2, 136, 137, 7, 103, 2, 2, 137, 138, 7, 117, 2, 2, 138, 139, 7, 114, 2, 2, 139, 140, 7, 99, 2, 2, 140, 141, 7, 101, 2, 2, 141, 142, 7, 103, 2, 2, 142, 6, 3, 2, 2, 2, 143, 144, 7, 125, 2, 2, 144, 8, 3, 2, 2, 2, 145, 146, 7, 127, 2, 2, 146, 10, 3, 2, 2, 2, 147, 148, 7, 120, 2, 2, 148, 149, 7, 99, 2, 2, 149, 150, 7, 116, 2, 2, 150, 12, 3, 2, 2, 2, 151, 152, 7, 60, 2, 2, 152, 14, 3, 2, 2, 2, 153, 154, 7, 63, 2, 2, 154, 16, 3, 2, 2, 2, 155, 156, 7, 44, 2, 2, 156, 18, 3, 2, 2, 2, 157, 158, 7, 93, 2, 2, 158, 20, 3, 2, 2, 2, 159, 160, 7, 95, 2, 2, 160, 22, 3, 2, 2, 2, 161, 162, 7, 104, 2, 2, 162, 163, 7, 119, 2, 2, 163, 164, 7, 112, 2, 2, 164, 165, 7, 101, 2, 2, 165, 24, 3, 2, 2, 2, 166, 167, 7, 42, 2, 2, 167, 26, 3, 2, 2, 2, 168, 169, 7, 43, 2, 2, 169, 28, 3, 2, 2, 2, 170, 171, 7, 46, 2, 2, 171, 30, 3, 2, 2, 2, 172, 173, 7, 117, 2, 2, 173, 174, 7, 118, 2, 2, 174, 175, 7, 116, 2, 2, 175, 176, 7, 119, 2, 2, 176, 177, 7, 101, 2, 2, 177, 178, 7, 118, 2, 2, 178, 32, 3, 2, 2, 2, 179, 180, 7, 114, 2, 2, 180, 181, 7, 116, 2, 2, 181, 182, 7, 107, 2, 2, 182, 183, 7, 120, 2, 2, 183, 184, 7, 99, 2, 2, 184, 185, 7, 118, 2, 2, 185, 186, 7, 103, 2, 2, 186, 34, 3, 2, 2, 2, 187, 188, 7, 62, 2, 2, 188, 36, 3, 2, 2, 2, 189, 190, 7, 64, 2, 2, 190, 38, 3, 2, 2, 2, 191, 192, 7, 107, 2, 2, 192, 193, 7, 104, 2, 2, 193, 40, 3, 2, 2, 2, 194, 195, 7, 103, 2, 2, 195, 196, 7, 110, 2, 2, 196, 197, 7, 117, 2, 2, 197, 198, 7, 103, 2, 2, 198, 42, 3, 2, 2, 2, 199, 200, 7, 117, 2, 2, 200, 201, 7, 121, 2, 2, 201, 202, 7, 107, 2, 2, 202, 203, 7, 118, 2, 2, 203, 204, 7, 101, 2, 2, 204, 205, 7, 106, 2, 2, 205, 44, 3, 2, 2, 2, 206, 207, 7, 101, 2, 2, 207, 208, 7, 99, 2, 2, 208, 209, 7, 117, 2, 2, 209, 210, 7, 103, 2, 2, 210, 46, 3, 2, 2, 2, 211, 212, 7, 104, 2, 2, 212, 213, 7, 113, 2, 2, 213, 214, 7, 116, 2, 2, 214, 48, 3, 2, 2, 2, 215, 216, 7, 121, 2, 2, 216, 217, 7, 106, 2, 2, 217, 218, 7, 107, 2, 2, 218, 219, 7, 110, 2, 2, 219, 220, 7, 103, 2, 2, 220, 50, 3, 2, 2, 2, 221, 222, 7, 116, 2, 2, 222, 223, 7, 103, 2, 2, 223, 224, 7, 118, 2, 2, 224, 225, 7, 119, 2, 2, 225, 226, 7, 116, 2, 2, 226, 227, 7, 112, 2, 2, 227, 52, 3, 2, 2, 2, 228, 229, 7, 65, 2, 2, 229, 54, 3, 2, 2, 2, 230, 231, 7, 48, 2, 2, 231, 56, 3, 2, 2, 2, 232, 233, 7, 47, 2, 2, 233, 234, 7, 64, 2, 2, 234, 58, 3, 2, 2, 2, 235, 236, 7, 45, 2, 2, 236, 237, 7, 45, 2, 2, 237, 60, 3, 2, 2, 2, 238, 239, 7, 47, 2, 2, 239, 240, 7, 47, 2, 2, 240, 62, 3, 2, 2, 2, 241, 242, 7, 45, 2, 2, 242, 64, 3, 2, 2, 2, 243, 244, 7, 47, 2, 2, 244, 66, 3, 2, 2, 2, 245, 246, 7, 35, 2, 2, 246, 68, 3, 2, 2, 2, 247, 248, 7, 128, 2, 2, 248, 70, 3, 2, 2, 2, 249, 250, 7, 40, 2, 2, 250, 72, 3, 2, 2, 2, 251, 252, 7, 49, 2, 2, 252, 74, 3, 2, 2, 2, 253, 254, 7, 39, 2, 2, 254, 76, 3, 2, 2, 2, 255, 256, 7, 126, 2, 2, 256, 78, 3, 2, 2, 2, 257, 258, 7, 96, 2, 2, 258, 80, 3, 2, 2, 2, 259, 260, 7, 63, 2, 2, 260, 261, 7, 63, 2, 2, 261, 82, 3, 2, 2, 2, 262, 263, 7, 35, 2, 2, 263, 264, 7, 63, 2, 2, 264, 84, 3, 2, 2, 2, 265, 266, 7, 62, 2, 2, 266, 267, 7, 63, 2, 2, 267, 86, 3, 2, 2, 2, 268, 269, 7, 64, 2, 2, 269, 270, 7, 63, 2, 2, 270, 88, 3, 2, 2, 2, 271, 272, 7, 62, 2, 2, 272, 273, 7, 62, 2, 2, 273, 90, 3, 2, 2, 2, 274, 275, 7, 64, 2, 2, 275, 276, 7, 64, 2, 2, 276, 92, 3, 2, 2, 2, 277, 278, 7, 126, 2, 2, 278, 279, 7, 126, 2, 2, 279, 94, 3, 2, 2, 2, 280, 281, 7, 40, 2, 2, 281, 282, 7, 40, 2, 2, 282, 96, 3, 2, 2, 2, 283, 284, 7, 40, 2, 2, 284, 285, 7, 63, 2, 2, 285, 98, 3, 2, 2, 2, 286, 287, 7, 126, 2, 2, 287, 288, 7, 63, 2, 2, 288, 100, 3, 2, 2, 2, 289, 290, 7, 96, 2, 2, 290, 291, 7, 63, 2, 2, 291, 102, 3, 2, 2, 2, 292, 293, 7, 62, 2, 2, 293, 294, 7, 62, 2, 2, 294, 295, 7, 63, 2, 2, 295, 104, 3, 2, 2, 2, 296, 297, 7, 64, 2, 2, 297, 298, 7, 64, 2, 2, 298, 299, 7, 63, 2, 2, 299, 106, 3, 2, 2, 2, 300, 301, 7, 45, 2, 2, 301, 302, 7, 63, 2, 2, 302, 108, 3, 2, 2, 2, 303, 304, 7, 47, 2, 2, 304, 305, 7, 63, 2, 2, 305, 110, 3, 2, 2, 2, 306, 307, 7, 44, 2, 2, 307, 308, 7, 63, 2, 2, 308, 112, 3, 2, 2, 2, 309, 310, 7, 49, 2, 2, 310, 311, 7, 63, 2, 2, 311, 114, 3, 2, 2, 2, 312, 313, 7, 39, 2, 2, 313, 314, 7, 63, 2, 2, 314, 116, 3, 2, 2, 2, 315, 317, 9, 2, 2, 2, 316, 315, 3, 2, 2, 2, 316, 317, 3, 2, 2, 2, 317, 319, 3, 2, 2, 2, 318, 320, 9, 3, 2, 2, 319, 318, 3, 2, 2, 2, 320, 321, 3, 2, 2, 2, 321, 319, 3, 2, 2, 2, 321, 322, 3, 2, 2, 2, 322, 118, 3, 2, 2, 2, 323, 325, 9, 2, 2, 2, 324, 323, 3, 2, 2, 2, 325, 328, 3, 2, 2, 2, 326, 324, 3, 2, 2, 2, 326, 327, 3, 2, 2, 2, 327, 330, 3, 2, 2, 2, 328, 326, 3, 2, 2, 2, 329, 331, 9, 3, 2, 2, 330, 329, 3, 2, 2, 2, 331, 332, 3, 2, 2, 2, 332, 330, 3, 2, 2, 2, 332, 333, 3, 2, 2, 2, 333, 334, 3, 2, 2, 2, 334, 336, 7, 48, 2, 2, 335, 337, 9, 3, 2, 2, 336, 335, 3, 2, 2, 2, 337, 338, 3, 2, 2, 2, 338, 336, 3, 2, 2, 2, 338, 339, 3, 2, 2, 2, 339, 120, 3, 2, 2, 2, 340, 344, 7, 36, 2, 2, 341, 343, 9, 4, 2, 2, 342, 341, 3, 2, 2, 2, 343, 346, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 344, 345, 3, 2, 2, 2, 345, 347, 3, 2, 2, 2, 346, 344, 3, 2, 2, 2, 347, 348, 7, 36, 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, 362, 9, 5, 2, 2, 361, 360, 3, 2, 2, 2, 362, 363, 3, 2, 2, 2, 363, 361, 3, 2, 2, 2, 363, 364, 3, 2, 2, 2, 364, 126, 3, 2, 2, 2, 365, 367, 9, 6, 2, 2, 366, 365, 3, 2, 2, 2, 367, 368, 3, 2, 2, 2, 368, 366, 3, 2, 2, 2, 368, 369, 3, 2, 2, 2, 369, 370, 3, 2, 2, 2, 370, 371, 8, 64, 2, 2, 371, 128, 3, 2, 2, 2, 372, 374, 9, 7, 2, 2, 373, 372, 3, 2, 2, 2, 374, 375, 3, 2, 2, 2, 375, 373, 3, 2, 2, 2, 375, 376, 3, 2, 2, 2, 376, 130, 3, 2, 2, 2, 14, 2, 316, 321, 326, 332, 338, 344, 358, 361, 363, 368, 375, 3, 8, 2, 2] \ No newline at end of file diff --git a/gen/TocLexer.tokens b/gen/TocLexer.tokens index 090c12d..ca9564e 100644 --- a/gen/TocLexer.tokens +++ b/gen/TocLexer.tokens @@ -53,65 +53,69 @@ T__51=52 T__52=53 T__53=54 T__54=55 -INT_LIT=56 -DECIMAL_LIT=57 -STRING_LIT=58 -BOOL_LIT=59 -NAME=60 -WS=61 -NEWLINE=62 +T__55=56 +T__56=57 +INT_LIT=58 +DECIMAL_LIT=59 +STRING_LIT=60 +BOOL_LIT=61 +NAME=62 +WS=63 +NEWLINE=64 ';'=1 -'var'=2 -':'=3 -'='=4 -'*'=5 -'['=6 -']'=7 -'func'=8 -'('=9 -')'=10 -','=11 -'{'=12 -'}'=13 -'struct'=14 -'<'=15 -'>'=16 -'if'=17 -'else'=18 -'switch'=19 -'case'=20 -'for'=21 -'while'=22 -'return'=23 -'?'=24 -'.'=25 -'->'=26 -'++'=27 -'--'=28 -'+'=29 -'-'=30 -'!'=31 -'~'=32 -'&'=33 -'/'=34 -'%'=35 -'|'=36 -'^'=37 -'=='=38 -'!='=39 -'<='=40 -'>='=41 -'<<'=42 -'>>'=43 -'||'=44 -'&&'=45 -'&='=46 -'|='=47 -'^='=48 -'<<='=49 -'>>='=50 -'+='=51 -'-='=52 -'*='=53 -'/='=54 -'%='=55 +'namespace'=2 +'{'=3 +'}'=4 +'var'=5 +':'=6 +'='=7 +'*'=8 +'['=9 +']'=10 +'func'=11 +'('=12 +')'=13 +','=14 +'struct'=15 +'private'=16 +'<'=17 +'>'=18 +'if'=19 +'else'=20 +'switch'=21 +'case'=22 +'for'=23 +'while'=24 +'return'=25 +'?'=26 +'.'=27 +'->'=28 +'++'=29 +'--'=30 +'+'=31 +'-'=32 +'!'=33 +'~'=34 +'&'=35 +'/'=36 +'%'=37 +'|'=38 +'^'=39 +'=='=40 +'!='=41 +'<='=42 +'>='=43 +'<<'=44 +'>>'=45 +'||'=46 +'&&'=47 +'&='=48 +'|='=49 +'^='=50 +'<<='=51 +'>>='=52 +'+='=53 +'-='=54 +'*='=55 +'/='=56 +'%='=57 diff --git a/gen/TocParser.cpp b/gen/TocParser.cpp index c5f639d..6e0ced1 100644 --- a/gen/TocParser.cpp +++ b/gen/TocParser.cpp @@ -68,20 +68,21 @@ TocParser::ProgContext* TocParser::prog() { }); try { enterOuterAlt(_localctx, 1); - setState(101); + setState(105); _errHandler->sync(this); _la = _input->LA(1); do { - setState(100); + setState(104); decl(); - setState(103); + setState(107); _errHandler->sync(this); _la = _input->LA(1); } while ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::T__1) - | (1ULL << TocParser::T__7) - | (1ULL << TocParser::T__13))) != 0)); - setState(105); + | (1ULL << TocParser::T__4) + | (1ULL << TocParser::T__10) + | (1ULL << TocParser::T__14))) != 0)); + setState(109); match(TocParser::EOF); } @@ -112,6 +113,10 @@ TocParser::StructDeclContext* TocParser::DeclContext::structDecl() { return getRuleContext(0); } +TocParser::NamespaceDeclContext* TocParser::DeclContext::namespaceDecl() { + return getRuleContext(0); +} + size_t TocParser::DeclContext::getRuleIndex() const { return TocParser::RuleDecl; @@ -130,32 +135,39 @@ TocParser::DeclContext* TocParser::decl() { exitRule(); }); try { - setState(112); + setState(117); _errHandler->sync(this); switch (_input->LA(1)) { - case TocParser::T__1: { + case TocParser::T__4: { enterOuterAlt(_localctx, 1); - setState(107); + setState(111); varDecl(); - setState(108); + setState(112); match(TocParser::T__0); break; } - case TocParser::T__7: { + case TocParser::T__10: { enterOuterAlt(_localctx, 2); - setState(110); + setState(114); funcDecl(); break; } - case TocParser::T__13: { + case TocParser::T__14: { enterOuterAlt(_localctx, 3); - setState(111); + setState(115); structDecl(); break; } + case TocParser::T__1: { + enterOuterAlt(_localctx, 4); + setState(116); + namespaceDecl(); + break; + } + default: throw NoViableAltException(this); } @@ -170,6 +182,77 @@ TocParser::DeclContext* TocParser::decl() { return _localctx; } +//----------------- NamespaceDeclContext ------------------------------------------------------------------ + +TocParser::NamespaceDeclContext::NamespaceDeclContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + +TocParser::TypeNameContext* TocParser::NamespaceDeclContext::typeName() { + return getRuleContext(0); +} + +std::vector TocParser::NamespaceDeclContext::decl() { + return getRuleContexts(); +} + +TocParser::DeclContext* TocParser::NamespaceDeclContext::decl(size_t i) { + return getRuleContext(i); +} + + +size_t TocParser::NamespaceDeclContext::getRuleIndex() const { + return TocParser::RuleNamespaceDecl; +} + + +TocParser::NamespaceDeclContext* TocParser::namespaceDecl() { + NamespaceDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 4, TocParser::RuleNamespaceDecl); + size_t _la = 0; + +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(119); + match(TocParser::T__1); + setState(120); + typeName(); + setState(121); + match(TocParser::T__2); + setState(125); + _errHandler->sync(this); + _la = _input->LA(1); + while ((((_la & ~ 0x3fULL) == 0) && + ((1ULL << _la) & ((1ULL << TocParser::T__1) + | (1ULL << TocParser::T__4) + | (1ULL << TocParser::T__10) + | (1ULL << TocParser::T__14))) != 0)) { + setState(122); + decl(); + setState(127); + _errHandler->sync(this); + _la = _input->LA(1); + } + setState(128); + match(TocParser::T__3); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; +} + //----------------- VarDeclContext ------------------------------------------------------------------ TocParser::VarDeclContext::VarDeclContext(ParserRuleContext *parent, size_t invokingState) @@ -188,7 +271,7 @@ size_t TocParser::VarDeclContext::getRuleIndex() const { TocParser::VarDeclContext* TocParser::varDecl() { VarDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 4, TocParser::RuleVarDecl); + enterRule(_localctx, 6, TocParser::RuleVarDecl); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -199,9 +282,9 @@ TocParser::VarDeclContext* TocParser::varDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(114); - match(TocParser::T__1); - setState(115); + setState(130); + match(TocParser::T__4); + setState(131); var(); } @@ -240,7 +323,7 @@ size_t TocParser::VarContext::getRuleIndex() const { TocParser::VarContext* TocParser::var() { VarContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 6, TocParser::RuleVar); + enterRule(_localctx, 8, TocParser::RuleVar); size_t _la = 0; #if __cplusplus > 201703L @@ -252,21 +335,21 @@ TocParser::VarContext* TocParser::var() { }); try { enterOuterAlt(_localctx, 1); - setState(117); + setState(133); varName(); - setState(118); - match(TocParser::T__2); - setState(119); + setState(134); + match(TocParser::T__5); + setState(135); type(); - setState(123); + setState(139); _errHandler->sync(this); _la = _input->LA(1); - if (_la == TocParser::T__3) { - setState(121); - match(TocParser::T__3); - setState(122); + if (_la == TocParser::T__6) { + setState(137); + match(TocParser::T__6); + setState(138); expr(); } @@ -306,7 +389,7 @@ size_t TocParser::VarInitContext::getRuleIndex() const { TocParser::VarInitContext* TocParser::varInit() { VarInitContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 8, TocParser::RuleVarInit); + enterRule(_localctx, 10, TocParser::RuleVarInit); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -317,17 +400,17 @@ TocParser::VarInitContext* TocParser::varInit() { }); try { enterOuterAlt(_localctx, 1); - setState(125); + setState(141); varName(); - setState(126); - match(TocParser::T__2); - setState(127); + setState(142); + match(TocParser::T__5); + setState(143); type(); - setState(129); - match(TocParser::T__3); - setState(130); + setState(145); + match(TocParser::T__6); + setState(146); expr(); } @@ -366,7 +449,7 @@ size_t TocParser::TypeContext::getRuleIndex() const { TocParser::TypeContext* TocParser::type() { TypeContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 10, TocParser::RuleType); + enterRule(_localctx, 12, TocParser::RuleType); size_t _la = 0; #if __cplusplus > 201703L @@ -378,17 +461,17 @@ TocParser::TypeContext* TocParser::type() { }); try { enterOuterAlt(_localctx, 1); - setState(132); + setState(148); typeName(); - setState(136); + setState(152); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::T__4 + while (_la == TocParser::T__7 - || _la == TocParser::T__5) { - setState(133); + || _la == TocParser::T__8) { + setState(149); typeModifier(); - setState(138); + setState(154); _errHandler->sync(this); _la = _input->LA(1); } @@ -421,7 +504,7 @@ size_t TocParser::TypeModifierContext::getRuleIndex() const { TocParser::TypeModifierContext* TocParser::typeModifier() { TypeModifierContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 12, TocParser::RuleTypeModifier); + enterRule(_localctx, 14, TocParser::RuleTypeModifier); size_t _la = 0; #if __cplusplus > 201703L @@ -432,30 +515,30 @@ TocParser::TypeModifierContext* TocParser::typeModifier() { exitRule(); }); try { - setState(145); + setState(161); _errHandler->sync(this); switch (_input->LA(1)) { - case TocParser::T__4: { + case TocParser::T__7: { enterOuterAlt(_localctx, 1); - setState(139); - match(TocParser::T__4); + setState(155); + match(TocParser::T__7); break; } - case TocParser::T__5: { + case TocParser::T__8: { enterOuterAlt(_localctx, 2); - setState(140); - match(TocParser::T__5); - setState(142); + setState(156); + match(TocParser::T__8); + setState(158); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::INT_LIT) { - setState(141); + setState(157); match(TocParser::INT_LIT); } - setState(144); - match(TocParser::T__6); + setState(160); + match(TocParser::T__9); break; } @@ -491,7 +574,7 @@ size_t TocParser::FuncDeclContext::getRuleIndex() const { TocParser::FuncDeclContext* TocParser::funcDecl() { FuncDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 14, TocParser::RuleFuncDecl); + enterRule(_localctx, 16, TocParser::RuleFuncDecl); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -502,9 +585,9 @@ TocParser::FuncDeclContext* TocParser::funcDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(147); - match(TocParser::T__7); - setState(148); + setState(163); + match(TocParser::T__10); + setState(164); func(); } @@ -551,7 +634,7 @@ size_t TocParser::FuncContext::getRuleIndex() const { TocParser::FuncContext* TocParser::func() { FuncContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 16, TocParser::RuleFunc); + enterRule(_localctx, 18, TocParser::RuleFunc); size_t _la = 0; #if __cplusplus > 201703L @@ -563,28 +646,28 @@ TocParser::FuncContext* TocParser::func() { }); try { enterOuterAlt(_localctx, 1); - setState(150); + setState(166); funcName(); - setState(152); + setState(168); _errHandler->sync(this); _la = _input->LA(1); - if (_la == TocParser::T__14) { - setState(151); + if (_la == TocParser::T__16) { + setState(167); genericDecl(); } - setState(154); - match(TocParser::T__8); - setState(155); + setState(170); + match(TocParser::T__11); + setState(171); parameter(); - setState(156); - match(TocParser::T__9); + setState(172); + match(TocParser::T__12); - setState(157); - match(TocParser::T__2); - setState(158); + setState(173); + match(TocParser::T__5); + setState(174); type(); - setState(160); + setState(176); body(); } @@ -619,7 +702,7 @@ size_t TocParser::ParameterContext::getRuleIndex() const { TocParser::ParameterContext* TocParser::parameter() { ParameterContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 18, TocParser::RuleParameter); + enterRule(_localctx, 20, TocParser::RuleParameter); size_t _la = 0; #if __cplusplus > 201703L @@ -631,22 +714,22 @@ TocParser::ParameterContext* TocParser::parameter() { }); try { enterOuterAlt(_localctx, 1); - setState(170); + setState(186); _errHandler->sync(this); _la = _input->LA(1); if (_la == TocParser::NAME) { - setState(162); + setState(178); var(); - setState(167); + setState(183); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::T__10) { - setState(163); - match(TocParser::T__10); - setState(164); + while (_la == TocParser::T__13) { + setState(179); + match(TocParser::T__13); + setState(180); var(); - setState(169); + setState(185); _errHandler->sync(this); _la = _input->LA(1); } @@ -684,7 +767,7 @@ size_t TocParser::BodyContext::getRuleIndex() const { TocParser::BodyContext* TocParser::body() { BodyContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 20, TocParser::RuleBody); + enterRule(_localctx, 22, TocParser::RuleBody); size_t _la = 0; #if __cplusplus > 201703L @@ -696,40 +779,40 @@ TocParser::BodyContext* TocParser::body() { }); try { enterOuterAlt(_localctx, 1); - setState(172); - match(TocParser::T__11); - setState(176); + setState(188); + match(TocParser::T__2); + setState(192); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & ((1ULL << TocParser::T__1) - | (1ULL << TocParser::T__4) - | (1ULL << TocParser::T__8) - | (1ULL << TocParser::T__16) + ((1ULL << _la) & ((1ULL << TocParser::T__4) + | (1ULL << TocParser::T__7) + | (1ULL << TocParser::T__11) | (1ULL << TocParser::T__18) | (1ULL << TocParser::T__20) - | (1ULL << TocParser::T__21) | (1ULL << TocParser::T__22) - | (1ULL << TocParser::T__26) - | (1ULL << TocParser::T__27) + | (1ULL << TocParser::T__23) + | (1ULL << TocParser::T__24) | (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::INT_LIT) | (1ULL << TocParser::DECIMAL_LIT) | (1ULL << TocParser::STRING_LIT) | (1ULL << TocParser::BOOL_LIT) | (1ULL << TocParser::NAME))) != 0)) { - setState(173); + setState(189); stmt(); - setState(178); + setState(194); _errHandler->sync(this); _la = _input->LA(1); } - setState(179); - match(TocParser::T__12); + setState(195); + match(TocParser::T__3); } catch (RecognitionException &e) { @@ -771,7 +854,7 @@ size_t TocParser::StructDeclContext::getRuleIndex() const { TocParser::StructDeclContext* TocParser::structDecl() { StructDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 22, TocParser::RuleStructDecl); + enterRule(_localctx, 24, TocParser::RuleStructDecl); size_t _la = 0; #if __cplusplus > 201703L @@ -783,32 +866,34 @@ TocParser::StructDeclContext* TocParser::structDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(181); - match(TocParser::T__13); - setState(182); + setState(197); + match(TocParser::T__14); + setState(198); structName(); - setState(184); + setState(200); _errHandler->sync(this); _la = _input->LA(1); - if (_la == TocParser::T__14) { - setState(183); + if (_la == TocParser::T__16) { + setState(199); genericDecl(); } - setState(186); - match(TocParser::T__11); - setState(190); + setState(202); + match(TocParser::T__2); + setState(206); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::NAME) { - setState(187); + while (_la == TocParser::T__15 + + || _la == TocParser::NAME) { + setState(203); structMember(); - setState(192); + setState(208); _errHandler->sync(this); _la = _input->LA(1); } - setState(193); - match(TocParser::T__12); + setState(209); + match(TocParser::T__3); } catch (RecognitionException &e) { @@ -830,6 +915,10 @@ TocParser::StructVarContext* TocParser::StructMemberContext::structVar() { return getRuleContext(0); } +TocParser::PrivateDeclContext* TocParser::StructMemberContext::privateDecl() { + return getRuleContext(0); +} + TocParser::StructMethodContext* TocParser::StructMemberContext::structMethod() { return getRuleContext(0); } @@ -842,7 +931,8 @@ size_t TocParser::StructMemberContext::getRuleIndex() const { TocParser::StructMemberContext* TocParser::structMember() { StructMemberContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 24, TocParser::RuleStructMember); + enterRule(_localctx, 26, TocParser::RuleStructMember); + size_t _la = 0; #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -852,19 +942,27 @@ TocParser::StructMemberContext* TocParser::structMember() { exitRule(); }); try { - setState(197); + setState(216); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 12, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 14, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(195); + setState(212); + _errHandler->sync(this); + + _la = _input->LA(1); + if (_la == TocParser::T__15) { + setState(211); + privateDecl(); + } + setState(214); structVar(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(196); + setState(215); structMethod(); break; } @@ -901,7 +999,7 @@ size_t TocParser::StructVarContext::getRuleIndex() const { TocParser::StructVarContext* TocParser::structVar() { StructVarContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 26, TocParser::RuleStructVar); + enterRule(_localctx, 28, TocParser::RuleStructVar); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -912,9 +1010,9 @@ TocParser::StructVarContext* TocParser::structVar() { }); try { enterOuterAlt(_localctx, 1); - setState(199); + setState(218); var(); - setState(200); + setState(219); match(TocParser::T__0); } @@ -945,7 +1043,7 @@ size_t TocParser::StructMethodContext::getRuleIndex() const { TocParser::StructMethodContext* TocParser::structMethod() { StructMethodContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 28, TocParser::RuleStructMethod); + enterRule(_localctx, 30, TocParser::RuleStructMethod); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -956,7 +1054,7 @@ TocParser::StructMethodContext* TocParser::structMethod() { }); try { enterOuterAlt(_localctx, 1); - setState(202); + setState(221); func(); } @@ -969,6 +1067,44 @@ TocParser::StructMethodContext* TocParser::structMethod() { return _localctx; } +//----------------- PrivateDeclContext ------------------------------------------------------------------ + +TocParser::PrivateDeclContext::PrivateDeclContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + + +size_t TocParser::PrivateDeclContext::getRuleIndex() const { + return TocParser::RulePrivateDecl; +} + + +TocParser::PrivateDeclContext* TocParser::privateDecl() { + PrivateDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 32, TocParser::RulePrivateDecl); + +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(223); + match(TocParser::T__15); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; +} + //----------------- GenericDeclContext ------------------------------------------------------------------ TocParser::GenericDeclContext::GenericDeclContext(ParserRuleContext *parent, size_t invokingState) @@ -991,7 +1127,7 @@ size_t TocParser::GenericDeclContext::getRuleIndex() const { TocParser::GenericDeclContext* TocParser::genericDecl() { GenericDeclContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 30, TocParser::RuleGenericDecl); + enterRule(_localctx, 34, TocParser::RuleGenericDecl); size_t _la = 0; #if __cplusplus > 201703L @@ -1003,24 +1139,24 @@ TocParser::GenericDeclContext* TocParser::genericDecl() { }); try { enterOuterAlt(_localctx, 1); - setState(204); - match(TocParser::T__14); - setState(205); + setState(225); + match(TocParser::T__16); + setState(226); typeName(); - setState(210); + setState(231); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::T__10) { - setState(206); - match(TocParser::T__10); - setState(207); + while (_la == TocParser::T__13) { + setState(227); + match(TocParser::T__13); + setState(228); typeName(); - setState(212); + setState(233); _errHandler->sync(this); _la = _input->LA(1); } - setState(213); - match(TocParser::T__15); + setState(234); + match(TocParser::T__17); } catch (RecognitionException &e) { @@ -1078,7 +1214,7 @@ size_t TocParser::StmtContext::getRuleIndex() const { TocParser::StmtContext* TocParser::stmt() { StmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 32, TocParser::RuleStmt); + enterRule(_localctx, 36, TocParser::RuleStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1088,69 +1224,69 @@ TocParser::StmtContext* TocParser::stmt() { exitRule(); }); try { - setState(231); + setState(252); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 14, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 16, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(215); + setState(236); varDecl(); - setState(216); + setState(237); match(TocParser::T__0); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(218); + setState(239); ifStmt(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(219); + setState(240); switchStmt(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(220); + setState(241); forStmt(); break; } case 5: { enterOuterAlt(_localctx, 5); - setState(221); + setState(242); whileStmt(); break; } case 6: { enterOuterAlt(_localctx, 6); - setState(222); + setState(243); assignStmt(); - setState(223); + setState(244); match(TocParser::T__0); break; } case 7: { enterOuterAlt(_localctx, 7); - setState(225); + setState(246); returnStmt(); - setState(226); + setState(247); match(TocParser::T__0); break; } case 8: { enterOuterAlt(_localctx, 8); - setState(228); + setState(249); expr(); - setState(229); + setState(250); match(TocParser::T__0); break; } @@ -1203,7 +1339,7 @@ size_t TocParser::IfStmtContext::getRuleIndex() const { TocParser::IfStmtContext* TocParser::ifStmt() { IfStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 34, TocParser::RuleIfStmt); + enterRule(_localctx, 38, TocParser::RuleIfStmt); size_t _la = 0; #if __cplusplus > 201703L @@ -1216,30 +1352,30 @@ TocParser::IfStmtContext* TocParser::ifStmt() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(233); - match(TocParser::T__16); - setState(234); + setState(254); + match(TocParser::T__18); + setState(255); expr(); - setState(235); + setState(256); body(); - setState(239); + setState(260); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 15, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 17, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(236); + setState(257); elseIfStmt(); } - setState(241); + setState(262); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 15, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 17, _ctx); } - setState(243); + setState(264); _errHandler->sync(this); _la = _input->LA(1); - if (_la == TocParser::T__17) { - setState(242); + if (_la == TocParser::T__19) { + setState(263); elseStmt(); } @@ -1275,7 +1411,7 @@ size_t TocParser::ElseIfStmtContext::getRuleIndex() const { TocParser::ElseIfStmtContext* TocParser::elseIfStmt() { ElseIfStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 36, TocParser::RuleElseIfStmt); + enterRule(_localctx, 40, TocParser::RuleElseIfStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1286,13 +1422,13 @@ TocParser::ElseIfStmtContext* TocParser::elseIfStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(245); - match(TocParser::T__17); - setState(246); - match(TocParser::T__16); - setState(247); + setState(266); + match(TocParser::T__19); + setState(267); + match(TocParser::T__18); + setState(268); expr(); - setState(248); + setState(269); body(); } @@ -1323,7 +1459,7 @@ size_t TocParser::ElseStmtContext::getRuleIndex() const { TocParser::ElseStmtContext* TocParser::elseStmt() { ElseStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 38, TocParser::RuleElseStmt); + enterRule(_localctx, 42, TocParser::RuleElseStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1334,9 +1470,9 @@ TocParser::ElseStmtContext* TocParser::elseStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(250); - match(TocParser::T__17); - setState(251); + setState(271); + match(TocParser::T__19); + setState(272); body(); } @@ -1371,7 +1507,7 @@ size_t TocParser::SwitchStmtContext::getRuleIndex() const { TocParser::SwitchStmtContext* TocParser::switchStmt() { SwitchStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 40, TocParser::RuleSwitchStmt); + enterRule(_localctx, 44, TocParser::RuleSwitchStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1382,11 +1518,11 @@ TocParser::SwitchStmtContext* TocParser::switchStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(253); - match(TocParser::T__18); - setState(254); + setState(274); + match(TocParser::T__20); + setState(275); identifierExpr(); - setState(255); + setState(276); switchBody(); } @@ -1421,7 +1557,7 @@ size_t TocParser::SwitchBodyContext::getRuleIndex() const { TocParser::SwitchBodyContext* TocParser::switchBody() { SwitchBodyContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 42, TocParser::RuleSwitchBody); + enterRule(_localctx, 46, TocParser::RuleSwitchBody); size_t _la = 0; #if __cplusplus > 201703L @@ -1433,20 +1569,20 @@ TocParser::SwitchBodyContext* TocParser::switchBody() { }); try { enterOuterAlt(_localctx, 1); - setState(257); - match(TocParser::T__11); - setState(261); + setState(278); + match(TocParser::T__2); + setState(282); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::T__19) { - setState(258); + while (_la == TocParser::T__21) { + setState(279); switchCase(); - setState(263); + setState(284); _errHandler->sync(this); _la = _input->LA(1); } - setState(264); - match(TocParser::T__12); + setState(285); + match(TocParser::T__3); } catch (RecognitionException &e) { @@ -1480,7 +1616,7 @@ size_t TocParser::SwitchCaseContext::getRuleIndex() const { TocParser::SwitchCaseContext* TocParser::switchCase() { SwitchCaseContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 44, TocParser::RuleSwitchCase); + enterRule(_localctx, 48, TocParser::RuleSwitchCase); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1491,11 +1627,11 @@ TocParser::SwitchCaseContext* TocParser::switchCase() { }); try { enterOuterAlt(_localctx, 1); - setState(266); - match(TocParser::T__19); - setState(267); + setState(287); + match(TocParser::T__21); + setState(288); expr(); - setState(268); + setState(289); body(); } @@ -1542,7 +1678,7 @@ size_t TocParser::ForStmtContext::getRuleIndex() const { TocParser::ForStmtContext* TocParser::forStmt() { ForStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 46, TocParser::RuleForStmt); + enterRule(_localctx, 50, TocParser::RuleForStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1553,19 +1689,19 @@ TocParser::ForStmtContext* TocParser::forStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(270); - match(TocParser::T__20); - setState(273); + setState(291); + match(TocParser::T__22); + setState(294); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 18, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 20, _ctx)) { case 1: { - setState(271); + setState(292); varInit(); break; } case 2: { - setState(272); + setState(293); assignStmt(); break; } @@ -1573,15 +1709,15 @@ TocParser::ForStmtContext* TocParser::forStmt() { default: break; } - setState(275); - match(TocParser::T__10); - setState(276); + setState(296); + match(TocParser::T__13); + setState(297); expr(); - setState(277); - match(TocParser::T__10); - setState(278); + setState(298); + match(TocParser::T__13); + setState(299); expr(); - setState(279); + setState(300); body(); } @@ -1616,7 +1752,7 @@ size_t TocParser::WhileStmtContext::getRuleIndex() const { TocParser::WhileStmtContext* TocParser::whileStmt() { WhileStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 48, TocParser::RuleWhileStmt); + enterRule(_localctx, 52, TocParser::RuleWhileStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1627,11 +1763,11 @@ TocParser::WhileStmtContext* TocParser::whileStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(281); - match(TocParser::T__21); - setState(282); + setState(302); + match(TocParser::T__23); + setState(303); expr(); - setState(283); + setState(304); body(); } @@ -1666,7 +1802,7 @@ size_t TocParser::AssignStmtContext::getRuleIndex() const { TocParser::AssignStmtContext* TocParser::assignStmt() { AssignStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 50, TocParser::RuleAssignStmt); + enterRule(_localctx, 54, TocParser::RuleAssignStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1677,11 +1813,11 @@ TocParser::AssignStmtContext* TocParser::assignStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(285); + setState(306); identifierExpr(); - setState(286); - match(TocParser::T__3); - setState(287); + setState(307); + match(TocParser::T__6); + setState(308); expr(); } @@ -1712,7 +1848,7 @@ size_t TocParser::ReturnStmtContext::getRuleIndex() const { TocParser::ReturnStmtContext* TocParser::returnStmt() { ReturnStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 52, TocParser::RuleReturnStmt); + enterRule(_localctx, 56, TocParser::RuleReturnStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1723,9 +1859,9 @@ TocParser::ReturnStmtContext* TocParser::returnStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(289); - match(TocParser::T__22); - setState(290); + setState(310); + match(TocParser::T__24); + setState(311); expr(); } @@ -1776,7 +1912,7 @@ size_t TocParser::ExprContext::getRuleIndex() const { TocParser::ExprContext* TocParser::expr() { ExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 54, TocParser::RuleExpr); + enterRule(_localctx, 58, TocParser::RuleExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1786,47 +1922,47 @@ TocParser::ExprContext* TocParser::expr() { exitRule(); }); try { - setState(298); + setState(319); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 19, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 21, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(292); + setState(313); funcExpr(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(293); + setState(314); litExpr(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(294); + setState(315); identifierExpr(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(295); + setState(316); parenExpr(); break; } case 5: { enterOuterAlt(_localctx, 5); - setState(296); + setState(317); accessExpr(); break; } case 6: { enterOuterAlt(_localctx, 6); - setState(297); + setState(318); opExpr(); break; } @@ -1879,7 +2015,7 @@ size_t TocParser::NonOpExprContext::getRuleIndex() const { TocParser::NonOpExprContext* TocParser::nonOpExpr() { NonOpExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 56, TocParser::RuleNonOpExpr); + enterRule(_localctx, 60, TocParser::RuleNonOpExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1889,40 +2025,40 @@ TocParser::NonOpExprContext* TocParser::nonOpExpr() { exitRule(); }); try { - setState(305); + setState(326); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 20, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 22, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(300); + setState(321); funcExpr(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(301); + setState(322); litExpr(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(302); + setState(323); identifierExpr(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(303); + setState(324); parenExpr(); break; } case 5: { enterOuterAlt(_localctx, 5); - setState(304); + setState(325); accessExpr(); break; } @@ -1967,7 +2103,7 @@ size_t TocParser::NonAccessExprContext::getRuleIndex() const { TocParser::NonAccessExprContext* TocParser::nonAccessExpr() { NonAccessExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 58, TocParser::RuleNonAccessExpr); + enterRule(_localctx, 62, TocParser::RuleNonAccessExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1977,26 +2113,26 @@ TocParser::NonAccessExprContext* TocParser::nonAccessExpr() { exitRule(); }); try { - setState(310); + setState(331); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 21, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 23, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(307); + setState(328); funcExpr(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(308); + setState(329); identifierExpr(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(309); + setState(330); parenExpr(); break; } @@ -2041,7 +2177,7 @@ size_t TocParser::FuncExprContext::getRuleIndex() const { TocParser::FuncExprContext* TocParser::funcExpr() { FuncExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 60, TocParser::RuleFuncExpr); + enterRule(_localctx, 64, TocParser::RuleFuncExpr); size_t _la = 0; #if __cplusplus > 201703L @@ -2053,46 +2189,46 @@ TocParser::FuncExprContext* TocParser::funcExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(312); + setState(333); funcName(); - setState(313); - match(TocParser::T__8); - setState(322); + setState(334); + match(TocParser::T__11); + setState(343); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & ((1ULL << TocParser::T__4) - | (1ULL << TocParser::T__8) - | (1ULL << TocParser::T__26) - | (1ULL << TocParser::T__27) + ((1ULL << _la) & ((1ULL << TocParser::T__7) + | (1ULL << TocParser::T__11) | (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::INT_LIT) | (1ULL << TocParser::DECIMAL_LIT) | (1ULL << TocParser::STRING_LIT) | (1ULL << TocParser::BOOL_LIT) | (1ULL << TocParser::NAME))) != 0)) { - setState(314); + setState(335); expr(); - setState(319); + setState(340); _errHandler->sync(this); _la = _input->LA(1); - while (_la == TocParser::T__10) { - setState(315); - match(TocParser::T__10); - setState(316); + while (_la == TocParser::T__13) { + setState(336); + match(TocParser::T__13); + setState(337); expr(); - setState(321); + setState(342); _errHandler->sync(this); _la = _input->LA(1); } } - setState(324); - match(TocParser::T__9); + setState(345); + match(TocParser::T__12); } catch (RecognitionException &e) { @@ -2134,7 +2270,7 @@ size_t TocParser::OpExprContext::getRuleIndex() const { TocParser::OpExprContext* TocParser::opExpr() { OpExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 62, TocParser::RuleOpExpr); + enterRule(_localctx, 66, TocParser::RuleOpExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2144,33 +2280,33 @@ TocParser::OpExprContext* TocParser::opExpr() { exitRule(); }); try { - setState(330); + setState(351); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 24, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 26, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(326); + setState(347); binaryOp(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(327); + setState(348); prefixOp(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(328); + setState(349); postfixOp(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(329); + setState(350); ternaryOp(); break; } @@ -2219,7 +2355,7 @@ size_t TocParser::BinaryOpContext::getRuleIndex() const { TocParser::BinaryOpContext* TocParser::binaryOp() { BinaryOpContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 64, TocParser::RuleBinaryOp); + enterRule(_localctx, 68, TocParser::RuleBinaryOp); size_t _la = 0; #if __cplusplus > 201703L @@ -2231,23 +2367,21 @@ TocParser::BinaryOpContext* TocParser::binaryOp() { }); try { enterOuterAlt(_localctx, 1); - setState(332); + setState(353); nonOpExpr(); - setState(333); + setState(354); binary_op(); - setState(334); + setState(355); nonOpExpr(); - setState(340); + setState(361); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & ((1ULL << TocParser::T__4) - | (1ULL << TocParser::T__14) - | (1ULL << TocParser::T__15) - | (1ULL << TocParser::T__28) - | (1ULL << TocParser::T__29) - | (1ULL << TocParser::T__32) - | (1ULL << TocParser::T__33) + ((1ULL << _la) & ((1ULL << TocParser::T__7) + | (1ULL << TocParser::T__16) + | (1ULL << TocParser::T__17) + | (1ULL << TocParser::T__30) + | (1ULL << TocParser::T__31) | (1ULL << TocParser::T__34) | (1ULL << TocParser::T__35) | (1ULL << TocParser::T__36) @@ -2268,12 +2402,14 @@ TocParser::BinaryOpContext* TocParser::binaryOp() { | (1ULL << TocParser::T__51) | (1ULL << TocParser::T__52) | (1ULL << TocParser::T__53) - | (1ULL << TocParser::T__54))) != 0)) { - setState(335); + | (1ULL << TocParser::T__54) + | (1ULL << TocParser::T__55) + | (1ULL << TocParser::T__56))) != 0)) { + setState(356); binary_op(); - setState(336); + setState(357); nonOpExpr(); - setState(342); + setState(363); _errHandler->sync(this); _la = _input->LA(1); } @@ -2310,7 +2446,7 @@ size_t TocParser::PrefixOpContext::getRuleIndex() const { TocParser::PrefixOpContext* TocParser::prefixOp() { PrefixOpContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 66, TocParser::RulePrefixOp); + enterRule(_localctx, 70, TocParser::RulePrefixOp); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2321,9 +2457,9 @@ TocParser::PrefixOpContext* TocParser::prefixOp() { }); try { enterOuterAlt(_localctx, 1); - setState(343); + setState(364); prefix_op(); - setState(344); + setState(365); nonOpExpr(); } @@ -2358,7 +2494,7 @@ size_t TocParser::PostfixOpContext::getRuleIndex() const { TocParser::PostfixOpContext* TocParser::postfixOp() { PostfixOpContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 68, TocParser::RulePostfixOp); + enterRule(_localctx, 72, TocParser::RulePostfixOp); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2369,9 +2505,9 @@ TocParser::PostfixOpContext* TocParser::postfixOp() { }); try { enterOuterAlt(_localctx, 1); - setState(346); + setState(367); nonOpExpr(); - setState(347); + setState(368); postfix_op(); } @@ -2410,7 +2546,7 @@ size_t TocParser::TernaryOpContext::getRuleIndex() const { TocParser::TernaryOpContext* TocParser::ternaryOp() { TernaryOpContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 70, TocParser::RuleTernaryOp); + enterRule(_localctx, 74, TocParser::RuleTernaryOp); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2421,15 +2557,15 @@ TocParser::TernaryOpContext* TocParser::ternaryOp() { }); try { enterOuterAlt(_localctx, 1); - setState(349); + setState(370); nonOpExpr(); - setState(350); - match(TocParser::T__23); - setState(351); + setState(371); + match(TocParser::T__25); + setState(372); expr(); - setState(352); - match(TocParser::T__2); - setState(353); + setState(373); + match(TocParser::T__5); + setState(374); expr(); } @@ -2460,7 +2596,7 @@ size_t TocParser::IdentifierExprContext::getRuleIndex() const { TocParser::IdentifierExprContext* TocParser::identifierExpr() { IdentifierExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 72, TocParser::RuleIdentifierExpr); + enterRule(_localctx, 76, TocParser::RuleIdentifierExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2471,7 +2607,7 @@ TocParser::IdentifierExprContext* TocParser::identifierExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(355); + setState(376); varName(); } @@ -2514,7 +2650,7 @@ size_t TocParser::LitExprContext::getRuleIndex() const { TocParser::LitExprContext* TocParser::litExpr() { LitExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 74, TocParser::RuleLitExpr); + enterRule(_localctx, 78, TocParser::RuleLitExpr); size_t _la = 0; #if __cplusplus > 201703L @@ -2526,7 +2662,7 @@ TocParser::LitExprContext* TocParser::litExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(357); + setState(378); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & ((1ULL << TocParser::INT_LIT) @@ -2576,7 +2712,7 @@ size_t TocParser::AccessExprContext::getRuleIndex() const { TocParser::AccessExprContext* TocParser::accessExpr() { AccessExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 76, TocParser::RuleAccessExpr); + enterRule(_localctx, 80, TocParser::RuleAccessExpr); size_t _la = 0; #if __cplusplus > 201703L @@ -2588,21 +2724,21 @@ TocParser::AccessExprContext* TocParser::accessExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(359); + setState(380); nonAccessExpr(); - setState(361); + setState(382); _errHandler->sync(this); _la = _input->LA(1); do { - setState(360); + setState(381); accessSubExpr(); - setState(363); + setState(384); _errHandler->sync(this); _la = _input->LA(1); } while ((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & ((1ULL << TocParser::T__5) - | (1ULL << TocParser::T__24) - | (1ULL << TocParser::T__25))) != 0)); + ((1ULL << _la) & ((1ULL << TocParser::T__8) + | (1ULL << TocParser::T__26) + | (1ULL << TocParser::T__27))) != 0)); } catch (RecognitionException &e) { @@ -2636,7 +2772,7 @@ size_t TocParser::AccessSubExprContext::getRuleIndex() const { TocParser::AccessSubExprContext* TocParser::accessSubExpr() { AccessSubExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 78, TocParser::RuleAccessSubExpr); + enterRule(_localctx, 82, TocParser::RuleAccessSubExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2646,20 +2782,20 @@ TocParser::AccessSubExprContext* TocParser::accessSubExpr() { exitRule(); }); try { - setState(367); + setState(388); _errHandler->sync(this); switch (_input->LA(1)) { - case TocParser::T__24: - case TocParser::T__25: { + case TocParser::T__26: + case TocParser::T__27: { enterOuterAlt(_localctx, 1); - setState(365); + setState(386); accessMember(); break; } - case TocParser::T__5: { + case TocParser::T__8: { enterOuterAlt(_localctx, 2); - setState(366); + setState(387); accessBrackets(); break; } @@ -2696,7 +2832,7 @@ size_t TocParser::AccessMemberContext::getRuleIndex() const { TocParser::AccessMemberContext* TocParser::accessMember() { AccessMemberContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 80, TocParser::RuleAccessMember); + enterRule(_localctx, 84, TocParser::RuleAccessMember); size_t _la = 0; #if __cplusplus > 201703L @@ -2708,18 +2844,18 @@ TocParser::AccessMemberContext* TocParser::accessMember() { }); try { enterOuterAlt(_localctx, 1); - setState(369); + setState(390); _la = _input->LA(1); - if (!(_la == TocParser::T__24 + if (!(_la == TocParser::T__26 - || _la == TocParser::T__25)) { + || _la == TocParser::T__27)) { _errHandler->recoverInline(this); } else { _errHandler->reportMatch(this); consume(); } - setState(370); + setState(391); identifierExpr(); } @@ -2750,7 +2886,7 @@ size_t TocParser::AccessBracketsContext::getRuleIndex() const { TocParser::AccessBracketsContext* TocParser::accessBrackets() { AccessBracketsContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 82, TocParser::RuleAccessBrackets); + enterRule(_localctx, 86, TocParser::RuleAccessBrackets); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2761,12 +2897,12 @@ TocParser::AccessBracketsContext* TocParser::accessBrackets() { }); try { enterOuterAlt(_localctx, 1); - setState(372); - match(TocParser::T__5); - setState(373); + setState(393); + match(TocParser::T__8); + setState(394); expr(); - setState(374); - match(TocParser::T__6); + setState(395); + match(TocParser::T__9); } catch (RecognitionException &e) { @@ -2796,7 +2932,7 @@ size_t TocParser::ParenExprContext::getRuleIndex() const { TocParser::ParenExprContext* TocParser::parenExpr() { ParenExprContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 84, TocParser::RuleParenExpr); + enterRule(_localctx, 88, TocParser::RuleParenExpr); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2807,12 +2943,12 @@ TocParser::ParenExprContext* TocParser::parenExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(376); - match(TocParser::T__8); - setState(377); + setState(397); + match(TocParser::T__11); + setState(398); expr(); - setState(378); - match(TocParser::T__9); + setState(399); + match(TocParser::T__12); } catch (RecognitionException &e) { @@ -2842,7 +2978,7 @@ size_t TocParser::FuncNameContext::getRuleIndex() const { TocParser::FuncNameContext* TocParser::funcName() { FuncNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 86, TocParser::RuleFuncName); + enterRule(_localctx, 90, TocParser::RuleFuncName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2853,7 +2989,7 @@ TocParser::FuncNameContext* TocParser::funcName() { }); try { enterOuterAlt(_localctx, 1); - setState(380); + setState(401); match(TocParser::NAME); } @@ -2884,7 +3020,7 @@ size_t TocParser::VarNameContext::getRuleIndex() const { TocParser::VarNameContext* TocParser::varName() { VarNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 88, TocParser::RuleVarName); + enterRule(_localctx, 92, TocParser::RuleVarName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2895,7 +3031,7 @@ TocParser::VarNameContext* TocParser::varName() { }); try { enterOuterAlt(_localctx, 1); - setState(382); + setState(403); match(TocParser::NAME); } @@ -2926,7 +3062,7 @@ size_t TocParser::TypeNameContext::getRuleIndex() const { TocParser::TypeNameContext* TocParser::typeName() { TypeNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 90, TocParser::RuleTypeName); + enterRule(_localctx, 94, TocParser::RuleTypeName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2937,7 +3073,7 @@ TocParser::TypeNameContext* TocParser::typeName() { }); try { enterOuterAlt(_localctx, 1); - setState(384); + setState(405); match(TocParser::NAME); } @@ -2968,7 +3104,7 @@ size_t TocParser::StructNameContext::getRuleIndex() const { TocParser::StructNameContext* TocParser::structName() { StructNameContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 92, TocParser::RuleStructName); + enterRule(_localctx, 96, TocParser::RuleStructName); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -2979,7 +3115,7 @@ TocParser::StructNameContext* TocParser::structName() { }); try { enterOuterAlt(_localctx, 1); - setState(386); + setState(407); match(TocParser::NAME); } @@ -3006,7 +3142,7 @@ size_t TocParser::Postfix_opContext::getRuleIndex() const { TocParser::Postfix_opContext* TocParser::postfix_op() { Postfix_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 94, TocParser::RulePostfix_op); + enterRule(_localctx, 98, TocParser::RulePostfix_op); size_t _la = 0; #if __cplusplus > 201703L @@ -3018,11 +3154,11 @@ TocParser::Postfix_opContext* TocParser::postfix_op() { }); try { enterOuterAlt(_localctx, 1); - setState(388); + setState(409); _la = _input->LA(1); - if (!(_la == TocParser::T__26 + if (!(_la == TocParser::T__28 - || _la == TocParser::T__27)) { + || _la == TocParser::T__29)) { _errHandler->recoverInline(this); } else { @@ -3058,7 +3194,7 @@ size_t TocParser::Prefix_opContext::getRuleIndex() const { TocParser::Prefix_opContext* TocParser::prefix_op() { Prefix_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 96, TocParser::RulePrefix_op); + enterRule(_localctx, 100, TocParser::RulePrefix_op); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -3068,55 +3204,55 @@ TocParser::Prefix_opContext* TocParser::prefix_op() { exitRule(); }); try { - setState(397); + setState(418); _errHandler->sync(this); switch (_input->LA(1)) { - case TocParser::T__28: { + case TocParser::T__30: { enterOuterAlt(_localctx, 1); - setState(390); - match(TocParser::T__28); + setState(411); + match(TocParser::T__30); break; } - case TocParser::T__29: { + case TocParser::T__31: { enterOuterAlt(_localctx, 2); - setState(391); - match(TocParser::T__29); + setState(412); + match(TocParser::T__31); break; } - case TocParser::T__30: { + case TocParser::T__32: { enterOuterAlt(_localctx, 3); - setState(392); - match(TocParser::T__30); + setState(413); + match(TocParser::T__32); break; } - case TocParser::T__31: { + case TocParser::T__33: { enterOuterAlt(_localctx, 4); - setState(393); - match(TocParser::T__31); + setState(414); + match(TocParser::T__33); break; } - case TocParser::T__32: { + case TocParser::T__34: { enterOuterAlt(_localctx, 5); - setState(394); - match(TocParser::T__32); + setState(415); + match(TocParser::T__34); break; } - case TocParser::T__4: { + case TocParser::T__7: { enterOuterAlt(_localctx, 6); - setState(395); - match(TocParser::T__4); + setState(416); + match(TocParser::T__7); break; } - case TocParser::T__26: - case TocParser::T__27: { + case TocParser::T__28: + case TocParser::T__29: { enterOuterAlt(_localctx, 7); - setState(396); + setState(417); postfix_op(); break; } @@ -3149,7 +3285,7 @@ size_t TocParser::Binary_opContext::getRuleIndex() const { TocParser::Binary_opContext* TocParser::binary_op() { Binary_opContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 98, TocParser::RuleBinary_op); + enterRule(_localctx, 102, TocParser::RuleBinary_op); size_t _la = 0; #if __cplusplus > 201703L @@ -3161,16 +3297,14 @@ TocParser::Binary_opContext* TocParser::binary_op() { }); try { enterOuterAlt(_localctx, 1); - setState(399); + setState(420); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & ((1ULL << TocParser::T__4) - | (1ULL << TocParser::T__14) - | (1ULL << TocParser::T__15) - | (1ULL << TocParser::T__28) - | (1ULL << TocParser::T__29) - | (1ULL << TocParser::T__32) - | (1ULL << TocParser::T__33) + ((1ULL << _la) & ((1ULL << TocParser::T__7) + | (1ULL << TocParser::T__16) + | (1ULL << TocParser::T__17) + | (1ULL << TocParser::T__30) + | (1ULL << TocParser::T__31) | (1ULL << TocParser::T__34) | (1ULL << TocParser::T__35) | (1ULL << TocParser::T__36) @@ -3191,7 +3325,9 @@ TocParser::Binary_opContext* TocParser::binary_op() { | (1ULL << TocParser::T__51) | (1ULL << TocParser::T__52) | (1ULL << TocParser::T__53) - | (1ULL << TocParser::T__54))) != 0))) { + | (1ULL << TocParser::T__54) + | (1ULL << TocParser::T__55) + | (1ULL << TocParser::T__56))) != 0))) { _errHandler->recoverInline(this); } else { @@ -3218,33 +3354,33 @@ atn::ATN TocParser::_atn; std::vector TocParser::_serializedATN; std::vector TocParser::_ruleNames = { - "prog", "decl", "varDecl", "var", "varInit", "type", "typeModifier", "funcDecl", - "func", "parameter", "body", "structDecl", "structMember", "structVar", - "structMethod", "genericDecl", "stmt", "ifStmt", "elseIfStmt", "elseStmt", - "switchStmt", "switchBody", "switchCase", "forStmt", "whileStmt", "assignStmt", - "returnStmt", "expr", "nonOpExpr", "nonAccessExpr", "funcExpr", "opExpr", - "binaryOp", "prefixOp", "postfixOp", "ternaryOp", "identifierExpr", "litExpr", - "accessExpr", "accessSubExpr", "accessMember", "accessBrackets", "parenExpr", - "funcName", "varName", "typeName", "structName", "postfix_op", "prefix_op", - "binary_op" + "prog", "decl", "namespaceDecl", "varDecl", "var", "varInit", "type", + "typeModifier", "funcDecl", "func", "parameter", "body", "structDecl", + "structMember", "structVar", "structMethod", "privateDecl", "genericDecl", + "stmt", "ifStmt", "elseIfStmt", "elseStmt", "switchStmt", "switchBody", + "switchCase", "forStmt", "whileStmt", "assignStmt", "returnStmt", "expr", + "nonOpExpr", "nonAccessExpr", "funcExpr", "opExpr", "binaryOp", "prefixOp", + "postfixOp", "ternaryOp", "identifierExpr", "litExpr", "accessExpr", "accessSubExpr", + "accessMember", "accessBrackets", "parenExpr", "funcName", "varName", + "typeName", "structName", "postfix_op", "prefix_op", "binary_op" }; std::vector TocParser::_literalNames = { - "", "';'", "'var'", "':'", "'='", "'*'", "'['", "']'", "'func'", "'('", - "')'", "','", "'{'", "'}'", "'struct'", "'<'", "'>'", "'if'", "'else'", - "'switch'", "'case'", "'for'", "'while'", "'return'", "'\u003F'", "'.'", - "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", "'~'", "'&'", "'/'", "'%'", - "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", "'<<'", "'>>'", "'||'", - "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", "'+='", "'-='", "'*='", - "'/='", "'%='" + "", "';'", "'namespace'", "'{'", "'}'", "'var'", "':'", "'='", "'*'", + "'['", "']'", "'func'", "'('", "')'", "','", "'struct'", "'private'", + "'<'", "'>'", "'if'", "'else'", "'switch'", "'case'", "'for'", "'while'", + "'return'", "'\u003F'", "'.'", "'->'", "'++'", "'--'", "'+'", "'-'", "'!'", + "'~'", "'&'", "'/'", "'%'", "'|'", "'^'", "'=='", "'!='", "'<='", "'>='", + "'<<'", "'>>'", "'||'", "'&&'", "'&='", "'|='", "'^='", "'<<='", "'>>='", + "'+='", "'-='", "'*='", "'/='", "'%='" }; std::vector TocParser::_symbolicNames = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "", "", "INT_LIT", "DECIMAL_LIT", "STRING_LIT", "BOOL_LIT", "NAME", "WS", - "NEWLINE" + "", "", "", "", "INT_LIT", "DECIMAL_LIT", "STRING_LIT", "BOOL_LIT", "NAME", + "WS", "NEWLINE" }; dfa::Vocabulary TocParser::_vocabulary(_literalNames, _symbolicNames); @@ -3267,7 +3403,7 @@ TocParser::Initializer::Initializer() { static const uint16_t serializedATNSegment0[] = { 0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964, - 0x3, 0x40, 0x194, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, 0x4, 0x4, + 0x3, 0x42, 0x1a9, 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, @@ -3283,267 +3419,282 @@ TocParser::Initializer::Initializer() { 0x9, 0x29, 0x4, 0x2a, 0x9, 0x2a, 0x4, 0x2b, 0x9, 0x2b, 0x4, 0x2c, 0x9, 0x2c, 0x4, 0x2d, 0x9, 0x2d, 0x4, 0x2e, 0x9, 0x2e, 0x4, 0x2f, 0x9, 0x2f, 0x4, 0x30, 0x9, 0x30, 0x4, 0x31, 0x9, 0x31, 0x4, 0x32, - 0x9, 0x32, 0x4, 0x33, 0x9, 0x33, 0x3, 0x2, 0x6, 0x2, 0x68, 0xa, 0x2, - 0xd, 0x2, 0xe, 0x2, 0x69, 0x3, 0x2, 0x3, 0x2, 0x3, 0x3, 0x3, 0x3, - 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x5, 0x3, 0x73, 0xa, 0x3, 0x3, 0x4, - 0x3, 0x4, 0x3, 0x4, 0x3, 0x5, 0x3, 0x5, 0x3, 0x5, 0x3, 0x5, 0x3, - 0x5, 0x3, 0x5, 0x5, 0x5, 0x7e, 0xa, 0x5, 0x3, 0x6, 0x3, 0x6, 0x3, - 0x6, 0x3, 0x6, 0x3, 0x6, 0x3, 0x6, 0x3, 0x6,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, 0x2, - 0x2, 0x108, 0x10a, 0x3, 0x2, 0x2, 0x2, 0x109, 0x107, 0x3, 0x2, 0x2, - 0x2, 0x10a, 0x10b, 0x7, 0xf, 0x2, 0x2, 0x10b, 0x2d, 0x3, 0x2, 0x2, - 0x2, 0x10c, 0x10d, 0x7, 0x16, 0x2, 0x2, 0x10d, 0x10e, 0x5, 0x38, - 0x1d, 0x2, 0x10e, 0x10f, 0x5, 0x16, 0xc, 0x2, 0x10f, 0x2f, 0x3, 0x2, - 0x2, 0x2, 0x110, 0x113, 0x7, 0x17, 0x2, 0x2, 0x111, 0x114, 0x5, 0xa, - 0x6, 0x2, 0x112, 0x114, 0x5, 0x34, 0x1b, 0x2, 0x113, 0x111, 0x3, - 0x2, 0x2, 0x2, 0x113, 0x112, 0x3, 0x2, 0x2, 0x2, 0x114, 0x115, 0x3, - 0x2, 0x2, 0x2, 0x115, 0x116, 0x7, 0xd, 0x2, 0x2, 0x116, 0x117, 0x5, - 0x38, 0x1d, 0x2, 0x117, 0x118, 0x7, 0xd, 0x2, 0x2, 0x118, 0x119, - 0x5, 0x38, 0x1d, 0x2, 0x119, 0x11a, 0x5, 0x16, 0xc, 0x2, 0x11a, 0x31, - 0x3, 0x2, 0x2, 0x2, 0x11b, 0x11c, 0x7, 0x18, 0x2, 0x2, 0x11c, 0x11d, - 0x5, 0x38, 0x1d, 0x2, 0x11d, 0x11e, 0x5, 0x16, 0xc, 0x2, 0x11e, 0x33, - 0x3, 0x2, 0x2, 0x2, 0x11f, 0x120, 0x5, 0x4a, 0x26, 0x2, 0x120, 0x121, - 0x7, 0x6, 0x2, 0x2, 0x121, 0x122, 0x5, 0x38, 0x1d, 0x2, 0x122, 0x35, - 0x3, 0x2, 0x2, 0x2, 0x123, 0x124, 0x7, 0x19, 0x2, 0x2, 0x124, 0x125, - 0x5, 0x38, 0x1d, 0x2, 0x125, 0x37, 0x3, 0x2, 0x2, 0x2, 0x126, 0x12d, - 0x5, 0x3e, 0x20, 0x2, 0x127, 0x12d, 0x5, 0x4c, 0x27, 0x2, 0x128, - 0x12d, 0x5, 0x4a, 0x26, 0x2, 0x129, 0x12d, 0x5, 0x56, 0x2c, 0x2, - 0x12a, 0x12d, 0x5, 0x4e, 0x28, 0x2, 0x12b, 0x12d, 0x5, 0x40, 0x21, - 0x2, 0x12c, 0x126, 0x3, 0x2, 0x2, 0x2, 0x12c, 0x127, 0x3, 0x2, 0x2, - 0x2, 0x12c, 0x128, 0x3, 0x2, 0x2, 0x2, 0x12c, 0x129, 0x3, 0x2, 0x2, - 0x2, 0x12c, 0x12a, 0x3, 0x2, 0x2, 0x2, 0x12c, 0x12b, 0x3, 0x2, 0x2, - 0x2, 0x12d, 0x39, 0x3, 0x2, 0x2, 0x2, 0x12e, 0x134, 0x5, 0x3e, 0x20, - 0x2, 0x12f, 0x134, 0x5, 0x4c, 0x27, 0x2, 0x130, 0x134, 0x5, 0x4a, - 0x26, 0x2, 0x131, 0x134, 0x5, 0x56, 0x2c, 0x2, 0x132, 0x134, 0x5, - 0x4e, 0x28, 0x2, 0x133, 0x12e, 0x3, 0x2, 0x2, 0x2, 0x133, 0x12f, - 0x3, 0x2, 0x2, 0x2, 0x133, 0x130, 0x3, 0x2, 0x2, 0x2, 0x133, 0x131, - 0x3, 0x2, 0x2, 0x2, 0x133, 0x132, 0x3, 0x2, 0x2, 0x2, 0x134, 0x3b, - 0x3, 0x2, 0x2, 0x2, 0x135, 0x139, 0x5, 0x3e, 0x20, 0x2, 0x136, 0x139, - 0x5, 0x4a, 0x26, 0x2, 0x137, 0x139, 0x5, 0x56, 0x2c, 0x2, 0x138, - 0x135, 0x3, 0x2, 0x2, 0x2, 0x138, 0x136, 0x3, 0x2, 0x2, 0x2, 0x138, - 0x137, 0x3, 0x2, 0x2, 0x2, 0x139, 0x3d, 0x3, 0x2, 0x2, 0x2, 0x13a, - 0x13b, 0x5, 0x58, 0x2d, 0x2, 0x13b, 0x144, 0x7, 0xb, 0x2, 0x2, 0x13c, - 0x141, 0x5, 0x38, 0x1d, 0x2, 0x13d, 0x13e, 0x7, 0xd, 0x2, 0x2, 0x13e, - 0x140, 0x5, 0x38, 0x1d, 0x2, 0x13f, 0x13d, 0x3, 0x2, 0x2, 0x2, 0x140, - 0x143, 0x3, 0x2, 0x2, 0x2, 0x141, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x141, - 0x142, 0x3, 0x2, 0x2, 0x2, 0x142, 0x145, 0x3, 0x2, 0x2, 0x2, 0x143, - 0x141, 0x3, 0x2, 0x2, 0x2, 0x144, 0x13c, 0x3, 0x2, 0x2, 0x2, 0x144, - 0x145, 0x3, 0x2, 0x2, 0x2, 0x145, 0x146, 0x3, 0x2, 0x2, 0x2, 0x146, - 0x147, 0x7, 0xc, 0x2, 0x2, 0x147, 0x3f, 0x3, 0x2, 0x2, 0x2, 0x148, - 0x14d, 0x5, 0x42, 0x22, 0x2, 0x149, 0x14d, 0x5, 0x44, 0x23, 0x2, - 0x14a, 0x14d, 0x5, 0x46, 0x24, 0x2, 0x14b, 0x14d, 0x5, 0x48, 0x25, - 0x2, 0x14c, 0x148, 0x3, 0x2, 0x2, 0x2, 0x14c, 0x149, 0x3, 0x2, 0x2, - 0x2, 0x14c, 0x14a, 0x3, 0x2, 0x2, 0x2, 0x14c, 0x14b, 0x3, 0x2, 0x2, - 0x2, 0x14d, 0x41, 0x3, 0x2, 0x2, 0x2, 0x14e, 0x14f, 0x5, 0x3a, 0x1e, - 0x2, 0x14f, 0x150, 0x5, 0x64, 0x33, 0x2, 0x150, 0x156, 0x5, 0x3a, - 0x1e, 0x2, 0x151, 0x152, 0x5, 0x64, 0x33, 0x2, 0x152, 0x153, 0x5, - 0x3a, 0x1e, 0x2, 0x153, 0x155, 0x3, 0x2, 0x2, 0x2, 0x154, 0x151, - 0x3, 0x2, 0x2, 0x2, 0x155, 0x158, 0x3, 0x2, 0x2, 0x2, 0x156, 0x154, - 0x3, 0x2, 0x2, 0x2, 0x156, 0x157, 0x3, 0x2, 0x2, 0x2, 0x157, 0x43, - 0x3, 0x2, 0x2, 0x2, 0x158, 0x156, 0x3, 0x2, 0x2, 0x2, 0x159, 0x15a, - 0x5, 0x62, 0x32, 0x2, 0x15a, 0x15b, 0x5, 0x3a, 0x1e, 0x2, 0x15b, - 0x45, 0x3, 0x2, 0x2, 0x2, 0x15c, 0x15d, 0x5, 0x3a, 0x1e, 0x2, 0x15d, - 0x15e, 0x5, 0x60, 0x31, 0x2, 0x15e, 0x47, 0x3, 0x2, 0x2, 0x2, 0x15f, - 0x160, 0x5, 0x3a, 0x1e, 0x2, 0x160, 0x161, 0x7, 0x1a, 0x2, 0x2, 0x161, - 0x162, 0x5, 0x38, 0x1d, 0x2, 0x162, 0x163, 0x7, 0x5, 0x2, 0x2, 0x163, - 0x164, 0x5, 0x38, 0x1d, 0x2, 0x164, 0x49, 0x3, 0x2, 0x2, 0x2, 0x165, - 0x166, 0x5, 0x5a, 0x2e, 0x2, 0x166, 0x4b, 0x3, 0x2, 0x2, 0x2, 0x167, - 0x168, 0x9, 0x2, 0x2, 0x2, 0x168, 0x4d, 0x3, 0x2, 0x2, 0x2, 0x169, - 0x16b, 0x5, 0x3c, 0x1f, 0x2, 0x16a, 0x16c, 0x5, 0x50, 0x29, 0x2, - 0x16b, 0x16a, 0x3, 0x2, 0x2, 0x2, 0x16c, 0x16d, 0x3, 0x2, 0x2, 0x2, - 0x16d, 0x16b, 0x3, 0x2, 0x2, 0x2, 0x16d, 0x16e, 0x3, 0x2, 0x2, 0x2, - 0x16e, 0x4f, 0x3, 0x2, 0x2, 0x2, 0x16f, 0x172, 0x5, 0x52, 0x2a, 0x2, - 0x170, 0x172, 0x5, 0x54, 0x2b, 0x2, 0x171, 0x16f, 0x3, 0x2, 0x2, - 0x2, 0x171, 0x170, 0x3, 0x2, 0x2, 0x2, 0x172, 0x51, 0x3, 0x2, 0x2, - 0x2, 0x173, 0x174, 0x9, 0x3, 0x2, 0x2, 0x174, 0x175, 0x5, 0x4a, 0x26, - 0x2, 0x175, 0x53, 0x3, 0x2, 0x2, 0x2, 0x176, 0x177, 0x7, 0x8, 0x2, - 0x2, 0x177, 0x178, 0x5, 0x38, 0x1d, 0x2, 0x178, 0x179, 0x7, 0x9, - 0x2, 0x2, 0x179, 0x55, 0x3, 0x2, 0x2, 0x2, 0x17a, 0x17b, 0x7, 0xb, - 0x2, 0x2, 0x17b, 0x17c, 0x5, 0x38, 0x1d, 0x2, 0x17c, 0x17d, 0x7, - 0xc, 0x2, 0x2, 0x17d, 0x57, 0x3, 0x2, 0x2, 0x2, 0x17e, 0x17f, 0x7, - 0x3e, 0x2, 0x2, 0x17f, 0x59, 0x3, 0x2, 0x2, 0x2, 0x180, 0x181, 0x7, - 0x3e, 0x2, 0x2, 0x181, 0x5b, 0x3, 0x2, 0x2, 0x2, 0x182, 0x183, 0x7, - 0x3e, 0x2, 0x2, 0x183, 0x5d, 0x3, 0x2, 0x2, 0x2, 0x184, 0x185, 0x7, - 0x3e, 0x2, 0x2, 0x185, 0x5f, 0x3, 0x2, 0x2, 0x2, 0x186, 0x187, 0x9, - 0x4, 0x2, 0x2, 0x187, 0x61, 0x3, 0x2, 0x2, 0x2, 0x188, 0x190, 0x7, - 0x1f, 0x2, 0x2, 0x189, 0x190, 0x7, 0x20, 0x2, 0x2, 0x18a, 0x190, - 0x7, 0x21, 0x2, 0x2, 0x18b, 0x190, 0x7, 0x22, 0x2, 0x2, 0x18c, 0x190, - 0x7, 0x23, 0x2, 0x2, 0x18d, 0x190, 0x7, 0x7, 0x2, 0x2, 0x18e, 0x190, - 0x5, 0x60, 0x31, 0x2, 0x18f, 0x188, 0x3, 0x2, 0x2, 0x2, 0x18f, 0x189, - 0x3, 0x2, 0x2, 0x2, 0x18f, 0x18a, 0x3, 0x2, 0x2, 0x2, 0x18f, 0x18b, - 0x3, 0x2, 0x2, 0x2, 0x18f, 0x18c, 0x3, 0x2, 0x2, 0x2, 0x18f, 0x18d, - 0x3, 0x2, 0x2, 0x2, 0x18f, 0x18e, 0x3, 0x2, 0x2, 0x2, 0x190, 0x63, - 0x3, 0x2, 0x2, 0x2, 0x191, 0x192, 0x9, 0x5, 0x2, 0x2, 0x192, 0x65, - 0x3, 0x2, 0x2, 0x2, 0x1f, 0x69, 0x72, 0x7d, 0x8a, 0x90, 0x93, 0x9a, - 0xa9, 0xac, 0xb2, 0xba, 0xc0, 0xc7, 0xd4, 0xe9, 0xf1, 0xf5, 0x107, - 0x113, 0x12c, 0x133, 0x138, 0x141, 0x144, 0x14c, 0x156, 0x16d, 0x171, - 0x18f, + 0x33, 0x3, 0x33, 0x3, 0x34, 0x3, 0x34, 0x3, 0x34, 0x3, 0x34, 0x3, + 0x34, 0x3, 0x34, 0x3, 0x34, 0x5, 0x34, 0x1a5, 0xa, 0x34, 0x3, 0x35, + 0x3, 0x35, 0x3, 0x35, 0x2, 0x2, 0x36, 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, + 0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x62, 0x64, + 0x66, 0x68, 0x2, 0x6, 0x3, 0x2, 0x3c, 0x3f, 0x3, 0x2, 0x1d, 0x1e, + 0x3, 0x2, 0x1f, 0x20, 0x6, 0x2, 0xa, 0xa, 0x13, 0x14, 0x21, 0x22, + 0x25, 0x3b, 0x2, 0x1aa, 0x2, 0x6b, 0x3, 0x2, 0x2, 0x2, 0x4, 0x77, + 0x3, 0x2, 0x2, 0x2, 0x6, 0x79, 0x3, 0x2, 0x2, 0x2, 0x8, 0x84, 0x3, + 0x2, 0x2, 0x2, 0xa, 0x87, 0x3, 0x2, 0x2, 0x2, 0xc, 0x8f, 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16, 0x2, 0x104, 0x103, 0x3, 0x2, 0x2, 0x2, 0x105, 0x108, + 0x3, 0x2, 0x2, 0x2, 0x106, 0x104, 0x3, 0x2, 0x2, 0x2, 0x106, 0x107, + 0x3, 0x2, 0x2, 0x2, 0x107, 0x10a, 0x3, 0x2, 0x2, 0x2, 0x108, 0x106, + 0x3, 0x2, 0x2, 0x2, 0x109, 0x10b, 0x5, 0x2c, 0x17, 0x2, 0x10a, 0x109, + 0x3, 0x2, 0x2, 0x2, 0x10a, 0x10b, 0x3, 0x2, 0x2, 0x2, 0x10b, 0x29, + 0x3, 0x2, 0x2, 0x2, 0x10c, 0x10d, 0x7, 0x16, 0x2, 0x2, 0x10d, 0x10e, + 0x7, 0x15, 0x2, 0x2, 0x10e, 0x10f, 0x5, 0x3c, 0x1f, 0x2, 0x10f, 0x110, + 0x5, 0x18, 0xd, 0x2, 0x110, 0x2b, 0x3, 0x2, 0x2, 0x2, 0x111, 0x112, + 0x7, 0x16, 0x2, 0x2, 0x112, 0x113, 0x5, 0x18, 0xd, 0x2, 0x113, 0x2d, + 0x3, 0x2, 0x2, 0x2, 0x114, 0x115, 0x7, 0x17, 0x2, 0x2, 0x115, 0x116, + 0x5, 0x4e, 0x28, 0x2, 0x116, 0x117, 0x5, 0x30, 0x19, 0x2, 0x117, + 0x2f, 0x3, 0x2, 0x2, 0x2, 0x118, 0x11c, 0x7, 0x5, 0x2, 0x2, 0x119, + 0x11b, 0x5, 0x32, 0x1a, 0x2, 0x11a, 0x119, 0x3, 0x2, 0x2, 0x2, 0x11b, + 0x11e, 0x3, 0x2, 0x2, 0x2, 0x11c, 0x11a, 0x3, 0x2, 0x2, 0x2, 0x11c, + 0x11d, 0x3, 0x2, 0x2, 0x2, 0x11d, 0x11f, 0x3, 0x2, 0x2, 0x2, 0x11e, + 0x11c, 0x3, 0x2, 0x2, 0x2, 0x11f, 0x120, 0x7, 0x6, 0x2, 0x2, 0x120, + 0x31, 0x3, 0x2, 0x2, 0x2, 0x121, 0x122, 0x7, 0x18, 0x2, 0x2, 0x122, + 0x123, 0x5, 0x3c, 0x1f, 0x2, 0x123, 0x124, 0x5, 0x18, 0xd, 0x2, 0x124, + 0x33, 0x3, 0x2, 0x2, 0x2, 0x125, 0x128, 0x7, 0x19, 0x2, 0x2, 0x126, + 0x129, 0x5, 0xc, 0x7, 0x2, 0x127, 0x129, 0x5, 0x38, 0x1d, 0x2, 0x128, + 0x126, 0x3, 0x2, 0x2, 0x2, 0x128, 0x127, 0x3, 0x2, 0x2, 0x2, 0x129, + 0x12a, 0x3, 0x2, 0x2, 0x2, 0x12a, 0x12b, 0x7, 0x10, 0x2, 0x2, 0x12b, + 0x12c, 0x5, 0x3c, 0x1f, 0x2, 0x12c, 0x12d, 0x7, 0x10, 0x2, 0x2, 0x12d, + 0x12e, 0x5, 0x3c, 0x1f, 0x2, 0x12e, 0x12f, 0x5, 0x18, 0xd, 0x2, 0x12f, + 0x35, 0x3, 0x2, 0x2, 0x2, 0x130, 0x131, 0x7, 0x1a, 0x2, 0x2, 0x131, + 0x132, 0x5, 0x3c, 0x1f, 0x2, 0x132, 0x133, 0x5, 0x18, 0xd, 0x2, 0x133, + 0x37, 0x3, 0x2, 0x2, 0x2, 0x134, 0x135, 0x5, 0x4e, 0x28, 0x2, 0x135, + 0x136, 0x7, 0x9, 0x2, 0x2, 0x136, 0x137, 0x5, 0x3c, 0x1f, 0x2, 0x137, + 0x39, 0x3, 0x2, 0x2, 0x2, 0x138, 0x139, 0x7, 0x1b, 0x2, 0x2, 0x139, + 0x13a, 0x5, 0x3c, 0x1f, 0x2, 0x13a, 0x3b, 0x3, 0x2, 0x2, 0x2, 0x13b, + 0x142, 0x5, 0x42, 0x22, 0x2, 0x13c, 0x142, 0x5, 0x50, 0x29, 0x2, + 0x13d, 0x142, 0x5, 0x4e, 0x28, 0x2, 0x13e, 0x142, 0x5, 0x5a, 0x2e, + 0x2, 0x13f, 0x142, 0x5, 0x52, 0x2a, 0x2, 0x140, 0x142, 0x5, 0x44, + 0x23, 0x2, 0x141, 0x13b, 0x3, 0x2, 0x2, 0x2, 0x141, 0x13c, 0x3, 0x2, + 0x2, 0x2, 0x141, 0x13d, 0x3, 0x2, 0x2, 0x2, 0x141, 0x13e, 0x3, 0x2, + 0x2, 0x2, 0x141, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x141, 0x140, 0x3, 0x2, + 0x2, 0x2, 0x142, 0x3d, 0x3, 0x2, 0x2, 0x2, 0x143, 0x149, 0x5, 0x42, + 0x22, 0x2, 0x144, 0x149, 0x5, 0x50, 0x29, 0x2, 0x145, 0x149, 0x5, + 0x4e, 0x28, 0x2, 0x146, 0x149, 0x5, 0x5a, 0x2e, 0x2, 0x147, 0x149, + 0x5, 0x52, 0x2a, 0x2, 0x148, 0x143, 0x3, 0x2, 0x2, 0x2, 0x148, 0x144, + 0x3, 0x2, 0x2, 0x2, 0x148, 0x145, 0x3, 0x2, 0x2, 0x2, 0x148, 0x146, + 0x3, 0x2, 0x2, 0x2, 0x148, 0x147, 0x3, 0x2, 0x2, 0x2, 0x149, 0x3f, + 0x3, 0x2, 0x2, 0x2, 0x14a, 0x14e, 0x5, 0x42, 0x22, 0x2, 0x14b, 0x14e, + 0x5, 0x4e, 0x28, 0x2, 0x14c, 0x14e, 0x5, 0x5a, 0x2e, 0x2, 0x14d, + 0x14a, 0x3, 0x2, 0x2, 0x2, 0x14d, 0x14b, 0x3, 0x2, 0x2, 0x2, 0x14d, + 0x14c, 0x3, 0x2, 0x2, 0x2, 0x14e, 0x41, 0x3, 0x2, 0x2, 0x2, 0x14f, + 0x150, 0x5, 0x5c, 0x2f, 0x2, 0x150, 0x159, 0x7, 0xe, 0x2, 0x2, 0x151, + 0x156, 0x5, 0x3c, 0x1f, 0x2, 0x152, 0x153, 0x7, 0x10, 0x2, 0x2, 0x153, + 0x155, 0x5, 0x3c, 0x1f, 0x2, 0x154, 0x152, 0x3, 0x2, 0x2, 0x2, 0x155, + 0x158, 0x3, 0x2, 0x2, 0x2, 0x156, 0x154, 0x3, 0x2, 0x2, 0x2, 0x156, + 0x157, 0x3, 0x2, 0x2, 0x2, 0x157, 0x15a, 0x3, 0x2, 0x2, 0x2, 0x158, + 0x156, 0x3, 0x2, 0x2, 0x2, 0x159, 0x151, 0x3, 0x2, 0x2, 0x2, 0x159, + 0x15a, 0x3, 0x2, 0x2, 0x2, 0x15a, 0x15b, 0x3, 0x2, 0x2, 0x2, 0x15b, + 0x15c, 0x7, 0xf, 0x2, 0x2, 0x15c, 0x43, 0x3, 0x2, 0x2, 0x2, 0x15d, + 0x162, 0x5, 0x46, 0x24, 0x2, 0x15e, 0x162, 0x5, 0x48, 0x25, 0x2, + 0x15f, 0x162, 0x5, 0x4a, 0x26, 0x2, 0x160, 0x162, 0x5, 0x4c, 0x27, + 0x2, 0x161, 0x15d, 0x3, 0x2, 0x2, 0x2, 0x161, 0x15e, 0x3, 0x2, 0x2, + 0x2, 0x161, 0x15f, 0x3, 0x2, 0x2, 0x2, 0x161, 0x160, 0x3, 0x2, 0x2, + 0x2, 0x162, 0x45, 0x3, 0x2, 0x2, 0x2, 0x163, 0x164, 0x5, 0x3e, 0x20, + 0x2, 0x164, 0x165, 0x5, 0x68, 0x35, 0x2, 0x165, 0x16b, 0x5, 0x3e, + 0x20, 0x2, 0x166, 0x167, 0x5, 0x68, 0x35, 0x2, 0x167, 0x168, 0x5, + 0x3e, 0x20, 0x2, 0x168, 0x16a, 0x3, 0x2, 0x2, 0x2, 0x169, 0x166, + 0x3, 0x2, 0x2, 0x2, 0x16a, 0x16d, 0x3, 0x2, 0x2, 0x2, 0x16b, 0x169, + 0x3, 0x2, 0x2, 0x2, 0x16b, 0x16c, 0x3, 0x2, 0x2, 0x2, 0x16c, 0x47, + 0x3, 0x2, 0x2, 0x2, 0x16d, 0x16b, 0x3, 0x2, 0x2, 0x2, 0x16e, 0x16f, + 0x5, 0x66, 0x34, 0x2, 0x16f, 0x170, 0x5, 0x3e, 0x20, 0x2, 0x170, + 0x49, 0x3, 0x2, 0x2, 0x2, 0x171, 0x172, 0x5, 0x3e, 0x20, 0x2, 0x172, + 0x173, 0x5, 0x64, 0x33, 0x2, 0x173, 0x4b, 0x3, 0x2, 0x2, 0x2, 0x174, + 0x175, 0x5, 0x3e, 0x20, 0x2, 0x175, 0x176, 0x7, 0x1c, 0x2, 0x2, 0x176, + 0x177, 0x5, 0x3c, 0x1f, 0x2, 0x177, 0x178, 0x7, 0x8, 0x2, 0x2, 0x178, + 0x179, 0x5, 0x3c, 0x1f, 0x2, 0x179, 0x4d, 0x3, 0x2, 0x2, 0x2, 0x17a, + 0x17b, 0x5, 0x5e, 0x30, 0x2, 0x17b, 0x4f, 0x3, 0x2, 0x2, 0x2, 0x17c, + 0x17d, 0x9, 0x2, 0x2, 0x2, 0x17d, 0x51, 0x3, 0x2, 0x2, 0x2, 0x17e, + 0x180, 0x5, 0x40, 0x21, 0x2, 0x17f, 0x181, 0x5, 0x54, 0x2b, 0x2, + 0x180, 0x17f, 0x3, 0x2, 0x2, 0x2, 0x181, 0x182, 0x3, 0x2, 0x2, 0x2, + 0x182, 0x180, 0x3, 0x2, 0x2, 0x2, 0x182, 0x183, 0x3, 0x2, 0x2, 0x2, + 0x183, 0x53, 0x3, 0x2, 0x2, 0x2, 0x184, 0x187, 0x5, 0x56, 0x2c, 0x2, + 0x185, 0x187, 0x5, 0x58, 0x2d, 0x2, 0x186, 0x184, 0x3, 0x2, 0x2, + 0x2, 0x186, 0x185, 0x3, 0x2, 0x2, 0x2, 0x187, 0x55, 0x3, 0x2, 0x2, + 0x2, 0x188, 0x189, 0x9, 0x3, 0x2, 0x2, 0x189, 0x18a, 0x5, 0x4e, 0x28, + 0x2, 0x18a, 0x57, 0x3, 0x2, 0x2, 0x2, 0x18b, 0x18c, 0x7, 0xb, 0x2, + 0x2, 0x18c, 0x18d, 0x5, 0x3c, 0x1f, 0x2, 0x18d, 0x18e, 0x7, 0xc, + 0x2, 0x2, 0x18e, 0x59, 0x3, 0x2, 0x2,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, 0x6d, 0x77, 0x7f, 0x8d, 0x9a, 0xa0, 0xa3, + 0xaa, 0xb9, 0xbc, 0xc2, 0xca, 0xd0, 0xd6, 0xda, 0xe9, 0xfe, 0x106, + 0x10a, 0x11c, 0x128, 0x141, 0x148, 0x14d, 0x156, 0x159, 0x161, 0x16b, + 0x182, 0x186, 0x1a4, }; _serializedATN.insert(_serializedATN.end(), serializedATNSegment0, diff --git a/gen/TocParser.h b/gen/TocParser.h index 2482c29..51d1e89 100644 --- a/gen/TocParser.h +++ b/gen/TocParser.h @@ -20,25 +20,25 @@ public: T__32 = 33, T__33 = 34, T__34 = 35, T__35 = 36, T__36 = 37, T__37 = 38, 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, INT_LIT = 56, - DECIMAL_LIT = 57, STRING_LIT = 58, BOOL_LIT = 59, NAME = 60, WS = 61, - NEWLINE = 62 + 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, STRING_LIT = 60, BOOL_LIT = 61, + NAME = 62, WS = 63, NEWLINE = 64 }; enum { - RuleProg = 0, RuleDecl = 1, RuleVarDecl = 2, RuleVar = 3, RuleVarInit = 4, - RuleType = 5, RuleTypeModifier = 6, RuleFuncDecl = 7, RuleFunc = 8, - RuleParameter = 9, RuleBody = 10, RuleStructDecl = 11, RuleStructMember = 12, - RuleStructVar = 13, RuleStructMethod = 14, RuleGenericDecl = 15, RuleStmt = 16, - RuleIfStmt = 17, RuleElseIfStmt = 18, RuleElseStmt = 19, RuleSwitchStmt = 20, - RuleSwitchBody = 21, RuleSwitchCase = 22, RuleForStmt = 23, RuleWhileStmt = 24, - RuleAssignStmt = 25, RuleReturnStmt = 26, RuleExpr = 27, RuleNonOpExpr = 28, - RuleNonAccessExpr = 29, RuleFuncExpr = 30, RuleOpExpr = 31, RuleBinaryOp = 32, - RulePrefixOp = 33, RulePostfixOp = 34, RuleTernaryOp = 35, RuleIdentifierExpr = 36, - RuleLitExpr = 37, RuleAccessExpr = 38, RuleAccessSubExpr = 39, RuleAccessMember = 40, - RuleAccessBrackets = 41, RuleParenExpr = 42, RuleFuncName = 43, RuleVarName = 44, - RuleTypeName = 45, RuleStructName = 46, RulePostfix_op = 47, RulePrefix_op = 48, - RuleBinary_op = 49 + RuleProg = 0, RuleDecl = 1, RuleNamespaceDecl = 2, RuleVarDecl = 3, + RuleVar = 4, RuleVarInit = 5, RuleType = 6, RuleTypeModifier = 7, RuleFuncDecl = 8, + RuleFunc = 9, RuleParameter = 10, RuleBody = 11, RuleStructDecl = 12, + RuleStructMember = 13, RuleStructVar = 14, RuleStructMethod = 15, RulePrivateDecl = 16, + RuleGenericDecl = 17, RuleStmt = 18, RuleIfStmt = 19, RuleElseIfStmt = 20, + RuleElseStmt = 21, RuleSwitchStmt = 22, RuleSwitchBody = 23, RuleSwitchCase = 24, + RuleForStmt = 25, RuleWhileStmt = 26, RuleAssignStmt = 27, RuleReturnStmt = 28, + RuleExpr = 29, RuleNonOpExpr = 30, RuleNonAccessExpr = 31, RuleFuncExpr = 32, + RuleOpExpr = 33, RuleBinaryOp = 34, RulePrefixOp = 35, RulePostfixOp = 36, + RuleTernaryOp = 37, RuleIdentifierExpr = 38, RuleLitExpr = 39, RuleAccessExpr = 40, + RuleAccessSubExpr = 41, RuleAccessMember = 42, RuleAccessBrackets = 43, + RuleParenExpr = 44, RuleFuncName = 45, RuleVarName = 46, RuleTypeName = 47, + RuleStructName = 48, RulePostfix_op = 49, RulePrefix_op = 50, RuleBinary_op = 51 }; explicit TocParser(antlr4::TokenStream *input); @@ -53,6 +53,7 @@ public: class ProgContext; class DeclContext; + class NamespaceDeclContext; class VarDeclContext; class VarContext; class VarInitContext; @@ -66,6 +67,7 @@ public: class StructMemberContext; class StructVarContext; class StructMethodContext; + class PrivateDeclContext; class GenericDeclContext; class StmtContext; class IfStmtContext; @@ -122,12 +124,26 @@ public: VarDeclContext *varDecl(); FuncDeclContext *funcDecl(); StructDeclContext *structDecl(); + NamespaceDeclContext *namespaceDecl(); }; DeclContext* decl(); + class NamespaceDeclContext : public antlr4::ParserRuleContext { + public: + NamespaceDeclContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + TypeNameContext *typeName(); + std::vector decl(); + DeclContext* decl(size_t i); + + + }; + + NamespaceDeclContext* namespaceDecl(); + class VarDeclContext : public antlr4::ParserRuleContext { public: VarDeclContext(antlr4::ParserRuleContext *parent, size_t invokingState); @@ -258,6 +274,7 @@ public: StructMemberContext(antlr4::ParserRuleContext *parent, size_t invokingState); virtual size_t getRuleIndex() const override; StructVarContext *structVar(); + PrivateDeclContext *privateDecl(); StructMethodContext *structMethod(); @@ -287,6 +304,16 @@ public: StructMethodContext* structMethod(); + class PrivateDeclContext : public antlr4::ParserRuleContext { + public: + PrivateDeclContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + + + }; + + PrivateDeclContext* privateDecl(); + class GenericDeclContext : public antlr4::ParserRuleContext { public: GenericDeclContext(antlr4::ParserRuleContext *parent, size_t invokingState); diff --git a/src/check.h b/src/check.h index 4e52ccd..d85bd81 100644 --- a/src/check.h +++ b/src/check.h @@ -19,7 +19,8 @@ bool checkFunction( { vars.insert(vars.end(), f.parameters.begin(), f.parameters.end()); vars.insert(vars.end(), f.body.variables.begin(), f.body.variables.end()); - for (auto s : f.body.statements) { + for (auto s : f.body.statements) + { if (!checkStmt(s, structs, funcs, vars)) return false; } @@ -28,15 +29,18 @@ bool checkFunction( bool checkProgram(const Program & p) { - for (auto f : p.functions) { + for (auto f : p.functions) + { if (!checkFunction(f, p.structs, p.functions, p.variables)) return false; } - for (auto s : p.structs) { + for (auto s : p.structs) + { std::vector vars = p.variables; for (auto v : s.members) vars.push_back(v); - for (auto f : s.methods) { + for (auto f : s.methods) + { if (!checkFunction(f, p.structs, p.functions, vars)) return false; } diff --git a/src/main.cpp b/src/main.cpp index 199f04d..4c78f5b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,7 +12,8 @@ using namespace antlr4; -int main(int argc, const char * argv[]) { +int main(int argc, const char * argv[]) +{ std::ifstream ifs("test.toc"); ANTLRInputStream input(ifs); @@ -24,7 +25,8 @@ int main(int argc, const char * argv[]) { TocParser::ProgContext * prog = parser.prog(); tree::ParseTree * tree = prog; - if (parser.getNumberOfSyntaxErrors() > 0) { + if (parser.getNumberOfSyntaxErrors() > 0) + { std::cerr << "Parsing error" << std::endl; return 1; } diff --git a/src/repr.h b/src/repr.h index eb46e3a..47a78d7 100644 --- a/src/repr.h +++ b/src/repr.h @@ -33,65 +33,77 @@ struct AssignStmt; struct ReturnStmt; struct Stmt; -enum class TypeModifierType { +enum class TypeModifierType +{ Pointer, Array }; -struct TypeModifier { +struct TypeModifier +{ TypeModifierType type; bool _staticArray; int _arraySize; }; -struct Type { +struct Type +{ std::string name; std::vector modifiers; }; -struct Variable { +struct Variable +{ std::string name; Type type; }; -struct Body { +struct Body +{ std::vector variables; std::vector statements; }; -struct Function { +struct Function +{ Type returnType; std::string name; std::vector parameters; Body body; }; -struct Struct { +struct Struct +{ std::string name; std::vector members; std::vector methods; }; -struct Program { +struct Program +{ std::vector variables; std::vector structs; std::vector functions; }; -enum class ExprType { +enum class ExprType +{ Func, Lit, Identifier, Brackets, UnaryOperator, BinaryOperator, TernaryOperator, Dot }; -struct FuncExpr { +struct FuncExpr +{ std::string functionName; std::vector arguments; }; -enum class LitType { +enum class LitType +{ Int, Decimal, String, Bool }; -struct LitExpr { +struct LitExpr +{ LitType type; int _int; @@ -101,61 +113,72 @@ struct LitExpr { }; // TODO: accessExpr -struct IdentifierExpr { +struct IdentifierExpr +{ std::string name; }; -struct BracketsExpr { +struct BracketsExpr +{ std::shared_ptr lexpr; std::shared_ptr rexpr; }; -enum class UnaryOperatorType { +enum class UnaryOperatorType +{ Plus, Minus, IncrementPre, DecrementPre, IncrementPost, DecrementPost, LogicalNot, BitwiseNot, Dereference, AddressOf, COUNT }; -enum class BinaryOperatorType { +enum class BinaryOperatorType +{ Plus, Minus, Multiply, Divide, Modulo, BitwiseAnd, BitwiseOr, BitwiseXor, LessThan, GreaterThan, LeftShift, RightShift, LogicalAnd, LogicalOr, Equals, NotEquals, LessThanEquals, GreaterThanEquals, BitwiseAndEquals, BitwiseOrEquals, BitwiseXorEquals, PlusEquals, MinusEquals, MultiplyEquals, DivideEquals, ModuloEquals, LeftShiftEquals, RightShiftEquals, COUNT }; -static std::string UnaryOperatorTypeStrings[] = { +static std::string UnaryOperatorTypeStrings[] = +{ "+", "-", "++", "--", "++", "--", "!", "~", "*", "&" }; -static std::string BinaryOperatorTypeStrings[] = { +static std::string BinaryOperatorTypeStrings[] = +{ "+", "-", "*", "/", "%", "&", "|", "^", "<", ">", "<<",">>","&&","||","==","!=","<=",">=","&=","|=","^=", "+=","-=","*=","/=","%=", "<<=",">>=" }; -struct UnaryOperatorExpr { +struct UnaryOperatorExpr +{ UnaryOperatorType type; std::shared_ptr expr; }; -struct BinaryOperatorExpr { +struct BinaryOperatorExpr +{ BinaryOperatorType type; std::shared_ptr lexpr; std::shared_ptr rexpr; }; -struct TernaryOperatorExpr { +struct TernaryOperatorExpr +{ std::shared_ptr lexpr; std::shared_ptr rexprTrue; std::shared_ptr rexprFalse; }; -struct DotExpr { +struct DotExpr +{ std::shared_ptr expr; IdentifierExpr ident; }; // TODO: paren expr -struct Expr { +struct Expr +{ ExprType type; bool parenthesized; @@ -170,33 +193,39 @@ struct Expr { DotExpr _dot; }; -enum class StmtType { +enum class StmtType +{ If, Switch, For, While, Assign, Return, Expr }; -struct ElseStmt { +struct ElseStmt +{ bool _if; std::shared_ptr expr; Body body; }; -struct IfStmt { +struct IfStmt +{ Expr condition; Body body; std::vector elses; }; -struct SwitchCase { +struct SwitchCase +{ std::shared_ptr expr; Body body; }; -struct SwitchStmt { +struct SwitchStmt +{ IdentifierExpr ident; std::vector cases; }; // TODO: int i = 0 (var decl) -struct ForStmt { +struct ForStmt +{ std::string varName; std::shared_ptr initValue; std::shared_ptr condition; @@ -204,21 +233,25 @@ struct ForStmt { Body body; }; -struct WhileStmt { +struct WhileStmt +{ Expr condition; Body body; }; -struct AssignStmt { +struct AssignStmt +{ std::string name; Expr expr; }; -struct ReturnStmt { +struct ReturnStmt +{ Expr expr; }; -struct Stmt { +struct Stmt +{ StmtType type; IfStmt _if; diff --git a/src/repr_get.h b/src/repr_get.h index 70ae3b1..118d7b3 100644 --- a/src/repr_get.h +++ b/src/repr_get.h @@ -18,10 +18,12 @@ Expr getExpr(TocParser::NonAccessExprContext * ctx); Expr getExpr(TocParser::ExprContext * ctx); Stmt getStmt(TocParser::StmtContext * ctx); -Type getType(TocParser::TypeContext * ctx) { +Type getType(TocParser::TypeContext * ctx) +{ Type result; result.name = ctx->typeName()->NAME()->toString(); - for (auto m : ctx->typeModifier()) { + for (auto m : ctx->typeModifier()) + { bool isPointer = m->getText() == "*"; bool isStaticArray = m->INT_LIT() != nullptr; @@ -33,82 +35,105 @@ Type getType(TocParser::TypeContext * ctx) { } return result; } -Variable getVariable(TocParser::VarContext * ctx) { +Variable getVariable(TocParser::VarContext * ctx) +{ Variable result; result.name = ctx->varName()->NAME()->toString(); result.type = getType(ctx->type()); return result; } -Body getBody(TocParser::BodyContext * ctx) { +Body getBody(TocParser::BodyContext * ctx) +{ Body result; - for (auto s : ctx->stmt()) { - if (s->varDecl() != nullptr) { + for (auto s : ctx->stmt()) + { + if (s->varDecl() != nullptr) + { result.variables.push_back(getVariable(s->varDecl()->var())); if (s->varDecl()->var()->expr() != nullptr) result.statements.push_back(getStmt(s)); } - else { + else + { result.statements.push_back(getStmt(s)); } } return result; } -Function getFunction(TocParser::FuncContext * ctx) { +Function getFunction(TocParser::FuncContext * ctx) +{ Function result; result.name = ctx->funcName()->NAME()->toString(); result.returnType = getType(ctx->type()); - if (!ctx->parameter()->var().empty()) { + if (!ctx->parameter()->var().empty()) + { for (auto p : ctx->parameter()->var()) result.parameters.push_back(getVariable(p)); } result.body = getBody(ctx->body()); return result; } -Struct getStruct(TocParser::StructDeclContext * ctx) { +Struct getStruct(TocParser::StructDeclContext * ctx) +{ Struct result; result.name = ctx->structName()->NAME()->toString(); - for (auto m : ctx->structMember()) { - if (m->structVar() != nullptr) { + for (auto m : ctx->structMember()) + { + if (m->structVar() != nullptr) + { result.members.push_back(getVariable(m->structVar()->var())); } - if (m->structMethod() != nullptr) { + if (m->structMethod() != nullptr) + { result.methods.push_back(getFunction(m->structMethod()->func())); } } return result; } -Program getProgram(TocParser::ProgContext * ctx) { +Program getProgram(TocParser::ProgContext * ctx) +{ Program result; - for (auto d : ctx->decl()) { - if (d->varDecl() != nullptr) { + for (auto d : ctx->decl()) + { + if (d->varDecl() != nullptr) + { result.variables.push_back(getVariable(d->varDecl()->var())); } - if (d->funcDecl() != nullptr) { + if (d->funcDecl() != nullptr) + { result.functions.push_back(getFunction(d->funcDecl()->func())); } - if (d->structDecl() != nullptr) { + if (d->structDecl() != nullptr) + { result.structs.push_back(getStruct(d->structDecl())); } } return result; } -UnaryOperatorType getUnaryOperatorType(const std::string & s) { - for (int i = 0; i < (int)UnaryOperatorType::COUNT; i++) { - if (UnaryOperatorTypeStrings[i] == s) { +UnaryOperatorType getUnaryOperatorType(const std::string & s) +{ + for (int i = 0; i < (int)UnaryOperatorType::COUNT; i++) + { + if (UnaryOperatorTypeStrings[i] == s) + { return (UnaryOperatorType)i; } } return UnaryOperatorType::COUNT; } -BinaryOperatorType getBinaryOperatorType(const std::string & s) { - for (int i = 0; i < (int)BinaryOperatorType::COUNT; i++) { - if (BinaryOperatorTypeStrings[i] == s) { +BinaryOperatorType getBinaryOperatorType(const std::string & s) +{ + for (int i = 0; i < (int)BinaryOperatorType::COUNT; i++) + { + if (BinaryOperatorTypeStrings[i] == s) + { return (BinaryOperatorType)i; } } return BinaryOperatorType::COUNT; } -UnaryOperatorExpr getUnaryOperatorExpr(TocParser::OpExprContext * ctx) { +UnaryOperatorExpr getUnaryOperatorExpr(TocParser::OpExprContext * ctx) +{ UnaryOperatorExpr result; if (ctx->prefixOp() != nullptr) result.expr = std::make_unique(getExpr(ctx->prefixOp()->nonOpExpr())); @@ -127,7 +152,8 @@ UnaryOperatorExpr getUnaryOperatorExpr(TocParser::OpExprContext * ctx) { return result; } -BinaryOperatorExpr getBinaryOperatorExpr(TocParser::OpExprContext * ctx) { +BinaryOperatorExpr getBinaryOperatorExpr(TocParser::OpExprContext * ctx) +{ BinaryOperatorExpr result; result.lexpr = std::make_unique(getExpr(ctx->binaryOp()->nonOpExpr(0))); result.rexpr = std::make_unique(getExpr(ctx->binaryOp()->nonOpExpr(1))); @@ -138,70 +164,86 @@ BinaryOperatorExpr getBinaryOperatorExpr(TocParser::OpExprContext * ctx) { return result; } -TernaryOperatorExpr getTernaryOperatorExpr(TocParser::OpExprContext * ctx) { +TernaryOperatorExpr getTernaryOperatorExpr(TocParser::OpExprContext * ctx) +{ TernaryOperatorExpr result; result.lexpr = std::make_unique(getExpr(ctx->ternaryOp()->nonOpExpr())); result.rexprTrue = std::make_unique(getExpr(ctx->ternaryOp()->expr(0))); result.rexprFalse = std::make_unique(getExpr(ctx->ternaryOp()->expr(1))); return result; } -Expr getExpr(TocParser::NonOpExprContext * ctx) { +Expr getExpr(TocParser::NonOpExprContext * ctx) +{ Expr result; result.parenthesized = false; - if (ctx->funcExpr() != nullptr) { + if (ctx->funcExpr() != nullptr) + { result.type = ExprType::Func; result._func.functionName = ctx->funcExpr()->funcName()->NAME()->toString(); for (auto e : ctx->funcExpr()->expr()) result._func.arguments.push_back(getExpr(e)); } - if (ctx->litExpr() != nullptr) { + if (ctx->litExpr() != nullptr) + { result.type = ExprType::Lit; - if (ctx->litExpr()->INT_LIT() != nullptr) { + if (ctx->litExpr()->INT_LIT() != nullptr) + { result._lit.type = LitType::Int; result._lit._int = atoi(ctx->litExpr()->INT_LIT()->toString().c_str()); } - else if (ctx->litExpr()->DECIMAL_LIT() != nullptr) { + else if (ctx->litExpr()->DECIMAL_LIT() != nullptr) + { result._lit.type = LitType::Decimal; result._lit._decimal = atof(ctx->litExpr()->DECIMAL_LIT()->toString().c_str()); } - else if (ctx->litExpr()->STRING_LIT() != nullptr) { + else if (ctx->litExpr()->STRING_LIT() != nullptr) + { result._lit.type = LitType::String; result._lit._string = ctx->litExpr()->STRING_LIT()->toString(); } - else if (ctx->litExpr()->BOOL_LIT() != nullptr) { + else if (ctx->litExpr()->BOOL_LIT() != nullptr) + { result._lit.type = LitType::Bool; result._lit._bool = ctx->litExpr()->BOOL_LIT()->toString() == "true"; } } - if (ctx->identifierExpr() != nullptr) { + if (ctx->identifierExpr() != nullptr) + { result.type = ExprType::Identifier; result._identifier.name = ctx->identifierExpr()->varName()->NAME()->toString(); } - if (ctx->parenExpr() != nullptr) { + if (ctx->parenExpr() != nullptr) + { result = getExpr(ctx->parenExpr()->expr()); result.parenthesized = true; } - if (ctx->accessExpr() != nullptr) { + if (ctx->accessExpr() != nullptr) + { auto firstSub = ctx->accessExpr()->accessSubExpr(0); - if (firstSub->accessMember() != nullptr) { + if (firstSub->accessMember() != nullptr) + { result.type = ExprType::Dot; result._dot.expr = std::make_unique(getExpr(ctx->accessExpr()->nonAccessExpr())); result._dot.ident.name = firstSub->accessMember()->identifierExpr()->varName()->NAME()->toString(); } - else { + else + { result.type = ExprType::Brackets; result._brackets.lexpr = std::make_unique(getExpr(ctx->accessExpr()->nonAccessExpr())); result._brackets.rexpr = std::make_unique(getExpr(firstSub->accessBrackets()->expr())); } - for (int i = 1; i < ctx->accessExpr()->accessSubExpr().size(); i++) { + for (int i = 1; i < ctx->accessExpr()->accessSubExpr().size(); i++) + { Expr tmp = result; auto sub = ctx->accessExpr()->accessSubExpr(i); - if (sub->accessMember() != nullptr) { + if (sub->accessMember() != nullptr) + { result.type = ExprType::Dot; result._dot.expr = std::make_unique(tmp); result._dot.ident.name = sub->accessMember()->identifierExpr()->varName()->NAME()->toString(); } - else { + else + { result.type = ExprType::Brackets; result._brackets.lexpr = std::make_unique(tmp); result._brackets.rexpr = std::make_unique(getExpr(sub->accessBrackets()->expr())); @@ -210,129 +252,158 @@ Expr getExpr(TocParser::NonOpExprContext * ctx) { } return result; } -Expr getExpr(TocParser::NonAccessExprContext * ctx) { +Expr getExpr(TocParser::NonAccessExprContext * ctx) +{ Expr result; result.parenthesized = false; - if (ctx->funcExpr() != nullptr) { + if (ctx->funcExpr() != nullptr) + { result.type = ExprType::Func; result._func.functionName = ctx->funcExpr()->funcName()->NAME()->toString(); for (auto e : ctx->funcExpr()->expr()) result._func.arguments.push_back(getExpr(e)); } - if (ctx->identifierExpr() != nullptr) { + if (ctx->identifierExpr() != nullptr) + { result.type = ExprType::Identifier; result._identifier.name = ctx->identifierExpr()->varName()->NAME()->toString(); } - if (ctx->parenExpr() != nullptr) { + if (ctx->parenExpr() != nullptr) + { result = getExpr(ctx->parenExpr()->expr()); result.parenthesized = true; } return result; } -Expr getExpr(TocParser::ExprContext * ctx) { +Expr getExpr(TocParser::ExprContext * ctx) +{ Expr result; result.parenthesized = false; - if (ctx->funcExpr() != nullptr) { + if (ctx->funcExpr() != nullptr) + { result.type = ExprType::Func; result._func.functionName = ctx->funcExpr()->funcName()->NAME()->toString(); for (auto e : ctx->funcExpr()->expr()) result._func.arguments.push_back(getExpr(e)); } - if (ctx->litExpr() != nullptr) { + if (ctx->litExpr() != nullptr) + { result.type = ExprType::Lit; - if (ctx->litExpr()->INT_LIT() != nullptr) { + if (ctx->litExpr()->INT_LIT() != nullptr) + { result._lit.type = LitType::Int; result._lit._int = atoi(ctx->litExpr()->INT_LIT()->toString().c_str()); } - else if (ctx->litExpr()->DECIMAL_LIT() != nullptr) { + else if (ctx->litExpr()->DECIMAL_LIT() != nullptr) + { result._lit.type = LitType::Decimal; result._lit._decimal = atof(ctx->litExpr()->DECIMAL_LIT()->toString().c_str()); } - else if (ctx->litExpr()->STRING_LIT() != nullptr) { + else if (ctx->litExpr()->STRING_LIT() != nullptr) + { result._lit.type = LitType::String; result._lit._string = ctx->litExpr()->STRING_LIT()->toString(); } - else if (ctx->litExpr()->BOOL_LIT() != nullptr) { + else if (ctx->litExpr()->BOOL_LIT() != nullptr) + { result._lit.type = LitType::Bool; result._lit._bool = ctx->litExpr()->BOOL_LIT()->toString() == "true"; } } - if (ctx->identifierExpr() != nullptr) { + if (ctx->identifierExpr() != nullptr) + { result.type = ExprType::Identifier; result._identifier.name = ctx->identifierExpr()->varName()->NAME()->toString(); } - if (ctx->parenExpr() != nullptr) { + if (ctx->parenExpr() != nullptr) + { result = getExpr(ctx->parenExpr()->expr()); result.parenthesized = true; } - if (ctx->accessExpr() != nullptr) { + if (ctx->accessExpr() != nullptr) + { auto firstSub = ctx->accessExpr()->accessSubExpr(0); - if (firstSub->accessMember() != nullptr) { + if (firstSub->accessMember() != nullptr) + { result.type = ExprType::Dot; result._dot.expr = std::make_unique(getExpr(ctx->accessExpr()->nonAccessExpr())); result._dot.ident.name = firstSub->accessMember()->identifierExpr()->varName()->NAME()->toString(); } - else { + else + { result.type = ExprType::Brackets; result._brackets.lexpr = std::make_unique(getExpr(ctx->accessExpr()->nonAccessExpr())); result._brackets.rexpr = std::make_unique(getExpr(firstSub->accessBrackets()->expr())); } - for (int i = 1; i < ctx->accessExpr()->accessSubExpr().size(); i++) { + for (int i = 1; i < ctx->accessExpr()->accessSubExpr().size(); i++) + { Expr tmp = result; auto sub = ctx->accessExpr()->accessSubExpr(i); - if (sub->accessMember() != nullptr) { + if (sub->accessMember() != nullptr) + { result.type = ExprType::Dot; result._dot.expr = std::make_unique(tmp); result._dot.ident.name = sub->accessMember()->identifierExpr()->varName()->NAME()->toString(); } - else { + else + { result.type = ExprType::Brackets; result._brackets.lexpr = std::make_unique(tmp); result._brackets.rexpr = std::make_unique(getExpr(sub->accessBrackets()->expr())); } } } - if (ctx->opExpr() != nullptr) { - if (ctx->opExpr()->prefixOp() != nullptr || ctx->opExpr()->postfixOp() != nullptr) { + if (ctx->opExpr() != nullptr) + { + if (ctx->opExpr()->prefixOp() != nullptr || ctx->opExpr()->postfixOp() != nullptr) + { result.type = ExprType::UnaryOperator; result._unaryOperator = getUnaryOperatorExpr(ctx->opExpr()); } - else if (ctx->opExpr()->binaryOp() != nullptr) { + else if (ctx->opExpr()->binaryOp() != nullptr) + { result.type = ExprType::BinaryOperator; result._binaryOperator = getBinaryOperatorExpr(ctx->opExpr()); - for (int i = 1; i < ctx->opExpr()->binaryOp()->binary_op().size(); i++) { + for (int i = 1; i < ctx->opExpr()->binaryOp()->binary_op().size(); i++) + { Expr tmp = result; result._binaryOperator.lexpr = std::make_unique(tmp); result._binaryOperator.type = getBinaryOperatorType(ctx->opExpr()->binaryOp()->binary_op(i)->getText()); result._binaryOperator.rexpr = std::make_unique(getExpr(ctx->opExpr()->binaryOp()->nonOpExpr(i+1))); } } - else if (ctx->opExpr()->ternaryOp() != nullptr) { + else if (ctx->opExpr()->ternaryOp() != nullptr) + { result.type = ExprType::TernaryOperator; result._ternaryOperator = getTernaryOperatorExpr(ctx->opExpr()); } } return result; } -Stmt getStmt(TocParser::StmtContext * ctx) { +Stmt getStmt(TocParser::StmtContext * ctx) +{ Stmt result; - if (ctx->varDecl() != nullptr && ctx->varDecl()->var()->expr() != nullptr) { + if (ctx->varDecl() != nullptr && ctx->varDecl()->var()->expr() != nullptr) + { result.type = StmtType::Assign; result._assign.name = ctx->varDecl()->var()->varName()->NAME()->toString(); result._assign.expr = getExpr(ctx->varDecl()->var()->expr()); } - if (ctx->ifStmt() != nullptr) { + if (ctx->ifStmt() != nullptr) + { result.type = StmtType::If; result._if.condition = getExpr(ctx->ifStmt()->expr()); result._if.body = getBody(ctx->ifStmt()->body()); - for (auto ei : ctx->ifStmt()->elseIfStmt()) { + for (auto ei : ctx->ifStmt()->elseIfStmt()) + { result._if.elses.emplace_back( true, std::make_unique(getExpr(ei->expr())), getBody(ei->body()) ); } - if (ctx->ifStmt()->elseStmt() != nullptr) { + if (ctx->ifStmt()->elseStmt() != nullptr) + { result._if.elses.emplace_back( false, nullptr, @@ -340,23 +411,28 @@ Stmt getStmt(TocParser::StmtContext * ctx) { ); } } - if (ctx->switchStmt() != nullptr) { + if (ctx->switchStmt() != nullptr) + { result.type = StmtType::Switch; result._switch.ident.name = ctx->switchStmt()->identifierExpr()->varName()->NAME()->toString(); - for (auto c : ctx->switchStmt()->switchBody()->switchCase()) { + for (auto c : ctx->switchStmt()->switchBody()->switchCase()) + { result._switch.cases.emplace_back( std::make_unique(getExpr(c->expr())), getBody(c->body()) ); } } - if (ctx->forStmt() != nullptr) { + if (ctx->forStmt() != nullptr) + { result.type = StmtType::For; - if (ctx->forStmt()->varInit() != nullptr) { + if (ctx->forStmt()->varInit() != nullptr) + { result._for.varName = ctx->forStmt()->varInit()->varName()->NAME()->toString(); result._for.initValue = std::make_unique(getExpr(ctx->forStmt()->varInit()->expr())); } - else { + else + { result._for.varName = ctx->forStmt()->assignStmt()->identifierExpr()->varName()->NAME()->toString(); result._for.initValue = std::make_unique(getExpr(ctx->forStmt()->assignStmt()->expr())); } @@ -364,21 +440,25 @@ Stmt getStmt(TocParser::StmtContext * ctx) { result._for.action = std::make_unique(getExpr(ctx->forStmt()->expr(1))); result._for.body = getBody(ctx->forStmt()->body()); } - if (ctx->whileStmt() != nullptr) { + if (ctx->whileStmt() != nullptr) + { result.type = StmtType::While; result._while.condition = getExpr(ctx->whileStmt()->expr()); result._while.body = getBody(ctx->whileStmt()->body()); } - if (ctx->assignStmt() != nullptr) { + if (ctx->assignStmt() != nullptr) + { result.type = StmtType::Assign; result._assign.name = ctx->assignStmt()->identifierExpr()->varName()->NAME()->toString(); result._assign.expr = getExpr(ctx->assignStmt()->expr()); } - if (ctx->returnStmt() != nullptr) { + if (ctx->returnStmt() != nullptr) + { result.type = StmtType::Return; result._return.expr = getExpr(ctx->returnStmt()->expr()); } - if (ctx->expr() != nullptr) { + if (ctx->expr() != nullptr) + { result.type = StmtType::Expr; result._expr = getExpr(ctx->expr()); } diff --git a/src/toc.h b/src/toc.h index 0c55466..e4f36e5 100644 --- a/src/toc.h +++ b/src/toc.h @@ -6,9 +6,11 @@ #include "repr.h" template -std::ostream & operator<< (std::ostream & out, const std::vector & v) { +std::ostream & operator<< (std::ostream & out, const std::vector & v) +{ bool comma = false; - for (auto t : v) { + for (auto t : v) + { if (comma) out << ", "; else comma = true; out << t; @@ -31,29 +33,35 @@ void tocProgram (std::ostream & out, const Program & p); static const int TAB_WIDTH = 2; static int indentation = 0; -static void indent(std::ostream & out, int change = 0) { +static void indent(std::ostream & out, int change = 0) +{ indentation += change; out << std::string(indentation, ' '); } -std::ostream & operator<< (std::ostream & out, const Type & t) { +std::ostream & operator<< (std::ostream & out, const Type & t) +{ out << t.name; return out; } -std::ostream & operator<< (std::ostream & out, const Variable & v) { +std::ostream & operator<< (std::ostream & out, const Variable & v) +{ out << v.type << " "; std::stringstream sstr; std::string s = v.name; - for (auto m = v.type.modifiers.rbegin(); m != v.type.modifiers.rend(); m++) { - if (m->type == TypeModifierType::Pointer) { + for (auto m = v.type.modifiers.rbegin(); m != v.type.modifiers.rend(); m++) + { + if (m->type == TypeModifierType::Pointer) + { sstr.str(std::string()); sstr << "*(" << s << ")"; s = sstr.str(); } - else { + else + { sstr.str(std::string()); sstr << "(" << s << ")["; if (m->_staticArray) @@ -66,19 +74,22 @@ std::ostream & operator<< (std::ostream & out, const Variable & v) { return out; } -std::ostream & operator<< (std::ostream & out, const Body & b) { +std::ostream & operator<< (std::ostream & out, const Body & b) +{ indent(out); out << "{\n"; indentation += 2; - for (auto v : b.variables) { + for (auto v : b.variables) + { indent(out); out << v << ";\n"; } out << "\n"; - for (auto s : b.statements) { + for (auto s : b.statements) + { indent(out); out << s << "\n"; } @@ -88,31 +99,38 @@ std::ostream & operator<< (std::ostream & out, const Body & b) { return out; } -std::ostream & operator<< (std::ostream & out, const UnaryOperatorExpr & o) { - if (o.type == UnaryOperatorType::IncrementPost || o.type == UnaryOperatorType::DecrementPost) { +std::ostream & operator<< (std::ostream & out, const UnaryOperatorExpr & o) +{ + if (o.type == UnaryOperatorType::IncrementPost || o.type == UnaryOperatorType::DecrementPost) + { out << UnaryOperatorTypeStrings[(int)o.type] << *o.expr; } - else { + else + { out << *o.expr << UnaryOperatorTypeStrings[(int)o.type]; } return out; } -std::ostream & operator<< (std::ostream & out, const BinaryOperatorExpr & o) { +std::ostream & operator<< (std::ostream & out, const BinaryOperatorExpr & o) +{ out << *o.lexpr << " " << BinaryOperatorTypeStrings[(int)o.type] << " " << *o.rexpr; return out; } -std::ostream & operator<< (std::ostream & out, const TernaryOperatorExpr & o) { +std::ostream & operator<< (std::ostream & out, const TernaryOperatorExpr & o) +{ out << *o.lexpr << " ? " << *o.rexprTrue << " : " << *o.rexprFalse; return out; } -std::ostream & operator<< (std::ostream & out, const Expr & e) { +std::ostream & operator<< (std::ostream & out, const Expr & e) +{ if (e.parenthesized) out << "("; - switch (e.type) { + switch (e.type) + { case ExprType::Func: out << e._func.functionName << "(" << e._func.arguments << ")"; break; case ExprType::Lit: @@ -140,13 +158,16 @@ std::ostream & operator<< (std::ostream & out, const Expr & e) { return out; } -std::ostream & operator<< (std::ostream & out, const Stmt & s) { - switch (s.type) { +std::ostream & operator<< (std::ostream & out, const Stmt & s) +{ + switch (s.type) + { case StmtType::If: out << "if (" << s._if.condition << ")\n" << s._if.body; break; case StmtType::Switch: out << "switch (" << s._switch.ident.name << ")\n{\n"; - for (auto c : s._switch.cases) { + for (auto c : s._switch.cases) + { indent(out, 2); out << "case " << *c.expr << ": " << c.body << "break;"; } @@ -173,22 +194,31 @@ std::ostream & operator<< (std::ostream & out, const Stmt & s) { } -void tocFunction (std::ostream & out, const Function & f, bool stub) { +void tocFunction (std::ostream & out, const Function & f, bool stub) +{ out << f.returnType << " " << f.name << " (" << f.parameters << ")"; - if (stub) { + if (stub) + { out << ";\n"; } - else { + else + { out << "\n" << f.body; } } -void tocStruct (std::ostream & out, const Struct & s, bool stub) { +void tocStruct (std::ostream & out, const Struct & s, bool stub) +{ out << "struct " << s.name; - if (stub) { + if (stub) + { out << ";\n"; - for (auto m : s.methods) { - m.parameters.insert(m.parameters.begin(), {"this", {s.name, {{TypeModifierType::Pointer, false, -1}}}}); + for (auto m : s.methods) + { + m.parameters.insert(m.parameters.begin(), + {"this", + {s.name, + {{TypeModifierType::Pointer, false, -1}}}}); out << m.returnType << " " << s.name << "_" << m.name << " (" << m.parameters << ");\n"; @@ -198,7 +228,8 @@ void tocStruct (std::ostream & out, const Struct & s, bool stub) { out << "\n{\n"; indentation += 2; - for (auto m : s.members) { + for (auto m : s.members) + { indent(out); out << m << ";\n"; } @@ -206,26 +237,36 @@ void tocStruct (std::ostream & out, const Struct & s, bool stub) { indent(out, -2); out << "};\n"; - for (auto m : s.methods) { - m.parameters.insert(m.parameters.begin(), {"this", {s.name, {{TypeModifierType::Pointer, false, -1}}}}); + for (auto m : s.methods) + { + m.parameters.insert(m.parameters.begin(), + {"this", + {s.name, + {{TypeModifierType::Pointer, false, -1}}}}); out << m.returnType << " " << s.name << "_" << m.name << " (" << m.parameters << ")\n" << m.body; } } -void tocProgram (std::ostream & out, const Program & p) { - for (auto s : p.structs) { +void tocProgram (std::ostream & out, const Program & p) +{ + for (auto s : p.structs) + { tocStruct(out, s, true); } - for (auto f : p.functions) { + for (auto f : p.functions) + { tocFunction(out, f, true); } - for (auto v : p.variables) { + for (auto v : p.variables) + { out << v << ";\n"; } - for (auto s : p.structs) { + for (auto s : p.structs) + { tocStruct(out, s, false); } - for (auto f : p.functions) { + for (auto f : p.functions) + { tocFunction(out, f, false); } } -- 2.50.1