diff --git a/src/main/java/parser/generated/SimpleJava.interp b/src/main/java/parser/generated/SimpleJava.interp
new file mode 100644
index 0000000..1426547
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJava.interp
@@ -0,0 +1,170 @@
+token literal names:
+null
+'++'
+'--'
+'void'
+'boolean'
+'char'
+'int'
+null
+'public static void main(String[] args)'
+null
+null
+null
+null
+'='
+'+'
+'-'
+'*'
+'%'
+'/'
+'>'
+'<'
+'>='
+'<='
+'=='
+'!='
+'!'
+'&&'
+'||'
+'.'
+'('
+')'
+'{'
+'}'
+';'
+','
+'class'
+'this'
+'while'
+'do'
+'if'
+'else'
+'for'
+'return'
+'new'
+'switch'
+'case'
+'default'
+':'
+null
+null
+null
+'null'
+null
+null
+null
+null
+
+token symbolic names:
+null
+null
+null
+Void
+Boolean
+Char
+Int
+AccessModifier
+MainMethodDeclaration
+DotOperator
+LineOperator
+ComparisonOperator
+LogicalOperator
+Assign
+Plus
+Minus
+Mult
+Modulo
+Div
+Greater
+Less
+GreaterEqual
+LessEqual
+Equal
+NotEqual
+Not
+And
+Or
+Dot
+OpenRoundBracket
+ClosedRoundBracket
+OpenCurlyBracket
+ClosedCurlyBracket
+Semicolon
+Comma
+Class
+This
+While
+Do
+If
+Else
+For
+Return
+New
+Switch
+Case
+Default
+Colon
+CharValue
+IntValue
+BooleanValue
+NullValue
+Identifier
+WS
+InlineComment
+MultilineComment
+
+rule names:
+program
+classDeclaration
+memberDeclaration
+constructorDeclaration
+fieldDeclaration
+methodDeclaration
+parameterList
+parameter
+argumentList
+statement
+blockStatement
+returnStatement
+localVariableDeclaration
+whileStatement
+doWhileStatement
+forStatement
+ifElseStatement
+ifStatement
+elseIfStatement
+elseStatement
+switchStatement
+caseStatement
+defaultStatement
+statementExpression
+assign
+newDeclaration
+expression
+unaryExpression
+notExpression
+crementExpression
+incrementExpression
+prefixIncrementExpression
+suffixIncrementExpression
+decrementExpression
+prefixDecrementExpression
+suffixDecrementExpression
+assignableExpression
+memberAccess
+binaryExpression
+calculationExpression
+dotExpression
+dotSubtractionExpression
+nonCalculationExpression
+methodCall
+target
+chainedMethod
+type
+value
+nonCalculationOperator
+
+
+atn:
+[4, 1, 55, 458, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 1, 0, 4, 0, 100, 8, 0, 11, 0, 12, 0, 101, 1, 1, 3, 1, 105, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 111, 8, 1, 10, 1, 12, 1, 114, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 121, 8, 2, 1, 3, 3, 3, 124, 8, 3, 1, 3, 1, 3, 1, 3, 3, 3, 129, 8, 3, 1, 3, 1, 3, 1, 3, 1, 4, 3, 4, 135, 8, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 3, 5, 144, 8, 5, 1, 5, 1, 5, 3, 5, 148, 8, 5, 1, 5, 1, 5, 1, 5, 3, 5, 153, 8, 5, 1, 5, 1, 5, 3, 5, 157, 8, 5, 1, 6, 1, 6, 1, 6, 5, 6, 162, 8, 6, 10, 6, 12, 6, 165, 9, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 5, 8, 173, 8, 8, 10, 8, 12, 8, 176, 9, 8, 3, 8, 178, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 195, 8, 9, 1, 10, 1, 10, 5, 10, 199, 8, 10, 10, 10, 12, 10, 202, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 208, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 214, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 234, 8, 15, 1, 15, 1, 15, 3, 15, 238, 8, 15, 1, 15, 1, 15, 3, 15, 242, 8, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 5, 16, 249, 8, 16, 10, 16, 12, 16, 252, 9, 16, 1, 16, 3, 16, 255, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 4, 20, 279, 8, 20, 11, 20, 12, 20, 280, 1, 20, 3, 20, 284, 8, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 5, 21, 292, 8, 21, 10, 21, 12, 21, 295, 9, 21, 1, 22, 1, 22, 1, 22, 5, 22, 300, 8, 22, 10, 22, 12, 22, 303, 9, 22, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 309, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 3, 26, 323, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 335, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 3, 29, 342, 8, 29, 1, 30, 1, 30, 3, 30, 346, 8, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 3, 33, 356, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 3, 36, 366, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 373, 8, 37, 1, 37, 1, 37, 4, 37, 377, 8, 37, 11, 37, 12, 37, 378, 1, 37, 3, 37, 382, 8, 37, 1, 38, 1, 38, 3, 38, 386, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 394, 8, 39, 10, 39, 12, 39, 397, 9, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 405, 8, 40, 10, 40, 12, 40, 408, 9, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 418, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 3, 43, 425, 8, 43, 1, 43, 5, 43, 428, 8, 43, 10, 43, 12, 43, 431, 9, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 442, 8, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 0, 2, 78, 80, 49, 0, 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, 0, 3, 2, 0, 4, 6, 52, 52, 1, 0, 48, 51, 1, 0, 11, 12, 471, 0, 99, 1, 0, 0, 0, 2, 104, 1, 0, 0, 0, 4, 120, 1, 0, 0, 0, 6, 123, 1, 0, 0, 0, 8, 134, 1, 0, 0, 0, 10, 156, 1, 0, 0, 0, 12, 158, 1, 0, 0, 0, 14, 166, 1, 0, 0, 0, 16, 177, 1, 0, 0, 0, 18, 194, 1, 0, 0, 0, 20, 196, 1, 0, 0, 0, 22, 205, 1, 0, 0, 0, 24, 209, 1, 0, 0, 0, 26, 215, 1, 0, 0, 0, 28, 221, 1, 0, 0, 0, 30, 229, 1, 0, 0, 0, 32, 246, 1, 0, 0, 0, 34, 256, 1, 0, 0, 0, 36, 262, 1, 0, 0, 0, 38, 269, 1, 0, 0, 0, 40, 272, 1, 0, 0, 0, 42, 287, 1, 0, 0, 0, 44, 296, 1, 0, 0, 0, 46, 308, 1, 0, 0, 0, 48, 310, 1, 0, 0, 0, 50, 314, 1, 0, 0, 0, 52, 322, 1, 0, 0, 0, 54, 334, 1, 0, 0, 0, 56, 336, 1, 0, 0, 0, 58, 341, 1, 0, 0, 0, 60, 345, 1, 0, 0, 0, 62, 347, 1, 0, 0, 0, 64, 350, 1, 0, 0, 0, 66, 355, 1, 0, 0, 0, 68, 357, 1, 0, 0, 0, 70, 360, 1, 0, 0, 0, 72, 365, 1, 0, 0, 0, 74, 381, 1, 0, 0, 0, 76, 385, 1, 0, 0, 0, 78, 387, 1, 0, 0, 0, 80, 398, 1, 0, 0, 0, 82, 417, 1, 0, 0, 0, 84, 419, 1, 0, 0, 0, 86, 424, 1, 0, 0, 0, 88, 441, 1, 0, 0, 0, 90, 445, 1, 0, 0, 0, 92, 451, 1, 0, 0, 0, 94, 453, 1, 0, 0, 0, 96, 455, 1, 0, 0, 0, 98, 100, 3, 2, 1, 0, 99, 98, 1, 0, 0, 0, 100, 101, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 101, 102, 1, 0, 0, 0, 102, 1, 1, 0, 0, 0, 103, 105, 5, 7, 0, 0, 104, 103, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 106, 1, 0, 0, 0, 106, 107, 5, 35, 0, 0, 107, 108, 5, 52, 0, 0, 108, 112, 5, 31, 0, 0, 109, 111, 3, 4, 2, 0, 110, 109, 1, 0, 0, 0, 111, 114, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, 115, 1, 0, 0, 0, 114, 112, 1, 0, 0, 0, 115, 116, 5, 32, 0, 0, 116, 3, 1, 0, 0, 0, 117, 121, 3, 6, 3, 0, 118, 121, 3, 8, 4, 0, 119, 121, 3, 10, 5, 0, 120, 117, 1, 0, 0, 0, 120, 118, 1, 0, 0, 0, 120, 119, 1, 0, 0, 0, 121, 5, 1, 0, 0, 0, 122, 124, 5, 7, 0, 0, 123, 122, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 125, 1, 0, 0, 0, 125, 126, 5, 52, 0, 0, 126, 128, 5, 29, 0, 0, 127, 129, 3, 12, 6, 0, 128, 127, 1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 1, 0, 0, 0, 130, 131, 5, 30, 0, 0, 131, 132, 3, 20, 10, 0, 132, 7, 1, 0, 0, 0, 133, 135, 5, 7, 0, 0, 134, 133, 1, 0, 0, 0, 134, 135, 1, 0, 0, 0, 135, 136, 1, 0, 0, 0, 136, 137, 3, 92, 46, 0, 137, 138, 5, 52, 0, 0, 138, 139, 5, 33, 0, 0, 139, 9, 1, 0, 0, 0, 140, 141, 5, 8, 0, 0, 141, 157, 3, 20, 10, 0, 142, 144, 5, 7, 0, 0, 143, 142, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 147, 1, 0, 0, 0, 145, 148, 3, 92, 46, 0, 146, 148, 5, 3, 0, 0, 147, 145, 1, 0, 0, 0, 147, 146, 1, 0, 0, 0, 148, 149, 1, 0, 0, 0, 149, 150, 5, 52, 0, 0, 150, 152, 5, 29, 0, 0, 151, 153, 3, 12, 6, 0, 152, 151, 1, 0, 0, 0, 152, 153, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 155, 5, 30, 0, 0, 155, 157, 3, 20, 10, 0, 156, 140, 1, 0, 0, 0, 156, 143, 1, 0, 0, 0, 157, 11, 1, 0, 0, 0, 158, 163, 3, 14, 7, 0, 159, 160, 5, 34, 0, 0, 160, 162, 3, 14, 7, 0, 161, 159, 1, 0, 0, 0, 162, 165, 1, 0, 0, 0, 163, 161, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 13, 1, 0, 0, 0, 165, 163, 1, 0, 0, 0, 166, 167, 3, 92, 46, 0, 167, 168, 5, 52, 0, 0, 168, 15, 1, 0, 0, 0, 169, 174, 3, 52, 26, 0, 170, 171, 5, 34, 0, 0, 171, 173, 3, 52, 26, 0, 172, 170, 1, 0, 0, 0, 173, 176, 1, 0, 0, 0, 174, 172, 1, 0, 0, 0, 174, 175, 1, 0, 0, 0, 175, 178, 1, 0, 0, 0, 176, 174, 1, 0, 0, 0, 177, 169, 1, 0, 0, 0, 177, 178, 1, 0, 0, 0, 178, 17, 1, 0, 0, 0, 179, 180, 3, 22, 11, 0, 180, 181, 5, 33, 0, 0, 181, 195, 1, 0, 0, 0, 182, 183, 3, 24, 12, 0, 183, 184, 5, 33, 0, 0, 184, 195, 1, 0, 0, 0, 185, 195, 3, 20, 10, 0, 186, 195, 3, 26, 13, 0, 187, 195, 3, 28, 14, 0, 188, 195, 3, 30, 15, 0, 189, 195, 3, 32, 16, 0, 190, 195, 3, 40, 20, 0, 191, 192, 3, 46, 23, 0, 192, 193, 5, 33, 0, 0, 193, 195, 1, 0, 0, 0, 194, 179, 1, 0, 0, 0, 194, 182, 1, 0, 0, 0, 194, 185, 1, 0, 0, 0, 194, 186, 1, 0, 0, 0, 194, 187, 1, 0, 0, 0, 194, 188, 1, 0, 0, 0, 194, 189, 1, 0, 0, 0, 194, 190, 1, 0, 0, 0, 194, 191, 1, 0, 0, 0, 195, 19, 1, 0, 0, 0, 196, 200, 5, 31, 0, 0, 197, 199, 3, 18, 9, 0, 198, 197, 1, 0, 0, 0, 199, 202, 1, 0, 0, 0, 200, 198, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 203, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 203, 204, 5, 32, 0, 0, 204, 21, 1, 0, 0, 0, 205, 207, 5, 42, 0, 0, 206, 208, 3, 52, 26, 0, 207, 206, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 23, 1, 0, 0, 0, 209, 210, 3, 92, 46, 0, 210, 213, 5, 52, 0, 0, 211, 212, 5, 13, 0, 0, 212, 214, 3, 52, 26, 0, 213, 211, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 25, 1, 0, 0, 0, 215, 216, 5, 37, 0, 0, 216, 217, 5, 29, 0, 0, 217, 218, 3, 52, 26, 0, 218, 219, 5, 30, 0, 0, 219, 220, 3, 20, 10, 0, 220, 27, 1, 0, 0, 0, 221, 222, 5, 38, 0, 0, 222, 223, 3, 20, 10, 0, 223, 224, 5, 37, 0, 0, 224, 225, 5, 29, 0, 0, 225, 226, 3, 52, 26, 0, 226, 227, 5, 30, 0, 0, 227, 228, 5, 33, 0, 0, 228, 29, 1, 0, 0, 0, 229, 230, 5, 41, 0, 0, 230, 233, 5, 29, 0, 0, 231, 234, 3, 46, 23, 0, 232, 234, 3, 24, 12, 0, 233, 231, 1, 0, 0, 0, 233, 232, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 237, 5, 33, 0, 0, 236, 238, 3, 52, 26, 0, 237, 236, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 239, 1, 0, 0, 0, 239, 241, 5, 33, 0, 0, 240, 242, 3, 46, 23, 0, 241, 240, 1, 0, 0, 0, 241, 242, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 244, 5, 30, 0, 0, 244, 245, 3, 20, 10, 0, 245, 31, 1, 0, 0, 0, 246, 250, 3, 34, 17, 0, 247, 249, 3, 36, 18, 0, 248, 247, 1, 0, 0, 0, 249, 252, 1, 0, 0, 0, 250, 248, 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 254, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 253, 255, 3, 38, 19, 0, 254, 253, 1, 0, 0, 0, 254, 255, 1, 0, 0, 0, 255, 33, 1, 0, 0, 0, 256, 257, 5, 39, 0, 0, 257, 258, 5, 29, 0, 0, 258, 259, 3, 52, 26, 0, 259, 260, 5, 30, 0, 0, 260, 261, 3, 20, 10, 0, 261, 35, 1, 0, 0, 0, 262, 263, 5, 40, 0, 0, 263, 264, 5, 39, 0, 0, 264, 265, 5, 29, 0, 0, 265, 266, 3, 52, 26, 0, 266, 267, 5, 30, 0, 0, 267, 268, 3, 20, 10, 0, 268, 37, 1, 0, 0, 0, 269, 270, 5, 40, 0, 0, 270, 271, 3, 20, 10, 0, 271, 39, 1, 0, 0, 0, 272, 273, 5, 44, 0, 0, 273, 274, 5, 29, 0, 0, 274, 275, 3, 52, 26, 0, 275, 276, 5, 30, 0, 0, 276, 278, 5, 31, 0, 0, 277, 279, 3, 42, 21, 0, 278, 277, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 278, 1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 283, 1, 0, 0, 0, 282, 284, 3, 44, 22, 0, 283, 282, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 286, 5, 32, 0, 0, 286, 41, 1, 0, 0, 0, 287, 288, 5, 45, 0, 0, 288, 289, 3, 94, 47, 0, 289, 293, 5, 47, 0, 0, 290, 292, 3, 18, 9, 0, 291, 290, 1, 0, 0, 0, 292, 295, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 43, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 296, 297, 5, 46, 0, 0, 297, 301, 5, 47, 0, 0, 298, 300, 3, 18, 9, 0, 299, 298, 1, 0, 0, 0, 300, 303, 1, 0, 0, 0, 301, 299, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 45, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 304, 309, 3, 48, 24, 0, 305, 309, 3, 50, 25, 0, 306, 309, 3, 86, 43, 0, 307, 309, 3, 58, 29, 0, 308, 304, 1, 0, 0, 0, 308, 305, 1, 0, 0, 0, 308, 306, 1, 0, 0, 0, 308, 307, 1, 0, 0, 0, 309, 47, 1, 0, 0, 0, 310, 311, 3, 72, 36, 0, 311, 312, 5, 13, 0, 0, 312, 313, 3, 52, 26, 0, 313, 49, 1, 0, 0, 0, 314, 315, 5, 43, 0, 0, 315, 316, 5, 52, 0, 0, 316, 317, 5, 29, 0, 0, 317, 318, 3, 16, 8, 0, 318, 319, 5, 30, 0, 0, 319, 51, 1, 0, 0, 0, 320, 323, 3, 54, 27, 0, 321, 323, 3, 76, 38, 0, 322, 320, 1, 0, 0, 0, 322, 321, 1, 0, 0, 0, 323, 53, 1, 0, 0, 0, 324, 335, 5, 36, 0, 0, 325, 335, 5, 52, 0, 0, 326, 335, 3, 74, 37, 0, 327, 335, 3, 94, 47, 0, 328, 335, 3, 56, 28, 0, 329, 335, 3, 46, 23, 0, 330, 331, 5, 29, 0, 0, 331, 332, 3, 52, 26, 0, 332, 333, 5, 30, 0, 0, 333, 335, 1, 0, 0, 0, 334, 324, 1, 0, 0, 0, 334, 325, 1, 0, 0, 0, 334, 326, 1, 0, 0, 0, 334, 327, 1, 0, 0, 0, 334, 328, 1, 0, 0, 0, 334, 329, 1, 0, 0, 0, 334, 330, 1, 0, 0, 0, 335, 55, 1, 0, 0, 0, 336, 337, 5, 25, 0, 0, 337, 338, 3, 52, 26, 0, 338, 57, 1, 0, 0, 0, 339, 342, 3, 60, 30, 0, 340, 342, 3, 66, 33, 0, 341, 339, 1, 0, 0, 0, 341, 340, 1, 0, 0, 0, 342, 59, 1, 0, 0, 0, 343, 346, 3, 62, 31, 0, 344, 346, 3, 64, 32, 0, 345, 343, 1, 0, 0, 0, 345, 344, 1, 0, 0, 0, 346, 61, 1, 0, 0, 0, 347, 348, 5, 1, 0, 0, 348, 349, 3, 72, 36, 0, 349, 63, 1, 0, 0, 0, 350, 351, 3, 72, 36, 0, 351, 352, 5, 1, 0, 0, 352, 65, 1, 0, 0, 0, 353, 356, 3, 68, 34, 0, 354, 356, 3, 70, 35, 0, 355, 353, 1, 0, 0, 0, 355, 354, 1, 0, 0, 0, 356, 67, 1, 0, 0, 0, 357, 358, 5, 2, 0, 0, 358, 359, 3, 72, 36, 0, 359, 69, 1, 0, 0, 0, 360, 361, 3, 72, 36, 0, 361, 362, 5, 2, 0, 0, 362, 71, 1, 0, 0, 0, 363, 366, 5, 52, 0, 0, 364, 366, 3, 74, 37, 0, 365, 363, 1, 0, 0, 0, 365, 364, 1, 0, 0, 0, 366, 73, 1, 0, 0, 0, 367, 368, 5, 36, 0, 0, 368, 369, 5, 28, 0, 0, 369, 382, 5, 52, 0, 0, 370, 371, 5, 36, 0, 0, 371, 373, 5, 28, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 376, 1, 0, 0, 0, 374, 375, 5, 52, 0, 0, 375, 377, 5, 28, 0, 0, 376, 374, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 382, 5, 52, 0, 0, 381, 367, 1, 0, 0, 0, 381, 372, 1, 0, 0, 0, 382, 75, 1, 0, 0, 0, 383, 386, 3, 78, 39, 0, 384, 386, 3, 84, 42, 0, 385, 383, 1, 0, 0, 0, 385, 384, 1, 0, 0, 0, 386, 77, 1, 0, 0, 0, 387, 388, 6, 39, -1, 0, 388, 389, 3, 80, 40, 0, 389, 395, 1, 0, 0, 0, 390, 391, 10, 2, 0, 0, 391, 392, 5, 10, 0, 0, 392, 394, 3, 80, 40, 0, 393, 390, 1, 0, 0, 0, 394, 397, 1, 0, 0, 0, 395, 393, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 79, 1, 0, 0, 0, 397, 395, 1, 0, 0, 0, 398, 399, 6, 40, -1, 0, 399, 400, 3, 82, 41, 0, 400, 406, 1, 0, 0, 0, 401, 402, 10, 2, 0, 0, 402, 403, 5, 9, 0, 0, 403, 405, 3, 82, 41, 0, 404, 401, 1, 0, 0, 0, 405, 408, 1, 0, 0, 0, 406, 404, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 81, 1, 0, 0, 0, 408, 406, 1, 0, 0, 0, 409, 418, 5, 49, 0, 0, 410, 418, 5, 52, 0, 0, 411, 418, 3, 74, 37, 0, 412, 413, 3, 86, 43, 0, 413, 414, 5, 29, 0, 0, 414, 415, 3, 78, 39, 0, 415, 416, 5, 30, 0, 0, 416, 418, 1, 0, 0, 0, 417, 409, 1, 0, 0, 0, 417, 410, 1, 0, 0, 0, 417, 411, 1, 0, 0, 0, 417, 412, 1, 0, 0, 0, 418, 83, 1, 0, 0, 0, 419, 420, 3, 54, 27, 0, 420, 421, 3, 96, 48, 0, 421, 422, 3, 52, 26, 0, 422, 85, 1, 0, 0, 0, 423, 425, 3, 88, 44, 0, 424, 423, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 429, 1, 0, 0, 0, 426, 428, 3, 90, 45, 0, 427, 426, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 432, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 432, 433, 5, 52, 0, 0, 433, 434, 5, 29, 0, 0, 434, 435, 3, 16, 8, 0, 435, 436, 5, 30, 0, 0, 436, 87, 1, 0, 0, 0, 437, 442, 5, 36, 0, 0, 438, 442, 3, 74, 37, 0, 439, 442, 3, 50, 25, 0, 440, 442, 5, 52, 0, 0, 441, 437, 1, 0, 0, 0, 441, 438, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 440, 1, 0, 0, 0, 442, 443, 1, 0, 0, 0, 443, 444, 5, 28, 0, 0, 444, 89, 1, 0, 0, 0, 445, 446, 5, 52, 0, 0, 446, 447, 5, 29, 0, 0, 447, 448, 3, 16, 8, 0, 448, 449, 5, 30, 0, 0, 449, 450, 5, 28, 0, 0, 450, 91, 1, 0, 0, 0, 451, 452, 7, 0, 0, 0, 452, 93, 1, 0, 0, 0, 453, 454, 7, 1, 0, 0, 454, 95, 1, 0, 0, 0, 455, 456, 7, 2, 0, 0, 456, 97, 1, 0, 0, 0, 44, 101, 104, 112, 120, 123, 128, 134, 143, 147, 152, 156, 163, 174, 177, 194, 200, 207, 213, 233, 237, 241, 250, 254, 280, 283, 293, 301, 308, 322, 334, 341, 345, 355, 365, 372, 378, 381, 385, 395, 406, 417, 424, 429, 441]
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJava.tokens b/src/main/java/parser/generated/SimpleJava.tokens
new file mode 100644
index 0000000..ffe0902
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJava.tokens
@@ -0,0 +1,98 @@
+T__0=1
+T__1=2
+Void=3
+Boolean=4
+Char=5
+Int=6
+AccessModifier=7
+MainMethodDeclaration=8
+DotOperator=9
+LineOperator=10
+ComparisonOperator=11
+LogicalOperator=12
+Assign=13
+Plus=14
+Minus=15
+Mult=16
+Modulo=17
+Div=18
+Greater=19
+Less=20
+GreaterEqual=21
+LessEqual=22
+Equal=23
+NotEqual=24
+Not=25
+And=26
+Or=27
+Dot=28
+OpenRoundBracket=29
+ClosedRoundBracket=30
+OpenCurlyBracket=31
+ClosedCurlyBracket=32
+Semicolon=33
+Comma=34
+Class=35
+This=36
+While=37
+Do=38
+If=39
+Else=40
+For=41
+Return=42
+New=43
+Switch=44
+Case=45
+Default=46
+Colon=47
+CharValue=48
+IntValue=49
+BooleanValue=50
+NullValue=51
+Identifier=52
+WS=53
+InlineComment=54
+MultilineComment=55
+'++'=1
+'--'=2
+'void'=3
+'boolean'=4
+'char'=5
+'int'=6
+'public static void main(String[] args)'=8
+'='=13
+'+'=14
+'-'=15
+'*'=16
+'%'=17
+'/'=18
+'>'=19
+'<'=20
+'>='=21
+'<='=22
+'=='=23
+'!='=24
+'!'=25
+'&&'=26
+'||'=27
+'.'=28
+'('=29
+')'=30
+'{'=31
+'}'=32
+';'=33
+','=34
+'class'=35
+'this'=36
+'while'=37
+'do'=38
+'if'=39
+'else'=40
+'for'=41
+'return'=42
+'new'=43
+'switch'=44
+'case'=45
+'default'=46
+':'=47
+'null'=51
diff --git a/src/main/java/parser/generated/SimpleJavaBaseListener.java b/src/main/java/parser/generated/SimpleJavaBaseListener.java
new file mode 100644
index 0000000..52e183c
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaBaseListener.java
@@ -0,0 +1,628 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+
+import org.antlr.v4.runtime.ParserRuleContext;
+import org.antlr.v4.runtime.tree.ErrorNode;
+import org.antlr.v4.runtime.tree.TerminalNode;
+
+/**
+ * This class provides an empty implementation of {@link SimpleJavaListener},
+ * which can be extended to create a listener which only needs to handle a subset
+ * of the available methods.
+ */
+@SuppressWarnings("CheckReturnValue")
+public class SimpleJavaBaseListener implements SimpleJavaListener {
+ /**
+ * {@inheritDoc}
+ *
+ *
The default implementation does nothing.
+ */
+ @Override public void enterProgram(SimpleJavaParser.ProgramContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitProgram(SimpleJavaParser.ProgramContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterParameterList(SimpleJavaParser.ParameterListContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitParameterList(SimpleJavaParser.ParameterListContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterParameter(SimpleJavaParser.ParameterContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitParameter(SimpleJavaParser.ParameterContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterArgumentList(SimpleJavaParser.ArgumentListContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitArgumentList(SimpleJavaParser.ArgumentListContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterStatement(SimpleJavaParser.StatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitStatement(SimpleJavaParser.StatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterBlockStatement(SimpleJavaParser.BlockStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitBlockStatement(SimpleJavaParser.BlockStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterReturnStatement(SimpleJavaParser.ReturnStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitReturnStatement(SimpleJavaParser.ReturnStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterWhileStatement(SimpleJavaParser.WhileStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitWhileStatement(SimpleJavaParser.WhileStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterForStatement(SimpleJavaParser.ForStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitForStatement(SimpleJavaParser.ForStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterIfStatement(SimpleJavaParser.IfStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitIfStatement(SimpleJavaParser.IfStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterElseStatement(SimpleJavaParser.ElseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitElseStatement(SimpleJavaParser.ElseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterCaseStatement(SimpleJavaParser.CaseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitCaseStatement(SimpleJavaParser.CaseStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterStatementExpression(SimpleJavaParser.StatementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitStatementExpression(SimpleJavaParser.StatementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterAssign(SimpleJavaParser.AssignContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitAssign(SimpleJavaParser.AssignContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterExpression(SimpleJavaParser.ExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitExpression(SimpleJavaParser.ExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterNotExpression(SimpleJavaParser.NotExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitNotExpression(SimpleJavaParser.NotExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterCrementExpression(SimpleJavaParser.CrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitCrementExpression(SimpleJavaParser.CrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterMemberAccess(SimpleJavaParser.MemberAccessContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitMemberAccess(SimpleJavaParser.MemberAccessContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDotExpression(SimpleJavaParser.DotExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDotExpression(SimpleJavaParser.DotExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterMethodCall(SimpleJavaParser.MethodCallContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitMethodCall(SimpleJavaParser.MethodCallContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterTarget(SimpleJavaParser.TargetContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitTarget(SimpleJavaParser.TargetContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterChainedMethod(SimpleJavaParser.ChainedMethodContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitChainedMethod(SimpleJavaParser.ChainedMethodContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterType(SimpleJavaParser.TypeContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitType(SimpleJavaParser.TypeContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterValue(SimpleJavaParser.ValueContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitValue(SimpleJavaParser.ValueContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx) { }
+
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterEveryRule(ParserRuleContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitEveryRule(ParserRuleContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void visitTerminal(TerminalNode node) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void visitErrorNode(ErrorNode node) { }
+}
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaBaseVisitor.java b/src/main/java/parser/generated/SimpleJavaBaseVisitor.java
new file mode 100644
index 0000000..9eb8ace
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaBaseVisitor.java
@@ -0,0 +1,358 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
+
+/**
+ * This class provides an empty implementation of {@link SimpleJavaVisitor},
+ * which can be extended to create a visitor which only needs to handle a subset
+ * of the available methods.
+ *
+ * @param The return type of the visit operation. Use {@link Void} for
+ * operations with no return type.
+ */
+@SuppressWarnings("CheckReturnValue")
+public class SimpleJavaBaseVisitor extends AbstractParseTreeVisitor implements SimpleJavaVisitor {
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitProgram(SimpleJavaParser.ProgramContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitParameterList(SimpleJavaParser.ParameterListContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitParameter(SimpleJavaParser.ParameterContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitArgumentList(SimpleJavaParser.ArgumentListContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitStatement(SimpleJavaParser.StatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitBlockStatement(SimpleJavaParser.BlockStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitReturnStatement(SimpleJavaParser.ReturnStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitWhileStatement(SimpleJavaParser.WhileStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitForStatement(SimpleJavaParser.ForStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitIfStatement(SimpleJavaParser.IfStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitElseStatement(SimpleJavaParser.ElseStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitCaseStatement(SimpleJavaParser.CaseStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitStatementExpression(SimpleJavaParser.StatementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitAssign(SimpleJavaParser.AssignContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitExpression(SimpleJavaParser.ExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitNotExpression(SimpleJavaParser.NotExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitCrementExpression(SimpleJavaParser.CrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitMemberAccess(SimpleJavaParser.MemberAccessContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDotExpression(SimpleJavaParser.DotExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitMethodCall(SimpleJavaParser.MethodCallContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitTarget(SimpleJavaParser.TargetContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitChainedMethod(SimpleJavaParser.ChainedMethodContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitType(SimpleJavaParser.TypeContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitValue(SimpleJavaParser.ValueContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx) { return visitChildren(ctx); }
+}
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaLexer.interp b/src/main/java/parser/generated/SimpleJavaLexer.interp
new file mode 100644
index 0000000..3338105
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaLexer.interp
@@ -0,0 +1,185 @@
+token literal names:
+null
+'++'
+'--'
+'void'
+'boolean'
+'char'
+'int'
+null
+'public static void main(String[] args)'
+null
+null
+null
+null
+'='
+'+'
+'-'
+'*'
+'%'
+'/'
+'>'
+'<'
+'>='
+'<='
+'=='
+'!='
+'!'
+'&&'
+'||'
+'.'
+'('
+')'
+'{'
+'}'
+';'
+','
+'class'
+'this'
+'while'
+'do'
+'if'
+'else'
+'for'
+'return'
+'new'
+'switch'
+'case'
+'default'
+':'
+null
+null
+null
+'null'
+null
+null
+null
+null
+
+token symbolic names:
+null
+null
+null
+Void
+Boolean
+Char
+Int
+AccessModifier
+MainMethodDeclaration
+DotOperator
+LineOperator
+ComparisonOperator
+LogicalOperator
+Assign
+Plus
+Minus
+Mult
+Modulo
+Div
+Greater
+Less
+GreaterEqual
+LessEqual
+Equal
+NotEqual
+Not
+And
+Or
+Dot
+OpenRoundBracket
+ClosedRoundBracket
+OpenCurlyBracket
+ClosedCurlyBracket
+Semicolon
+Comma
+Class
+This
+While
+Do
+If
+Else
+For
+Return
+New
+Switch
+Case
+Default
+Colon
+CharValue
+IntValue
+BooleanValue
+NullValue
+Identifier
+WS
+InlineComment
+MultilineComment
+
+rule names:
+T__0
+T__1
+Void
+Boolean
+Char
+Int
+AccessModifier
+MainMethodDeclaration
+DotOperator
+LineOperator
+ComparisonOperator
+LogicalOperator
+Assign
+Plus
+Minus
+Mult
+Modulo
+Div
+Greater
+Less
+GreaterEqual
+LessEqual
+Equal
+NotEqual
+Not
+And
+Or
+Dot
+OpenRoundBracket
+ClosedRoundBracket
+OpenCurlyBracket
+ClosedCurlyBracket
+Semicolon
+Comma
+Class
+This
+While
+Do
+If
+Else
+For
+Return
+New
+Switch
+Case
+Default
+Colon
+CharValue
+IntValue
+BooleanValue
+NullValue
+Alphabetic
+Numeric
+ValidIdentSymbols
+Identifier
+WS
+InlineComment
+MultilineComment
+
+channel names:
+DEFAULT_TOKEN_CHANNEL
+HIDDEN
+
+mode names:
+DEFAULT_MODE
+
+atn:
+[4, 0, 55, 443, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 186, 8, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 3, 8, 230, 8, 8, 1, 9, 1, 9, 3, 9, 234, 8, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 242, 8, 10, 1, 11, 1, 11, 3, 11, 246, 8, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 47, 1, 47, 5, 47, 365, 8, 47, 10, 47, 12, 47, 368, 9, 47, 1, 47, 1, 47, 1, 48, 3, 48, 373, 8, 48, 1, 48, 4, 48, 376, 8, 48, 11, 48, 12, 48, 377, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 389, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 3, 53, 403, 8, 53, 1, 54, 1, 54, 5, 54, 407, 8, 54, 10, 54, 12, 54, 410, 9, 54, 1, 55, 4, 55, 413, 8, 55, 11, 55, 12, 55, 414, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 423, 8, 56, 10, 56, 12, 56, 426, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 434, 8, 57, 10, 57, 12, 57, 437, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 435, 0, 58, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 0, 105, 0, 107, 0, 109, 52, 111, 53, 113, 54, 115, 55, 1, 0, 5, 2, 0, 10, 10, 13, 13, 2, 0, 65, 90, 97, 122, 1, 0, 48, 57, 2, 0, 36, 36, 95, 95, 3, 0, 9, 10, 13, 13, 32, 32, 461, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 1, 117, 1, 0, 0, 0, 3, 120, 1, 0, 0, 0, 5, 123, 1, 0, 0, 0, 7, 128, 1, 0, 0, 0, 9, 136, 1, 0, 0, 0, 11, 141, 1, 0, 0, 0, 13, 185, 1, 0, 0, 0, 15, 187, 1, 0, 0, 0, 17, 229, 1, 0, 0, 0, 19, 233, 1, 0, 0, 0, 21, 241, 1, 0, 0, 0, 23, 245, 1, 0, 0, 0, 25, 247, 1, 0, 0, 0, 27, 249, 1, 0, 0, 0, 29, 251, 1, 0, 0, 0, 31, 253, 1, 0, 0, 0, 33, 255, 1, 0, 0, 0, 35, 257, 1, 0, 0, 0, 37, 259, 1, 0, 0, 0, 39, 261, 1, 0, 0, 0, 41, 263, 1, 0, 0, 0, 43, 266, 1, 0, 0, 0, 45, 269, 1, 0, 0, 0, 47, 272, 1, 0, 0, 0, 49, 275, 1, 0, 0, 0, 51, 277, 1, 0, 0, 0, 53, 280, 1, 0, 0, 0, 55, 283, 1, 0, 0, 0, 57, 285, 1, 0, 0, 0, 59, 287, 1, 0, 0, 0, 61, 289, 1, 0, 0, 0, 63, 291, 1, 0, 0, 0, 65, 293, 1, 0, 0, 0, 67, 295, 1, 0, 0, 0, 69, 297, 1, 0, 0, 0, 71, 303, 1, 0, 0, 0, 73, 308, 1, 0, 0, 0, 75, 314, 1, 0, 0, 0, 77, 317, 1, 0, 0, 0, 79, 320, 1, 0, 0, 0, 81, 325, 1, 0, 0, 0, 83, 329, 1, 0, 0, 0, 85, 336, 1, 0, 0, 0, 87, 340, 1, 0, 0, 0, 89, 347, 1, 0, 0, 0, 91, 352, 1, 0, 0, 0, 93, 360, 1, 0, 0, 0, 95, 362, 1, 0, 0, 0, 97, 372, 1, 0, 0, 0, 99, 388, 1, 0, 0, 0, 101, 390, 1, 0, 0, 0, 103, 395, 1, 0, 0, 0, 105, 397, 1, 0, 0, 0, 107, 402, 1, 0, 0, 0, 109, 404, 1, 0, 0, 0, 111, 412, 1, 0, 0, 0, 113, 418, 1, 0, 0, 0, 115, 429, 1, 0, 0, 0, 117, 118, 5, 43, 0, 0, 118, 119, 5, 43, 0, 0, 119, 2, 1, 0, 0, 0, 120, 121, 5, 45, 0, 0, 121, 122, 5, 45, 0, 0, 122, 4, 1, 0, 0, 0, 123, 124, 5, 118, 0, 0, 124, 125, 5, 111, 0, 0, 125, 126, 5, 105, 0, 0, 126, 127, 5, 100, 0, 0, 127, 6, 1, 0, 0, 0, 128, 129, 5, 98, 0, 0, 129, 130, 5, 111, 0, 0, 130, 131, 5, 111, 0, 0, 131, 132, 5, 108, 0, 0, 132, 133, 5, 101, 0, 0, 133, 134, 5, 97, 0, 0, 134, 135, 5, 110, 0, 0, 135, 8, 1, 0, 0, 0, 136, 137, 5, 99, 0, 0, 137, 138, 5, 104, 0, 0, 138, 139, 5, 97, 0, 0, 139, 140, 5, 114, 0, 0, 140, 10, 1, 0, 0, 0, 141, 142, 5, 105, 0, 0, 142, 143, 5, 110, 0, 0, 143, 144, 5, 116, 0, 0, 144, 12, 1, 0, 0, 0, 145, 146, 5, 112, 0, 0, 146, 147, 5, 117, 0, 0, 147, 148, 5, 98, 0, 0, 148, 149, 5, 108, 0, 0, 149, 150, 5, 105, 0, 0, 150, 186, 5, 99, 0, 0, 151, 152, 5, 112, 0, 0, 152, 153, 5, 114, 0, 0, 153, 154, 5, 105, 0, 0, 154, 155, 5, 118, 0, 0, 155, 156, 5, 97, 0, 0, 156, 157, 5, 116, 0, 0, 157, 186, 5, 101, 0, 0, 158, 159, 5, 112, 0, 0, 159, 160, 5, 117, 0, 0, 160, 161, 5, 98, 0, 0, 161, 162, 5, 108, 0, 0, 162, 163, 5, 105, 0, 0, 163, 164, 5, 99, 0, 0, 164, 165, 5, 32, 0, 0, 165, 166, 5, 115, 0, 0, 166, 167, 5, 116, 0, 0, 167, 168, 5, 97, 0, 0, 168, 169, 5, 116, 0, 0, 169, 170, 5, 105, 0, 0, 170, 186, 5, 99, 0, 0, 171, 172, 5, 112, 0, 0, 172, 173, 5, 114, 0, 0, 173, 174, 5, 105, 0, 0, 174, 175, 5, 118, 0, 0, 175, 176, 5, 97, 0, 0, 176, 177, 5, 116, 0, 0, 177, 178, 5, 101, 0, 0, 178, 179, 5, 32, 0, 0, 179, 180, 5, 115, 0, 0, 180, 181, 5, 116, 0, 0, 181, 182, 5, 97, 0, 0, 182, 183, 5, 116, 0, 0, 183, 184, 5, 105, 0, 0, 184, 186, 5, 99, 0, 0, 185, 145, 1, 0, 0, 0, 185, 151, 1, 0, 0, 0, 185, 158, 1, 0, 0, 0, 185, 171, 1, 0, 0, 0, 186, 14, 1, 0, 0, 0, 187, 188, 5, 112, 0, 0, 188, 189, 5, 117, 0, 0, 189, 190, 5, 98, 0, 0, 190, 191, 5, 108, 0, 0, 191, 192, 5, 105, 0, 0, 192, 193, 5, 99, 0, 0, 193, 194, 5, 32, 0, 0, 194, 195, 5, 115, 0, 0, 195, 196, 5, 116, 0, 0, 196, 197, 5, 97, 0, 0, 197, 198, 5, 116, 0, 0, 198, 199, 5, 105, 0, 0, 199, 200, 5, 99, 0, 0, 200, 201, 5, 32, 0, 0, 201, 202, 5, 118, 0, 0, 202, 203, 5, 111, 0, 0, 203, 204, 5, 105, 0, 0, 204, 205, 5, 100, 0, 0, 205, 206, 5, 32, 0, 0, 206, 207, 5, 109, 0, 0, 207, 208, 5, 97, 0, 0, 208, 209, 5, 105, 0, 0, 209, 210, 5, 110, 0, 0, 210, 211, 5, 40, 0, 0, 211, 212, 5, 83, 0, 0, 212, 213, 5, 116, 0, 0, 213, 214, 5, 114, 0, 0, 214, 215, 5, 105, 0, 0, 215, 216, 5, 110, 0, 0, 216, 217, 5, 103, 0, 0, 217, 218, 5, 91, 0, 0, 218, 219, 5, 93, 0, 0, 219, 220, 5, 32, 0, 0, 220, 221, 5, 97, 0, 0, 221, 222, 5, 114, 0, 0, 222, 223, 5, 103, 0, 0, 223, 224, 5, 115, 0, 0, 224, 225, 5, 41, 0, 0, 225, 16, 1, 0, 0, 0, 226, 230, 3, 31, 15, 0, 227, 230, 3, 35, 17, 0, 228, 230, 3, 33, 16, 0, 229, 226, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 228, 1, 0, 0, 0, 230, 18, 1, 0, 0, 0, 231, 234, 3, 27, 13, 0, 232, 234, 3, 29, 14, 0, 233, 231, 1, 0, 0, 0, 233, 232, 1, 0, 0, 0, 234, 20, 1, 0, 0, 0, 235, 242, 3, 37, 18, 0, 236, 242, 3, 39, 19, 0, 237, 242, 3, 41, 20, 0, 238, 242, 3, 43, 21, 0, 239, 242, 3, 45, 22, 0, 240, 242, 3, 47, 23, 0, 241, 235, 1, 0, 0, 0, 241, 236, 1, 0, 0, 0, 241, 237, 1, 0, 0, 0, 241, 238, 1, 0, 0, 0, 241, 239, 1, 0, 0, 0, 241, 240, 1, 0, 0, 0, 242, 22, 1, 0, 0, 0, 243, 246, 3, 51, 25, 0, 244, 246, 3, 53, 26, 0, 245, 243, 1, 0, 0, 0, 245, 244, 1, 0, 0, 0, 246, 24, 1, 0, 0, 0, 247, 248, 5, 61, 0, 0, 248, 26, 1, 0, 0, 0, 249, 250, 5, 43, 0, 0, 250, 28, 1, 0, 0, 0, 251, 252, 5, 45, 0, 0, 252, 30, 1, 0, 0, 0, 253, 254, 5, 42, 0, 0, 254, 32, 1, 0, 0, 0, 255, 256, 5, 37, 0, 0, 256, 34, 1, 0, 0, 0, 257, 258, 5, 47, 0, 0, 258, 36, 1, 0, 0, 0, 259, 260, 5, 62, 0, 0, 260, 38, 1, 0, 0, 0, 261, 262, 5, 60, 0, 0, 262, 40, 1, 0, 0, 0, 263, 264, 5, 62, 0, 0, 264, 265, 5, 61, 0, 0, 265, 42, 1, 0, 0, 0, 266, 267, 5, 60, 0, 0, 267, 268, 5, 61, 0, 0, 268, 44, 1, 0, 0, 0, 269, 270, 5, 61, 0, 0, 270, 271, 5, 61, 0, 0, 271, 46, 1, 0, 0, 0, 272, 273, 5, 33, 0, 0, 273, 274, 5, 61, 0, 0, 274, 48, 1, 0, 0, 0, 275, 276, 5, 33, 0, 0, 276, 50, 1, 0, 0, 0, 277, 278, 5, 38, 0, 0, 278, 279, 5, 38, 0, 0, 279, 52, 1, 0, 0, 0, 280, 281, 5, 124, 0, 0, 281, 282, 5, 124, 0, 0, 282, 54, 1, 0, 0, 0, 283, 284, 5, 46, 0, 0, 284, 56, 1, 0, 0, 0, 285, 286, 5, 40, 0, 0, 286, 58, 1, 0, 0, 0, 287, 288, 5, 41, 0, 0, 288, 60, 1, 0, 0, 0, 289, 290, 5, 123, 0, 0, 290, 62, 1, 0, 0, 0, 291, 292, 5, 125, 0, 0, 292, 64, 1, 0, 0, 0, 293, 294, 5, 59, 0, 0, 294, 66, 1, 0, 0, 0, 295, 296, 5, 44, 0, 0, 296, 68, 1, 0, 0, 0, 297, 298, 5, 99, 0, 0, 298, 299, 5, 108, 0, 0, 299, 300, 5, 97, 0, 0, 300, 301, 5, 115, 0, 0, 301, 302, 5, 115, 0, 0, 302, 70, 1, 0, 0, 0, 303, 304, 5, 116, 0, 0, 304, 305, 5, 104, 0, 0, 305, 306, 5, 105, 0, 0, 306, 307, 5, 115, 0, 0, 307, 72, 1, 0, 0, 0, 308, 309, 5, 119, 0, 0, 309, 310, 5, 104, 0, 0, 310, 311, 5, 105, 0, 0, 311, 312, 5, 108, 0, 0, 312, 313, 5, 101, 0, 0, 313, 74, 1, 0, 0, 0, 314, 315, 5, 100, 0, 0, 315, 316, 5, 111, 0, 0, 316, 76, 1, 0, 0, 0, 317, 318, 5, 105, 0, 0, 318, 319, 5, 102, 0, 0, 319, 78, 1, 0, 0, 0, 320, 321, 5, 101, 0, 0, 321, 322, 5, 108, 0, 0, 322, 323, 5, 115, 0, 0, 323, 324, 5, 101, 0, 0, 324, 80, 1, 0, 0, 0, 325, 326, 5, 102, 0, 0, 326, 327, 5, 111, 0, 0, 327, 328, 5, 114, 0, 0, 328, 82, 1, 0, 0, 0, 329, 330, 5, 114, 0, 0, 330, 331, 5, 101, 0, 0, 331, 332, 5, 116, 0, 0, 332, 333, 5, 117, 0, 0, 333, 334, 5, 114, 0, 0, 334, 335, 5, 110, 0, 0, 335, 84, 1, 0, 0, 0, 336, 337, 5, 110, 0, 0, 337, 338, 5, 101, 0, 0, 338, 339, 5, 119, 0, 0, 339, 86, 1, 0, 0, 0, 340, 341, 5, 115, 0, 0, 341, 342, 5, 119, 0, 0, 342, 343, 5, 105, 0, 0, 343, 344, 5, 116, 0, 0, 344, 345, 5, 99, 0, 0, 345, 346, 5, 104, 0, 0, 346, 88, 1, 0, 0, 0, 347, 348, 5, 99, 0, 0, 348, 349, 5, 97, 0, 0, 349, 350, 5, 115, 0, 0, 350, 351, 5, 101, 0, 0, 351, 90, 1, 0, 0, 0, 352, 353, 5, 100, 0, 0, 353, 354, 5, 101, 0, 0, 354, 355, 5, 102, 0, 0, 355, 356, 5, 97, 0, 0, 356, 357, 5, 117, 0, 0, 357, 358, 5, 108, 0, 0, 358, 359, 5, 116, 0, 0, 359, 92, 1, 0, 0, 0, 360, 361, 5, 58, 0, 0, 361, 94, 1, 0, 0, 0, 362, 366, 5, 39, 0, 0, 363, 365, 8, 0, 0, 0, 364, 363, 1, 0, 0, 0, 365, 368, 1, 0, 0, 0, 366, 364, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 369, 1, 0, 0, 0, 368, 366, 1, 0, 0, 0, 369, 370, 5, 39, 0, 0, 370, 96, 1, 0, 0, 0, 371, 373, 3, 29, 14, 0, 372, 371, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 376, 3, 105, 52, 0, 375, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 375, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 98, 1, 0, 0, 0, 379, 380, 5, 116, 0, 0, 380, 381, 5, 114, 0, 0, 381, 382, 5, 117, 0, 0, 382, 389, 5, 101, 0, 0, 383, 384, 5, 102, 0, 0, 384, 385, 5, 97, 0, 0, 385, 386, 5, 108, 0, 0, 386, 387, 5, 115, 0, 0, 387, 389, 5, 101, 0, 0, 388, 379, 1, 0, 0, 0, 388, 383, 1, 0, 0, 0, 389, 100, 1, 0, 0, 0, 390, 391, 5, 110, 0, 0, 391, 392, 5, 117, 0, 0, 392, 393, 5, 108, 0, 0, 393, 394, 5, 108, 0, 0, 394, 102, 1, 0, 0, 0, 395, 396, 7, 1, 0, 0, 396, 104, 1, 0, 0, 0, 397, 398, 7, 2, 0, 0, 398, 106, 1, 0, 0, 0, 399, 403, 3, 103, 51, 0, 400, 403, 3, 105, 52, 0, 401, 403, 7, 3, 0, 0, 402, 399, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 402, 401, 1, 0, 0, 0, 403, 108, 1, 0, 0, 0, 404, 408, 3, 103, 51, 0, 405, 407, 3, 107, 53, 0, 406, 405, 1, 0, 0, 0, 407, 410, 1, 0, 0, 0, 408, 406, 1, 0, 0, 0, 408, 409, 1, 0, 0, 0, 409, 110, 1, 0, 0, 0, 410, 408, 1, 0, 0, 0, 411, 413, 7, 4, 0, 0, 412, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 412, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 417, 6, 55, 0, 0, 417, 112, 1, 0, 0, 0, 418, 419, 5, 47, 0, 0, 419, 420, 5, 47, 0, 0, 420, 424, 1, 0, 0, 0, 421, 423, 8, 0, 0, 0, 422, 421, 1, 0, 0, 0, 423, 426, 1, 0, 0, 0, 424, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 427, 1, 0, 0, 0, 426, 424, 1, 0, 0, 0, 427, 428, 6, 56, 0, 0, 428, 114, 1, 0, 0, 0, 429, 430, 5, 47, 0, 0, 430, 431, 5, 42, 0, 0, 431, 435, 1, 0, 0, 0, 432, 434, 9, 0, 0, 0, 433, 432, 1, 0, 0, 0, 434, 437, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 435, 433, 1, 0, 0, 0, 436, 438, 1, 0, 0, 0, 437, 435, 1, 0, 0, 0, 438, 439, 5, 42, 0, 0, 439, 440, 5, 47, 0, 0, 440, 441, 1, 0, 0, 0, 441, 442, 6, 57, 0, 0, 442, 116, 1, 0, 0, 0, 15, 0, 185, 229, 233, 241, 245, 366, 372, 377, 388, 402, 408, 414, 424, 435, 1, 6, 0, 0]
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaLexer.java b/src/main/java/parser/generated/SimpleJavaLexer.java
new file mode 100644
index 0000000..2b893af
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaLexer.java
@@ -0,0 +1,417 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+import org.antlr.v4.runtime.Lexer;
+import org.antlr.v4.runtime.CharStream;
+import org.antlr.v4.runtime.Token;
+import org.antlr.v4.runtime.TokenStream;
+import org.antlr.v4.runtime.*;
+import org.antlr.v4.runtime.atn.*;
+import org.antlr.v4.runtime.dfa.DFA;
+import org.antlr.v4.runtime.misc.*;
+
+@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
+public class SimpleJavaLexer extends Lexer {
+ static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); }
+
+ protected static final DFA[] _decisionToDFA;
+ protected static final PredictionContextCache _sharedContextCache =
+ new PredictionContextCache();
+ public static final int
+ T__0=1, T__1=2, Void=3, Boolean=4, Char=5, Int=6, AccessModifier=7, MainMethodDeclaration=8,
+ DotOperator=9, LineOperator=10, ComparisonOperator=11, LogicalOperator=12,
+ Assign=13, Plus=14, Minus=15, Mult=16, Modulo=17, Div=18, Greater=19,
+ Less=20, GreaterEqual=21, LessEqual=22, Equal=23, NotEqual=24, Not=25,
+ And=26, Or=27, Dot=28, OpenRoundBracket=29, ClosedRoundBracket=30, OpenCurlyBracket=31,
+ ClosedCurlyBracket=32, Semicolon=33, Comma=34, Class=35, This=36, While=37,
+ Do=38, If=39, Else=40, For=41, Return=42, New=43, Switch=44, Case=45,
+ Default=46, Colon=47, CharValue=48, IntValue=49, BooleanValue=50, NullValue=51,
+ Identifier=52, WS=53, InlineComment=54, MultilineComment=55;
+ public static String[] channelNames = {
+ "DEFAULT_TOKEN_CHANNEL", "HIDDEN"
+ };
+
+ public static String[] modeNames = {
+ "DEFAULT_MODE"
+ };
+
+ private static String[] makeRuleNames() {
+ return new String[] {
+ "T__0", "T__1", "Void", "Boolean", "Char", "Int", "AccessModifier", "MainMethodDeclaration",
+ "DotOperator", "LineOperator", "ComparisonOperator", "LogicalOperator",
+ "Assign", "Plus", "Minus", "Mult", "Modulo", "Div", "Greater", "Less",
+ "GreaterEqual", "LessEqual", "Equal", "NotEqual", "Not", "And", "Or",
+ "Dot", "OpenRoundBracket", "ClosedRoundBracket", "OpenCurlyBracket",
+ "ClosedCurlyBracket", "Semicolon", "Comma", "Class", "This", "While",
+ "Do", "If", "Else", "For", "Return", "New", "Switch", "Case", "Default",
+ "Colon", "CharValue", "IntValue", "BooleanValue", "NullValue", "Alphabetic",
+ "Numeric", "ValidIdentSymbols", "Identifier", "WS", "InlineComment",
+ "MultilineComment"
+ };
+ }
+ public static final String[] ruleNames = makeRuleNames();
+
+ private static String[] makeLiteralNames() {
+ return new String[] {
+ null, "'++'", "'--'", "'void'", "'boolean'", "'char'", "'int'", null,
+ "'public static void main(String[] args)'", null, null, null, null, "'='",
+ "'+'", "'-'", "'*'", "'%'", "'/'", "'>'", "'<'", "'>='", "'<='", "'=='",
+ "'!='", "'!'", "'&&'", "'||'", "'.'", "'('", "')'", "'{'", "'}'", "';'",
+ "','", "'class'", "'this'", "'while'", "'do'", "'if'", "'else'", "'for'",
+ "'return'", "'new'", "'switch'", "'case'", "'default'", "':'", null,
+ null, null, "'null'"
+ };
+ }
+ private static final String[] _LITERAL_NAMES = makeLiteralNames();
+ private static String[] makeSymbolicNames() {
+ return new String[] {
+ null, null, null, "Void", "Boolean", "Char", "Int", "AccessModifier",
+ "MainMethodDeclaration", "DotOperator", "LineOperator", "ComparisonOperator",
+ "LogicalOperator", "Assign", "Plus", "Minus", "Mult", "Modulo", "Div",
+ "Greater", "Less", "GreaterEqual", "LessEqual", "Equal", "NotEqual",
+ "Not", "And", "Or", "Dot", "OpenRoundBracket", "ClosedRoundBracket",
+ "OpenCurlyBracket", "ClosedCurlyBracket", "Semicolon", "Comma", "Class",
+ "This", "While", "Do", "If", "Else", "For", "Return", "New", "Switch",
+ "Case", "Default", "Colon", "CharValue", "IntValue", "BooleanValue",
+ "NullValue", "Identifier", "WS", "InlineComment", "MultilineComment"
+ };
+ }
+ private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
+ public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
+
+ /**
+ * @deprecated Use {@link #VOCABULARY} instead.
+ */
+ @Deprecated
+ public static final String[] tokenNames;
+ static {
+ tokenNames = new String[_SYMBOLIC_NAMES.length];
+ for (int i = 0; i < tokenNames.length; i++) {
+ tokenNames[i] = VOCABULARY.getLiteralName(i);
+ if (tokenNames[i] == null) {
+ tokenNames[i] = VOCABULARY.getSymbolicName(i);
+ }
+
+ if (tokenNames[i] == null) {
+ tokenNames[i] = "";
+ }
+ }
+ }
+
+ @Override
+ @Deprecated
+ public String[] getTokenNames() {
+ return tokenNames;
+ }
+
+ @Override
+
+ public Vocabulary getVocabulary() {
+ return VOCABULARY;
+ }
+
+
+ public SimpleJavaLexer(CharStream input) {
+ super(input);
+ _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
+ }
+
+ @Override
+ public String getGrammarFileName() { return "SimpleJava.g4"; }
+
+ @Override
+ public String[] getRuleNames() { return ruleNames; }
+
+ @Override
+ public String getSerializedATN() { return _serializedATN; }
+
+ @Override
+ public String[] getChannelNames() { return channelNames; }
+
+ @Override
+ public String[] getModeNames() { return modeNames; }
+
+ @Override
+ public ATN getATN() { return _ATN; }
+
+ public static final String _serializedATN =
+ "\u0004\u00007\u01bb\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
+ "\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
+ "\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
+ "\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+
+ "\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002"+
+ "\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002"+
+ "\u0012\u0007\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002"+
+ "\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002"+
+ "\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002"+
+ "\u001b\u0007\u001b\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002"+
+ "\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007"+
+ "!\u0002\"\u0007\"\u0002#\u0007#\u0002$\u0007$\u0002%\u0007%\u0002&\u0007"+
+ "&\u0002\'\u0007\'\u0002(\u0007(\u0002)\u0007)\u0002*\u0007*\u0002+\u0007"+
+ "+\u0002,\u0007,\u0002-\u0007-\u0002.\u0007.\u0002/\u0007/\u00020\u0007"+
+ "0\u00021\u00071\u00022\u00072\u00023\u00073\u00024\u00074\u00025\u0007"+
+ "5\u00026\u00076\u00027\u00077\u00028\u00078\u00029\u00079\u0001\u0000"+
+ "\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002"+
+ "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+
+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+
+ "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005"+
+ "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
+ "\u0001\u0006\u0003\u0006\u00ba\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
+ "\u0001\b\u0001\b\u0001\b\u0003\b\u00e6\b\b\u0001\t\u0001\t\u0003\t\u00ea"+
+ "\b\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0003\n\u00f2\b\n"+
+ "\u0001\u000b\u0001\u000b\u0003\u000b\u00f6\b\u000b\u0001\f\u0001\f\u0001"+
+ "\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u0010"+
+ "\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0013"+
+ "\u0001\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015"+
+ "\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017"+
+ "\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019"+
+ "\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001c"+
+ "\u0001\u001c\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001f"+
+ "\u0001\u001f\u0001 \u0001 \u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0001"+
+ "\"\u0001\"\u0001\"\u0001#\u0001#\u0001#\u0001#\u0001#\u0001$\u0001$\u0001"+
+ "$\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001&\u0001&\u0001&\u0001"+
+ "\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001(\u0001(\u0001(\u0001(\u0001)"+
+ "\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001*\u0001*\u0001*\u0001"+
+ "*\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001"+
+ ",\u0001,\u0001,\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001"+
+ "-\u0001.\u0001.\u0001/\u0001/\u0005/\u016d\b/\n/\f/\u0170\t/\u0001/\u0001"+
+ "/\u00010\u00030\u0175\b0\u00010\u00040\u0178\b0\u000b0\f0\u0179\u0001"+
+ "1\u00011\u00011\u00011\u00011\u00011\u00011\u00011\u00011\u00031\u0185"+
+ "\b1\u00012\u00012\u00012\u00012\u00012\u00013\u00013\u00014\u00014\u0001"+
+ "5\u00015\u00015\u00035\u0193\b5\u00016\u00016\u00056\u0197\b6\n6\f6\u019a"+
+ "\t6\u00017\u00047\u019d\b7\u000b7\f7\u019e\u00017\u00017\u00018\u0001"+
+ "8\u00018\u00018\u00058\u01a7\b8\n8\f8\u01aa\t8\u00018\u00018\u00019\u0001"+
+ "9\u00019\u00019\u00059\u01b2\b9\n9\f9\u01b5\t9\u00019\u00019\u00019\u0001"+
+ "9\u00019\u0001\u01b3\u0000:\u0001\u0001\u0003\u0002\u0005\u0003\u0007"+
+ "\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b"+
+ "\u0017\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013"+
+ "\'\u0014)\u0015+\u0016-\u0017/\u00181\u00193\u001a5\u001b7\u001c9\u001d"+
+ ";\u001e=\u001f? A!C\"E#G$I%K&M\'O(Q)S*U+W,Y-[.]/_0a1c2e3g\u0000i\u0000"+
+ "k\u0000m4o5q6s7\u0001\u0000\u0005\u0002\u0000\n\n\r\r\u0002\u0000AZaz"+
+ "\u0001\u000009\u0002\u0000$$__\u0003\u0000\t\n\r\r \u01cd\u0000\u0001"+
+ "\u0001\u0000\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005"+
+ "\u0001\u0000\u0000\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001"+
+ "\u0000\u0000\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000"+
+ "\u0000\u0000\u0000\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000"+
+ "\u0000\u0000\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000"+
+ "\u0000\u0000\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000"+
+ "\u0000\u0000\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000"+
+ "\u0000\u0000\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000"+
+ "\u0000\u0000#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000"+
+ "\'\u0001\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001"+
+ "\u0000\u0000\u0000\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000"+
+ "\u0000\u00001\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u0000"+
+ "5\u0001\u0000\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001"+
+ "\u0000\u0000\u0000\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000"+
+ "\u0000\u0000?\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000"+
+ "C\u0001\u0000\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001"+
+ "\u0000\u0000\u0000\u0000I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000"+
+ "\u0000\u0000M\u0001\u0000\u0000\u0000\u0000O\u0001\u0000\u0000\u0000\u0000"+
+ "Q\u0001\u0000\u0000\u0000\u0000S\u0001\u0000\u0000\u0000\u0000U\u0001"+
+ "\u0000\u0000\u0000\u0000W\u0001\u0000\u0000\u0000\u0000Y\u0001\u0000\u0000"+
+ "\u0000\u0000[\u0001\u0000\u0000\u0000\u0000]\u0001\u0000\u0000\u0000\u0000"+
+ "_\u0001\u0000\u0000\u0000\u0000a\u0001\u0000\u0000\u0000\u0000c\u0001"+
+ "\u0000\u0000\u0000\u0000e\u0001\u0000\u0000\u0000\u0000m\u0001\u0000\u0000"+
+ "\u0000\u0000o\u0001\u0000\u0000\u0000\u0000q\u0001\u0000\u0000\u0000\u0000"+
+ "s\u0001\u0000\u0000\u0000\u0001u\u0001\u0000\u0000\u0000\u0003x\u0001"+
+ "\u0000\u0000\u0000\u0005{\u0001\u0000\u0000\u0000\u0007\u0080\u0001\u0000"+
+ "\u0000\u0000\t\u0088\u0001\u0000\u0000\u0000\u000b\u008d\u0001\u0000\u0000"+
+ "\u0000\r\u00b9\u0001\u0000\u0000\u0000\u000f\u00bb\u0001\u0000\u0000\u0000"+
+ "\u0011\u00e5\u0001\u0000\u0000\u0000\u0013\u00e9\u0001\u0000\u0000\u0000"+
+ "\u0015\u00f1\u0001\u0000\u0000\u0000\u0017\u00f5\u0001\u0000\u0000\u0000"+
+ "\u0019\u00f7\u0001\u0000\u0000\u0000\u001b\u00f9\u0001\u0000\u0000\u0000"+
+ "\u001d\u00fb\u0001\u0000\u0000\u0000\u001f\u00fd\u0001\u0000\u0000\u0000"+
+ "!\u00ff\u0001\u0000\u0000\u0000#\u0101\u0001\u0000\u0000\u0000%\u0103"+
+ "\u0001\u0000\u0000\u0000\'\u0105\u0001\u0000\u0000\u0000)\u0107\u0001"+
+ "\u0000\u0000\u0000+\u010a\u0001\u0000\u0000\u0000-\u010d\u0001\u0000\u0000"+
+ "\u0000/\u0110\u0001\u0000\u0000\u00001\u0113\u0001\u0000\u0000\u00003"+
+ "\u0115\u0001\u0000\u0000\u00005\u0118\u0001\u0000\u0000\u00007\u011b\u0001"+
+ "\u0000\u0000\u00009\u011d\u0001\u0000\u0000\u0000;\u011f\u0001\u0000\u0000"+
+ "\u0000=\u0121\u0001\u0000\u0000\u0000?\u0123\u0001\u0000\u0000\u0000A"+
+ "\u0125\u0001\u0000\u0000\u0000C\u0127\u0001\u0000\u0000\u0000E\u0129\u0001"+
+ "\u0000\u0000\u0000G\u012f\u0001\u0000\u0000\u0000I\u0134\u0001\u0000\u0000"+
+ "\u0000K\u013a\u0001\u0000\u0000\u0000M\u013d\u0001\u0000\u0000\u0000O"+
+ "\u0140\u0001\u0000\u0000\u0000Q\u0145\u0001\u0000\u0000\u0000S\u0149\u0001"+
+ "\u0000\u0000\u0000U\u0150\u0001\u0000\u0000\u0000W\u0154\u0001\u0000\u0000"+
+ "\u0000Y\u015b\u0001\u0000\u0000\u0000[\u0160\u0001\u0000\u0000\u0000]"+
+ "\u0168\u0001\u0000\u0000\u0000_\u016a\u0001\u0000\u0000\u0000a\u0174\u0001"+
+ "\u0000\u0000\u0000c\u0184\u0001\u0000\u0000\u0000e\u0186\u0001\u0000\u0000"+
+ "\u0000g\u018b\u0001\u0000\u0000\u0000i\u018d\u0001\u0000\u0000\u0000k"+
+ "\u0192\u0001\u0000\u0000\u0000m\u0194\u0001\u0000\u0000\u0000o\u019c\u0001"+
+ "\u0000\u0000\u0000q\u01a2\u0001\u0000\u0000\u0000s\u01ad\u0001\u0000\u0000"+
+ "\u0000uv\u0005+\u0000\u0000vw\u0005+\u0000\u0000w\u0002\u0001\u0000\u0000"+
+ "\u0000xy\u0005-\u0000\u0000yz\u0005-\u0000\u0000z\u0004\u0001\u0000\u0000"+
+ "\u0000{|\u0005v\u0000\u0000|}\u0005o\u0000\u0000}~\u0005i\u0000\u0000"+
+ "~\u007f\u0005d\u0000\u0000\u007f\u0006\u0001\u0000\u0000\u0000\u0080\u0081"+
+ "\u0005b\u0000\u0000\u0081\u0082\u0005o\u0000\u0000\u0082\u0083\u0005o"+
+ "\u0000\u0000\u0083\u0084\u0005l\u0000\u0000\u0084\u0085\u0005e\u0000\u0000"+
+ "\u0085\u0086\u0005a\u0000\u0000\u0086\u0087\u0005n\u0000\u0000\u0087\b"+
+ "\u0001\u0000\u0000\u0000\u0088\u0089\u0005c\u0000\u0000\u0089\u008a\u0005"+
+ "h\u0000\u0000\u008a\u008b\u0005a\u0000\u0000\u008b\u008c\u0005r\u0000"+
+ "\u0000\u008c\n\u0001\u0000\u0000\u0000\u008d\u008e\u0005i\u0000\u0000"+
+ "\u008e\u008f\u0005n\u0000\u0000\u008f\u0090\u0005t\u0000\u0000\u0090\f"+
+ "\u0001\u0000\u0000\u0000\u0091\u0092\u0005p\u0000\u0000\u0092\u0093\u0005"+
+ "u\u0000\u0000\u0093\u0094\u0005b\u0000\u0000\u0094\u0095\u0005l\u0000"+
+ "\u0000\u0095\u0096\u0005i\u0000\u0000\u0096\u00ba\u0005c\u0000\u0000\u0097"+
+ "\u0098\u0005p\u0000\u0000\u0098\u0099\u0005r\u0000\u0000\u0099\u009a\u0005"+
+ "i\u0000\u0000\u009a\u009b\u0005v\u0000\u0000\u009b\u009c\u0005a\u0000"+
+ "\u0000\u009c\u009d\u0005t\u0000\u0000\u009d\u00ba\u0005e\u0000\u0000\u009e"+
+ "\u009f\u0005p\u0000\u0000\u009f\u00a0\u0005u\u0000\u0000\u00a0\u00a1\u0005"+
+ "b\u0000\u0000\u00a1\u00a2\u0005l\u0000\u0000\u00a2\u00a3\u0005i\u0000"+
+ "\u0000\u00a3\u00a4\u0005c\u0000\u0000\u00a4\u00a5\u0005 \u0000\u0000\u00a5"+
+ "\u00a6\u0005s\u0000\u0000\u00a6\u00a7\u0005t\u0000\u0000\u00a7\u00a8\u0005"+
+ "a\u0000\u0000\u00a8\u00a9\u0005t\u0000\u0000\u00a9\u00aa\u0005i\u0000"+
+ "\u0000\u00aa\u00ba\u0005c\u0000\u0000\u00ab\u00ac\u0005p\u0000\u0000\u00ac"+
+ "\u00ad\u0005r\u0000\u0000\u00ad\u00ae\u0005i\u0000\u0000\u00ae\u00af\u0005"+
+ "v\u0000\u0000\u00af\u00b0\u0005a\u0000\u0000\u00b0\u00b1\u0005t\u0000"+
+ "\u0000\u00b1\u00b2\u0005e\u0000\u0000\u00b2\u00b3\u0005 \u0000\u0000\u00b3"+
+ "\u00b4\u0005s\u0000\u0000\u00b4\u00b5\u0005t\u0000\u0000\u00b5\u00b6\u0005"+
+ "a\u0000\u0000\u00b6\u00b7\u0005t\u0000\u0000\u00b7\u00b8\u0005i\u0000"+
+ "\u0000\u00b8\u00ba\u0005c\u0000\u0000\u00b9\u0091\u0001\u0000\u0000\u0000"+
+ "\u00b9\u0097\u0001\u0000\u0000\u0000\u00b9\u009e\u0001\u0000\u0000\u0000"+
+ "\u00b9\u00ab\u0001\u0000\u0000\u0000\u00ba\u000e\u0001\u0000\u0000\u0000"+
+ "\u00bb\u00bc\u0005p\u0000\u0000\u00bc\u00bd\u0005u\u0000\u0000\u00bd\u00be"+
+ "\u0005b\u0000\u0000\u00be\u00bf\u0005l\u0000\u0000\u00bf\u00c0\u0005i"+
+ "\u0000\u0000\u00c0\u00c1\u0005c\u0000\u0000\u00c1\u00c2\u0005 \u0000\u0000"+
+ "\u00c2\u00c3\u0005s\u0000\u0000\u00c3\u00c4\u0005t\u0000\u0000\u00c4\u00c5"+
+ "\u0005a\u0000\u0000\u00c5\u00c6\u0005t\u0000\u0000\u00c6\u00c7\u0005i"+
+ "\u0000\u0000\u00c7\u00c8\u0005c\u0000\u0000\u00c8\u00c9\u0005 \u0000\u0000"+
+ "\u00c9\u00ca\u0005v\u0000\u0000\u00ca\u00cb\u0005o\u0000\u0000\u00cb\u00cc"+
+ "\u0005i\u0000\u0000\u00cc\u00cd\u0005d\u0000\u0000\u00cd\u00ce\u0005 "+
+ "\u0000\u0000\u00ce\u00cf\u0005m\u0000\u0000\u00cf\u00d0\u0005a\u0000\u0000"+
+ "\u00d0\u00d1\u0005i\u0000\u0000\u00d1\u00d2\u0005n\u0000\u0000\u00d2\u00d3"+
+ "\u0005(\u0000\u0000\u00d3\u00d4\u0005S\u0000\u0000\u00d4\u00d5\u0005t"+
+ "\u0000\u0000\u00d5\u00d6\u0005r\u0000\u0000\u00d6\u00d7\u0005i\u0000\u0000"+
+ "\u00d7\u00d8\u0005n\u0000\u0000\u00d8\u00d9\u0005g\u0000\u0000\u00d9\u00da"+
+ "\u0005[\u0000\u0000\u00da\u00db\u0005]\u0000\u0000\u00db\u00dc\u0005 "+
+ "\u0000\u0000\u00dc\u00dd\u0005a\u0000\u0000\u00dd\u00de\u0005r\u0000\u0000"+
+ "\u00de\u00df\u0005g\u0000\u0000\u00df\u00e0\u0005s\u0000\u0000\u00e0\u00e1"+
+ "\u0005)\u0000\u0000\u00e1\u0010\u0001\u0000\u0000\u0000\u00e2\u00e6\u0003"+
+ "\u001f\u000f\u0000\u00e3\u00e6\u0003#\u0011\u0000\u00e4\u00e6\u0003!\u0010"+
+ "\u0000\u00e5\u00e2\u0001\u0000\u0000\u0000\u00e5\u00e3\u0001\u0000\u0000"+
+ "\u0000\u00e5\u00e4\u0001\u0000\u0000\u0000\u00e6\u0012\u0001\u0000\u0000"+
+ "\u0000\u00e7\u00ea\u0003\u001b\r\u0000\u00e8\u00ea\u0003\u001d\u000e\u0000"+
+ "\u00e9\u00e7\u0001\u0000\u0000\u0000\u00e9\u00e8\u0001\u0000\u0000\u0000"+
+ "\u00ea\u0014\u0001\u0000\u0000\u0000\u00eb\u00f2\u0003%\u0012\u0000\u00ec"+
+ "\u00f2\u0003\'\u0013\u0000\u00ed\u00f2\u0003)\u0014\u0000\u00ee\u00f2"+
+ "\u0003+\u0015\u0000\u00ef\u00f2\u0003-\u0016\u0000\u00f0\u00f2\u0003/"+
+ "\u0017\u0000\u00f1\u00eb\u0001\u0000\u0000\u0000\u00f1\u00ec\u0001\u0000"+
+ "\u0000\u0000\u00f1\u00ed\u0001\u0000\u0000\u0000\u00f1\u00ee\u0001\u0000"+
+ "\u0000\u0000\u00f1\u00ef\u0001\u0000\u0000\u0000\u00f1\u00f0\u0001\u0000"+
+ "\u0000\u0000\u00f2\u0016\u0001\u0000\u0000\u0000\u00f3\u00f6\u00033\u0019"+
+ "\u0000\u00f4\u00f6\u00035\u001a\u0000\u00f5\u00f3\u0001\u0000\u0000\u0000"+
+ "\u00f5\u00f4\u0001\u0000\u0000\u0000\u00f6\u0018\u0001\u0000\u0000\u0000"+
+ "\u00f7\u00f8\u0005=\u0000\u0000\u00f8\u001a\u0001\u0000\u0000\u0000\u00f9"+
+ "\u00fa\u0005+\u0000\u0000\u00fa\u001c\u0001\u0000\u0000\u0000\u00fb\u00fc"+
+ "\u0005-\u0000\u0000\u00fc\u001e\u0001\u0000\u0000\u0000\u00fd\u00fe\u0005"+
+ "*\u0000\u0000\u00fe \u0001\u0000\u0000\u0000\u00ff\u0100\u0005%\u0000"+
+ "\u0000\u0100\"\u0001\u0000\u0000\u0000\u0101\u0102\u0005/\u0000\u0000"+
+ "\u0102$\u0001\u0000\u0000\u0000\u0103\u0104\u0005>\u0000\u0000\u0104&"+
+ "\u0001\u0000\u0000\u0000\u0105\u0106\u0005<\u0000\u0000\u0106(\u0001\u0000"+
+ "\u0000\u0000\u0107\u0108\u0005>\u0000\u0000\u0108\u0109\u0005=\u0000\u0000"+
+ "\u0109*\u0001\u0000\u0000\u0000\u010a\u010b\u0005<\u0000\u0000\u010b\u010c"+
+ "\u0005=\u0000\u0000\u010c,\u0001\u0000\u0000\u0000\u010d\u010e\u0005="+
+ "\u0000\u0000\u010e\u010f\u0005=\u0000\u0000\u010f.\u0001\u0000\u0000\u0000"+
+ "\u0110\u0111\u0005!\u0000\u0000\u0111\u0112\u0005=\u0000\u0000\u01120"+
+ "\u0001\u0000\u0000\u0000\u0113\u0114\u0005!\u0000\u0000\u01142\u0001\u0000"+
+ "\u0000\u0000\u0115\u0116\u0005&\u0000\u0000\u0116\u0117\u0005&\u0000\u0000"+
+ "\u01174\u0001\u0000\u0000\u0000\u0118\u0119\u0005|\u0000\u0000\u0119\u011a"+
+ "\u0005|\u0000\u0000\u011a6\u0001\u0000\u0000\u0000\u011b\u011c\u0005."+
+ "\u0000\u0000\u011c8\u0001\u0000\u0000\u0000\u011d\u011e\u0005(\u0000\u0000"+
+ "\u011e:\u0001\u0000\u0000\u0000\u011f\u0120\u0005)\u0000\u0000\u0120<"+
+ "\u0001\u0000\u0000\u0000\u0121\u0122\u0005{\u0000\u0000\u0122>\u0001\u0000"+
+ "\u0000\u0000\u0123\u0124\u0005}\u0000\u0000\u0124@\u0001\u0000\u0000\u0000"+
+ "\u0125\u0126\u0005;\u0000\u0000\u0126B\u0001\u0000\u0000\u0000\u0127\u0128"+
+ "\u0005,\u0000\u0000\u0128D\u0001\u0000\u0000\u0000\u0129\u012a\u0005c"+
+ "\u0000\u0000\u012a\u012b\u0005l\u0000\u0000\u012b\u012c\u0005a\u0000\u0000"+
+ "\u012c\u012d\u0005s\u0000\u0000\u012d\u012e\u0005s\u0000\u0000\u012eF"+
+ "\u0001\u0000\u0000\u0000\u012f\u0130\u0005t\u0000\u0000\u0130\u0131\u0005"+
+ "h\u0000\u0000\u0131\u0132\u0005i\u0000\u0000\u0132\u0133\u0005s\u0000"+
+ "\u0000\u0133H\u0001\u0000\u0000\u0000\u0134\u0135\u0005w\u0000\u0000\u0135"+
+ "\u0136\u0005h\u0000\u0000\u0136\u0137\u0005i\u0000\u0000\u0137\u0138\u0005"+
+ "l\u0000\u0000\u0138\u0139\u0005e\u0000\u0000\u0139J\u0001\u0000\u0000"+
+ "\u0000\u013a\u013b\u0005d\u0000\u0000\u013b\u013c\u0005o\u0000\u0000\u013c"+
+ "L\u0001\u0000\u0000\u0000\u013d\u013e\u0005i\u0000\u0000\u013e\u013f\u0005"+
+ "f\u0000\u0000\u013fN\u0001\u0000\u0000\u0000\u0140\u0141\u0005e\u0000"+
+ "\u0000\u0141\u0142\u0005l\u0000\u0000\u0142\u0143\u0005s\u0000\u0000\u0143"+
+ "\u0144\u0005e\u0000\u0000\u0144P\u0001\u0000\u0000\u0000\u0145\u0146\u0005"+
+ "f\u0000\u0000\u0146\u0147\u0005o\u0000\u0000\u0147\u0148\u0005r\u0000"+
+ "\u0000\u0148R\u0001\u0000\u0000\u0000\u0149\u014a\u0005r\u0000\u0000\u014a"+
+ "\u014b\u0005e\u0000\u0000\u014b\u014c\u0005t\u0000\u0000\u014c\u014d\u0005"+
+ "u\u0000\u0000\u014d\u014e\u0005r\u0000\u0000\u014e\u014f\u0005n\u0000"+
+ "\u0000\u014fT\u0001\u0000\u0000\u0000\u0150\u0151\u0005n\u0000\u0000\u0151"+
+ "\u0152\u0005e\u0000\u0000\u0152\u0153\u0005w\u0000\u0000\u0153V\u0001"+
+ "\u0000\u0000\u0000\u0154\u0155\u0005s\u0000\u0000\u0155\u0156\u0005w\u0000"+
+ "\u0000\u0156\u0157\u0005i\u0000\u0000\u0157\u0158\u0005t\u0000\u0000\u0158"+
+ "\u0159\u0005c\u0000\u0000\u0159\u015a\u0005h\u0000\u0000\u015aX\u0001"+
+ "\u0000\u0000\u0000\u015b\u015c\u0005c\u0000\u0000\u015c\u015d\u0005a\u0000"+
+ "\u0000\u015d\u015e\u0005s\u0000\u0000\u015e\u015f\u0005e\u0000\u0000\u015f"+
+ "Z\u0001\u0000\u0000\u0000\u0160\u0161\u0005d\u0000\u0000\u0161\u0162\u0005"+
+ "e\u0000\u0000\u0162\u0163\u0005f\u0000\u0000\u0163\u0164\u0005a\u0000"+
+ "\u0000\u0164\u0165\u0005u\u0000\u0000\u0165\u0166\u0005l\u0000\u0000\u0166"+
+ "\u0167\u0005t\u0000\u0000\u0167\\\u0001\u0000\u0000\u0000\u0168\u0169"+
+ "\u0005:\u0000\u0000\u0169^\u0001\u0000\u0000\u0000\u016a\u016e\u0005\'"+
+ "\u0000\u0000\u016b\u016d\b\u0000\u0000\u0000\u016c\u016b\u0001\u0000\u0000"+
+ "\u0000\u016d\u0170\u0001\u0000\u0000\u0000\u016e\u016c\u0001\u0000\u0000"+
+ "\u0000\u016e\u016f\u0001\u0000\u0000\u0000\u016f\u0171\u0001\u0000\u0000"+
+ "\u0000\u0170\u016e\u0001\u0000\u0000\u0000\u0171\u0172\u0005\'\u0000\u0000"+
+ "\u0172`\u0001\u0000\u0000\u0000\u0173\u0175\u0003\u001d\u000e\u0000\u0174"+
+ "\u0173\u0001\u0000\u0000\u0000\u0174\u0175\u0001\u0000\u0000\u0000\u0175"+
+ "\u0177\u0001\u0000\u0000\u0000\u0176\u0178\u0003i4\u0000\u0177\u0176\u0001"+
+ "\u0000\u0000\u0000\u0178\u0179\u0001\u0000\u0000\u0000\u0179\u0177\u0001"+
+ "\u0000\u0000\u0000\u0179\u017a\u0001\u0000\u0000\u0000\u017ab\u0001\u0000"+
+ "\u0000\u0000\u017b\u017c\u0005t\u0000\u0000\u017c\u017d\u0005r\u0000\u0000"+
+ "\u017d\u017e\u0005u\u0000\u0000\u017e\u0185\u0005e\u0000\u0000\u017f\u0180"+
+ "\u0005f\u0000\u0000\u0180\u0181\u0005a\u0000\u0000\u0181\u0182\u0005l"+
+ "\u0000\u0000\u0182\u0183\u0005s\u0000\u0000\u0183\u0185\u0005e\u0000\u0000"+
+ "\u0184\u017b\u0001\u0000\u0000\u0000\u0184\u017f\u0001\u0000\u0000\u0000"+
+ "\u0185d\u0001\u0000\u0000\u0000\u0186\u0187\u0005n\u0000\u0000\u0187\u0188"+
+ "\u0005u\u0000\u0000\u0188\u0189\u0005l\u0000\u0000\u0189\u018a\u0005l"+
+ "\u0000\u0000\u018af\u0001\u0000\u0000\u0000\u018b\u018c\u0007\u0001\u0000"+
+ "\u0000\u018ch\u0001\u0000\u0000\u0000\u018d\u018e\u0007\u0002\u0000\u0000"+
+ "\u018ej\u0001\u0000\u0000\u0000\u018f\u0193\u0003g3\u0000\u0190\u0193"+
+ "\u0003i4\u0000\u0191\u0193\u0007\u0003\u0000\u0000\u0192\u018f\u0001\u0000"+
+ "\u0000\u0000\u0192\u0190\u0001\u0000\u0000\u0000\u0192\u0191\u0001\u0000"+
+ "\u0000\u0000\u0193l\u0001\u0000\u0000\u0000\u0194\u0198\u0003g3\u0000"+
+ "\u0195\u0197\u0003k5\u0000\u0196\u0195\u0001\u0000\u0000\u0000\u0197\u019a"+
+ "\u0001\u0000\u0000\u0000\u0198\u0196\u0001\u0000\u0000\u0000\u0198\u0199"+
+ "\u0001\u0000\u0000\u0000\u0199n\u0001\u0000\u0000\u0000\u019a\u0198\u0001"+
+ "\u0000\u0000\u0000\u019b\u019d\u0007\u0004\u0000\u0000\u019c\u019b\u0001"+
+ "\u0000\u0000\u0000\u019d\u019e\u0001\u0000\u0000\u0000\u019e\u019c\u0001"+
+ "\u0000\u0000\u0000\u019e\u019f\u0001\u0000\u0000\u0000\u019f\u01a0\u0001"+
+ "\u0000\u0000\u0000\u01a0\u01a1\u00067\u0000\u0000\u01a1p\u0001\u0000\u0000"+
+ "\u0000\u01a2\u01a3\u0005/\u0000\u0000\u01a3\u01a4\u0005/\u0000\u0000\u01a4"+
+ "\u01a8\u0001\u0000\u0000\u0000\u01a5\u01a7\b\u0000\u0000\u0000\u01a6\u01a5"+
+ "\u0001\u0000\u0000\u0000\u01a7\u01aa\u0001\u0000\u0000\u0000\u01a8\u01a6"+
+ "\u0001\u0000\u0000\u0000\u01a8\u01a9\u0001\u0000\u0000\u0000\u01a9\u01ab"+
+ "\u0001\u0000\u0000\u0000\u01aa\u01a8\u0001\u0000\u0000\u0000\u01ab\u01ac"+
+ "\u00068\u0000\u0000\u01acr\u0001\u0000\u0000\u0000\u01ad\u01ae\u0005/"+
+ "\u0000\u0000\u01ae\u01af\u0005*\u0000\u0000\u01af\u01b3\u0001\u0000\u0000"+
+ "\u0000\u01b0\u01b2\t\u0000\u0000\u0000\u01b1\u01b0\u0001\u0000\u0000\u0000"+
+ "\u01b2\u01b5\u0001\u0000\u0000\u0000\u01b3\u01b4\u0001\u0000\u0000\u0000"+
+ "\u01b3\u01b1\u0001\u0000\u0000\u0000\u01b4\u01b6\u0001\u0000\u0000\u0000"+
+ "\u01b5\u01b3\u0001\u0000\u0000\u0000\u01b6\u01b7\u0005*\u0000\u0000\u01b7"+
+ "\u01b8\u0005/\u0000\u0000\u01b8\u01b9\u0001\u0000\u0000\u0000\u01b9\u01ba"+
+ "\u00069\u0000\u0000\u01bat\u0001\u0000\u0000\u0000\u000f\u0000\u00b9\u00e5"+
+ "\u00e9\u00f1\u00f5\u016e\u0174\u0179\u0184\u0192\u0198\u019e\u01a8\u01b3"+
+ "\u0001\u0006\u0000\u0000";
+ public static final ATN _ATN =
+ new ATNDeserializer().deserialize(_serializedATN.toCharArray());
+ static {
+ _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
+ for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
+ _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaLexer.tokens b/src/main/java/parser/generated/SimpleJavaLexer.tokens
new file mode 100644
index 0000000..ffe0902
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaLexer.tokens
@@ -0,0 +1,98 @@
+T__0=1
+T__1=2
+Void=3
+Boolean=4
+Char=5
+Int=6
+AccessModifier=7
+MainMethodDeclaration=8
+DotOperator=9
+LineOperator=10
+ComparisonOperator=11
+LogicalOperator=12
+Assign=13
+Plus=14
+Minus=15
+Mult=16
+Modulo=17
+Div=18
+Greater=19
+Less=20
+GreaterEqual=21
+LessEqual=22
+Equal=23
+NotEqual=24
+Not=25
+And=26
+Or=27
+Dot=28
+OpenRoundBracket=29
+ClosedRoundBracket=30
+OpenCurlyBracket=31
+ClosedCurlyBracket=32
+Semicolon=33
+Comma=34
+Class=35
+This=36
+While=37
+Do=38
+If=39
+Else=40
+For=41
+Return=42
+New=43
+Switch=44
+Case=45
+Default=46
+Colon=47
+CharValue=48
+IntValue=49
+BooleanValue=50
+NullValue=51
+Identifier=52
+WS=53
+InlineComment=54
+MultilineComment=55
+'++'=1
+'--'=2
+'void'=3
+'boolean'=4
+'char'=5
+'int'=6
+'public static void main(String[] args)'=8
+'='=13
+'+'=14
+'-'=15
+'*'=16
+'%'=17
+'/'=18
+'>'=19
+'<'=20
+'>='=21
+'<='=22
+'=='=23
+'!='=24
+'!'=25
+'&&'=26
+'||'=27
+'.'=28
+'('=29
+')'=30
+'{'=31
+'}'=32
+';'=33
+','=34
+'class'=35
+'this'=36
+'while'=37
+'do'=38
+'if'=39
+'else'=40
+'for'=41
+'return'=42
+'new'=43
+'switch'=44
+'case'=45
+'default'=46
+':'=47
+'null'=51
diff --git a/src/main/java/parser/generated/SimpleJavaListener.java b/src/main/java/parser/generated/SimpleJavaListener.java
new file mode 100644
index 0000000..e5d9ce1
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaListener.java
@@ -0,0 +1,500 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+import org.antlr.v4.runtime.tree.ParseTreeListener;
+
+/**
+ * This interface defines a complete listener for a parse tree produced by
+ * {@link SimpleJavaParser}.
+ */
+public interface SimpleJavaListener extends ParseTreeListener {
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#program}.
+ * @param ctx the parse tree
+ */
+ void enterProgram(SimpleJavaParser.ProgramContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#program}.
+ * @param ctx the parse tree
+ */
+ void exitProgram(SimpleJavaParser.ProgramContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#classDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#classDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#memberDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#memberDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#constructorDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#constructorDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#fieldDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#fieldDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#methodDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#methodDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#parameterList}.
+ * @param ctx the parse tree
+ */
+ void enterParameterList(SimpleJavaParser.ParameterListContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#parameterList}.
+ * @param ctx the parse tree
+ */
+ void exitParameterList(SimpleJavaParser.ParameterListContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#parameter}.
+ * @param ctx the parse tree
+ */
+ void enterParameter(SimpleJavaParser.ParameterContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#parameter}.
+ * @param ctx the parse tree
+ */
+ void exitParameter(SimpleJavaParser.ParameterContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#argumentList}.
+ * @param ctx the parse tree
+ */
+ void enterArgumentList(SimpleJavaParser.ArgumentListContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#argumentList}.
+ * @param ctx the parse tree
+ */
+ void exitArgumentList(SimpleJavaParser.ArgumentListContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#statement}.
+ * @param ctx the parse tree
+ */
+ void enterStatement(SimpleJavaParser.StatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#statement}.
+ * @param ctx the parse tree
+ */
+ void exitStatement(SimpleJavaParser.StatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#blockStatement}.
+ * @param ctx the parse tree
+ */
+ void enterBlockStatement(SimpleJavaParser.BlockStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#blockStatement}.
+ * @param ctx the parse tree
+ */
+ void exitBlockStatement(SimpleJavaParser.BlockStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#returnStatement}.
+ * @param ctx the parse tree
+ */
+ void enterReturnStatement(SimpleJavaParser.ReturnStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#returnStatement}.
+ * @param ctx the parse tree
+ */
+ void exitReturnStatement(SimpleJavaParser.ReturnStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#localVariableDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#localVariableDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#whileStatement}.
+ * @param ctx the parse tree
+ */
+ void enterWhileStatement(SimpleJavaParser.WhileStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#whileStatement}.
+ * @param ctx the parse tree
+ */
+ void exitWhileStatement(SimpleJavaParser.WhileStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#doWhileStatement}.
+ * @param ctx the parse tree
+ */
+ void enterDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#doWhileStatement}.
+ * @param ctx the parse tree
+ */
+ void exitDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#forStatement}.
+ * @param ctx the parse tree
+ */
+ void enterForStatement(SimpleJavaParser.ForStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#forStatement}.
+ * @param ctx the parse tree
+ */
+ void exitForStatement(SimpleJavaParser.ForStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#ifElseStatement}.
+ * @param ctx the parse tree
+ */
+ void enterIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#ifElseStatement}.
+ * @param ctx the parse tree
+ */
+ void exitIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#ifStatement}.
+ * @param ctx the parse tree
+ */
+ void enterIfStatement(SimpleJavaParser.IfStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#ifStatement}.
+ * @param ctx the parse tree
+ */
+ void exitIfStatement(SimpleJavaParser.IfStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#elseIfStatement}.
+ * @param ctx the parse tree
+ */
+ void enterElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#elseIfStatement}.
+ * @param ctx the parse tree
+ */
+ void exitElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#elseStatement}.
+ * @param ctx the parse tree
+ */
+ void enterElseStatement(SimpleJavaParser.ElseStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#elseStatement}.
+ * @param ctx the parse tree
+ */
+ void exitElseStatement(SimpleJavaParser.ElseStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#switchStatement}.
+ * @param ctx the parse tree
+ */
+ void enterSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#switchStatement}.
+ * @param ctx the parse tree
+ */
+ void exitSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#caseStatement}.
+ * @param ctx the parse tree
+ */
+ void enterCaseStatement(SimpleJavaParser.CaseStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#caseStatement}.
+ * @param ctx the parse tree
+ */
+ void exitCaseStatement(SimpleJavaParser.CaseStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#defaultStatement}.
+ * @param ctx the parse tree
+ */
+ void enterDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#defaultStatement}.
+ * @param ctx the parse tree
+ */
+ void exitDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#statementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterStatementExpression(SimpleJavaParser.StatementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#statementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitStatementExpression(SimpleJavaParser.StatementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#assign}.
+ * @param ctx the parse tree
+ */
+ void enterAssign(SimpleJavaParser.AssignContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#assign}.
+ * @param ctx the parse tree
+ */
+ void exitAssign(SimpleJavaParser.AssignContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#newDeclaration}.
+ * @param ctx the parse tree
+ */
+ void enterNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#newDeclaration}.
+ * @param ctx the parse tree
+ */
+ void exitNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#expression}.
+ * @param ctx the parse tree
+ */
+ void enterExpression(SimpleJavaParser.ExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#expression}.
+ * @param ctx the parse tree
+ */
+ void exitExpression(SimpleJavaParser.ExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#unaryExpression}.
+ * @param ctx the parse tree
+ */
+ void enterUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#unaryExpression}.
+ * @param ctx the parse tree
+ */
+ void exitUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#notExpression}.
+ * @param ctx the parse tree
+ */
+ void enterNotExpression(SimpleJavaParser.NotExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#notExpression}.
+ * @param ctx the parse tree
+ */
+ void exitNotExpression(SimpleJavaParser.NotExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#crementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterCrementExpression(SimpleJavaParser.CrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#crementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitCrementExpression(SimpleJavaParser.CrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#incrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#incrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#prefixIncrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#prefixIncrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#suffixIncrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#suffixIncrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#decrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#decrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#prefixDecrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#prefixDecrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#suffixDecrementExpression}.
+ * @param ctx the parse tree
+ */
+ void enterSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#suffixDecrementExpression}.
+ * @param ctx the parse tree
+ */
+ void exitSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#assignableExpression}.
+ * @param ctx the parse tree
+ */
+ void enterAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#assignableExpression}.
+ * @param ctx the parse tree
+ */
+ void exitAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#memberAccess}.
+ * @param ctx the parse tree
+ */
+ void enterMemberAccess(SimpleJavaParser.MemberAccessContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#memberAccess}.
+ * @param ctx the parse tree
+ */
+ void exitMemberAccess(SimpleJavaParser.MemberAccessContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#binaryExpression}.
+ * @param ctx the parse tree
+ */
+ void enterBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#binaryExpression}.
+ * @param ctx the parse tree
+ */
+ void exitBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#calculationExpression}.
+ * @param ctx the parse tree
+ */
+ void enterCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#calculationExpression}.
+ * @param ctx the parse tree
+ */
+ void exitCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#dotExpression}.
+ * @param ctx the parse tree
+ */
+ void enterDotExpression(SimpleJavaParser.DotExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#dotExpression}.
+ * @param ctx the parse tree
+ */
+ void exitDotExpression(SimpleJavaParser.DotExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#dotSubtractionExpression}.
+ * @param ctx the parse tree
+ */
+ void enterDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#dotSubtractionExpression}.
+ * @param ctx the parse tree
+ */
+ void exitDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#nonCalculationExpression}.
+ * @param ctx the parse tree
+ */
+ void enterNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#nonCalculationExpression}.
+ * @param ctx the parse tree
+ */
+ void exitNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#methodCall}.
+ * @param ctx the parse tree
+ */
+ void enterMethodCall(SimpleJavaParser.MethodCallContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#methodCall}.
+ * @param ctx the parse tree
+ */
+ void exitMethodCall(SimpleJavaParser.MethodCallContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#target}.
+ * @param ctx the parse tree
+ */
+ void enterTarget(SimpleJavaParser.TargetContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#target}.
+ * @param ctx the parse tree
+ */
+ void exitTarget(SimpleJavaParser.TargetContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#chainedMethod}.
+ * @param ctx the parse tree
+ */
+ void enterChainedMethod(SimpleJavaParser.ChainedMethodContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#chainedMethod}.
+ * @param ctx the parse tree
+ */
+ void exitChainedMethod(SimpleJavaParser.ChainedMethodContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#type}.
+ * @param ctx the parse tree
+ */
+ void enterType(SimpleJavaParser.TypeContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#type}.
+ * @param ctx the parse tree
+ */
+ void exitType(SimpleJavaParser.TypeContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#value}.
+ * @param ctx the parse tree
+ */
+ void enterValue(SimpleJavaParser.ValueContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#value}.
+ * @param ctx the parse tree
+ */
+ void exitValue(SimpleJavaParser.ValueContext ctx);
+ /**
+ * Enter a parse tree produced by {@link SimpleJavaParser#nonCalculationOperator}.
+ * @param ctx the parse tree
+ */
+ void enterNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx);
+ /**
+ * Exit a parse tree produced by {@link SimpleJavaParser#nonCalculationOperator}.
+ * @param ctx the parse tree
+ */
+ void exitNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx);
+}
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaParser.java b/src/main/java/parser/generated/SimpleJavaParser.java
new file mode 100644
index 0000000..f294da5
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaParser.java
@@ -0,0 +1,3899 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+import org.antlr.v4.runtime.atn.*;
+import org.antlr.v4.runtime.dfa.DFA;
+import org.antlr.v4.runtime.*;
+import org.antlr.v4.runtime.misc.*;
+import org.antlr.v4.runtime.tree.*;
+import java.util.List;
+import java.util.Iterator;
+import java.util.ArrayList;
+
+@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"})
+public class SimpleJavaParser extends Parser {
+ static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); }
+
+ protected static final DFA[] _decisionToDFA;
+ protected static final PredictionContextCache _sharedContextCache =
+ new PredictionContextCache();
+ public static final int
+ T__0=1, T__1=2, Void=3, Boolean=4, Char=5, Int=6, AccessModifier=7, MainMethodDeclaration=8,
+ DotOperator=9, LineOperator=10, ComparisonOperator=11, LogicalOperator=12,
+ Assign=13, Plus=14, Minus=15, Mult=16, Modulo=17, Div=18, Greater=19,
+ Less=20, GreaterEqual=21, LessEqual=22, Equal=23, NotEqual=24, Not=25,
+ And=26, Or=27, Dot=28, OpenRoundBracket=29, ClosedRoundBracket=30, OpenCurlyBracket=31,
+ ClosedCurlyBracket=32, Semicolon=33, Comma=34, Class=35, This=36, While=37,
+ Do=38, If=39, Else=40, For=41, Return=42, New=43, Switch=44, Case=45,
+ Default=46, Colon=47, CharValue=48, IntValue=49, BooleanValue=50, NullValue=51,
+ Identifier=52, WS=53, InlineComment=54, MultilineComment=55;
+ public static final int
+ RULE_program = 0, RULE_classDeclaration = 1, RULE_memberDeclaration = 2,
+ RULE_constructorDeclaration = 3, RULE_fieldDeclaration = 4, RULE_methodDeclaration = 5,
+ RULE_parameterList = 6, RULE_parameter = 7, RULE_argumentList = 8, RULE_statement = 9,
+ RULE_blockStatement = 10, RULE_returnStatement = 11, RULE_localVariableDeclaration = 12,
+ RULE_whileStatement = 13, RULE_doWhileStatement = 14, RULE_forStatement = 15,
+ RULE_ifElseStatement = 16, RULE_ifStatement = 17, RULE_elseIfStatement = 18,
+ RULE_elseStatement = 19, RULE_switchStatement = 20, RULE_caseStatement = 21,
+ RULE_defaultStatement = 22, RULE_statementExpression = 23, RULE_assign = 24,
+ RULE_newDeclaration = 25, RULE_expression = 26, RULE_unaryExpression = 27,
+ RULE_notExpression = 28, RULE_crementExpression = 29, RULE_incrementExpression = 30,
+ RULE_prefixIncrementExpression = 31, RULE_suffixIncrementExpression = 32,
+ RULE_decrementExpression = 33, RULE_prefixDecrementExpression = 34, RULE_suffixDecrementExpression = 35,
+ RULE_assignableExpression = 36, RULE_memberAccess = 37, RULE_binaryExpression = 38,
+ RULE_calculationExpression = 39, RULE_dotExpression = 40, RULE_dotSubtractionExpression = 41,
+ RULE_nonCalculationExpression = 42, RULE_methodCall = 43, RULE_target = 44,
+ RULE_chainedMethod = 45, RULE_type = 46, RULE_value = 47, RULE_nonCalculationOperator = 48;
+ private static String[] makeRuleNames() {
+ return new String[] {
+ "program", "classDeclaration", "memberDeclaration", "constructorDeclaration",
+ "fieldDeclaration", "methodDeclaration", "parameterList", "parameter",
+ "argumentList", "statement", "blockStatement", "returnStatement", "localVariableDeclaration",
+ "whileStatement", "doWhileStatement", "forStatement", "ifElseStatement",
+ "ifStatement", "elseIfStatement", "elseStatement", "switchStatement",
+ "caseStatement", "defaultStatement", "statementExpression", "assign",
+ "newDeclaration", "expression", "unaryExpression", "notExpression", "crementExpression",
+ "incrementExpression", "prefixIncrementExpression", "suffixIncrementExpression",
+ "decrementExpression", "prefixDecrementExpression", "suffixDecrementExpression",
+ "assignableExpression", "memberAccess", "binaryExpression", "calculationExpression",
+ "dotExpression", "dotSubtractionExpression", "nonCalculationExpression",
+ "methodCall", "target", "chainedMethod", "type", "value", "nonCalculationOperator"
+ };
+ }
+ public static final String[] ruleNames = makeRuleNames();
+
+ private static String[] makeLiteralNames() {
+ return new String[] {
+ null, "'++'", "'--'", "'void'", "'boolean'", "'char'", "'int'", null,
+ "'public static void main(String[] args)'", null, null, null, null, "'='",
+ "'+'", "'-'", "'*'", "'%'", "'/'", "'>'", "'<'", "'>='", "'<='", "'=='",
+ "'!='", "'!'", "'&&'", "'||'", "'.'", "'('", "')'", "'{'", "'}'", "';'",
+ "','", "'class'", "'this'", "'while'", "'do'", "'if'", "'else'", "'for'",
+ "'return'", "'new'", "'switch'", "'case'", "'default'", "':'", null,
+ null, null, "'null'"
+ };
+ }
+ private static final String[] _LITERAL_NAMES = makeLiteralNames();
+ private static String[] makeSymbolicNames() {
+ return new String[] {
+ null, null, null, "Void", "Boolean", "Char", "Int", "AccessModifier",
+ "MainMethodDeclaration", "DotOperator", "LineOperator", "ComparisonOperator",
+ "LogicalOperator", "Assign", "Plus", "Minus", "Mult", "Modulo", "Div",
+ "Greater", "Less", "GreaterEqual", "LessEqual", "Equal", "NotEqual",
+ "Not", "And", "Or", "Dot", "OpenRoundBracket", "ClosedRoundBracket",
+ "OpenCurlyBracket", "ClosedCurlyBracket", "Semicolon", "Comma", "Class",
+ "This", "While", "Do", "If", "Else", "For", "Return", "New", "Switch",
+ "Case", "Default", "Colon", "CharValue", "IntValue", "BooleanValue",
+ "NullValue", "Identifier", "WS", "InlineComment", "MultilineComment"
+ };
+ }
+ private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
+ public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
+
+ /**
+ * @deprecated Use {@link #VOCABULARY} instead.
+ */
+ @Deprecated
+ public static final String[] tokenNames;
+ static {
+ tokenNames = new String[_SYMBOLIC_NAMES.length];
+ for (int i = 0; i < tokenNames.length; i++) {
+ tokenNames[i] = VOCABULARY.getLiteralName(i);
+ if (tokenNames[i] == null) {
+ tokenNames[i] = VOCABULARY.getSymbolicName(i);
+ }
+
+ if (tokenNames[i] == null) {
+ tokenNames[i] = "";
+ }
+ }
+ }
+
+ @Override
+ @Deprecated
+ public String[] getTokenNames() {
+ return tokenNames;
+ }
+
+ @Override
+
+ public Vocabulary getVocabulary() {
+ return VOCABULARY;
+ }
+
+ @Override
+ public String getGrammarFileName() { return "SimpleJava.g4"; }
+
+ @Override
+ public String[] getRuleNames() { return ruleNames; }
+
+ @Override
+ public String getSerializedATN() { return _serializedATN; }
+
+ @Override
+ public ATN getATN() { return _ATN; }
+
+ public SimpleJavaParser(TokenStream input) {
+ super(input);
+ _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ProgramContext extends ParserRuleContext {
+ public List classDeclaration() {
+ return getRuleContexts(ClassDeclarationContext.class);
+ }
+ public ClassDeclarationContext classDeclaration(int i) {
+ return getRuleContext(ClassDeclarationContext.class,i);
+ }
+ public ProgramContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_program; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterProgram(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitProgram(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitProgram(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ProgramContext program() throws RecognitionException {
+ ProgramContext _localctx = new ProgramContext(_ctx, getState());
+ enterRule(_localctx, 0, RULE_program);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(99);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ do {
+ {
+ {
+ setState(98);
+ classDeclaration();
+ }
+ }
+ setState(101);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ } while ( _la==AccessModifier || _la==Class );
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ClassDeclarationContext extends ParserRuleContext {
+ public TerminalNode Class() { return getToken(SimpleJavaParser.Class, 0); }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenCurlyBracket() { return getToken(SimpleJavaParser.OpenCurlyBracket, 0); }
+ public TerminalNode ClosedCurlyBracket() { return getToken(SimpleJavaParser.ClosedCurlyBracket, 0); }
+ public TerminalNode AccessModifier() { return getToken(SimpleJavaParser.AccessModifier, 0); }
+ public List memberDeclaration() {
+ return getRuleContexts(MemberDeclarationContext.class);
+ }
+ public MemberDeclarationContext memberDeclaration(int i) {
+ return getRuleContext(MemberDeclarationContext.class,i);
+ }
+ public ClassDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_classDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterClassDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitClassDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitClassDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ClassDeclarationContext classDeclaration() throws RecognitionException {
+ ClassDeclarationContext _localctx = new ClassDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 2, RULE_classDeclaration);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(104);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==AccessModifier) {
+ {
+ setState(103);
+ match(AccessModifier);
+ }
+ }
+
+ setState(106);
+ match(Class);
+ setState(107);
+ match(Identifier);
+ setState(108);
+ match(OpenCurlyBracket);
+ setState(112);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4503599627371000L) != 0)) {
+ {
+ {
+ setState(109);
+ memberDeclaration();
+ }
+ }
+ setState(114);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ setState(115);
+ match(ClosedCurlyBracket);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class MemberDeclarationContext extends ParserRuleContext {
+ public ConstructorDeclarationContext constructorDeclaration() {
+ return getRuleContext(ConstructorDeclarationContext.class,0);
+ }
+ public FieldDeclarationContext fieldDeclaration() {
+ return getRuleContext(FieldDeclarationContext.class,0);
+ }
+ public MethodDeclarationContext methodDeclaration() {
+ return getRuleContext(MethodDeclarationContext.class,0);
+ }
+ public MemberDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_memberDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterMemberDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitMemberDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitMemberDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final MemberDeclarationContext memberDeclaration() throws RecognitionException {
+ MemberDeclarationContext _localctx = new MemberDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 4, RULE_memberDeclaration);
+ try {
+ setState(120);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(117);
+ constructorDeclaration();
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(118);
+ fieldDeclaration();
+ }
+ break;
+ case 3:
+ enterOuterAlt(_localctx, 3);
+ {
+ setState(119);
+ methodDeclaration();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ConstructorDeclarationContext extends ParserRuleContext {
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public TerminalNode AccessModifier() { return getToken(SimpleJavaParser.AccessModifier, 0); }
+ public ParameterListContext parameterList() {
+ return getRuleContext(ParameterListContext.class,0);
+ }
+ public ConstructorDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_constructorDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterConstructorDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitConstructorDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitConstructorDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ConstructorDeclarationContext constructorDeclaration() throws RecognitionException {
+ ConstructorDeclarationContext _localctx = new ConstructorDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 6, RULE_constructorDeclaration);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(123);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==AccessModifier) {
+ {
+ setState(122);
+ match(AccessModifier);
+ }
+ }
+
+ setState(125);
+ match(Identifier);
+ setState(126);
+ match(OpenRoundBracket);
+ setState(128);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4503599627370608L) != 0)) {
+ {
+ setState(127);
+ parameterList();
+ }
+ }
+
+ setState(130);
+ match(ClosedRoundBracket);
+ setState(131);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class FieldDeclarationContext extends ParserRuleContext {
+ public TypeContext type() {
+ return getRuleContext(TypeContext.class,0);
+ }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode Semicolon() { return getToken(SimpleJavaParser.Semicolon, 0); }
+ public TerminalNode AccessModifier() { return getToken(SimpleJavaParser.AccessModifier, 0); }
+ public FieldDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_fieldDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterFieldDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitFieldDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitFieldDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final FieldDeclarationContext fieldDeclaration() throws RecognitionException {
+ FieldDeclarationContext _localctx = new FieldDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 8, RULE_fieldDeclaration);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(134);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==AccessModifier) {
+ {
+ setState(133);
+ match(AccessModifier);
+ }
+ }
+
+ setState(136);
+ type();
+ setState(137);
+ match(Identifier);
+ setState(138);
+ match(Semicolon);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class MethodDeclarationContext extends ParserRuleContext {
+ public TerminalNode MainMethodDeclaration() { return getToken(SimpleJavaParser.MainMethodDeclaration, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public TypeContext type() {
+ return getRuleContext(TypeContext.class,0);
+ }
+ public TerminalNode Void() { return getToken(SimpleJavaParser.Void, 0); }
+ public TerminalNode AccessModifier() { return getToken(SimpleJavaParser.AccessModifier, 0); }
+ public ParameterListContext parameterList() {
+ return getRuleContext(ParameterListContext.class,0);
+ }
+ public MethodDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_methodDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterMethodDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitMethodDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitMethodDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final MethodDeclarationContext methodDeclaration() throws RecognitionException {
+ MethodDeclarationContext _localctx = new MethodDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 10, RULE_methodDeclaration);
+ int _la;
+ try {
+ setState(156);
+ _errHandler.sync(this);
+ switch (_input.LA(1)) {
+ case MainMethodDeclaration:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(140);
+ match(MainMethodDeclaration);
+ setState(141);
+ blockStatement();
+ }
+ break;
+ case Void:
+ case Boolean:
+ case Char:
+ case Int:
+ case AccessModifier:
+ case Identifier:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(143);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==AccessModifier) {
+ {
+ setState(142);
+ match(AccessModifier);
+ }
+ }
+
+ setState(147);
+ _errHandler.sync(this);
+ switch (_input.LA(1)) {
+ case Boolean:
+ case Char:
+ case Int:
+ case Identifier:
+ {
+ setState(145);
+ type();
+ }
+ break;
+ case Void:
+ {
+ setState(146);
+ match(Void);
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ setState(149);
+ match(Identifier);
+ setState(150);
+ match(OpenRoundBracket);
+ setState(152);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4503599627370608L) != 0)) {
+ {
+ setState(151);
+ parameterList();
+ }
+ }
+
+ setState(154);
+ match(ClosedRoundBracket);
+ setState(155);
+ blockStatement();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ParameterListContext extends ParserRuleContext {
+ public List parameter() {
+ return getRuleContexts(ParameterContext.class);
+ }
+ public ParameterContext parameter(int i) {
+ return getRuleContext(ParameterContext.class,i);
+ }
+ public List Comma() { return getTokens(SimpleJavaParser.Comma); }
+ public TerminalNode Comma(int i) {
+ return getToken(SimpleJavaParser.Comma, i);
+ }
+ public ParameterListContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_parameterList; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterParameterList(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitParameterList(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitParameterList(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ParameterListContext parameterList() throws RecognitionException {
+ ParameterListContext _localctx = new ParameterListContext(_ctx, getState());
+ enterRule(_localctx, 12, RULE_parameterList);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(158);
+ parameter();
+ setState(163);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while (_la==Comma) {
+ {
+ {
+ setState(159);
+ match(Comma);
+ setState(160);
+ parameter();
+ }
+ }
+ setState(165);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ParameterContext extends ParserRuleContext {
+ public TypeContext type() {
+ return getRuleContext(TypeContext.class,0);
+ }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public ParameterContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_parameter; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterParameter(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitParameter(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitParameter(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ParameterContext parameter() throws RecognitionException {
+ ParameterContext _localctx = new ParameterContext(_ctx, getState());
+ enterRule(_localctx, 14, RULE_parameter);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(166);
+ type();
+ setState(167);
+ match(Identifier);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ArgumentListContext extends ParserRuleContext {
+ public List expression() {
+ return getRuleContexts(ExpressionContext.class);
+ }
+ public ExpressionContext expression(int i) {
+ return getRuleContext(ExpressionContext.class,i);
+ }
+ public List Comma() { return getTokens(SimpleJavaParser.Comma); }
+ public TerminalNode Comma(int i) {
+ return getToken(SimpleJavaParser.Comma, i);
+ }
+ public ArgumentListContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_argumentList; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterArgumentList(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitArgumentList(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitArgumentList(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ArgumentListContext argumentList() throws RecognitionException {
+ ArgumentListContext _localctx = new ArgumentListContext(_ctx, getState());
+ enterRule(_localctx, 16, RULE_argumentList);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(177);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 8734589660954630L) != 0)) {
+ {
+ setState(169);
+ expression();
+ setState(174);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while (_la==Comma) {
+ {
+ {
+ setState(170);
+ match(Comma);
+ setState(171);
+ expression();
+ }
+ }
+ setState(176);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ }
+ }
+
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class StatementContext extends ParserRuleContext {
+ public ReturnStatementContext returnStatement() {
+ return getRuleContext(ReturnStatementContext.class,0);
+ }
+ public TerminalNode Semicolon() { return getToken(SimpleJavaParser.Semicolon, 0); }
+ public LocalVariableDeclarationContext localVariableDeclaration() {
+ return getRuleContext(LocalVariableDeclarationContext.class,0);
+ }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public WhileStatementContext whileStatement() {
+ return getRuleContext(WhileStatementContext.class,0);
+ }
+ public DoWhileStatementContext doWhileStatement() {
+ return getRuleContext(DoWhileStatementContext.class,0);
+ }
+ public ForStatementContext forStatement() {
+ return getRuleContext(ForStatementContext.class,0);
+ }
+ public IfElseStatementContext ifElseStatement() {
+ return getRuleContext(IfElseStatementContext.class,0);
+ }
+ public SwitchStatementContext switchStatement() {
+ return getRuleContext(SwitchStatementContext.class,0);
+ }
+ public StatementExpressionContext statementExpression() {
+ return getRuleContext(StatementExpressionContext.class,0);
+ }
+ public StatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_statement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final StatementContext statement() throws RecognitionException {
+ StatementContext _localctx = new StatementContext(_ctx, getState());
+ enterRule(_localctx, 18, RULE_statement);
+ try {
+ setState(194);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(179);
+ returnStatement();
+ setState(180);
+ match(Semicolon);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(182);
+ localVariableDeclaration();
+ setState(183);
+ match(Semicolon);
+ }
+ break;
+ case 3:
+ enterOuterAlt(_localctx, 3);
+ {
+ setState(185);
+ blockStatement();
+ }
+ break;
+ case 4:
+ enterOuterAlt(_localctx, 4);
+ {
+ setState(186);
+ whileStatement();
+ }
+ break;
+ case 5:
+ enterOuterAlt(_localctx, 5);
+ {
+ setState(187);
+ doWhileStatement();
+ }
+ break;
+ case 6:
+ enterOuterAlt(_localctx, 6);
+ {
+ setState(188);
+ forStatement();
+ }
+ break;
+ case 7:
+ enterOuterAlt(_localctx, 7);
+ {
+ setState(189);
+ ifElseStatement();
+ }
+ break;
+ case 8:
+ enterOuterAlt(_localctx, 8);
+ {
+ setState(190);
+ switchStatement();
+ }
+ break;
+ case 9:
+ enterOuterAlt(_localctx, 9);
+ {
+ setState(191);
+ statementExpression();
+ setState(192);
+ match(Semicolon);
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class BlockStatementContext extends ParserRuleContext {
+ public TerminalNode OpenCurlyBracket() { return getToken(SimpleJavaParser.OpenCurlyBracket, 0); }
+ public TerminalNode ClosedCurlyBracket() { return getToken(SimpleJavaParser.ClosedCurlyBracket, 0); }
+ public List statement() {
+ return getRuleContexts(StatementContext.class);
+ }
+ public StatementContext statement(int i) {
+ return getRuleContext(StatementContext.class,i);
+ }
+ public BlockStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_blockStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterBlockStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitBlockStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitBlockStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final BlockStatementContext blockStatement() throws RecognitionException {
+ BlockStatementContext _localctx = new BlockStatementContext(_ctx, getState());
+ enterRule(_localctx, 20, RULE_blockStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(196);
+ match(OpenCurlyBracket);
+ setState(200);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4537617915838582L) != 0)) {
+ {
+ {
+ setState(197);
+ statement();
+ }
+ }
+ setState(202);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ setState(203);
+ match(ClosedCurlyBracket);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ReturnStatementContext extends ParserRuleContext {
+ public TerminalNode Return() { return getToken(SimpleJavaParser.Return, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public ReturnStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_returnStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterReturnStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitReturnStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitReturnStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ReturnStatementContext returnStatement() throws RecognitionException {
+ ReturnStatementContext _localctx = new ReturnStatementContext(_ctx, getState());
+ enterRule(_localctx, 22, RULE_returnStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(205);
+ match(Return);
+ setState(207);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 8734589660954630L) != 0)) {
+ {
+ setState(206);
+ expression();
+ }
+ }
+
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class LocalVariableDeclarationContext extends ParserRuleContext {
+ public TypeContext type() {
+ return getRuleContext(TypeContext.class,0);
+ }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode Assign() { return getToken(SimpleJavaParser.Assign, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public LocalVariableDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_localVariableDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterLocalVariableDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitLocalVariableDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitLocalVariableDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final LocalVariableDeclarationContext localVariableDeclaration() throws RecognitionException {
+ LocalVariableDeclarationContext _localctx = new LocalVariableDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 24, RULE_localVariableDeclaration);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(209);
+ type();
+ setState(210);
+ match(Identifier);
+ setState(213);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==Assign) {
+ {
+ setState(211);
+ match(Assign);
+ setState(212);
+ expression();
+ }
+ }
+
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class WhileStatementContext extends ParserRuleContext {
+ public TerminalNode While() { return getToken(SimpleJavaParser.While, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public WhileStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_whileStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterWhileStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitWhileStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitWhileStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final WhileStatementContext whileStatement() throws RecognitionException {
+ WhileStatementContext _localctx = new WhileStatementContext(_ctx, getState());
+ enterRule(_localctx, 26, RULE_whileStatement);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(215);
+ match(While);
+ setState(216);
+ match(OpenRoundBracket);
+ setState(217);
+ expression();
+ setState(218);
+ match(ClosedRoundBracket);
+ setState(219);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class DoWhileStatementContext extends ParserRuleContext {
+ public TerminalNode Do() { return getToken(SimpleJavaParser.Do, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public TerminalNode While() { return getToken(SimpleJavaParser.While, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public TerminalNode Semicolon() { return getToken(SimpleJavaParser.Semicolon, 0); }
+ public DoWhileStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_doWhileStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterDoWhileStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitDoWhileStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitDoWhileStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DoWhileStatementContext doWhileStatement() throws RecognitionException {
+ DoWhileStatementContext _localctx = new DoWhileStatementContext(_ctx, getState());
+ enterRule(_localctx, 28, RULE_doWhileStatement);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(221);
+ match(Do);
+ setState(222);
+ blockStatement();
+ setState(223);
+ match(While);
+ setState(224);
+ match(OpenRoundBracket);
+ setState(225);
+ expression();
+ setState(226);
+ match(ClosedRoundBracket);
+ setState(227);
+ match(Semicolon);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ForStatementContext extends ParserRuleContext {
+ public TerminalNode For() { return getToken(SimpleJavaParser.For, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public List Semicolon() { return getTokens(SimpleJavaParser.Semicolon); }
+ public TerminalNode Semicolon(int i) {
+ return getToken(SimpleJavaParser.Semicolon, i);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public List statementExpression() {
+ return getRuleContexts(StatementExpressionContext.class);
+ }
+ public StatementExpressionContext statementExpression(int i) {
+ return getRuleContext(StatementExpressionContext.class,i);
+ }
+ public LocalVariableDeclarationContext localVariableDeclaration() {
+ return getRuleContext(LocalVariableDeclarationContext.class,0);
+ }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public ForStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_forStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterForStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitForStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitForStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ForStatementContext forStatement() throws RecognitionException {
+ ForStatementContext _localctx = new ForStatementContext(_ctx, getState());
+ enterRule(_localctx, 30, RULE_forStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(229);
+ match(For);
+ setState(230);
+ match(OpenRoundBracket);
+ setState(233);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
+ case 1:
+ {
+ setState(231);
+ statementExpression();
+ }
+ break;
+ case 2:
+ {
+ setState(232);
+ localVariableDeclaration();
+ }
+ break;
+ }
+ setState(235);
+ match(Semicolon);
+ setState(237);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 8734589660954630L) != 0)) {
+ {
+ setState(236);
+ expression();
+ }
+ }
+
+ setState(239);
+ match(Semicolon);
+ setState(241);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4512464439869446L) != 0)) {
+ {
+ setState(240);
+ statementExpression();
+ }
+ }
+
+ setState(243);
+ match(ClosedRoundBracket);
+ setState(244);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class IfElseStatementContext extends ParserRuleContext {
+ public IfStatementContext ifStatement() {
+ return getRuleContext(IfStatementContext.class,0);
+ }
+ public List elseIfStatement() {
+ return getRuleContexts(ElseIfStatementContext.class);
+ }
+ public ElseIfStatementContext elseIfStatement(int i) {
+ return getRuleContext(ElseIfStatementContext.class,i);
+ }
+ public ElseStatementContext elseStatement() {
+ return getRuleContext(ElseStatementContext.class,0);
+ }
+ public IfElseStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_ifElseStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterIfElseStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitIfElseStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitIfElseStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final IfElseStatementContext ifElseStatement() throws RecognitionException {
+ IfElseStatementContext _localctx = new IfElseStatementContext(_ctx, getState());
+ enterRule(_localctx, 32, RULE_ifElseStatement);
+ int _la;
+ try {
+ int _alt;
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(246);
+ ifStatement();
+ setState(250);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,21,_ctx);
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
+ if ( _alt==1 ) {
+ {
+ {
+ setState(247);
+ elseIfStatement();
+ }
+ }
+ }
+ setState(252);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,21,_ctx);
+ }
+ setState(254);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==Else) {
+ {
+ setState(253);
+ elseStatement();
+ }
+ }
+
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class IfStatementContext extends ParserRuleContext {
+ public TerminalNode If() { return getToken(SimpleJavaParser.If, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public IfStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_ifStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterIfStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitIfStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitIfStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final IfStatementContext ifStatement() throws RecognitionException {
+ IfStatementContext _localctx = new IfStatementContext(_ctx, getState());
+ enterRule(_localctx, 34, RULE_ifStatement);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(256);
+ match(If);
+ setState(257);
+ match(OpenRoundBracket);
+ setState(258);
+ expression();
+ setState(259);
+ match(ClosedRoundBracket);
+ setState(260);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ElseIfStatementContext extends ParserRuleContext {
+ public TerminalNode Else() { return getToken(SimpleJavaParser.Else, 0); }
+ public TerminalNode If() { return getToken(SimpleJavaParser.If, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public ElseIfStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_elseIfStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterElseIfStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitElseIfStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitElseIfStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ElseIfStatementContext elseIfStatement() throws RecognitionException {
+ ElseIfStatementContext _localctx = new ElseIfStatementContext(_ctx, getState());
+ enterRule(_localctx, 36, RULE_elseIfStatement);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(262);
+ match(Else);
+ setState(263);
+ match(If);
+ setState(264);
+ match(OpenRoundBracket);
+ setState(265);
+ expression();
+ setState(266);
+ match(ClosedRoundBracket);
+ setState(267);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ElseStatementContext extends ParserRuleContext {
+ public TerminalNode Else() { return getToken(SimpleJavaParser.Else, 0); }
+ public BlockStatementContext blockStatement() {
+ return getRuleContext(BlockStatementContext.class,0);
+ }
+ public ElseStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_elseStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterElseStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitElseStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitElseStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ElseStatementContext elseStatement() throws RecognitionException {
+ ElseStatementContext _localctx = new ElseStatementContext(_ctx, getState());
+ enterRule(_localctx, 38, RULE_elseStatement);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(269);
+ match(Else);
+ setState(270);
+ blockStatement();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class SwitchStatementContext extends ParserRuleContext {
+ public TerminalNode Switch() { return getToken(SimpleJavaParser.Switch, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public TerminalNode OpenCurlyBracket() { return getToken(SimpleJavaParser.OpenCurlyBracket, 0); }
+ public TerminalNode ClosedCurlyBracket() { return getToken(SimpleJavaParser.ClosedCurlyBracket, 0); }
+ public List caseStatement() {
+ return getRuleContexts(CaseStatementContext.class);
+ }
+ public CaseStatementContext caseStatement(int i) {
+ return getRuleContext(CaseStatementContext.class,i);
+ }
+ public DefaultStatementContext defaultStatement() {
+ return getRuleContext(DefaultStatementContext.class,0);
+ }
+ public SwitchStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_switchStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterSwitchStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitSwitchStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitSwitchStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final SwitchStatementContext switchStatement() throws RecognitionException {
+ SwitchStatementContext _localctx = new SwitchStatementContext(_ctx, getState());
+ enterRule(_localctx, 40, RULE_switchStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(272);
+ match(Switch);
+ setState(273);
+ match(OpenRoundBracket);
+ setState(274);
+ expression();
+ setState(275);
+ match(ClosedRoundBracket);
+ setState(276);
+ match(OpenCurlyBracket);
+ setState(278);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ do {
+ {
+ {
+ setState(277);
+ caseStatement();
+ }
+ }
+ setState(280);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ } while ( _la==Case );
+ setState(283);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==Default) {
+ {
+ setState(282);
+ defaultStatement();
+ }
+ }
+
+ setState(285);
+ match(ClosedCurlyBracket);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class CaseStatementContext extends ParserRuleContext {
+ public TerminalNode Case() { return getToken(SimpleJavaParser.Case, 0); }
+ public ValueContext value() {
+ return getRuleContext(ValueContext.class,0);
+ }
+ public TerminalNode Colon() { return getToken(SimpleJavaParser.Colon, 0); }
+ public List statement() {
+ return getRuleContexts(StatementContext.class);
+ }
+ public StatementContext statement(int i) {
+ return getRuleContext(StatementContext.class,i);
+ }
+ public CaseStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_caseStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterCaseStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitCaseStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitCaseStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final CaseStatementContext caseStatement() throws RecognitionException {
+ CaseStatementContext _localctx = new CaseStatementContext(_ctx, getState());
+ enterRule(_localctx, 42, RULE_caseStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(287);
+ match(Case);
+ setState(288);
+ value();
+ setState(289);
+ match(Colon);
+ setState(293);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4537617915838582L) != 0)) {
+ {
+ {
+ setState(290);
+ statement();
+ }
+ }
+ setState(295);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class DefaultStatementContext extends ParserRuleContext {
+ public TerminalNode Default() { return getToken(SimpleJavaParser.Default, 0); }
+ public TerminalNode Colon() { return getToken(SimpleJavaParser.Colon, 0); }
+ public List statement() {
+ return getRuleContexts(StatementContext.class);
+ }
+ public StatementContext statement(int i) {
+ return getRuleContext(StatementContext.class,i);
+ }
+ public DefaultStatementContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_defaultStatement; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterDefaultStatement(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitDefaultStatement(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitDefaultStatement(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DefaultStatementContext defaultStatement() throws RecognitionException {
+ DefaultStatementContext _localctx = new DefaultStatementContext(_ctx, getState());
+ enterRule(_localctx, 44, RULE_defaultStatement);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(296);
+ match(Default);
+ setState(297);
+ match(Colon);
+ setState(301);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4537617915838582L) != 0)) {
+ {
+ {
+ setState(298);
+ statement();
+ }
+ }
+ setState(303);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class StatementExpressionContext extends ParserRuleContext {
+ public AssignContext assign() {
+ return getRuleContext(AssignContext.class,0);
+ }
+ public NewDeclarationContext newDeclaration() {
+ return getRuleContext(NewDeclarationContext.class,0);
+ }
+ public MethodCallContext methodCall() {
+ return getRuleContext(MethodCallContext.class,0);
+ }
+ public CrementExpressionContext crementExpression() {
+ return getRuleContext(CrementExpressionContext.class,0);
+ }
+ public StatementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_statementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterStatementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitStatementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitStatementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final StatementExpressionContext statementExpression() throws RecognitionException {
+ StatementExpressionContext _localctx = new StatementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 46, RULE_statementExpression);
+ try {
+ setState(308);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(304);
+ assign();
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(305);
+ newDeclaration();
+ }
+ break;
+ case 3:
+ enterOuterAlt(_localctx, 3);
+ {
+ setState(306);
+ methodCall();
+ }
+ break;
+ case 4:
+ enterOuterAlt(_localctx, 4);
+ {
+ setState(307);
+ crementExpression();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class AssignContext extends ParserRuleContext {
+ public AssignableExpressionContext assignableExpression() {
+ return getRuleContext(AssignableExpressionContext.class,0);
+ }
+ public TerminalNode Assign() { return getToken(SimpleJavaParser.Assign, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public AssignContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_assign; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterAssign(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitAssign(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitAssign(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final AssignContext assign() throws RecognitionException {
+ AssignContext _localctx = new AssignContext(_ctx, getState());
+ enterRule(_localctx, 48, RULE_assign);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(310);
+ assignableExpression();
+ setState(311);
+ match(Assign);
+ setState(312);
+ expression();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class NewDeclarationContext extends ParserRuleContext {
+ public TerminalNode New() { return getToken(SimpleJavaParser.New, 0); }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ArgumentListContext argumentList() {
+ return getRuleContext(ArgumentListContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public NewDeclarationContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_newDeclaration; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterNewDeclaration(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitNewDeclaration(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitNewDeclaration(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final NewDeclarationContext newDeclaration() throws RecognitionException {
+ NewDeclarationContext _localctx = new NewDeclarationContext(_ctx, getState());
+ enterRule(_localctx, 50, RULE_newDeclaration);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(314);
+ match(New);
+ setState(315);
+ match(Identifier);
+ setState(316);
+ match(OpenRoundBracket);
+ setState(317);
+ argumentList();
+ setState(318);
+ match(ClosedRoundBracket);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ExpressionContext extends ParserRuleContext {
+ public UnaryExpressionContext unaryExpression() {
+ return getRuleContext(UnaryExpressionContext.class,0);
+ }
+ public BinaryExpressionContext binaryExpression() {
+ return getRuleContext(BinaryExpressionContext.class,0);
+ }
+ public ExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_expression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ExpressionContext expression() throws RecognitionException {
+ ExpressionContext _localctx = new ExpressionContext(_ctx, getState());
+ enterRule(_localctx, 52, RULE_expression);
+ try {
+ setState(322);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,28,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(320);
+ unaryExpression();
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(321);
+ binaryExpression();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class UnaryExpressionContext extends ParserRuleContext {
+ public TerminalNode This() { return getToken(SimpleJavaParser.This, 0); }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public MemberAccessContext memberAccess() {
+ return getRuleContext(MemberAccessContext.class,0);
+ }
+ public ValueContext value() {
+ return getRuleContext(ValueContext.class,0);
+ }
+ public NotExpressionContext notExpression() {
+ return getRuleContext(NotExpressionContext.class,0);
+ }
+ public StatementExpressionContext statementExpression() {
+ return getRuleContext(StatementExpressionContext.class,0);
+ }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public UnaryExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_unaryExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterUnaryExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitUnaryExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitUnaryExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final UnaryExpressionContext unaryExpression() throws RecognitionException {
+ UnaryExpressionContext _localctx = new UnaryExpressionContext(_ctx, getState());
+ enterRule(_localctx, 54, RULE_unaryExpression);
+ try {
+ setState(334);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(324);
+ match(This);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(325);
+ match(Identifier);
+ }
+ break;
+ case 3:
+ enterOuterAlt(_localctx, 3);
+ {
+ setState(326);
+ memberAccess();
+ }
+ break;
+ case 4:
+ enterOuterAlt(_localctx, 4);
+ {
+ setState(327);
+ value();
+ }
+ break;
+ case 5:
+ enterOuterAlt(_localctx, 5);
+ {
+ setState(328);
+ notExpression();
+ }
+ break;
+ case 6:
+ enterOuterAlt(_localctx, 6);
+ {
+ setState(329);
+ statementExpression();
+ }
+ break;
+ case 7:
+ enterOuterAlt(_localctx, 7);
+ {
+ setState(330);
+ match(OpenRoundBracket);
+ setState(331);
+ expression();
+ setState(332);
+ match(ClosedRoundBracket);
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class NotExpressionContext extends ParserRuleContext {
+ public TerminalNode Not() { return getToken(SimpleJavaParser.Not, 0); }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public NotExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_notExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterNotExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitNotExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitNotExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final NotExpressionContext notExpression() throws RecognitionException {
+ NotExpressionContext _localctx = new NotExpressionContext(_ctx, getState());
+ enterRule(_localctx, 56, RULE_notExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(336);
+ match(Not);
+ setState(337);
+ expression();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class CrementExpressionContext extends ParserRuleContext {
+ public IncrementExpressionContext incrementExpression() {
+ return getRuleContext(IncrementExpressionContext.class,0);
+ }
+ public DecrementExpressionContext decrementExpression() {
+ return getRuleContext(DecrementExpressionContext.class,0);
+ }
+ public CrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_crementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterCrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitCrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitCrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final CrementExpressionContext crementExpression() throws RecognitionException {
+ CrementExpressionContext _localctx = new CrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 58, RULE_crementExpression);
+ try {
+ setState(341);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(339);
+ incrementExpression();
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(340);
+ decrementExpression();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class IncrementExpressionContext extends ParserRuleContext {
+ public PrefixIncrementExpressionContext prefixIncrementExpression() {
+ return getRuleContext(PrefixIncrementExpressionContext.class,0);
+ }
+ public SuffixIncrementExpressionContext suffixIncrementExpression() {
+ return getRuleContext(SuffixIncrementExpressionContext.class,0);
+ }
+ public IncrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_incrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterIncrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitIncrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitIncrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final IncrementExpressionContext incrementExpression() throws RecognitionException {
+ IncrementExpressionContext _localctx = new IncrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 60, RULE_incrementExpression);
+ try {
+ setState(345);
+ _errHandler.sync(this);
+ switch (_input.LA(1)) {
+ case T__0:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(343);
+ prefixIncrementExpression();
+ }
+ break;
+ case This:
+ case Identifier:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(344);
+ suffixIncrementExpression();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class PrefixIncrementExpressionContext extends ParserRuleContext {
+ public AssignableExpressionContext assignableExpression() {
+ return getRuleContext(AssignableExpressionContext.class,0);
+ }
+ public PrefixIncrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_prefixIncrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterPrefixIncrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitPrefixIncrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitPrefixIncrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final PrefixIncrementExpressionContext prefixIncrementExpression() throws RecognitionException {
+ PrefixIncrementExpressionContext _localctx = new PrefixIncrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 62, RULE_prefixIncrementExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(347);
+ match(T__0);
+ setState(348);
+ assignableExpression();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class SuffixIncrementExpressionContext extends ParserRuleContext {
+ public AssignableExpressionContext assignableExpression() {
+ return getRuleContext(AssignableExpressionContext.class,0);
+ }
+ public SuffixIncrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_suffixIncrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterSuffixIncrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitSuffixIncrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitSuffixIncrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final SuffixIncrementExpressionContext suffixIncrementExpression() throws RecognitionException {
+ SuffixIncrementExpressionContext _localctx = new SuffixIncrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 64, RULE_suffixIncrementExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(350);
+ assignableExpression();
+ setState(351);
+ match(T__0);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class DecrementExpressionContext extends ParserRuleContext {
+ public PrefixDecrementExpressionContext prefixDecrementExpression() {
+ return getRuleContext(PrefixDecrementExpressionContext.class,0);
+ }
+ public SuffixDecrementExpressionContext suffixDecrementExpression() {
+ return getRuleContext(SuffixDecrementExpressionContext.class,0);
+ }
+ public DecrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_decrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterDecrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitDecrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitDecrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DecrementExpressionContext decrementExpression() throws RecognitionException {
+ DecrementExpressionContext _localctx = new DecrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 66, RULE_decrementExpression);
+ try {
+ setState(355);
+ _errHandler.sync(this);
+ switch (_input.LA(1)) {
+ case T__1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(353);
+ prefixDecrementExpression();
+ }
+ break;
+ case This:
+ case Identifier:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(354);
+ suffixDecrementExpression();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class PrefixDecrementExpressionContext extends ParserRuleContext {
+ public AssignableExpressionContext assignableExpression() {
+ return getRuleContext(AssignableExpressionContext.class,0);
+ }
+ public PrefixDecrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_prefixDecrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterPrefixDecrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitPrefixDecrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitPrefixDecrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final PrefixDecrementExpressionContext prefixDecrementExpression() throws RecognitionException {
+ PrefixDecrementExpressionContext _localctx = new PrefixDecrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 68, RULE_prefixDecrementExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(357);
+ match(T__1);
+ setState(358);
+ assignableExpression();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class SuffixDecrementExpressionContext extends ParserRuleContext {
+ public AssignableExpressionContext assignableExpression() {
+ return getRuleContext(AssignableExpressionContext.class,0);
+ }
+ public SuffixDecrementExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_suffixDecrementExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterSuffixDecrementExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitSuffixDecrementExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitSuffixDecrementExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final SuffixDecrementExpressionContext suffixDecrementExpression() throws RecognitionException {
+ SuffixDecrementExpressionContext _localctx = new SuffixDecrementExpressionContext(_ctx, getState());
+ enterRule(_localctx, 70, RULE_suffixDecrementExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(360);
+ assignableExpression();
+ setState(361);
+ match(T__1);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class AssignableExpressionContext extends ParserRuleContext {
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public MemberAccessContext memberAccess() {
+ return getRuleContext(MemberAccessContext.class,0);
+ }
+ public AssignableExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_assignableExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterAssignableExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitAssignableExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitAssignableExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final AssignableExpressionContext assignableExpression() throws RecognitionException {
+ AssignableExpressionContext _localctx = new AssignableExpressionContext(_ctx, getState());
+ enterRule(_localctx, 72, RULE_assignableExpression);
+ try {
+ setState(365);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(363);
+ match(Identifier);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(364);
+ memberAccess();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class MemberAccessContext extends ParserRuleContext {
+ public TerminalNode This() { return getToken(SimpleJavaParser.This, 0); }
+ public List Dot() { return getTokens(SimpleJavaParser.Dot); }
+ public TerminalNode Dot(int i) {
+ return getToken(SimpleJavaParser.Dot, i);
+ }
+ public List Identifier() { return getTokens(SimpleJavaParser.Identifier); }
+ public TerminalNode Identifier(int i) {
+ return getToken(SimpleJavaParser.Identifier, i);
+ }
+ public MemberAccessContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_memberAccess; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterMemberAccess(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitMemberAccess(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitMemberAccess(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final MemberAccessContext memberAccess() throws RecognitionException {
+ MemberAccessContext _localctx = new MemberAccessContext(_ctx, getState());
+ enterRule(_localctx, 74, RULE_memberAccess);
+ int _la;
+ try {
+ int _alt;
+ setState(381);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(367);
+ match(This);
+ setState(368);
+ match(Dot);
+ setState(369);
+ match(Identifier);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(372);
+ _errHandler.sync(this);
+ _la = _input.LA(1);
+ if (_la==This) {
+ {
+ setState(370);
+ match(This);
+ setState(371);
+ match(Dot);
+ }
+ }
+
+ setState(376);
+ _errHandler.sync(this);
+ _alt = 1;
+ do {
+ switch (_alt) {
+ case 1:
+ {
+ {
+ setState(374);
+ match(Identifier);
+ setState(375);
+ match(Dot);
+ }
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ setState(378);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,35,_ctx);
+ } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
+ setState(380);
+ match(Identifier);
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class BinaryExpressionContext extends ParserRuleContext {
+ public CalculationExpressionContext calculationExpression() {
+ return getRuleContext(CalculationExpressionContext.class,0);
+ }
+ public NonCalculationExpressionContext nonCalculationExpression() {
+ return getRuleContext(NonCalculationExpressionContext.class,0);
+ }
+ public BinaryExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_binaryExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterBinaryExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitBinaryExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitBinaryExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final BinaryExpressionContext binaryExpression() throws RecognitionException {
+ BinaryExpressionContext _localctx = new BinaryExpressionContext(_ctx, getState());
+ enterRule(_localctx, 76, RULE_binaryExpression);
+ try {
+ setState(385);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(383);
+ calculationExpression(0);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(384);
+ nonCalculationExpression();
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class CalculationExpressionContext extends ParserRuleContext {
+ public DotExpressionContext dotExpression() {
+ return getRuleContext(DotExpressionContext.class,0);
+ }
+ public CalculationExpressionContext calculationExpression() {
+ return getRuleContext(CalculationExpressionContext.class,0);
+ }
+ public TerminalNode LineOperator() { return getToken(SimpleJavaParser.LineOperator, 0); }
+ public CalculationExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_calculationExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterCalculationExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitCalculationExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitCalculationExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final CalculationExpressionContext calculationExpression() throws RecognitionException {
+ return calculationExpression(0);
+ }
+
+ private CalculationExpressionContext calculationExpression(int _p) throws RecognitionException {
+ ParserRuleContext _parentctx = _ctx;
+ int _parentState = getState();
+ CalculationExpressionContext _localctx = new CalculationExpressionContext(_ctx, _parentState);
+ CalculationExpressionContext _prevctx = _localctx;
+ int _startState = 78;
+ enterRecursionRule(_localctx, 78, RULE_calculationExpression, _p);
+ try {
+ int _alt;
+ enterOuterAlt(_localctx, 1);
+ {
+ {
+ setState(388);
+ dotExpression(0);
+ }
+ _ctx.stop = _input.LT(-1);
+ setState(395);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,38,_ctx);
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
+ if ( _alt==1 ) {
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
+ _prevctx = _localctx;
+ {
+ {
+ _localctx = new CalculationExpressionContext(_parentctx, _parentState);
+ pushNewRecursionContext(_localctx, _startState, RULE_calculationExpression);
+ setState(390);
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
+ setState(391);
+ match(LineOperator);
+ setState(392);
+ dotExpression(0);
+ }
+ }
+ }
+ setState(397);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,38,_ctx);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ unrollRecursionContexts(_parentctx);
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class DotExpressionContext extends ParserRuleContext {
+ public DotSubtractionExpressionContext dotSubtractionExpression() {
+ return getRuleContext(DotSubtractionExpressionContext.class,0);
+ }
+ public DotExpressionContext dotExpression() {
+ return getRuleContext(DotExpressionContext.class,0);
+ }
+ public TerminalNode DotOperator() { return getToken(SimpleJavaParser.DotOperator, 0); }
+ public DotExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_dotExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterDotExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitDotExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitDotExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DotExpressionContext dotExpression() throws RecognitionException {
+ return dotExpression(0);
+ }
+
+ private DotExpressionContext dotExpression(int _p) throws RecognitionException {
+ ParserRuleContext _parentctx = _ctx;
+ int _parentState = getState();
+ DotExpressionContext _localctx = new DotExpressionContext(_ctx, _parentState);
+ DotExpressionContext _prevctx = _localctx;
+ int _startState = 80;
+ enterRecursionRule(_localctx, 80, RULE_dotExpression, _p);
+ try {
+ int _alt;
+ enterOuterAlt(_localctx, 1);
+ {
+ {
+ setState(399);
+ dotSubtractionExpression();
+ }
+ _ctx.stop = _input.LT(-1);
+ setState(406);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,39,_ctx);
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
+ if ( _alt==1 ) {
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
+ _prevctx = _localctx;
+ {
+ {
+ _localctx = new DotExpressionContext(_parentctx, _parentState);
+ pushNewRecursionContext(_localctx, _startState, RULE_dotExpression);
+ setState(401);
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
+ setState(402);
+ match(DotOperator);
+ setState(403);
+ dotSubtractionExpression();
+ }
+ }
+ }
+ setState(408);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,39,_ctx);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ unrollRecursionContexts(_parentctx);
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class DotSubtractionExpressionContext extends ParserRuleContext {
+ public TerminalNode IntValue() { return getToken(SimpleJavaParser.IntValue, 0); }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public MemberAccessContext memberAccess() {
+ return getRuleContext(MemberAccessContext.class,0);
+ }
+ public MethodCallContext methodCall() {
+ return getRuleContext(MethodCallContext.class,0);
+ }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public CalculationExpressionContext calculationExpression() {
+ return getRuleContext(CalculationExpressionContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public DotSubtractionExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_dotSubtractionExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterDotSubtractionExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitDotSubtractionExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitDotSubtractionExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DotSubtractionExpressionContext dotSubtractionExpression() throws RecognitionException {
+ DotSubtractionExpressionContext _localctx = new DotSubtractionExpressionContext(_ctx, getState());
+ enterRule(_localctx, 82, RULE_dotSubtractionExpression);
+ try {
+ setState(417);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
+ case 1:
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(409);
+ match(IntValue);
+ }
+ break;
+ case 2:
+ enterOuterAlt(_localctx, 2);
+ {
+ setState(410);
+ match(Identifier);
+ }
+ break;
+ case 3:
+ enterOuterAlt(_localctx, 3);
+ {
+ setState(411);
+ memberAccess();
+ }
+ break;
+ case 4:
+ enterOuterAlt(_localctx, 4);
+ {
+ setState(412);
+ methodCall();
+ setState(413);
+ match(OpenRoundBracket);
+ setState(414);
+ calculationExpression(0);
+ setState(415);
+ match(ClosedRoundBracket);
+ }
+ break;
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class NonCalculationExpressionContext extends ParserRuleContext {
+ public UnaryExpressionContext unaryExpression() {
+ return getRuleContext(UnaryExpressionContext.class,0);
+ }
+ public NonCalculationOperatorContext nonCalculationOperator() {
+ return getRuleContext(NonCalculationOperatorContext.class,0);
+ }
+ public ExpressionContext expression() {
+ return getRuleContext(ExpressionContext.class,0);
+ }
+ public NonCalculationExpressionContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_nonCalculationExpression; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterNonCalculationExpression(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitNonCalculationExpression(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitNonCalculationExpression(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final NonCalculationExpressionContext nonCalculationExpression() throws RecognitionException {
+ NonCalculationExpressionContext _localctx = new NonCalculationExpressionContext(_ctx, getState());
+ enterRule(_localctx, 84, RULE_nonCalculationExpression);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(419);
+ unaryExpression();
+ setState(420);
+ nonCalculationOperator();
+ setState(421);
+ expression();
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class MethodCallContext extends ParserRuleContext {
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ArgumentListContext argumentList() {
+ return getRuleContext(ArgumentListContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public TargetContext target() {
+ return getRuleContext(TargetContext.class,0);
+ }
+ public List chainedMethod() {
+ return getRuleContexts(ChainedMethodContext.class);
+ }
+ public ChainedMethodContext chainedMethod(int i) {
+ return getRuleContext(ChainedMethodContext.class,i);
+ }
+ public MethodCallContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_methodCall; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterMethodCall(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitMethodCall(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitMethodCall(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final MethodCallContext methodCall() throws RecognitionException {
+ MethodCallContext _localctx = new MethodCallContext(_ctx, getState());
+ enterRule(_localctx, 86, RULE_methodCall);
+ try {
+ int _alt;
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(424);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) {
+ case 1:
+ {
+ setState(423);
+ target();
+ }
+ break;
+ }
+ setState(429);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,42,_ctx);
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
+ if ( _alt==1 ) {
+ {
+ {
+ setState(426);
+ chainedMethod();
+ }
+ }
+ }
+ setState(431);
+ _errHandler.sync(this);
+ _alt = getInterpreter().adaptivePredict(_input,42,_ctx);
+ }
+ setState(432);
+ match(Identifier);
+ setState(433);
+ match(OpenRoundBracket);
+ setState(434);
+ argumentList();
+ setState(435);
+ match(ClosedRoundBracket);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class TargetContext extends ParserRuleContext {
+ public TerminalNode Dot() { return getToken(SimpleJavaParser.Dot, 0); }
+ public TerminalNode This() { return getToken(SimpleJavaParser.This, 0); }
+ public MemberAccessContext memberAccess() {
+ return getRuleContext(MemberAccessContext.class,0);
+ }
+ public NewDeclarationContext newDeclaration() {
+ return getRuleContext(NewDeclarationContext.class,0);
+ }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TargetContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_target; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterTarget(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitTarget(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitTarget(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final TargetContext target() throws RecognitionException {
+ TargetContext _localctx = new TargetContext(_ctx, getState());
+ enterRule(_localctx, 88, RULE_target);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(441);
+ _errHandler.sync(this);
+ switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) {
+ case 1:
+ {
+ setState(437);
+ match(This);
+ }
+ break;
+ case 2:
+ {
+ setState(438);
+ memberAccess();
+ }
+ break;
+ case 3:
+ {
+ setState(439);
+ newDeclaration();
+ }
+ break;
+ case 4:
+ {
+ setState(440);
+ match(Identifier);
+ }
+ break;
+ }
+ setState(443);
+ match(Dot);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ChainedMethodContext extends ParserRuleContext {
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TerminalNode OpenRoundBracket() { return getToken(SimpleJavaParser.OpenRoundBracket, 0); }
+ public ArgumentListContext argumentList() {
+ return getRuleContext(ArgumentListContext.class,0);
+ }
+ public TerminalNode ClosedRoundBracket() { return getToken(SimpleJavaParser.ClosedRoundBracket, 0); }
+ public TerminalNode Dot() { return getToken(SimpleJavaParser.Dot, 0); }
+ public ChainedMethodContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_chainedMethod; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterChainedMethod(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitChainedMethod(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitChainedMethod(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ChainedMethodContext chainedMethod() throws RecognitionException {
+ ChainedMethodContext _localctx = new ChainedMethodContext(_ctx, getState());
+ enterRule(_localctx, 90, RULE_chainedMethod);
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(445);
+ match(Identifier);
+ setState(446);
+ match(OpenRoundBracket);
+ setState(447);
+ argumentList();
+ setState(448);
+ match(ClosedRoundBracket);
+ setState(449);
+ match(Dot);
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class TypeContext extends ParserRuleContext {
+ public TerminalNode Int() { return getToken(SimpleJavaParser.Int, 0); }
+ public TerminalNode Boolean() { return getToken(SimpleJavaParser.Boolean, 0); }
+ public TerminalNode Char() { return getToken(SimpleJavaParser.Char, 0); }
+ public TerminalNode Identifier() { return getToken(SimpleJavaParser.Identifier, 0); }
+ public TypeContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_type; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterType(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitType(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitType(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final TypeContext type() throws RecognitionException {
+ TypeContext _localctx = new TypeContext(_ctx, getState());
+ enterRule(_localctx, 92, RULE_type);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(451);
+ _la = _input.LA(1);
+ if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 4503599627370608L) != 0)) ) {
+ _errHandler.recoverInline(this);
+ }
+ else {
+ if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
+ _errHandler.reportMatch(this);
+ consume();
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class ValueContext extends ParserRuleContext {
+ public TerminalNode IntValue() { return getToken(SimpleJavaParser.IntValue, 0); }
+ public TerminalNode BooleanValue() { return getToken(SimpleJavaParser.BooleanValue, 0); }
+ public TerminalNode CharValue() { return getToken(SimpleJavaParser.CharValue, 0); }
+ public TerminalNode NullValue() { return getToken(SimpleJavaParser.NullValue, 0); }
+ public ValueContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_value; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterValue(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitValue(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitValue(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final ValueContext value() throws RecognitionException {
+ ValueContext _localctx = new ValueContext(_ctx, getState());
+ enterRule(_localctx, 94, RULE_value);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(453);
+ _la = _input.LA(1);
+ if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 4222124650659840L) != 0)) ) {
+ _errHandler.recoverInline(this);
+ }
+ else {
+ if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
+ _errHandler.reportMatch(this);
+ consume();
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ @SuppressWarnings("CheckReturnValue")
+ public static class NonCalculationOperatorContext extends ParserRuleContext {
+ public TerminalNode LogicalOperator() { return getToken(SimpleJavaParser.LogicalOperator, 0); }
+ public TerminalNode ComparisonOperator() { return getToken(SimpleJavaParser.ComparisonOperator, 0); }
+ public NonCalculationOperatorContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_nonCalculationOperator; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).enterNonCalculationOperator(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof SimpleJavaListener ) ((SimpleJavaListener)listener).exitNonCalculationOperator(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof SimpleJavaVisitor ) return ((SimpleJavaVisitor extends T>)visitor).visitNonCalculationOperator(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final NonCalculationOperatorContext nonCalculationOperator() throws RecognitionException {
+ NonCalculationOperatorContext _localctx = new NonCalculationOperatorContext(_ctx, getState());
+ enterRule(_localctx, 96, RULE_nonCalculationOperator);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(455);
+ _la = _input.LA(1);
+ if ( !(_la==ComparisonOperator || _la==LogicalOperator) ) {
+ _errHandler.recoverInline(this);
+ }
+ else {
+ if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
+ _errHandler.reportMatch(this);
+ consume();
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
+ switch (ruleIndex) {
+ case 39:
+ return calculationExpression_sempred((CalculationExpressionContext)_localctx, predIndex);
+ case 40:
+ return dotExpression_sempred((DotExpressionContext)_localctx, predIndex);
+ }
+ return true;
+ }
+ private boolean calculationExpression_sempred(CalculationExpressionContext _localctx, int predIndex) {
+ switch (predIndex) {
+ case 0:
+ return precpred(_ctx, 2);
+ }
+ return true;
+ }
+ private boolean dotExpression_sempred(DotExpressionContext _localctx, int predIndex) {
+ switch (predIndex) {
+ case 1:
+ return precpred(_ctx, 2);
+ }
+ return true;
+ }
+
+ public static final String _serializedATN =
+ "\u0004\u00017\u01ca\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
+ "\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
+ "\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0002"+
+ "\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b\u0002"+
+ "\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002\u000f\u0007\u000f"+
+ "\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002\u0012\u0007\u0012"+
+ "\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002\u0015\u0007\u0015"+
+ "\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002\u0018\u0007\u0018"+
+ "\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002\u001b\u0007\u001b"+
+ "\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002\u001e\u0007\u001e"+
+ "\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007!\u0002\"\u0007\"\u0002"+
+ "#\u0007#\u0002$\u0007$\u0002%\u0007%\u0002&\u0007&\u0002\'\u0007\'\u0002"+
+ "(\u0007(\u0002)\u0007)\u0002*\u0007*\u0002+\u0007+\u0002,\u0007,\u0002"+
+ "-\u0007-\u0002.\u0007.\u0002/\u0007/\u00020\u00070\u0001\u0000\u0004\u0000"+
+ "d\b\u0000\u000b\u0000\f\u0000e\u0001\u0001\u0003\u0001i\b\u0001\u0001"+
+ "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001o\b\u0001\n\u0001"+
+ "\f\u0001r\t\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001"+
+ "\u0002\u0003\u0002y\b\u0002\u0001\u0003\u0003\u0003|\b\u0003\u0001\u0003"+
+ "\u0001\u0003\u0001\u0003\u0003\u0003\u0081\b\u0003\u0001\u0003\u0001\u0003"+
+ "\u0001\u0003\u0001\u0004\u0003\u0004\u0087\b\u0004\u0001\u0004\u0001\u0004"+
+ "\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005"+
+ "\u0090\b\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u0094\b\u0005\u0001"+
+ "\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u0099\b\u0005\u0001\u0005\u0001"+
+ "\u0005\u0003\u0005\u009d\b\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0005"+
+ "\u0006\u00a2\b\u0006\n\u0006\f\u0006\u00a5\t\u0006\u0001\u0007\u0001\u0007"+
+ "\u0001\u0007\u0001\b\u0001\b\u0001\b\u0005\b\u00ad\b\b\n\b\f\b\u00b0\t"+
+ "\b\u0003\b\u00b2\b\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+
+ "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0003"+
+ "\t\u00c3\b\t\u0001\n\u0001\n\u0005\n\u00c7\b\n\n\n\f\n\u00ca\t\n\u0001"+
+ "\n\u0001\n\u0001\u000b\u0001\u000b\u0003\u000b\u00d0\b\u000b\u0001\f\u0001"+
+ "\f\u0001\f\u0001\f\u0003\f\u00d6\b\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+
+ "\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+
+ "\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f"+
+ "\u0001\u000f\u0003\u000f\u00ea\b\u000f\u0001\u000f\u0001\u000f\u0003\u000f"+
+ "\u00ee\b\u000f\u0001\u000f\u0001\u000f\u0003\u000f\u00f2\b\u000f\u0001"+
+ "\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0005\u0010\u00f9"+
+ "\b\u0010\n\u0010\f\u0010\u00fc\t\u0010\u0001\u0010\u0003\u0010\u00ff\b"+
+ "\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+
+ "\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+
+ "\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001"+
+ "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0004\u0014\u0117"+
+ "\b\u0014\u000b\u0014\f\u0014\u0118\u0001\u0014\u0003\u0014\u011c\b\u0014"+
+ "\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015"+
+ "\u0005\u0015\u0124\b\u0015\n\u0015\f\u0015\u0127\t\u0015\u0001\u0016\u0001"+
+ "\u0016\u0001\u0016\u0005\u0016\u012c\b\u0016\n\u0016\f\u0016\u012f\t\u0016"+
+ "\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0003\u0017\u0135\b\u0017"+
+ "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019"+
+ "\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u001a\u0001\u001a"+
+ "\u0003\u001a\u0143\b\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b"+
+ "\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b"+
+ "\u0003\u001b\u014f\b\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d"+
+ "\u0001\u001d\u0003\u001d\u0156\b\u001d\u0001\u001e\u0001\u001e\u0003\u001e"+
+ "\u015a\b\u001e\u0001\u001f\u0001\u001f\u0001\u001f\u0001 \u0001 \u0001"+
+ " \u0001!\u0001!\u0003!\u0164\b!\u0001\"\u0001\"\u0001\"\u0001#\u0001#"+
+ "\u0001#\u0001$\u0001$\u0003$\u016e\b$\u0001%\u0001%\u0001%\u0001%\u0001"+
+ "%\u0003%\u0175\b%\u0001%\u0001%\u0004%\u0179\b%\u000b%\f%\u017a\u0001"+
+ "%\u0003%\u017e\b%\u0001&\u0001&\u0003&\u0182\b&\u0001\'\u0001\'\u0001"+
+ "\'\u0001\'\u0001\'\u0001\'\u0005\'\u018a\b\'\n\'\f\'\u018d\t\'\u0001("+
+ "\u0001(\u0001(\u0001(\u0001(\u0001(\u0005(\u0195\b(\n(\f(\u0198\t(\u0001"+
+ ")\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0003)\u01a2\b)\u0001"+
+ "*\u0001*\u0001*\u0001*\u0001+\u0003+\u01a9\b+\u0001+\u0005+\u01ac\b+\n"+
+ "+\f+\u01af\t+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,"+
+ "\u0001,\u0003,\u01ba\b,\u0001,\u0001,\u0001-\u0001-\u0001-\u0001-\u0001"+
+ "-\u0001-\u0001.\u0001.\u0001/\u0001/\u00010\u00010\u00010\u0000\u0002"+
+ "NP1\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018"+
+ "\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`\u0000\u0003\u0002"+
+ "\u0000\u0004\u000644\u0001\u000003\u0001\u0000\u000b\f\u01d7\u0000c\u0001"+
+ "\u0000\u0000\u0000\u0002h\u0001\u0000\u0000\u0000\u0004x\u0001\u0000\u0000"+
+ "\u0000\u0006{\u0001\u0000\u0000\u0000\b\u0086\u0001\u0000\u0000\u0000"+
+ "\n\u009c\u0001\u0000\u0000\u0000\f\u009e\u0001\u0000\u0000\u0000\u000e"+
+ "\u00a6\u0001\u0000\u0000\u0000\u0010\u00b1\u0001\u0000\u0000\u0000\u0012"+
+ "\u00c2\u0001\u0000\u0000\u0000\u0014\u00c4\u0001\u0000\u0000\u0000\u0016"+
+ "\u00cd\u0001\u0000\u0000\u0000\u0018\u00d1\u0001\u0000\u0000\u0000\u001a"+
+ "\u00d7\u0001\u0000\u0000\u0000\u001c\u00dd\u0001\u0000\u0000\u0000\u001e"+
+ "\u00e5\u0001\u0000\u0000\u0000 \u00f6\u0001\u0000\u0000\u0000\"\u0100"+
+ "\u0001\u0000\u0000\u0000$\u0106\u0001\u0000\u0000\u0000&\u010d\u0001\u0000"+
+ "\u0000\u0000(\u0110\u0001\u0000\u0000\u0000*\u011f\u0001\u0000\u0000\u0000"+
+ ",\u0128\u0001\u0000\u0000\u0000.\u0134\u0001\u0000\u0000\u00000\u0136"+
+ "\u0001\u0000\u0000\u00002\u013a\u0001\u0000\u0000\u00004\u0142\u0001\u0000"+
+ "\u0000\u00006\u014e\u0001\u0000\u0000\u00008\u0150\u0001\u0000\u0000\u0000"+
+ ":\u0155\u0001\u0000\u0000\u0000<\u0159\u0001\u0000\u0000\u0000>\u015b"+
+ "\u0001\u0000\u0000\u0000@\u015e\u0001\u0000\u0000\u0000B\u0163\u0001\u0000"+
+ "\u0000\u0000D\u0165\u0001\u0000\u0000\u0000F\u0168\u0001\u0000\u0000\u0000"+
+ "H\u016d\u0001\u0000\u0000\u0000J\u017d\u0001\u0000\u0000\u0000L\u0181"+
+ "\u0001\u0000\u0000\u0000N\u0183\u0001\u0000\u0000\u0000P\u018e\u0001\u0000"+
+ "\u0000\u0000R\u01a1\u0001\u0000\u0000\u0000T\u01a3\u0001\u0000\u0000\u0000"+
+ "V\u01a8\u0001\u0000\u0000\u0000X\u01b9\u0001\u0000\u0000\u0000Z\u01bd"+
+ "\u0001\u0000\u0000\u0000\\\u01c3\u0001\u0000\u0000\u0000^\u01c5\u0001"+
+ "\u0000\u0000\u0000`\u01c7\u0001\u0000\u0000\u0000bd\u0003\u0002\u0001"+
+ "\u0000cb\u0001\u0000\u0000\u0000de\u0001\u0000\u0000\u0000ec\u0001\u0000"+
+ "\u0000\u0000ef\u0001\u0000\u0000\u0000f\u0001\u0001\u0000\u0000\u0000"+
+ "gi\u0005\u0007\u0000\u0000hg\u0001\u0000\u0000\u0000hi\u0001\u0000\u0000"+
+ "\u0000ij\u0001\u0000\u0000\u0000jk\u0005#\u0000\u0000kl\u00054\u0000\u0000"+
+ "lp\u0005\u001f\u0000\u0000mo\u0003\u0004\u0002\u0000nm\u0001\u0000\u0000"+
+ "\u0000or\u0001\u0000\u0000\u0000pn\u0001\u0000\u0000\u0000pq\u0001\u0000"+
+ "\u0000\u0000qs\u0001\u0000\u0000\u0000rp\u0001\u0000\u0000\u0000st\u0005"+
+ " \u0000\u0000t\u0003\u0001\u0000\u0000\u0000uy\u0003\u0006\u0003\u0000"+
+ "vy\u0003\b\u0004\u0000wy\u0003\n\u0005\u0000xu\u0001\u0000\u0000\u0000"+
+ "xv\u0001\u0000\u0000\u0000xw\u0001\u0000\u0000\u0000y\u0005\u0001\u0000"+
+ "\u0000\u0000z|\u0005\u0007\u0000\u0000{z\u0001\u0000\u0000\u0000{|\u0001"+
+ "\u0000\u0000\u0000|}\u0001\u0000\u0000\u0000}~\u00054\u0000\u0000~\u0080"+
+ "\u0005\u001d\u0000\u0000\u007f\u0081\u0003\f\u0006\u0000\u0080\u007f\u0001"+
+ "\u0000\u0000\u0000\u0080\u0081\u0001\u0000\u0000\u0000\u0081\u0082\u0001"+
+ "\u0000\u0000\u0000\u0082\u0083\u0005\u001e\u0000\u0000\u0083\u0084\u0003"+
+ "\u0014\n\u0000\u0084\u0007\u0001\u0000\u0000\u0000\u0085\u0087\u0005\u0007"+
+ "\u0000\u0000\u0086\u0085\u0001\u0000\u0000\u0000\u0086\u0087\u0001\u0000"+
+ "\u0000\u0000\u0087\u0088\u0001\u0000\u0000\u0000\u0088\u0089\u0003\\."+
+ "\u0000\u0089\u008a\u00054\u0000\u0000\u008a\u008b\u0005!\u0000\u0000\u008b"+
+ "\t\u0001\u0000\u0000\u0000\u008c\u008d\u0005\b\u0000\u0000\u008d\u009d"+
+ "\u0003\u0014\n\u0000\u008e\u0090\u0005\u0007\u0000\u0000\u008f\u008e\u0001"+
+ "\u0000\u0000\u0000\u008f\u0090\u0001\u0000\u0000\u0000\u0090\u0093\u0001"+
+ "\u0000\u0000\u0000\u0091\u0094\u0003\\.\u0000\u0092\u0094\u0005\u0003"+
+ "\u0000\u0000\u0093\u0091\u0001\u0000\u0000\u0000\u0093\u0092\u0001\u0000"+
+ "\u0000\u0000\u0094\u0095\u0001\u0000\u0000\u0000\u0095\u0096\u00054\u0000"+
+ "\u0000\u0096\u0098\u0005\u001d\u0000\u0000\u0097\u0099\u0003\f\u0006\u0000"+
+ "\u0098\u0097\u0001\u0000\u0000\u0000\u0098\u0099\u0001\u0000\u0000\u0000"+
+ "\u0099\u009a\u0001\u0000\u0000\u0000\u009a\u009b\u0005\u001e\u0000\u0000"+
+ "\u009b\u009d\u0003\u0014\n\u0000\u009c\u008c\u0001\u0000\u0000\u0000\u009c"+
+ "\u008f\u0001\u0000\u0000\u0000\u009d\u000b\u0001\u0000\u0000\u0000\u009e"+
+ "\u00a3\u0003\u000e\u0007\u0000\u009f\u00a0\u0005\"\u0000\u0000\u00a0\u00a2"+
+ "\u0003\u000e\u0007\u0000\u00a1\u009f\u0001\u0000\u0000\u0000\u00a2\u00a5"+
+ "\u0001\u0000\u0000\u0000\u00a3\u00a1\u0001\u0000\u0000\u0000\u00a3\u00a4"+
+ "\u0001\u0000\u0000\u0000\u00a4\r\u0001\u0000\u0000\u0000\u00a5\u00a3\u0001"+
+ "\u0000\u0000\u0000\u00a6\u00a7\u0003\\.\u0000\u00a7\u00a8\u00054\u0000"+
+ "\u0000\u00a8\u000f\u0001\u0000\u0000\u0000\u00a9\u00ae\u00034\u001a\u0000"+
+ "\u00aa\u00ab\u0005\"\u0000\u0000\u00ab\u00ad\u00034\u001a\u0000\u00ac"+
+ "\u00aa\u0001\u0000\u0000\u0000\u00ad\u00b0\u0001\u0000\u0000\u0000\u00ae"+
+ "\u00ac\u0001\u0000\u0000\u0000\u00ae\u00af\u0001\u0000\u0000\u0000\u00af"+
+ "\u00b2\u0001\u0000\u0000\u0000\u00b0\u00ae\u0001\u0000\u0000\u0000\u00b1"+
+ "\u00a9\u0001\u0000\u0000\u0000\u00b1\u00b2\u0001\u0000\u0000\u0000\u00b2"+
+ "\u0011\u0001\u0000\u0000\u0000\u00b3\u00b4\u0003\u0016\u000b\u0000\u00b4"+
+ "\u00b5\u0005!\u0000\u0000\u00b5\u00c3\u0001\u0000\u0000\u0000\u00b6\u00b7"+
+ "\u0003\u0018\f\u0000\u00b7\u00b8\u0005!\u0000\u0000\u00b8\u00c3\u0001"+
+ "\u0000\u0000\u0000\u00b9\u00c3\u0003\u0014\n\u0000\u00ba\u00c3\u0003\u001a"+
+ "\r\u0000\u00bb\u00c3\u0003\u001c\u000e\u0000\u00bc\u00c3\u0003\u001e\u000f"+
+ "\u0000\u00bd\u00c3\u0003 \u0010\u0000\u00be\u00c3\u0003(\u0014\u0000\u00bf"+
+ "\u00c0\u0003.\u0017\u0000\u00c0\u00c1\u0005!\u0000\u0000\u00c1\u00c3\u0001"+
+ "\u0000\u0000\u0000\u00c2\u00b3\u0001\u0000\u0000\u0000\u00c2\u00b6\u0001"+
+ "\u0000\u0000\u0000\u00c2\u00b9\u0001\u0000\u0000\u0000\u00c2\u00ba\u0001"+
+ "\u0000\u0000\u0000\u00c2\u00bb\u0001\u0000\u0000\u0000\u00c2\u00bc\u0001"+
+ "\u0000\u0000\u0000\u00c2\u00bd\u0001\u0000\u0000\u0000\u00c2\u00be\u0001"+
+ "\u0000\u0000\u0000\u00c2\u00bf\u0001\u0000\u0000\u0000\u00c3\u0013\u0001"+
+ "\u0000\u0000\u0000\u00c4\u00c8\u0005\u001f\u0000\u0000\u00c5\u00c7\u0003"+
+ "\u0012\t\u0000\u00c6\u00c5\u0001\u0000\u0000\u0000\u00c7\u00ca\u0001\u0000"+
+ "\u0000\u0000\u00c8\u00c6\u0001\u0000\u0000\u0000\u00c8\u00c9\u0001\u0000"+
+ "\u0000\u0000\u00c9\u00cb\u0001\u0000\u0000\u0000\u00ca\u00c8\u0001\u0000"+
+ "\u0000\u0000\u00cb\u00cc\u0005 \u0000\u0000\u00cc\u0015\u0001\u0000\u0000"+
+ "\u0000\u00cd\u00cf\u0005*\u0000\u0000\u00ce\u00d0\u00034\u001a\u0000\u00cf"+
+ "\u00ce\u0001\u0000\u0000\u0000\u00cf\u00d0\u0001\u0000\u0000\u0000\u00d0"+
+ "\u0017\u0001\u0000\u0000\u0000\u00d1\u00d2\u0003\\.\u0000\u00d2\u00d5"+
+ "\u00054\u0000\u0000\u00d3\u00d4\u0005\r\u0000\u0000\u00d4\u00d6\u0003"+
+ "4\u001a\u0000\u00d5\u00d3\u0001\u0000\u0000\u0000\u00d5\u00d6\u0001\u0000"+
+ "\u0000\u0000\u00d6\u0019\u0001\u0000\u0000\u0000\u00d7\u00d8\u0005%\u0000"+
+ "\u0000\u00d8\u00d9\u0005\u001d\u0000\u0000\u00d9\u00da\u00034\u001a\u0000"+
+ "\u00da\u00db\u0005\u001e\u0000\u0000\u00db\u00dc\u0003\u0014\n\u0000\u00dc"+
+ "\u001b\u0001\u0000\u0000\u0000\u00dd\u00de\u0005&\u0000\u0000\u00de\u00df"+
+ "\u0003\u0014\n\u0000\u00df\u00e0\u0005%\u0000\u0000\u00e0\u00e1\u0005"+
+ "\u001d\u0000\u0000\u00e1\u00e2\u00034\u001a\u0000\u00e2\u00e3\u0005\u001e"+
+ "\u0000\u0000\u00e3\u00e4\u0005!\u0000\u0000\u00e4\u001d\u0001\u0000\u0000"+
+ "\u0000\u00e5\u00e6\u0005)\u0000\u0000\u00e6\u00e9\u0005\u001d\u0000\u0000"+
+ "\u00e7\u00ea\u0003.\u0017\u0000\u00e8\u00ea\u0003\u0018\f\u0000\u00e9"+
+ "\u00e7\u0001\u0000\u0000\u0000\u00e9\u00e8\u0001\u0000\u0000\u0000\u00ea"+
+ "\u00eb\u0001\u0000\u0000\u0000\u00eb\u00ed\u0005!\u0000\u0000\u00ec\u00ee"+
+ "\u00034\u001a\u0000\u00ed\u00ec\u0001\u0000\u0000\u0000\u00ed\u00ee\u0001"+
+ "\u0000\u0000\u0000\u00ee\u00ef\u0001\u0000\u0000\u0000\u00ef\u00f1\u0005"+
+ "!\u0000\u0000\u00f0\u00f2\u0003.\u0017\u0000\u00f1\u00f0\u0001\u0000\u0000"+
+ "\u0000\u00f1\u00f2\u0001\u0000\u0000\u0000\u00f2\u00f3\u0001\u0000\u0000"+
+ "\u0000\u00f3\u00f4\u0005\u001e\u0000\u0000\u00f4\u00f5\u0003\u0014\n\u0000"+
+ "\u00f5\u001f\u0001\u0000\u0000\u0000\u00f6\u00fa\u0003\"\u0011\u0000\u00f7"+
+ "\u00f9\u0003$\u0012\u0000\u00f8\u00f7\u0001\u0000\u0000\u0000\u00f9\u00fc"+
+ "\u0001\u0000\u0000\u0000\u00fa\u00f8\u0001\u0000\u0000\u0000\u00fa\u00fb"+
+ "\u0001\u0000\u0000\u0000\u00fb\u00fe\u0001\u0000\u0000\u0000\u00fc\u00fa"+
+ "\u0001\u0000\u0000\u0000\u00fd\u00ff\u0003&\u0013\u0000\u00fe\u00fd\u0001"+
+ "\u0000\u0000\u0000\u00fe\u00ff\u0001\u0000\u0000\u0000\u00ff!\u0001\u0000"+
+ "\u0000\u0000\u0100\u0101\u0005\'\u0000\u0000\u0101\u0102\u0005\u001d\u0000"+
+ "\u0000\u0102\u0103\u00034\u001a\u0000\u0103\u0104\u0005\u001e\u0000\u0000"+
+ "\u0104\u0105\u0003\u0014\n\u0000\u0105#\u0001\u0000\u0000\u0000\u0106"+
+ "\u0107\u0005(\u0000\u0000\u0107\u0108\u0005\'\u0000\u0000\u0108\u0109"+
+ "\u0005\u001d\u0000\u0000\u0109\u010a\u00034\u001a\u0000\u010a\u010b\u0005"+
+ "\u001e\u0000\u0000\u010b\u010c\u0003\u0014\n\u0000\u010c%\u0001\u0000"+
+ "\u0000\u0000\u010d\u010e\u0005(\u0000\u0000\u010e\u010f\u0003\u0014\n"+
+ "\u0000\u010f\'\u0001\u0000\u0000\u0000\u0110\u0111\u0005,\u0000\u0000"+
+ "\u0111\u0112\u0005\u001d\u0000\u0000\u0112\u0113\u00034\u001a\u0000\u0113"+
+ "\u0114\u0005\u001e\u0000\u0000\u0114\u0116\u0005\u001f\u0000\u0000\u0115"+
+ "\u0117\u0003*\u0015\u0000\u0116\u0115\u0001\u0000\u0000\u0000\u0117\u0118"+
+ "\u0001\u0000\u0000\u0000\u0118\u0116\u0001\u0000\u0000\u0000\u0118\u0119"+
+ "\u0001\u0000\u0000\u0000\u0119\u011b\u0001\u0000\u0000\u0000\u011a\u011c"+
+ "\u0003,\u0016\u0000\u011b\u011a\u0001\u0000\u0000\u0000\u011b\u011c\u0001"+
+ "\u0000\u0000\u0000\u011c\u011d\u0001\u0000\u0000\u0000\u011d\u011e\u0005"+
+ " \u0000\u0000\u011e)\u0001\u0000\u0000\u0000\u011f\u0120\u0005-\u0000"+
+ "\u0000\u0120\u0121\u0003^/\u0000\u0121\u0125\u0005/\u0000\u0000\u0122"+
+ "\u0124\u0003\u0012\t\u0000\u0123\u0122\u0001\u0000\u0000\u0000\u0124\u0127"+
+ "\u0001\u0000\u0000\u0000\u0125\u0123\u0001\u0000\u0000\u0000\u0125\u0126"+
+ "\u0001\u0000\u0000\u0000\u0126+\u0001\u0000\u0000\u0000\u0127\u0125\u0001"+
+ "\u0000\u0000\u0000\u0128\u0129\u0005.\u0000\u0000\u0129\u012d\u0005/\u0000"+
+ "\u0000\u012a\u012c\u0003\u0012\t\u0000\u012b\u012a\u0001\u0000\u0000\u0000"+
+ "\u012c\u012f\u0001\u0000\u0000\u0000\u012d\u012b\u0001\u0000\u0000\u0000"+
+ "\u012d\u012e\u0001\u0000\u0000\u0000\u012e-\u0001\u0000\u0000\u0000\u012f"+
+ "\u012d\u0001\u0000\u0000\u0000\u0130\u0135\u00030\u0018\u0000\u0131\u0135"+
+ "\u00032\u0019\u0000\u0132\u0135\u0003V+\u0000\u0133\u0135\u0003:\u001d"+
+ "\u0000\u0134\u0130\u0001\u0000\u0000\u0000\u0134\u0131\u0001\u0000\u0000"+
+ "\u0000\u0134\u0132\u0001\u0000\u0000\u0000\u0134\u0133\u0001\u0000\u0000"+
+ "\u0000\u0135/\u0001\u0000\u0000\u0000\u0136\u0137\u0003H$\u0000\u0137"+
+ "\u0138\u0005\r\u0000\u0000\u0138\u0139\u00034\u001a\u0000\u01391\u0001"+
+ "\u0000\u0000\u0000\u013a\u013b\u0005+\u0000\u0000\u013b\u013c\u00054\u0000"+
+ "\u0000\u013c\u013d\u0005\u001d\u0000\u0000\u013d\u013e\u0003\u0010\b\u0000"+
+ "\u013e\u013f\u0005\u001e\u0000\u0000\u013f3\u0001\u0000\u0000\u0000\u0140"+
+ "\u0143\u00036\u001b\u0000\u0141\u0143\u0003L&\u0000\u0142\u0140\u0001"+
+ "\u0000\u0000\u0000\u0142\u0141\u0001\u0000\u0000\u0000\u01435\u0001\u0000"+
+ "\u0000\u0000\u0144\u014f\u0005$\u0000\u0000\u0145\u014f\u00054\u0000\u0000"+
+ "\u0146\u014f\u0003J%\u0000\u0147\u014f\u0003^/\u0000\u0148\u014f\u0003"+
+ "8\u001c\u0000\u0149\u014f\u0003.\u0017\u0000\u014a\u014b\u0005\u001d\u0000"+
+ "\u0000\u014b\u014c\u00034\u001a\u0000\u014c\u014d\u0005\u001e\u0000\u0000"+
+ "\u014d\u014f\u0001\u0000\u0000\u0000\u014e\u0144\u0001\u0000\u0000\u0000"+
+ "\u014e\u0145\u0001\u0000\u0000\u0000\u014e\u0146\u0001\u0000\u0000\u0000"+
+ "\u014e\u0147\u0001\u0000\u0000\u0000\u014e\u0148\u0001\u0000\u0000\u0000"+
+ "\u014e\u0149\u0001\u0000\u0000\u0000\u014e\u014a\u0001\u0000\u0000\u0000"+
+ "\u014f7\u0001\u0000\u0000\u0000\u0150\u0151\u0005\u0019\u0000\u0000\u0151"+
+ "\u0152\u00034\u001a\u0000\u01529\u0001\u0000\u0000\u0000\u0153\u0156\u0003"+
+ "<\u001e\u0000\u0154\u0156\u0003B!\u0000\u0155\u0153\u0001\u0000\u0000"+
+ "\u0000\u0155\u0154\u0001\u0000\u0000\u0000\u0156;\u0001\u0000\u0000\u0000"+
+ "\u0157\u015a\u0003>\u001f\u0000\u0158\u015a\u0003@ \u0000\u0159\u0157"+
+ "\u0001\u0000\u0000\u0000\u0159\u0158\u0001\u0000\u0000\u0000\u015a=\u0001"+
+ "\u0000\u0000\u0000\u015b\u015c\u0005\u0001\u0000\u0000\u015c\u015d\u0003"+
+ "H$\u0000\u015d?\u0001\u0000\u0000\u0000\u015e\u015f\u0003H$\u0000\u015f"+
+ "\u0160\u0005\u0001\u0000\u0000\u0160A\u0001\u0000\u0000\u0000\u0161\u0164"+
+ "\u0003D\"\u0000\u0162\u0164\u0003F#\u0000\u0163\u0161\u0001\u0000\u0000"+
+ "\u0000\u0163\u0162\u0001\u0000\u0000\u0000\u0164C\u0001\u0000\u0000\u0000"+
+ "\u0165\u0166\u0005\u0002\u0000\u0000\u0166\u0167\u0003H$\u0000\u0167E"+
+ "\u0001\u0000\u0000\u0000\u0168\u0169\u0003H$\u0000\u0169\u016a\u0005\u0002"+
+ "\u0000\u0000\u016aG\u0001\u0000\u0000\u0000\u016b\u016e\u00054\u0000\u0000"+
+ "\u016c\u016e\u0003J%\u0000\u016d\u016b\u0001\u0000\u0000\u0000\u016d\u016c"+
+ "\u0001\u0000\u0000\u0000\u016eI\u0001\u0000\u0000\u0000\u016f\u0170\u0005"+
+ "$\u0000\u0000\u0170\u0171\u0005\u001c\u0000\u0000\u0171\u017e\u00054\u0000"+
+ "\u0000\u0172\u0173\u0005$\u0000\u0000\u0173\u0175\u0005\u001c\u0000\u0000"+
+ "\u0174\u0172\u0001\u0000\u0000\u0000\u0174\u0175\u0001\u0000\u0000\u0000"+
+ "\u0175\u0178\u0001\u0000\u0000\u0000\u0176\u0177\u00054\u0000\u0000\u0177"+
+ "\u0179\u0005\u001c\u0000\u0000\u0178\u0176\u0001\u0000\u0000\u0000\u0179"+
+ "\u017a\u0001\u0000\u0000\u0000\u017a\u0178\u0001\u0000\u0000\u0000\u017a"+
+ "\u017b\u0001\u0000\u0000\u0000\u017b\u017c\u0001\u0000\u0000\u0000\u017c"+
+ "\u017e\u00054\u0000\u0000\u017d\u016f\u0001\u0000\u0000\u0000\u017d\u0174"+
+ "\u0001\u0000\u0000\u0000\u017eK\u0001\u0000\u0000\u0000\u017f\u0182\u0003"+
+ "N\'\u0000\u0180\u0182\u0003T*\u0000\u0181\u017f\u0001\u0000\u0000\u0000"+
+ "\u0181\u0180\u0001\u0000\u0000\u0000\u0182M\u0001\u0000\u0000\u0000\u0183"+
+ "\u0184\u0006\'\uffff\uffff\u0000\u0184\u0185\u0003P(\u0000\u0185\u018b"+
+ "\u0001\u0000\u0000\u0000\u0186\u0187\n\u0002\u0000\u0000\u0187\u0188\u0005"+
+ "\n\u0000\u0000\u0188\u018a\u0003P(\u0000\u0189\u0186\u0001\u0000\u0000"+
+ "\u0000\u018a\u018d\u0001\u0000\u0000\u0000\u018b\u0189\u0001\u0000\u0000"+
+ "\u0000\u018b\u018c\u0001\u0000\u0000\u0000\u018cO\u0001\u0000\u0000\u0000"+
+ "\u018d\u018b\u0001\u0000\u0000\u0000\u018e\u018f\u0006(\uffff\uffff\u0000"+
+ "\u018f\u0190\u0003R)\u0000\u0190\u0196\u0001\u0000\u0000\u0000\u0191\u0192"+
+ "\n\u0002\u0000\u0000\u0192\u0193\u0005\t\u0000\u0000\u0193\u0195\u0003"+
+ "R)\u0000\u0194\u0191\u0001\u0000\u0000\u0000\u0195\u0198\u0001\u0000\u0000"+
+ "\u0000\u0196\u0194\u0001\u0000\u0000\u0000\u0196\u0197\u0001\u0000\u0000"+
+ "\u0000\u0197Q\u0001\u0000\u0000\u0000\u0198\u0196\u0001\u0000\u0000\u0000"+
+ "\u0199\u01a2\u00051\u0000\u0000\u019a\u01a2\u00054\u0000\u0000\u019b\u01a2"+
+ "\u0003J%\u0000\u019c\u019d\u0003V+\u0000\u019d\u019e\u0005\u001d\u0000"+
+ "\u0000\u019e\u019f\u0003N\'\u0000\u019f\u01a0\u0005\u001e\u0000\u0000"+
+ "\u01a0\u01a2\u0001\u0000\u0000\u0000\u01a1\u0199\u0001\u0000\u0000\u0000"+
+ "\u01a1\u019a\u0001\u0000\u0000\u0000\u01a1\u019b\u0001\u0000\u0000\u0000"+
+ "\u01a1\u019c\u0001\u0000\u0000\u0000\u01a2S\u0001\u0000\u0000\u0000\u01a3"+
+ "\u01a4\u00036\u001b\u0000\u01a4\u01a5\u0003`0\u0000\u01a5\u01a6\u0003"+
+ "4\u001a\u0000\u01a6U\u0001\u0000\u0000\u0000\u01a7\u01a9\u0003X,\u0000"+
+ "\u01a8\u01a7\u0001\u0000\u0000\u0000\u01a8\u01a9\u0001\u0000\u0000\u0000"+
+ "\u01a9\u01ad\u0001\u0000\u0000\u0000\u01aa\u01ac\u0003Z-\u0000\u01ab\u01aa"+
+ "\u0001\u0000\u0000\u0000\u01ac\u01af\u0001\u0000\u0000\u0000\u01ad\u01ab"+
+ "\u0001\u0000\u0000\u0000\u01ad\u01ae\u0001\u0000\u0000\u0000\u01ae\u01b0"+
+ "\u0001\u0000\u0000\u0000\u01af\u01ad\u0001\u0000\u0000\u0000\u01b0\u01b1"+
+ "\u00054\u0000\u0000\u01b1\u01b2\u0005\u001d\u0000\u0000\u01b2\u01b3\u0003"+
+ "\u0010\b\u0000\u01b3\u01b4\u0005\u001e\u0000\u0000\u01b4W\u0001\u0000"+
+ "\u0000\u0000\u01b5\u01ba\u0005$\u0000\u0000\u01b6\u01ba\u0003J%\u0000"+
+ "\u01b7\u01ba\u00032\u0019\u0000\u01b8\u01ba\u00054\u0000\u0000\u01b9\u01b5"+
+ "\u0001\u0000\u0000\u0000\u01b9\u01b6\u0001\u0000\u0000\u0000\u01b9\u01b7"+
+ "\u0001\u0000\u0000\u0000\u01b9\u01b8\u0001\u0000\u0000\u0000\u01ba\u01bb"+
+ "\u0001\u0000\u0000\u0000\u01bb\u01bc\u0005\u001c\u0000\u0000\u01bcY\u0001"+
+ "\u0000\u0000\u0000\u01bd\u01be\u00054\u0000\u0000\u01be\u01bf\u0005\u001d"+
+ "\u0000\u0000\u01bf\u01c0\u0003\u0010\b\u0000\u01c0\u01c1\u0005\u001e\u0000"+
+ "\u0000\u01c1\u01c2\u0005\u001c\u0000\u0000\u01c2[\u0001\u0000\u0000\u0000"+
+ "\u01c3\u01c4\u0007\u0000\u0000\u0000\u01c4]\u0001\u0000\u0000\u0000\u01c5"+
+ "\u01c6\u0007\u0001\u0000\u0000\u01c6_\u0001\u0000\u0000\u0000\u01c7\u01c8"+
+ "\u0007\u0002\u0000\u0000\u01c8a\u0001\u0000\u0000\u0000,ehpx{\u0080\u0086"+
+ "\u008f\u0093\u0098\u009c\u00a3\u00ae\u00b1\u00c2\u00c8\u00cf\u00d5\u00e9"+
+ "\u00ed\u00f1\u00fa\u00fe\u0118\u011b\u0125\u012d\u0134\u0142\u014e\u0155"+
+ "\u0159\u0163\u016d\u0174\u017a\u017d\u0181\u018b\u0196\u01a1\u01a8\u01ad"+
+ "\u01b9";
+ public static final ATN _ATN =
+ new ATNDeserializer().deserialize(_serializedATN.toCharArray());
+ static {
+ _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
+ for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
+ _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/parser/generated/SimpleJavaVisitor.java b/src/main/java/parser/generated/SimpleJavaVisitor.java
new file mode 100644
index 0000000..4cb1f4b
--- /dev/null
+++ b/src/main/java/parser/generated/SimpleJavaVisitor.java
@@ -0,0 +1,307 @@
+// Generated from C:/Users/janni/Desktop/NichtHaskell2.0/src/main/java/parser/grammar/SimpleJava.g4 by ANTLR 4.13.1
+package parser.generated;
+import org.antlr.v4.runtime.tree.ParseTreeVisitor;
+
+/**
+ * This interface defines a complete generic visitor for a parse tree produced
+ * by {@link SimpleJavaParser}.
+ *
+ * @param The return type of the visit operation. Use {@link Void} for
+ * operations with no return type.
+ */
+public interface SimpleJavaVisitor extends ParseTreeVisitor {
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#program}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitProgram(SimpleJavaParser.ProgramContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#classDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitClassDeclaration(SimpleJavaParser.ClassDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#memberDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitMemberDeclaration(SimpleJavaParser.MemberDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#constructorDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitConstructorDeclaration(SimpleJavaParser.ConstructorDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#fieldDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitFieldDeclaration(SimpleJavaParser.FieldDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#methodDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitMethodDeclaration(SimpleJavaParser.MethodDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#parameterList}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitParameterList(SimpleJavaParser.ParameterListContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#parameter}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitParameter(SimpleJavaParser.ParameterContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#argumentList}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitArgumentList(SimpleJavaParser.ArgumentListContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#statement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitStatement(SimpleJavaParser.StatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#blockStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitBlockStatement(SimpleJavaParser.BlockStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#returnStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitReturnStatement(SimpleJavaParser.ReturnStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#localVariableDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitLocalVariableDeclaration(SimpleJavaParser.LocalVariableDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#whileStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitWhileStatement(SimpleJavaParser.WhileStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#doWhileStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDoWhileStatement(SimpleJavaParser.DoWhileStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#forStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitForStatement(SimpleJavaParser.ForStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#ifElseStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitIfElseStatement(SimpleJavaParser.IfElseStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#ifStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitIfStatement(SimpleJavaParser.IfStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#elseIfStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitElseIfStatement(SimpleJavaParser.ElseIfStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#elseStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitElseStatement(SimpleJavaParser.ElseStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#switchStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitSwitchStatement(SimpleJavaParser.SwitchStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#caseStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitCaseStatement(SimpleJavaParser.CaseStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#defaultStatement}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDefaultStatement(SimpleJavaParser.DefaultStatementContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#statementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitStatementExpression(SimpleJavaParser.StatementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#assign}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitAssign(SimpleJavaParser.AssignContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#newDeclaration}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitNewDeclaration(SimpleJavaParser.NewDeclarationContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#expression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitExpression(SimpleJavaParser.ExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#unaryExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitUnaryExpression(SimpleJavaParser.UnaryExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#notExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitNotExpression(SimpleJavaParser.NotExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#crementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitCrementExpression(SimpleJavaParser.CrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#incrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitIncrementExpression(SimpleJavaParser.IncrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#prefixIncrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitPrefixIncrementExpression(SimpleJavaParser.PrefixIncrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#suffixIncrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitSuffixIncrementExpression(SimpleJavaParser.SuffixIncrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#decrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDecrementExpression(SimpleJavaParser.DecrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#prefixDecrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitPrefixDecrementExpression(SimpleJavaParser.PrefixDecrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#suffixDecrementExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitSuffixDecrementExpression(SimpleJavaParser.SuffixDecrementExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#assignableExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitAssignableExpression(SimpleJavaParser.AssignableExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#memberAccess}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitMemberAccess(SimpleJavaParser.MemberAccessContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#binaryExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitBinaryExpression(SimpleJavaParser.BinaryExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#calculationExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitCalculationExpression(SimpleJavaParser.CalculationExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#dotExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDotExpression(SimpleJavaParser.DotExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#dotSubtractionExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDotSubtractionExpression(SimpleJavaParser.DotSubtractionExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#nonCalculationExpression}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitNonCalculationExpression(SimpleJavaParser.NonCalculationExpressionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#methodCall}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitMethodCall(SimpleJavaParser.MethodCallContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#target}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitTarget(SimpleJavaParser.TargetContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#chainedMethod}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitChainedMethod(SimpleJavaParser.ChainedMethodContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#type}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitType(SimpleJavaParser.TypeContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#value}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitValue(SimpleJavaParser.ValueContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SimpleJavaParser#nonCalculationOperator}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitNonCalculationOperator(SimpleJavaParser.NonCalculationOperatorContext ctx);
+}
\ No newline at end of file