diff --git a/src/main/antlr/Decaf.g4 b/src/main/antlr/Decaf.g4 index 39509e1..d194a91 100644 --- a/src/main/antlr/Decaf.g4 +++ b/src/main/antlr/Decaf.g4 @@ -27,6 +27,7 @@ stmt : ifCall #If | 'while' '(' expr ')' block #While | 'do' block 'while' '(' expr ')' ';'? #DoWhile | 'break' ';' #Break + | 'continue' ';' #Continue | localVar ';' #LocalVarDec | localVarWithInitialization ';' #LocalVarDecWithInitialization | assign ';' #Assignment diff --git a/src/main/java/de/maishai/StatementGenerator.java b/src/main/java/de/maishai/StatementGenerator.java index b850b11..48474aa 100644 --- a/src/main/java/de/maishai/StatementGenerator.java +++ b/src/main/java/de/maishai/StatementGenerator.java @@ -3,21 +3,7 @@ package de.maishai; import de.maishai.antlr.DecafBaseVisitor; import de.maishai.antlr.DecafParser; import de.maishai.ast.Operator; -import de.maishai.ast.records.Assignment; -import de.maishai.ast.records.Binary; -import de.maishai.ast.records.Block; -import de.maishai.ast.records.BoolLiteral; -import de.maishai.ast.records.Break; -import de.maishai.ast.records.Declaration; -import de.maishai.ast.records.DoWhile; -import de.maishai.ast.records.Expression; -import de.maishai.ast.records.FieldVarAccess; -import de.maishai.ast.records.For; -import de.maishai.ast.records.IfElse; -import de.maishai.ast.records.MethodCall; -import de.maishai.ast.records.New; -import de.maishai.ast.records.Statement; -import de.maishai.ast.records.While; +import de.maishai.ast.records.*; import de.maishai.typedast.Type; import java.util.ArrayList; @@ -80,6 +66,11 @@ public class StatementGenerator extends DecafBaseVisitor> { return List.of(new Break()); } + @Override + public List visitContinue(DecafParser.ContinueContext ctx) { + return List.of(new Continue()); + } + @Override public List visitLocalVarDec(DecafParser.LocalVarDecContext ctx) { Declaration declaration = new Declaration(ctx.localVar().id().IDENTIFIER().getText(), ASTGenerator.getType(ctx.localVar().type())); diff --git a/src/main/java/de/maishai/antlr/Decaf.interp b/src/main/java/de/maishai/antlr/Decaf.interp index 9f50a6b..5a07ecb 100644 --- a/src/main/java/de/maishai/antlr/Decaf.interp +++ b/src/main/java/de/maishai/antlr/Decaf.interp @@ -15,6 +15,7 @@ null 'while' 'do' 'break' +'continue' '.' 'public' 'new' @@ -68,6 +69,7 @@ null null null null +null PUBLIC NEW NULL @@ -136,4 +138,4 @@ id atn: -[4, 1, 49, 330, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 66, 8, 0, 1, 0, 1, 0, 1, 0, 5, 0, 71, 8, 0, 10, 0, 12, 0, 74, 9, 0, 1, 0, 1, 0, 1, 1, 3, 1, 79, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 3, 3, 89, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 95, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 102, 8, 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, 7, 1, 7, 1, 7, 1, 7, 3, 7, 120, 8, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 5, 8, 128, 8, 8, 10, 8, 12, 8, 131, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 5, 10, 138, 8, 10, 10, 10, 12, 10, 141, 9, 10, 1, 10, 3, 10, 144, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 162, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 169, 8, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 191, 8, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 207, 8, 14, 1, 15, 1, 15, 3, 15, 211, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 224, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 230, 8, 16, 10, 16, 12, 16, 233, 9, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 244, 8, 19, 1, 19, 1, 19, 1, 19, 5, 19, 249, 8, 19, 10, 19, 12, 19, 252, 9, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 265, 8, 21, 1, 21, 1, 21, 1, 21, 5, 21, 270, 8, 21, 10, 21, 12, 21, 273, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 281, 8, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 287, 8, 23, 1, 24, 1, 24, 1, 24, 3, 24, 292, 8, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 5, 25, 299, 8, 25, 10, 25, 12, 25, 302, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 310, 8, 26, 10, 26, 12, 26, 313, 9, 26, 1, 26, 1, 26, 3, 26, 317, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 0, 1, 32, 30, 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, 0, 4, 1, 0, 34, 37, 1, 0, 23, 33, 2, 0, 23, 23, 38, 38, 2, 0, 43, 44, 46, 46, 342, 0, 60, 1, 0, 0, 0, 2, 78, 1, 0, 0, 0, 4, 84, 1, 0, 0, 0, 6, 88, 1, 0, 0, 0, 8, 94, 1, 0, 0, 0, 10, 96, 1, 0, 0, 0, 12, 106, 1, 0, 0, 0, 14, 115, 1, 0, 0, 0, 16, 124, 1, 0, 0, 0, 18, 132, 1, 0, 0, 0, 20, 135, 1, 0, 0, 0, 22, 147, 1, 0, 0, 0, 24, 150, 1, 0, 0, 0, 26, 161, 1, 0, 0, 0, 28, 206, 1, 0, 0, 0, 30, 210, 1, 0, 0, 0, 32, 223, 1, 0, 0, 0, 34, 234, 1, 0, 0, 0, 36, 236, 1, 0, 0, 0, 38, 243, 1, 0, 0, 0, 40, 255, 1, 0, 0, 0, 42, 264, 1, 0, 0, 0, 44, 276, 1, 0, 0, 0, 46, 286, 1, 0, 0, 0, 48, 288, 1, 0, 0, 0, 50, 295, 1, 0, 0, 0, 52, 303, 1, 0, 0, 0, 54, 318, 1, 0, 0, 0, 56, 325, 1, 0, 0, 0, 58, 327, 1, 0, 0, 0, 60, 61, 5, 17, 0, 0, 61, 62, 5, 1, 0, 0, 62, 63, 3, 58, 29, 0, 63, 65, 5, 2, 0, 0, 64, 66, 3, 12, 6, 0, 65, 64, 1, 0, 0, 0, 65, 66, 1, 0, 0, 0, 66, 72, 1, 0, 0, 0, 67, 71, 3, 2, 1, 0, 68, 71, 3, 10, 5, 0, 69, 71, 3, 14, 7, 0, 70, 67, 1, 0, 0, 0, 70, 68, 1, 0, 0, 0, 70, 69, 1, 0, 0, 0, 71, 74, 1, 0, 0, 0, 72, 70, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 75, 1, 0, 0, 0, 74, 72, 1, 0, 0, 0, 75, 76, 5, 3, 0, 0, 76, 1, 1, 0, 0, 0, 77, 79, 5, 17, 0, 0, 78, 77, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 80, 1, 0, 0, 0, 80, 81, 3, 8, 4, 0, 81, 82, 3, 58, 29, 0, 82, 83, 5, 4, 0, 0, 83, 3, 1, 0, 0, 0, 84, 85, 7, 0, 0, 0, 85, 5, 1, 0, 0, 0, 86, 89, 3, 8, 4, 0, 87, 89, 5, 41, 0, 0, 88, 86, 1, 0, 0, 0, 88, 87, 1, 0, 0, 0, 89, 7, 1, 0, 0, 0, 90, 95, 5, 39, 0, 0, 91, 95, 5, 40, 0, 0, 92, 95, 5, 42, 0, 0, 93, 95, 3, 58, 29, 0, 94, 90, 1, 0, 0, 0, 94, 91, 1, 0, 0, 0, 94, 92, 1, 0, 0, 0, 94, 93, 1, 0, 0, 0, 95, 9, 1, 0, 0, 0, 96, 97, 5, 17, 0, 0, 97, 98, 3, 6, 3, 0, 98, 99, 3, 58, 29, 0, 99, 101, 5, 5, 0, 0, 100, 102, 3, 16, 8, 0, 101, 100, 1, 0, 0, 0, 101, 102, 1, 0, 0, 0, 102, 103, 1, 0, 0, 0, 103, 104, 5, 6, 0, 0, 104, 105, 3, 20, 10, 0, 105, 11, 1, 0, 0, 0, 106, 107, 5, 17, 0, 0, 107, 108, 5, 7, 0, 0, 108, 109, 5, 41, 0, 0, 109, 110, 5, 8, 0, 0, 110, 111, 5, 5, 0, 0, 111, 112, 5, 9, 0, 0, 112, 113, 5, 6, 0, 0, 113, 114, 3, 20, 10, 0, 114, 13, 1, 0, 0, 0, 115, 116, 5, 17, 0, 0, 116, 117, 3, 58, 29, 0, 117, 119, 5, 5, 0, 0, 118, 120, 3, 16, 8, 0, 119, 118, 1, 0, 0, 0, 119, 120, 1, 0, 0, 0, 120, 121, 1, 0, 0, 0, 121, 122, 5, 6, 0, 0, 122, 123, 3, 20, 10, 0, 123, 15, 1, 0, 0, 0, 124, 129, 3, 18, 9, 0, 125, 126, 5, 10, 0, 0, 126, 128, 3, 18, 9, 0, 127, 125, 1, 0, 0, 0, 128, 131, 1, 0, 0, 0, 129, 127, 1, 0, 0, 0, 129, 130, 1, 0, 0, 0, 130, 17, 1, 0, 0, 0, 131, 129, 1, 0, 0, 0, 132, 133, 3, 8, 4, 0, 133, 134, 3, 58, 29, 0, 134, 19, 1, 0, 0, 0, 135, 139, 5, 2, 0, 0, 136, 138, 3, 28, 14, 0, 137, 136, 1, 0, 0, 0, 138, 141, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 143, 1, 0, 0, 0, 141, 139, 1, 0, 0, 0, 142, 144, 3, 26, 13, 0, 143, 142, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 145, 1, 0, 0, 0, 145, 146, 5, 3, 0, 0, 146, 21, 1, 0, 0, 0, 147, 148, 3, 8, 4, 0, 148, 149, 3, 58, 29, 0, 149, 23, 1, 0, 0, 0, 150, 151, 3, 8, 4, 0, 151, 152, 3, 58, 29, 0, 152, 153, 5, 34, 0, 0, 153, 154, 3, 32, 16, 0, 154, 25, 1, 0, 0, 0, 155, 156, 5, 11, 0, 0, 156, 157, 3, 32, 16, 0, 157, 158, 5, 4, 0, 0, 158, 162, 1, 0, 0, 0, 159, 160, 5, 11, 0, 0, 160, 162, 5, 4, 0, 0, 161, 155, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 27, 1, 0, 0, 0, 163, 207, 3, 52, 26, 0, 164, 165, 5, 12, 0, 0, 165, 168, 5, 5, 0, 0, 166, 169, 3, 40, 20, 0, 167, 169, 3, 24, 12, 0, 168, 166, 1, 0, 0, 0, 168, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 171, 5, 4, 0, 0, 171, 172, 3, 32, 16, 0, 172, 173, 5, 4, 0, 0, 173, 174, 3, 40, 20, 0, 174, 175, 5, 6, 0, 0, 175, 176, 3, 20, 10, 0, 176, 207, 1, 0, 0, 0, 177, 178, 5, 13, 0, 0, 178, 179, 5, 5, 0, 0, 179, 180, 3, 32, 16, 0, 180, 181, 5, 6, 0, 0, 181, 182, 3, 20, 10, 0, 182, 207, 1, 0, 0, 0, 183, 184, 5, 14, 0, 0, 184, 185, 3, 20, 10, 0, 185, 186, 5, 13, 0, 0, 186, 187, 5, 5, 0, 0, 187, 188, 3, 32, 16, 0, 188, 190, 5, 6, 0, 0, 189, 191, 5, 4, 0, 0, 190, 189, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 207, 1, 0, 0, 0, 192, 193, 5, 15, 0, 0, 193, 207, 5, 4, 0, 0, 194, 195, 3, 22, 11, 0, 195, 196, 5, 4, 0, 0, 196, 207, 1, 0, 0, 0, 197, 198, 3, 24, 12, 0, 198, 199, 5, 4, 0, 0, 199, 207, 1, 0, 0, 0, 200, 201, 3, 40, 20, 0, 201, 202, 5, 4, 0, 0, 202, 207, 1, 0, 0, 0, 203, 204, 3, 30, 15, 0, 204, 205, 5, 4, 0, 0, 205, 207, 1, 0, 0, 0, 206, 163, 1, 0, 0, 0, 206, 164, 1, 0, 0, 0, 206, 177, 1, 0, 0, 0, 206, 183, 1, 0, 0, 0, 206, 192, 1, 0, 0, 0, 206, 194, 1, 0, 0, 0, 206, 197, 1, 0, 0, 0, 206, 200, 1, 0, 0, 0, 206, 203, 1, 0, 0, 0, 207, 29, 1, 0, 0, 0, 208, 211, 3, 42, 21, 0, 209, 211, 3, 44, 22, 0, 210, 208, 1, 0, 0, 0, 210, 209, 1, 0, 0, 0, 211, 31, 1, 0, 0, 0, 212, 213, 6, 16, -1, 0, 213, 214, 3, 36, 18, 0, 214, 215, 3, 32, 16, 5, 215, 224, 1, 0, 0, 0, 216, 224, 3, 56, 28, 0, 217, 218, 5, 5, 0, 0, 218, 219, 3, 32, 16, 0, 219, 220, 5, 6, 0, 0, 220, 224, 1, 0, 0, 0, 221, 224, 3, 38, 19, 0, 222, 224, 3, 30, 15, 0, 223, 212, 1, 0, 0, 0, 223, 216, 1, 0, 0, 0, 223, 217, 1, 0, 0, 0, 223, 221, 1, 0, 0, 0, 223, 222, 1, 0, 0, 0, 224, 231, 1, 0, 0, 0, 225, 226, 10, 6, 0, 0, 226, 227, 3, 34, 17, 0, 227, 228, 3, 32, 16, 7, 228, 230, 1, 0, 0, 0, 229, 225, 1, 0, 0, 0, 230, 233, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 33, 1, 0, 0, 0, 233, 231, 1, 0, 0, 0, 234, 235, 7, 1, 0, 0, 235, 35, 1, 0, 0, 0, 236, 237, 7, 2, 0, 0, 237, 37, 1, 0, 0, 0, 238, 239, 5, 20, 0, 0, 239, 244, 5, 16, 0, 0, 240, 241, 3, 44, 22, 0, 241, 242, 5, 16, 0, 0, 242, 244, 1, 0, 0, 0, 243, 238, 1, 0, 0, 0, 243, 240, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 250, 1, 0, 0, 0, 245, 246, 3, 46, 23, 0, 246, 247, 5, 16, 0, 0, 247, 249, 1, 0, 0, 0, 248, 245, 1, 0, 0, 0, 249, 252, 1, 0, 0, 0, 250, 248, 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 253, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 253, 254, 3, 58, 29, 0, 254, 39, 1, 0, 0, 0, 255, 256, 3, 38, 19, 0, 256, 257, 3, 4, 2, 0, 257, 258, 3, 32, 16, 0, 258, 41, 1, 0, 0, 0, 259, 260, 5, 20, 0, 0, 260, 265, 5, 16, 0, 0, 261, 262, 3, 44, 22, 0, 262, 263, 5, 16, 0, 0, 263, 265, 1, 0, 0, 0, 264, 259, 1, 0, 0, 0, 264, 261, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 271, 1, 0, 0, 0, 266, 267, 3, 46, 23, 0, 267, 268, 5, 16, 0, 0, 268, 270, 1, 0, 0, 0, 269, 266, 1, 0, 0, 0, 270, 273, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 274, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 274, 275, 3, 48, 24, 0, 275, 43, 1, 0, 0, 0, 276, 277, 5, 18, 0, 0, 277, 278, 3, 8, 4, 0, 278, 280, 5, 5, 0, 0, 279, 281, 3, 50, 25, 0, 280, 279, 1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282, 283, 5, 6, 0, 0, 283, 45, 1, 0, 0, 0, 284, 287, 3, 48, 24, 0, 285, 287, 3, 58, 29, 0, 286, 284, 1, 0, 0, 0, 286, 285, 1, 0, 0, 0, 287, 47, 1, 0, 0, 0, 288, 289, 3, 58, 29, 0, 289, 291, 5, 5, 0, 0, 290, 292, 3, 50, 25, 0, 291, 290, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 294, 5, 6, 0, 0, 294, 49, 1, 0, 0, 0, 295, 300, 3, 32, 16, 0, 296, 297, 5, 10, 0, 0, 297, 299, 3, 32, 16, 0, 298, 296, 1, 0, 0, 0, 299, 302, 1, 0, 0, 0, 300, 298, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 51, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 303, 304, 5, 21, 0, 0, 304, 305, 5, 5, 0, 0, 305, 306, 3, 32, 16, 0, 306, 307, 5, 6, 0, 0, 307, 311, 3, 20, 10, 0, 308, 310, 3, 54, 27, 0, 309, 308, 1, 0, 0, 0, 310, 313, 1, 0, 0, 0, 311, 309, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 316, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 314, 315, 5, 22, 0, 0, 315, 317, 3, 20, 10, 0, 316, 314, 1, 0, 0, 0, 316, 317, 1, 0, 0, 0, 317, 53, 1, 0, 0, 0, 318, 319, 5, 22, 0, 0, 319, 320, 5, 21, 0, 0, 320, 321, 5, 5, 0, 0, 321, 322, 3, 32, 16, 0, 322, 323, 5, 6, 0, 0, 323, 324, 3, 20, 10, 0, 324, 55, 1, 0, 0, 0, 325, 326, 7, 3, 0, 0, 326, 57, 1, 0, 0, 0, 327, 328, 5, 45, 0, 0, 328, 59, 1, 0, 0, 0, 28, 65, 70, 72, 78, 88, 94, 101, 119, 129, 139, 143, 161, 168, 190, 206, 210, 223, 231, 243, 250, 264, 271, 280, 286, 291, 300, 311, 316] \ No newline at end of file +[4, 1, 50, 332, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 66, 8, 0, 1, 0, 1, 0, 1, 0, 5, 0, 71, 8, 0, 10, 0, 12, 0, 74, 9, 0, 1, 0, 1, 0, 1, 1, 3, 1, 79, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 3, 3, 89, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 95, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 102, 8, 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, 7, 1, 7, 1, 7, 1, 7, 3, 7, 120, 8, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 5, 8, 128, 8, 8, 10, 8, 12, 8, 131, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 5, 10, 138, 8, 10, 10, 10, 12, 10, 141, 9, 10, 1, 10, 3, 10, 144, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 162, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 169, 8, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 191, 8, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 209, 8, 14, 1, 15, 1, 15, 3, 15, 213, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 226, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 232, 8, 16, 10, 16, 12, 16, 235, 9, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 246, 8, 19, 1, 19, 1, 19, 1, 19, 5, 19, 251, 8, 19, 10, 19, 12, 19, 254, 9, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 267, 8, 21, 1, 21, 1, 21, 1, 21, 5, 21, 272, 8, 21, 10, 21, 12, 21, 275, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 283, 8, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 289, 8, 23, 1, 24, 1, 24, 1, 24, 3, 24, 294, 8, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 5, 25, 301, 8, 25, 10, 25, 12, 25, 304, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 312, 8, 26, 10, 26, 12, 26, 315, 9, 26, 1, 26, 1, 26, 3, 26, 319, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 0, 1, 32, 30, 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, 0, 4, 1, 0, 35, 38, 1, 0, 24, 34, 2, 0, 24, 24, 39, 39, 2, 0, 44, 45, 47, 47, 345, 0, 60, 1, 0, 0, 0, 2, 78, 1, 0, 0, 0, 4, 84, 1, 0, 0, 0, 6, 88, 1, 0, 0, 0, 8, 94, 1, 0, 0, 0, 10, 96, 1, 0, 0, 0, 12, 106, 1, 0, 0, 0, 14, 115, 1, 0, 0, 0, 16, 124, 1, 0, 0, 0, 18, 132, 1, 0, 0, 0, 20, 135, 1, 0, 0, 0, 22, 147, 1, 0, 0, 0, 24, 150, 1, 0, 0, 0, 26, 161, 1, 0, 0, 0, 28, 208, 1, 0, 0, 0, 30, 212, 1, 0, 0, 0, 32, 225, 1, 0, 0, 0, 34, 236, 1, 0, 0, 0, 36, 238, 1, 0, 0, 0, 38, 245, 1, 0, 0, 0, 40, 257, 1, 0, 0, 0, 42, 266, 1, 0, 0, 0, 44, 278, 1, 0, 0, 0, 46, 288, 1, 0, 0, 0, 48, 290, 1, 0, 0, 0, 50, 297, 1, 0, 0, 0, 52, 305, 1, 0, 0, 0, 54, 320, 1, 0, 0, 0, 56, 327, 1, 0, 0, 0, 58, 329, 1, 0, 0, 0, 60, 61, 5, 18, 0, 0, 61, 62, 5, 1, 0, 0, 62, 63, 3, 58, 29, 0, 63, 65, 5, 2, 0, 0, 64, 66, 3, 12, 6, 0, 65, 64, 1, 0, 0, 0, 65, 66, 1, 0, 0, 0, 66, 72, 1, 0, 0, 0, 67, 71, 3, 2, 1, 0, 68, 71, 3, 10, 5, 0, 69, 71, 3, 14, 7, 0, 70, 67, 1, 0, 0, 0, 70, 68, 1, 0, 0, 0, 70, 69, 1, 0, 0, 0, 71, 74, 1, 0, 0, 0, 72, 70, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 75, 1, 0, 0, 0, 74, 72, 1, 0, 0, 0, 75, 76, 5, 3, 0, 0, 76, 1, 1, 0, 0, 0, 77, 79, 5, 18, 0, 0, 78, 77, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 80, 1, 0, 0, 0, 80, 81, 3, 8, 4, 0, 81, 82, 3, 58, 29, 0, 82, 83, 5, 4, 0, 0, 83, 3, 1, 0, 0, 0, 84, 85, 7, 0, 0, 0, 85, 5, 1, 0, 0, 0, 86, 89, 3, 8, 4, 0, 87, 89, 5, 42, 0, 0, 88, 86, 1, 0, 0, 0, 88, 87, 1, 0, 0, 0, 89, 7, 1, 0, 0, 0, 90, 95, 5, 40, 0, 0, 91, 95, 5, 41, 0, 0, 92, 95, 5, 43, 0, 0, 93, 95, 3, 58, 29, 0, 94, 90, 1, 0, 0, 0, 94, 91, 1, 0, 0, 0, 94, 92, 1, 0, 0, 0, 94, 93, 1, 0, 0, 0, 95, 9, 1, 0, 0, 0, 96, 97, 5, 18, 0, 0, 97, 98, 3, 6, 3, 0, 98, 99, 3, 58, 29, 0, 99, 101, 5, 5, 0, 0, 100, 102, 3, 16, 8, 0, 101, 100, 1, 0, 0, 0, 101, 102, 1, 0, 0, 0, 102, 103, 1, 0, 0, 0, 103, 104, 5, 6, 0, 0, 104, 105, 3, 20, 10, 0, 105, 11, 1, 0, 0, 0, 106, 107, 5, 18, 0, 0, 107, 108, 5, 7, 0, 0, 108, 109, 5, 42, 0, 0, 109, 110, 5, 8, 0, 0, 110, 111, 5, 5, 0, 0, 111, 112, 5, 9, 0, 0, 112, 113, 5, 6, 0, 0, 113, 114, 3, 20, 10, 0, 114, 13, 1, 0, 0, 0, 115, 116, 5, 18, 0, 0, 116, 117, 3, 58, 29, 0, 117, 119, 5, 5, 0, 0, 118, 120, 3, 16, 8, 0, 119, 118, 1, 0, 0, 0, 119, 120, 1, 0, 0, 0, 120, 121, 1, 0, 0, 0, 121, 122, 5, 6, 0, 0, 122, 123, 3, 20, 10, 0, 123, 15, 1, 0, 0, 0, 124, 129, 3, 18, 9, 0, 125, 126, 5, 10, 0, 0, 126, 128, 3, 18, 9, 0, 127, 125, 1, 0, 0, 0, 128, 131, 1, 0, 0, 0, 129, 127, 1, 0, 0, 0, 129, 130, 1, 0, 0, 0, 130, 17, 1, 0, 0, 0, 131, 129, 1, 0, 0, 0, 132, 133, 3, 8, 4, 0, 133, 134, 3, 58, 29, 0, 134, 19, 1, 0, 0, 0, 135, 139, 5, 2, 0, 0, 136, 138, 3, 28, 14, 0, 137, 136, 1, 0, 0, 0, 138, 141, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 143, 1, 0, 0, 0, 141, 139, 1, 0, 0, 0, 142, 144, 3, 26, 13, 0, 143, 142, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 145, 1, 0, 0, 0, 145, 146, 5, 3, 0, 0, 146, 21, 1, 0, 0, 0, 147, 148, 3, 8, 4, 0, 148, 149, 3, 58, 29, 0, 149, 23, 1, 0, 0, 0, 150, 151, 3, 8, 4, 0, 151, 152, 3, 58, 29, 0, 152, 153, 5, 35, 0, 0, 153, 154, 3, 32, 16, 0, 154, 25, 1, 0, 0, 0, 155, 156, 5, 11, 0, 0, 156, 157, 3, 32, 16, 0, 157, 158, 5, 4, 0, 0, 158, 162, 1, 0, 0, 0, 159, 160, 5, 11, 0, 0, 160, 162, 5, 4, 0, 0, 161, 155, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 27, 1, 0, 0, 0, 163, 209, 3, 52, 26, 0, 164, 165, 5, 12, 0, 0, 165, 168, 5, 5, 0, 0, 166, 169, 3, 40, 20, 0, 167, 169, 3, 24, 12, 0, 168, 166, 1, 0, 0, 0, 168, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 171, 5, 4, 0, 0, 171, 172, 3, 32, 16, 0, 172, 173, 5, 4, 0, 0, 173, 174, 3, 40, 20, 0, 174, 175, 5, 6, 0, 0, 175, 176, 3, 20, 10, 0, 176, 209, 1, 0, 0, 0, 177, 178, 5, 13, 0, 0, 178, 179, 5, 5, 0, 0, 179, 180, 3, 32, 16, 0, 180, 181, 5, 6, 0, 0, 181, 182, 3, 20, 10, 0, 182, 209, 1, 0, 0, 0, 183, 184, 5, 14, 0, 0, 184, 185, 3, 20, 10, 0, 185, 186, 5, 13, 0, 0, 186, 187, 5, 5, 0, 0, 187, 188, 3, 32, 16, 0, 188, 190, 5, 6, 0, 0, 189, 191, 5, 4, 0, 0, 190, 189, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 209, 1, 0, 0, 0, 192, 193, 5, 15, 0, 0, 193, 209, 5, 4, 0, 0, 194, 195, 5, 16, 0, 0, 195, 209, 5, 4, 0, 0, 196, 197, 3, 22, 11, 0, 197, 198, 5, 4, 0, 0, 198, 209, 1, 0, 0, 0, 199, 200, 3, 24, 12, 0, 200, 201, 5, 4, 0, 0, 201, 209, 1, 0, 0, 0, 202, 203, 3, 40, 20, 0, 203, 204, 5, 4, 0, 0, 204, 209, 1, 0, 0, 0, 205, 206, 3, 30, 15, 0, 206, 207, 5, 4, 0, 0, 207, 209, 1, 0, 0, 0, 208, 163, 1, 0, 0, 0, 208, 164, 1, 0, 0, 0, 208, 177, 1, 0, 0, 0, 208, 183, 1, 0, 0, 0, 208, 192, 1, 0, 0, 0, 208, 194, 1, 0, 0, 0, 208, 196, 1, 0, 0, 0, 208, 199, 1, 0, 0, 0, 208, 202, 1, 0, 0, 0, 208, 205, 1, 0, 0, 0, 209, 29, 1, 0, 0, 0, 210, 213, 3, 42, 21, 0, 211, 213, 3, 44, 22, 0, 212, 210, 1, 0, 0, 0, 212, 211, 1, 0, 0, 0, 213, 31, 1, 0, 0, 0, 214, 215, 6, 16, -1, 0, 215, 216, 3, 36, 18, 0, 216, 217, 3, 32, 16, 5, 217, 226, 1, 0, 0, 0, 218, 226, 3, 56, 28, 0, 219, 220, 5, 5, 0, 0, 220, 221, 3, 32, 16, 0, 221, 222, 5, 6, 0, 0, 222, 226, 1, 0, 0, 0, 223, 226, 3, 38, 19, 0, 224, 226, 3, 30, 15, 0, 225, 214, 1, 0, 0, 0, 225, 218, 1, 0, 0, 0, 225, 219, 1, 0, 0, 0, 225, 223, 1, 0, 0, 0, 225, 224, 1, 0, 0, 0, 226, 233, 1, 0, 0, 0, 227, 228, 10, 6, 0, 0, 228, 229, 3, 34, 17, 0, 229, 230, 3, 32, 16, 7, 230, 232, 1, 0, 0, 0, 231, 227, 1, 0, 0, 0, 232, 235, 1, 0, 0, 0, 233, 231, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 33, 1, 0, 0, 0, 235, 233, 1, 0, 0, 0, 236, 237, 7, 1, 0, 0, 237, 35, 1, 0, 0, 0, 238, 239, 7, 2, 0, 0, 239, 37, 1, 0, 0, 0, 240, 241, 5, 21, 0, 0, 241, 246, 5, 17, 0, 0, 242, 243, 3, 44, 22, 0, 243, 244, 5, 17, 0, 0, 244, 246, 1, 0, 0, 0, 245, 240, 1, 0, 0, 0, 245, 242, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 252, 1, 0, 0, 0, 247, 248, 3, 46, 23, 0, 248, 249, 5, 17, 0, 0, 249, 251, 1, 0, 0, 0, 250, 247, 1, 0, 0, 0, 251, 254, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 255, 1, 0, 0, 0, 254, 252, 1, 0, 0, 0, 255, 256, 3, 58, 29, 0, 256, 39, 1, 0, 0, 0, 257, 258, 3, 38, 19, 0, 258, 259, 3, 4, 2, 0, 259, 260, 3, 32, 16, 0, 260, 41, 1, 0, 0, 0, 261, 262, 5, 21, 0, 0, 262, 267, 5, 17, 0, 0, 263, 264, 3, 44, 22, 0, 264, 265, 5, 17, 0, 0, 265, 267, 1, 0, 0, 0, 266, 261, 1, 0, 0, 0, 266, 263, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 273, 1, 0, 0, 0, 268, 269, 3, 46, 23, 0, 269, 270, 5, 17, 0, 0, 270, 272, 1, 0, 0, 0, 271, 268, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 276, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 276, 277, 3, 48, 24, 0, 277, 43, 1, 0, 0, 0, 278, 279, 5, 19, 0, 0, 279, 280, 3, 8, 4, 0, 280, 282, 5, 5, 0, 0, 281, 283, 3, 50, 25, 0, 282, 281, 1, 0, 0, 0, 282, 283, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 285, 5, 6, 0, 0, 285, 45, 1, 0, 0, 0, 286, 289, 3, 48, 24, 0, 287, 289, 3, 58, 29, 0, 288, 286, 1, 0, 0, 0, 288, 287, 1, 0, 0, 0, 289, 47, 1, 0, 0, 0, 290, 291, 3, 58, 29, 0, 291, 293, 5, 5, 0, 0, 292, 294, 3, 50, 25, 0, 293, 292, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 296, 5, 6, 0, 0, 296, 49, 1, 0, 0, 0, 297, 302, 3, 32, 16, 0, 298, 299, 5, 10, 0, 0, 299, 301, 3, 32, 16, 0, 300, 298, 1, 0, 0, 0, 301, 304, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 51, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 306, 5, 22, 0, 0, 306, 307, 5, 5, 0, 0, 307, 308, 3, 32, 16, 0, 308, 309, 5, 6, 0, 0, 309, 313, 3, 20, 10, 0, 310, 312, 3, 54, 27, 0, 311, 310, 1, 0, 0, 0, 312, 315, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 318, 1, 0, 0, 0, 315, 313, 1, 0, 0, 0, 316, 317, 5, 23, 0, 0, 317, 319, 3, 20, 10, 0, 318, 316, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 53, 1, 0, 0, 0, 320, 321, 5, 23, 0, 0, 321, 322, 5, 22, 0, 0, 322, 323, 5, 5, 0, 0, 323, 324, 3, 32, 16, 0, 324, 325, 5, 6, 0, 0, 325, 326, 3, 20, 10, 0, 326, 55, 1, 0, 0, 0, 327, 328, 7, 3, 0, 0, 328, 57, 1, 0, 0, 0, 329, 330, 5, 46, 0, 0, 330, 59, 1, 0, 0, 0, 28, 65, 70, 72, 78, 88, 94, 101, 119, 129, 139, 143, 161, 168, 190, 208, 212, 225, 233, 245, 252, 266, 273, 282, 288, 293, 302, 313, 318] \ No newline at end of file diff --git a/src/main/java/de/maishai/antlr/Decaf.tokens b/src/main/java/de/maishai/antlr/Decaf.tokens index 5b42434..998577d 100644 --- a/src/main/java/de/maishai/antlr/Decaf.tokens +++ b/src/main/java/de/maishai/antlr/Decaf.tokens @@ -14,39 +14,40 @@ T__12=13 T__13=14 T__14=15 T__15=16 -PUBLIC=17 -NEW=18 -NULL=19 -THIS=20 -IF=21 -ELSE=22 -SUB=23 -ADD=24 -MUL=25 -GT=26 -LT=27 -GE=28 -LE=29 -EQ=30 -NE=31 -AND=32 -OR=33 -ASSIGN=34 -ADD_ASSIGN=35 -SUB_ASSIGN=36 -MUL_ASSIGN=37 -NOT=38 -INT=39 -BOOL=40 -VOID=41 -CHAR=42 -BOOLEANLITERAL=43 -CHARLITERAL=44 -IDENTIFIER=45 -NUMBER=46 -WS=47 -COMMENT=48 -LINE_COMMENT=49 +T__16=17 +PUBLIC=18 +NEW=19 +NULL=20 +THIS=21 +IF=22 +ELSE=23 +SUB=24 +ADD=25 +MUL=26 +GT=27 +LT=28 +GE=29 +LE=30 +EQ=31 +NE=32 +AND=33 +OR=34 +ASSIGN=35 +ADD_ASSIGN=36 +SUB_ASSIGN=37 +MUL_ASSIGN=38 +NOT=39 +INT=40 +BOOL=41 +VOID=42 +CHAR=43 +BOOLEANLITERAL=44 +CHARLITERAL=45 +IDENTIFIER=46 +NUMBER=47 +WS=48 +COMMENT=49 +LINE_COMMENT=50 'class'=1 '{'=2 '}'=3 @@ -62,30 +63,31 @@ LINE_COMMENT=49 'while'=13 'do'=14 'break'=15 -'.'=16 -'public'=17 -'new'=18 -'null'=19 -'this'=20 -'if'=21 -'else'=22 -'-'=23 -'+'=24 -'*'=25 -'>'=26 -'<'=27 -'>='=28 -'<='=29 -'=='=30 -'!='=31 -'&&'=32 -'||'=33 -'='=34 -'+='=35 -'-='=36 -'*='=37 -'!'=38 -'int'=39 -'boolean'=40 -'void'=41 -'char'=42 +'continue'=16 +'.'=17 +'public'=18 +'new'=19 +'null'=20 +'this'=21 +'if'=22 +'else'=23 +'-'=24 +'+'=25 +'*'=26 +'>'=27 +'<'=28 +'>='=29 +'<='=30 +'=='=31 +'!='=32 +'&&'=33 +'||'=34 +'='=35 +'+='=36 +'-='=37 +'*='=38 +'!'=39 +'int'=40 +'boolean'=41 +'void'=42 +'char'=43 diff --git a/src/main/java/de/maishai/antlr/DecafBaseListener.java b/src/main/java/de/maishai/antlr/DecafBaseListener.java index a287f31..16fc050 100644 --- a/src/main/java/de/maishai/antlr/DecafBaseListener.java +++ b/src/main/java/de/maishai/antlr/DecafBaseListener.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.ParserRuleContext; @@ -240,6 +240,18 @@ public class DecafBaseListener implements DecafListener { *

The default implementation does nothing.

*/ @Override public void exitBreak(DecafParser.BreakContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterContinue(DecafParser.ContinueContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitContinue(DecafParser.ContinueContext ctx) { } /** * {@inheritDoc} * diff --git a/src/main/java/de/maishai/antlr/DecafBaseVisitor.java b/src/main/java/de/maishai/antlr/DecafBaseVisitor.java index a162beb..3d88593 100644 --- a/src/main/java/de/maishai/antlr/DecafBaseVisitor.java +++ b/src/main/java/de/maishai/antlr/DecafBaseVisitor.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; @@ -145,6 +145,13 @@ public class DecafBaseVisitor extends AbstractParseTreeVisitor implements * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitBreak(DecafParser.BreakContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitContinue(DecafParser.ContinueContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/src/main/java/de/maishai/antlr/DecafLexer.interp b/src/main/java/de/maishai/antlr/DecafLexer.interp index 74b236d..4fbcf65 100644 --- a/src/main/java/de/maishai/antlr/DecafLexer.interp +++ b/src/main/java/de/maishai/antlr/DecafLexer.interp @@ -15,6 +15,7 @@ null 'while' 'do' 'break' +'continue' '.' 'public' 'new' @@ -68,6 +69,7 @@ null null null null +null PUBLIC NEW NULL @@ -119,6 +121,7 @@ T__12 T__13 T__14 T__15 +T__16 PUBLIC NEW NULL @@ -161,4 +164,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 49, 327, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 273, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 4, 44, 280, 8, 44, 11, 44, 12, 44, 281, 1, 44, 5, 44, 285, 8, 44, 10, 44, 12, 44, 288, 9, 44, 4, 44, 290, 8, 44, 11, 44, 12, 44, 291, 1, 45, 4, 45, 295, 8, 45, 11, 45, 12, 45, 296, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 307, 8, 47, 10, 47, 12, 47, 310, 9, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 321, 8, 48, 10, 48, 12, 48, 324, 9, 48, 1, 48, 1, 48, 1, 308, 0, 49, 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, 1, 0, 5, 1, 0, 39, 39, 2, 0, 65, 90, 97, 122, 1, 0, 48, 57, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 10, 10, 13, 13, 333, 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, 1, 99, 1, 0, 0, 0, 3, 105, 1, 0, 0, 0, 5, 107, 1, 0, 0, 0, 7, 109, 1, 0, 0, 0, 9, 111, 1, 0, 0, 0, 11, 113, 1, 0, 0, 0, 13, 115, 1, 0, 0, 0, 15, 122, 1, 0, 0, 0, 17, 127, 1, 0, 0, 0, 19, 141, 1, 0, 0, 0, 21, 143, 1, 0, 0, 0, 23, 150, 1, 0, 0, 0, 25, 154, 1, 0, 0, 0, 27, 160, 1, 0, 0, 0, 29, 163, 1, 0, 0, 0, 31, 169, 1, 0, 0, 0, 33, 171, 1, 0, 0, 0, 35, 178, 1, 0, 0, 0, 37, 182, 1, 0, 0, 0, 39, 187, 1, 0, 0, 0, 41, 192, 1, 0, 0, 0, 43, 195, 1, 0, 0, 0, 45, 200, 1, 0, 0, 0, 47, 202, 1, 0, 0, 0, 49, 204, 1, 0, 0, 0, 51, 206, 1, 0, 0, 0, 53, 208, 1, 0, 0, 0, 55, 210, 1, 0, 0, 0, 57, 213, 1, 0, 0, 0, 59, 216, 1, 0, 0, 0, 61, 219, 1, 0, 0, 0, 63, 222, 1, 0, 0, 0, 65, 225, 1, 0, 0, 0, 67, 228, 1, 0, 0, 0, 69, 230, 1, 0, 0, 0, 71, 233, 1, 0, 0, 0, 73, 236, 1, 0, 0, 0, 75, 239, 1, 0, 0, 0, 77, 241, 1, 0, 0, 0, 79, 245, 1, 0, 0, 0, 81, 253, 1, 0, 0, 0, 83, 258, 1, 0, 0, 0, 85, 272, 1, 0, 0, 0, 87, 274, 1, 0, 0, 0, 89, 289, 1, 0, 0, 0, 91, 294, 1, 0, 0, 0, 93, 298, 1, 0, 0, 0, 95, 302, 1, 0, 0, 0, 97, 316, 1, 0, 0, 0, 99, 100, 5, 99, 0, 0, 100, 101, 5, 108, 0, 0, 101, 102, 5, 97, 0, 0, 102, 103, 5, 115, 0, 0, 103, 104, 5, 115, 0, 0, 104, 2, 1, 0, 0, 0, 105, 106, 5, 123, 0, 0, 106, 4, 1, 0, 0, 0, 107, 108, 5, 125, 0, 0, 108, 6, 1, 0, 0, 0, 109, 110, 5, 59, 0, 0, 110, 8, 1, 0, 0, 0, 111, 112, 5, 40, 0, 0, 112, 10, 1, 0, 0, 0, 113, 114, 5, 41, 0, 0, 114, 12, 1, 0, 0, 0, 115, 116, 5, 115, 0, 0, 116, 117, 5, 116, 0, 0, 117, 118, 5, 97, 0, 0, 118, 119, 5, 116, 0, 0, 119, 120, 5, 105, 0, 0, 120, 121, 5, 99, 0, 0, 121, 14, 1, 0, 0, 0, 122, 123, 5, 109, 0, 0, 123, 124, 5, 97, 0, 0, 124, 125, 5, 105, 0, 0, 125, 126, 5, 110, 0, 0, 126, 16, 1, 0, 0, 0, 127, 128, 5, 83, 0, 0, 128, 129, 5, 116, 0, 0, 129, 130, 5, 114, 0, 0, 130, 131, 5, 105, 0, 0, 131, 132, 5, 110, 0, 0, 132, 133, 5, 103, 0, 0, 133, 134, 5, 91, 0, 0, 134, 135, 5, 93, 0, 0, 135, 136, 5, 32, 0, 0, 136, 137, 5, 97, 0, 0, 137, 138, 5, 114, 0, 0, 138, 139, 5, 103, 0, 0, 139, 140, 5, 115, 0, 0, 140, 18, 1, 0, 0, 0, 141, 142, 5, 44, 0, 0, 142, 20, 1, 0, 0, 0, 143, 144, 5, 114, 0, 0, 144, 145, 5, 101, 0, 0, 145, 146, 5, 116, 0, 0, 146, 147, 5, 117, 0, 0, 147, 148, 5, 114, 0, 0, 148, 149, 5, 110, 0, 0, 149, 22, 1, 0, 0, 0, 150, 151, 5, 102, 0, 0, 151, 152, 5, 111, 0, 0, 152, 153, 5, 114, 0, 0, 153, 24, 1, 0, 0, 0, 154, 155, 5, 119, 0, 0, 155, 156, 5, 104, 0, 0, 156, 157, 5, 105, 0, 0, 157, 158, 5, 108, 0, 0, 158, 159, 5, 101, 0, 0, 159, 26, 1, 0, 0, 0, 160, 161, 5, 100, 0, 0, 161, 162, 5, 111, 0, 0, 162, 28, 1, 0, 0, 0, 163, 164, 5, 98, 0, 0, 164, 165, 5, 114, 0, 0, 165, 166, 5, 101, 0, 0, 166, 167, 5, 97, 0, 0, 167, 168, 5, 107, 0, 0, 168, 30, 1, 0, 0, 0, 169, 170, 5, 46, 0, 0, 170, 32, 1, 0, 0, 0, 171, 172, 5, 112, 0, 0, 172, 173, 5, 117, 0, 0, 173, 174, 5, 98, 0, 0, 174, 175, 5, 108, 0, 0, 175, 176, 5, 105, 0, 0, 176, 177, 5, 99, 0, 0, 177, 34, 1, 0, 0, 0, 178, 179, 5, 110, 0, 0, 179, 180, 5, 101, 0, 0, 180, 181, 5, 119, 0, 0, 181, 36, 1, 0, 0, 0, 182, 183, 5, 110, 0, 0, 183, 184, 5, 117, 0, 0, 184, 185, 5, 108, 0, 0, 185, 186, 5, 108, 0, 0, 186, 38, 1, 0, 0, 0, 187, 188, 5, 116, 0, 0, 188, 189, 5, 104, 0, 0, 189, 190, 5, 105, 0, 0, 190, 191, 5, 115, 0, 0, 191, 40, 1, 0, 0, 0, 192, 193, 5, 105, 0, 0, 193, 194, 5, 102, 0, 0, 194, 42, 1, 0, 0, 0, 195, 196, 5, 101, 0, 0, 196, 197, 5, 108, 0, 0, 197, 198, 5, 115, 0, 0, 198, 199, 5, 101, 0, 0, 199, 44, 1, 0, 0, 0, 200, 201, 5, 45, 0, 0, 201, 46, 1, 0, 0, 0, 202, 203, 5, 43, 0, 0, 203, 48, 1, 0, 0, 0, 204, 205, 5, 42, 0, 0, 205, 50, 1, 0, 0, 0, 206, 207, 5, 62, 0, 0, 207, 52, 1, 0, 0, 0, 208, 209, 5, 60, 0, 0, 209, 54, 1, 0, 0, 0, 210, 211, 5, 62, 0, 0, 211, 212, 5, 61, 0, 0, 212, 56, 1, 0, 0, 0, 213, 214, 5, 60, 0, 0, 214, 215, 5, 61, 0, 0, 215, 58, 1, 0, 0, 0, 216, 217, 5, 61, 0, 0, 217, 218, 5, 61, 0, 0, 218, 60, 1, 0, 0, 0, 219, 220, 5, 33, 0, 0, 220, 221, 5, 61, 0, 0, 221, 62, 1, 0, 0, 0, 222, 223, 5, 38, 0, 0, 223, 224, 5, 38, 0, 0, 224, 64, 1, 0, 0, 0, 225, 226, 5, 124, 0, 0, 226, 227, 5, 124, 0, 0, 227, 66, 1, 0, 0, 0, 228, 229, 5, 61, 0, 0, 229, 68, 1, 0, 0, 0, 230, 231, 5, 43, 0, 0, 231, 232, 5, 61, 0, 0, 232, 70, 1, 0, 0, 0, 233, 234, 5, 45, 0, 0, 234, 235, 5, 61, 0, 0, 235, 72, 1, 0, 0, 0, 236, 237, 5, 42, 0, 0, 237, 238, 5, 61, 0, 0, 238, 74, 1, 0, 0, 0, 239, 240, 5, 33, 0, 0, 240, 76, 1, 0, 0, 0, 241, 242, 5, 105, 0, 0, 242, 243, 5, 110, 0, 0, 243, 244, 5, 116, 0, 0, 244, 78, 1, 0, 0, 0, 245, 246, 5, 98, 0, 0, 246, 247, 5, 111, 0, 0, 247, 248, 5, 111, 0, 0, 248, 249, 5, 108, 0, 0, 249, 250, 5, 101, 0, 0, 250, 251, 5, 97, 0, 0, 251, 252, 5, 110, 0, 0, 252, 80, 1, 0, 0, 0, 253, 254, 5, 118, 0, 0, 254, 255, 5, 111, 0, 0, 255, 256, 5, 105, 0, 0, 256, 257, 5, 100, 0, 0, 257, 82, 1, 0, 0, 0, 258, 259, 5, 99, 0, 0, 259, 260, 5, 104, 0, 0, 260, 261, 5, 97, 0, 0, 261, 262, 5, 114, 0, 0, 262, 84, 1, 0, 0, 0, 263, 264, 5, 116, 0, 0, 264, 265, 5, 114, 0, 0, 265, 266, 5, 117, 0, 0, 266, 273, 5, 101, 0, 0, 267, 268, 5, 102, 0, 0, 268, 269, 5, 97, 0, 0, 269, 270, 5, 108, 0, 0, 270, 271, 5, 115, 0, 0, 271, 273, 5, 101, 0, 0, 272, 263, 1, 0, 0, 0, 272, 267, 1, 0, 0, 0, 273, 86, 1, 0, 0, 0, 274, 275, 7, 0, 0, 0, 275, 276, 7, 1, 0, 0, 276, 277, 7, 0, 0, 0, 277, 88, 1, 0, 0, 0, 278, 280, 7, 1, 0, 0, 279, 278, 1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 279, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282, 286, 1, 0, 0, 0, 283, 285, 7, 2, 0, 0, 284, 283, 1, 0, 0, 0, 285, 288, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 290, 1, 0, 0, 0, 288, 286, 1, 0, 0, 0, 289, 279, 1, 0, 0, 0, 290, 291, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 90, 1, 0, 0, 0, 293, 295, 7, 2, 0, 0, 294, 293, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 92, 1, 0, 0, 0, 298, 299, 7, 3, 0, 0, 299, 300, 1, 0, 0, 0, 300, 301, 6, 46, 0, 0, 301, 94, 1, 0, 0, 0, 302, 303, 5, 47, 0, 0, 303, 304, 5, 42, 0, 0, 304, 308, 1, 0, 0, 0, 305, 307, 9, 0, 0, 0, 306, 305, 1, 0, 0, 0, 307, 310, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 308, 306, 1, 0, 0, 0, 309, 311, 1, 0, 0, 0, 310, 308, 1, 0, 0, 0, 311, 312, 5, 42, 0, 0, 312, 313, 5, 47, 0, 0, 313, 314, 1, 0, 0, 0, 314, 315, 6, 47, 0, 0, 315, 96, 1, 0, 0, 0, 316, 317, 5, 47, 0, 0, 317, 318, 5, 47, 0, 0, 318, 322, 1, 0, 0, 0, 319, 321, 8, 4, 0, 0, 320, 319, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 320, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 325, 1, 0, 0, 0, 324, 322, 1, 0, 0, 0, 325, 326, 6, 48, 0, 0, 326, 98, 1, 0, 0, 0, 8, 0, 272, 281, 286, 291, 296, 308, 322, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 50, 338, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 284, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 4, 45, 291, 8, 45, 11, 45, 12, 45, 292, 1, 45, 5, 45, 296, 8, 45, 10, 45, 12, 45, 299, 9, 45, 4, 45, 301, 8, 45, 11, 45, 12, 45, 302, 1, 46, 4, 46, 306, 8, 46, 11, 46, 12, 46, 307, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 318, 8, 48, 10, 48, 12, 48, 321, 9, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 332, 8, 49, 10, 49, 12, 49, 335, 9, 49, 1, 49, 1, 49, 1, 319, 0, 50, 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, 1, 0, 5, 1, 0, 39, 39, 2, 0, 65, 90, 97, 122, 1, 0, 48, 57, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 10, 10, 13, 13, 344, 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, 1, 101, 1, 0, 0, 0, 3, 107, 1, 0, 0, 0, 5, 109, 1, 0, 0, 0, 7, 111, 1, 0, 0, 0, 9, 113, 1, 0, 0, 0, 11, 115, 1, 0, 0, 0, 13, 117, 1, 0, 0, 0, 15, 124, 1, 0, 0, 0, 17, 129, 1, 0, 0, 0, 19, 143, 1, 0, 0, 0, 21, 145, 1, 0, 0, 0, 23, 152, 1, 0, 0, 0, 25, 156, 1, 0, 0, 0, 27, 162, 1, 0, 0, 0, 29, 165, 1, 0, 0, 0, 31, 171, 1, 0, 0, 0, 33, 180, 1, 0, 0, 0, 35, 182, 1, 0, 0, 0, 37, 189, 1, 0, 0, 0, 39, 193, 1, 0, 0, 0, 41, 198, 1, 0, 0, 0, 43, 203, 1, 0, 0, 0, 45, 206, 1, 0, 0, 0, 47, 211, 1, 0, 0, 0, 49, 213, 1, 0, 0, 0, 51, 215, 1, 0, 0, 0, 53, 217, 1, 0, 0, 0, 55, 219, 1, 0, 0, 0, 57, 221, 1, 0, 0, 0, 59, 224, 1, 0, 0, 0, 61, 227, 1, 0, 0, 0, 63, 230, 1, 0, 0, 0, 65, 233, 1, 0, 0, 0, 67, 236, 1, 0, 0, 0, 69, 239, 1, 0, 0, 0, 71, 241, 1, 0, 0, 0, 73, 244, 1, 0, 0, 0, 75, 247, 1, 0, 0, 0, 77, 250, 1, 0, 0, 0, 79, 252, 1, 0, 0, 0, 81, 256, 1, 0, 0, 0, 83, 264, 1, 0, 0, 0, 85, 269, 1, 0, 0, 0, 87, 283, 1, 0, 0, 0, 89, 285, 1, 0, 0, 0, 91, 300, 1, 0, 0, 0, 93, 305, 1, 0, 0, 0, 95, 309, 1, 0, 0, 0, 97, 313, 1, 0, 0, 0, 99, 327, 1, 0, 0, 0, 101, 102, 5, 99, 0, 0, 102, 103, 5, 108, 0, 0, 103, 104, 5, 97, 0, 0, 104, 105, 5, 115, 0, 0, 105, 106, 5, 115, 0, 0, 106, 2, 1, 0, 0, 0, 107, 108, 5, 123, 0, 0, 108, 4, 1, 0, 0, 0, 109, 110, 5, 125, 0, 0, 110, 6, 1, 0, 0, 0, 111, 112, 5, 59, 0, 0, 112, 8, 1, 0, 0, 0, 113, 114, 5, 40, 0, 0, 114, 10, 1, 0, 0, 0, 115, 116, 5, 41, 0, 0, 116, 12, 1, 0, 0, 0, 117, 118, 5, 115, 0, 0, 118, 119, 5, 116, 0, 0, 119, 120, 5, 97, 0, 0, 120, 121, 5, 116, 0, 0, 121, 122, 5, 105, 0, 0, 122, 123, 5, 99, 0, 0, 123, 14, 1, 0, 0, 0, 124, 125, 5, 109, 0, 0, 125, 126, 5, 97, 0, 0, 126, 127, 5, 105, 0, 0, 127, 128, 5, 110, 0, 0, 128, 16, 1, 0, 0, 0, 129, 130, 5, 83, 0, 0, 130, 131, 5, 116, 0, 0, 131, 132, 5, 114, 0, 0, 132, 133, 5, 105, 0, 0, 133, 134, 5, 110, 0, 0, 134, 135, 5, 103, 0, 0, 135, 136, 5, 91, 0, 0, 136, 137, 5, 93, 0, 0, 137, 138, 5, 32, 0, 0, 138, 139, 5, 97, 0, 0, 139, 140, 5, 114, 0, 0, 140, 141, 5, 103, 0, 0, 141, 142, 5, 115, 0, 0, 142, 18, 1, 0, 0, 0, 143, 144, 5, 44, 0, 0, 144, 20, 1, 0, 0, 0, 145, 146, 5, 114, 0, 0, 146, 147, 5, 101, 0, 0, 147, 148, 5, 116, 0, 0, 148, 149, 5, 117, 0, 0, 149, 150, 5, 114, 0, 0, 150, 151, 5, 110, 0, 0, 151, 22, 1, 0, 0, 0, 152, 153, 5, 102, 0, 0, 153, 154, 5, 111, 0, 0, 154, 155, 5, 114, 0, 0, 155, 24, 1, 0, 0, 0, 156, 157, 5, 119, 0, 0, 157, 158, 5, 104, 0, 0, 158, 159, 5, 105, 0, 0, 159, 160, 5, 108, 0, 0, 160, 161, 5, 101, 0, 0, 161, 26, 1, 0, 0, 0, 162, 163, 5, 100, 0, 0, 163, 164, 5, 111, 0, 0, 164, 28, 1, 0, 0, 0, 165, 166, 5, 98, 0, 0, 166, 167, 5, 114, 0, 0, 167, 168, 5, 101, 0, 0, 168, 169, 5, 97, 0, 0, 169, 170, 5, 107, 0, 0, 170, 30, 1, 0, 0, 0, 171, 172, 5, 99, 0, 0, 172, 173, 5, 111, 0, 0, 173, 174, 5, 110, 0, 0, 174, 175, 5, 116, 0, 0, 175, 176, 5, 105, 0, 0, 176, 177, 5, 110, 0, 0, 177, 178, 5, 117, 0, 0, 178, 179, 5, 101, 0, 0, 179, 32, 1, 0, 0, 0, 180, 181, 5, 46, 0, 0, 181, 34, 1, 0, 0, 0, 182, 183, 5, 112, 0, 0, 183, 184, 5, 117, 0, 0, 184, 185, 5, 98, 0, 0, 185, 186, 5, 108, 0, 0, 186, 187, 5, 105, 0, 0, 187, 188, 5, 99, 0, 0, 188, 36, 1, 0, 0, 0, 189, 190, 5, 110, 0, 0, 190, 191, 5, 101, 0, 0, 191, 192, 5, 119, 0, 0, 192, 38, 1, 0, 0, 0, 193, 194, 5, 110, 0, 0, 194, 195, 5, 117, 0, 0, 195, 196, 5, 108, 0, 0, 196, 197, 5, 108, 0, 0, 197, 40, 1, 0, 0, 0, 198, 199, 5, 116, 0, 0, 199, 200, 5, 104, 0, 0, 200, 201, 5, 105, 0, 0, 201, 202, 5, 115, 0, 0, 202, 42, 1, 0, 0, 0, 203, 204, 5, 105, 0, 0, 204, 205, 5, 102, 0, 0, 205, 44, 1, 0, 0, 0, 206, 207, 5, 101, 0, 0, 207, 208, 5, 108, 0, 0, 208, 209, 5, 115, 0, 0, 209, 210, 5, 101, 0, 0, 210, 46, 1, 0, 0, 0, 211, 212, 5, 45, 0, 0, 212, 48, 1, 0, 0, 0, 213, 214, 5, 43, 0, 0, 214, 50, 1, 0, 0, 0, 215, 216, 5, 42, 0, 0, 216, 52, 1, 0, 0, 0, 217, 218, 5, 62, 0, 0, 218, 54, 1, 0, 0, 0, 219, 220, 5, 60, 0, 0, 220, 56, 1, 0, 0, 0, 221, 222, 5, 62, 0, 0, 222, 223, 5, 61, 0, 0, 223, 58, 1, 0, 0, 0, 224, 225, 5, 60, 0, 0, 225, 226, 5, 61, 0, 0, 226, 60, 1, 0, 0, 0, 227, 228, 5, 61, 0, 0, 228, 229, 5, 61, 0, 0, 229, 62, 1, 0, 0, 0, 230, 231, 5, 33, 0, 0, 231, 232, 5, 61, 0, 0, 232, 64, 1, 0, 0, 0, 233, 234, 5, 38, 0, 0, 234, 235, 5, 38, 0, 0, 235, 66, 1, 0, 0, 0, 236, 237, 5, 124, 0, 0, 237, 238, 5, 124, 0, 0, 238, 68, 1, 0, 0, 0, 239, 240, 5, 61, 0, 0, 240, 70, 1, 0, 0, 0, 241, 242, 5, 43, 0, 0, 242, 243, 5, 61, 0, 0, 243, 72, 1, 0, 0, 0, 244, 245, 5, 45, 0, 0, 245, 246, 5, 61, 0, 0, 246, 74, 1, 0, 0, 0, 247, 248, 5, 42, 0, 0, 248, 249, 5, 61, 0, 0, 249, 76, 1, 0, 0, 0, 250, 251, 5, 33, 0, 0, 251, 78, 1, 0, 0, 0, 252, 253, 5, 105, 0, 0, 253, 254, 5, 110, 0, 0, 254, 255, 5, 116, 0, 0, 255, 80, 1, 0, 0, 0, 256, 257, 5, 98, 0, 0, 257, 258, 5, 111, 0, 0, 258, 259, 5, 111, 0, 0, 259, 260, 5, 108, 0, 0, 260, 261, 5, 101, 0, 0, 261, 262, 5, 97, 0, 0, 262, 263, 5, 110, 0, 0, 263, 82, 1, 0, 0, 0, 264, 265, 5, 118, 0, 0, 265, 266, 5, 111, 0, 0, 266, 267, 5, 105, 0, 0, 267, 268, 5, 100, 0, 0, 268, 84, 1, 0, 0, 0, 269, 270, 5, 99, 0, 0, 270, 271, 5, 104, 0, 0, 271, 272, 5, 97, 0, 0, 272, 273, 5, 114, 0, 0, 273, 86, 1, 0, 0, 0, 274, 275, 5, 116, 0, 0, 275, 276, 5, 114, 0, 0, 276, 277, 5, 117, 0, 0, 277, 284, 5, 101, 0, 0, 278, 279, 5, 102, 0, 0, 279, 280, 5, 97, 0, 0, 280, 281, 5, 108, 0, 0, 281, 282, 5, 115, 0, 0, 282, 284, 5, 101, 0, 0, 283, 274, 1, 0, 0, 0, 283, 278, 1, 0, 0, 0, 284, 88, 1, 0, 0, 0, 285, 286, 7, 0, 0, 0, 286, 287, 7, 1, 0, 0, 287, 288, 7, 0, 0, 0, 288, 90, 1, 0, 0, 0, 289, 291, 7, 1, 0, 0, 290, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 290, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 297, 1, 0, 0, 0, 294, 296, 7, 2, 0, 0, 295, 294, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 301, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 290, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 92, 1, 0, 0, 0, 304, 306, 7, 2, 0, 0, 305, 304, 1, 0, 0, 0, 306, 307, 1, 0, 0, 0, 307, 305, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 94, 1, 0, 0, 0, 309, 310, 7, 3, 0, 0, 310, 311, 1, 0, 0, 0, 311, 312, 6, 47, 0, 0, 312, 96, 1, 0, 0, 0, 313, 314, 5, 47, 0, 0, 314, 315, 5, 42, 0, 0, 315, 319, 1, 0, 0, 0, 316, 318, 9, 0, 0, 0, 317, 316, 1, 0, 0, 0, 318, 321, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 319, 317, 1, 0, 0, 0, 320, 322, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 322, 323, 5, 42, 0, 0, 323, 324, 5, 47, 0, 0, 324, 325, 1, 0, 0, 0, 325, 326, 6, 48, 0, 0, 326, 98, 1, 0, 0, 0, 327, 328, 5, 47, 0, 0, 328, 329, 5, 47, 0, 0, 329, 333, 1, 0, 0, 0, 330, 332, 8, 4, 0, 0, 331, 330, 1, 0, 0, 0, 332, 335, 1, 0, 0, 0, 333, 331, 1, 0, 0, 0, 333, 334, 1, 0, 0, 0, 334, 336, 1, 0, 0, 0, 335, 333, 1, 0, 0, 0, 336, 337, 6, 49, 0, 0, 337, 100, 1, 0, 0, 0, 8, 0, 283, 292, 297, 302, 307, 319, 333, 1, 6, 0, 0] \ No newline at end of file diff --git a/src/main/java/de/maishai/antlr/DecafLexer.java b/src/main/java/de/maishai/antlr/DecafLexer.java index b156dad..7ffa0e8 100644 --- a/src/main/java/de/maishai/antlr/DecafLexer.java +++ b/src/main/java/de/maishai/antlr/DecafLexer.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; @@ -18,12 +18,12 @@ public class DecafLexer extends Lexer { new PredictionContextCache(); public static final int T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, - T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, PUBLIC=17, - NEW=18, NULL=19, THIS=20, IF=21, ELSE=22, SUB=23, ADD=24, MUL=25, GT=26, - LT=27, GE=28, LE=29, EQ=30, NE=31, AND=32, OR=33, ASSIGN=34, ADD_ASSIGN=35, - SUB_ASSIGN=36, MUL_ASSIGN=37, NOT=38, INT=39, BOOL=40, VOID=41, CHAR=42, - BOOLEANLITERAL=43, CHARLITERAL=44, IDENTIFIER=45, NUMBER=46, WS=47, COMMENT=48, - LINE_COMMENT=49; + T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17, + PUBLIC=18, NEW=19, NULL=20, THIS=21, IF=22, ELSE=23, SUB=24, ADD=25, MUL=26, + GT=27, LT=28, GE=29, LE=30, EQ=31, NE=32, AND=33, OR=34, ASSIGN=35, ADD_ASSIGN=36, + SUB_ASSIGN=37, MUL_ASSIGN=38, NOT=39, INT=40, BOOL=41, VOID=42, CHAR=43, + BOOLEANLITERAL=44, CHARLITERAL=45, IDENTIFIER=46, NUMBER=47, WS=48, COMMENT=49, + LINE_COMMENT=50; public static String[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; @@ -35,9 +35,9 @@ public class DecafLexer extends Lexer { private static String[] makeRuleNames() { return new String[] { "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", - "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "PUBLIC", - "NEW", "NULL", "THIS", "IF", "ELSE", "SUB", "ADD", "MUL", "GT", "LT", - "GE", "LE", "EQ", "NE", "AND", "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", + "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16", + "PUBLIC", "NEW", "NULL", "THIS", "IF", "ELSE", "SUB", "ADD", "MUL", "GT", + "LT", "GE", "LE", "EQ", "NE", "AND", "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", "BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", "NUMBER", "WS", "COMMENT", "LINE_COMMENT" }; @@ -48,20 +48,20 @@ public class DecafLexer extends Lexer { return new String[] { null, "'class'", "'{'", "'}'", "';'", "'('", "')'", "'static'", "'main'", "'String[] args'", "','", "'return'", "'for'", "'while'", "'do'", "'break'", - "'.'", "'public'", "'new'", "'null'", "'this'", "'if'", "'else'", "'-'", - "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", "'!='", "'&&'", "'||'", - "'='", "'+='", "'-='", "'*='", "'!'", "'int'", "'boolean'", "'void'", - "'char'" + "'continue'", "'.'", "'public'", "'new'", "'null'", "'this'", "'if'", + "'else'", "'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", + "'!='", "'&&'", "'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'", + "'boolean'", "'void'", "'char'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); private static String[] makeSymbolicNames() { return new String[] { null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS", "IF", - "ELSE", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND", - "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", - "BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", + null, null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS", + "IF", "ELSE", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", + "AND", "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", + "INT", "BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", "NUMBER", "WS", "COMMENT", "LINE_COMMENT" }; } @@ -124,7 +124,7 @@ public class DecafLexer extends Lexer { public ATN getATN() { return _ATN; } public static final String _serializedATN = - "\u0004\u00001\u0147\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+ + "\u0004\u00002\u0152\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"+ @@ -138,188 +138,195 @@ public class DecafLexer extends Lexer { "!\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\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+ - "\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+ - "\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007"+ - "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001"+ + "0\u00021\u00071\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001"+ + "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001"+ + "\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001"+ + "\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001"+ + "\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001"+ "\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001"+ - "\u0018\u0001\u0019\u0001\u0019\u0001\u001a\u0001\u001a\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0001"+ - "\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\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*\u0003*\u0111\b*\u0001+\u0001+\u0001+\u0001+\u0001,\u0004,\u0118"+ - "\b,\u000b,\f,\u0119\u0001,\u0005,\u011d\b,\n,\f,\u0120\t,\u0004,\u0122"+ - "\b,\u000b,\f,\u0123\u0001-\u0004-\u0127\b-\u000b-\f-\u0128\u0001.\u0001"+ - ".\u0001.\u0001.\u0001/\u0001/\u0001/\u0001/\u0005/\u0133\b/\n/\f/\u0136"+ - "\t/\u0001/\u0001/\u0001/\u0001/\u0001/\u00010\u00010\u00010\u00010\u0005"+ - "0\u0141\b0\n0\f0\u0144\t0\u00010\u00010\u0001\u0134\u00001\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/\u0018"+ - "1\u00193\u001a5\u001b7\u001c9\u001d;\u001e=\u001f? A!C\"E#G$I%K&M\'O("+ - "Q)S*U+W,Y-[.]/_0a1\u0001\u0000\u0005\u0001\u0000\'\'\u0002\u0000AZaz\u0001"+ - "\u000009\u0003\u0000\t\n\r\r \u0002\u0000\n\n\r\r\u014d\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\u00005"+ - "\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\u0000C"+ - "\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\u0000Q"+ - "\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\u0001c\u0001\u0000"+ - "\u0000\u0000\u0003i\u0001\u0000\u0000\u0000\u0005k\u0001\u0000\u0000\u0000"+ - "\u0007m\u0001\u0000\u0000\u0000\to\u0001\u0000\u0000\u0000\u000bq\u0001"+ - "\u0000\u0000\u0000\rs\u0001\u0000\u0000\u0000\u000fz\u0001\u0000\u0000"+ - "\u0000\u0011\u007f\u0001\u0000\u0000\u0000\u0013\u008d\u0001\u0000\u0000"+ - "\u0000\u0015\u008f\u0001\u0000\u0000\u0000\u0017\u0096\u0001\u0000\u0000"+ - "\u0000\u0019\u009a\u0001\u0000\u0000\u0000\u001b\u00a0\u0001\u0000\u0000"+ - "\u0000\u001d\u00a3\u0001\u0000\u0000\u0000\u001f\u00a9\u0001\u0000\u0000"+ - "\u0000!\u00ab\u0001\u0000\u0000\u0000#\u00b2\u0001\u0000\u0000\u0000%"+ - "\u00b6\u0001\u0000\u0000\u0000\'\u00bb\u0001\u0000\u0000\u0000)\u00c0"+ - "\u0001\u0000\u0000\u0000+\u00c3\u0001\u0000\u0000\u0000-\u00c8\u0001\u0000"+ - "\u0000\u0000/\u00ca\u0001\u0000\u0000\u00001\u00cc\u0001\u0000\u0000\u0000"+ - "3\u00ce\u0001\u0000\u0000\u00005\u00d0\u0001\u0000\u0000\u00007\u00d2"+ - "\u0001\u0000\u0000\u00009\u00d5\u0001\u0000\u0000\u0000;\u00d8\u0001\u0000"+ - "\u0000\u0000=\u00db\u0001\u0000\u0000\u0000?\u00de\u0001\u0000\u0000\u0000"+ - "A\u00e1\u0001\u0000\u0000\u0000C\u00e4\u0001\u0000\u0000\u0000E\u00e6"+ - "\u0001\u0000\u0000\u0000G\u00e9\u0001\u0000\u0000\u0000I\u00ec\u0001\u0000"+ - "\u0000\u0000K\u00ef\u0001\u0000\u0000\u0000M\u00f1\u0001\u0000\u0000\u0000"+ - "O\u00f5\u0001\u0000\u0000\u0000Q\u00fd\u0001\u0000\u0000\u0000S\u0102"+ - "\u0001\u0000\u0000\u0000U\u0110\u0001\u0000\u0000\u0000W\u0112\u0001\u0000"+ - "\u0000\u0000Y\u0121\u0001\u0000\u0000\u0000[\u0126\u0001\u0000\u0000\u0000"+ - "]\u012a\u0001\u0000\u0000\u0000_\u012e\u0001\u0000\u0000\u0000a\u013c"+ - "\u0001\u0000\u0000\u0000cd\u0005c\u0000\u0000de\u0005l\u0000\u0000ef\u0005"+ - "a\u0000\u0000fg\u0005s\u0000\u0000gh\u0005s\u0000\u0000h\u0002\u0001\u0000"+ - "\u0000\u0000ij\u0005{\u0000\u0000j\u0004\u0001\u0000\u0000\u0000kl\u0005"+ - "}\u0000\u0000l\u0006\u0001\u0000\u0000\u0000mn\u0005;\u0000\u0000n\b\u0001"+ - "\u0000\u0000\u0000op\u0005(\u0000\u0000p\n\u0001\u0000\u0000\u0000qr\u0005"+ - ")\u0000\u0000r\f\u0001\u0000\u0000\u0000st\u0005s\u0000\u0000tu\u0005"+ - "t\u0000\u0000uv\u0005a\u0000\u0000vw\u0005t\u0000\u0000wx\u0005i\u0000"+ - "\u0000xy\u0005c\u0000\u0000y\u000e\u0001\u0000\u0000\u0000z{\u0005m\u0000"+ - "\u0000{|\u0005a\u0000\u0000|}\u0005i\u0000\u0000}~\u0005n\u0000\u0000"+ - "~\u0010\u0001\u0000\u0000\u0000\u007f\u0080\u0005S\u0000\u0000\u0080\u0081"+ - "\u0005t\u0000\u0000\u0081\u0082\u0005r\u0000\u0000\u0082\u0083\u0005i"+ - "\u0000\u0000\u0083\u0084\u0005n\u0000\u0000\u0084\u0085\u0005g\u0000\u0000"+ - "\u0085\u0086\u0005[\u0000\u0000\u0086\u0087\u0005]\u0000\u0000\u0087\u0088"+ - "\u0005 \u0000\u0000\u0088\u0089\u0005a\u0000\u0000\u0089\u008a\u0005r"+ - "\u0000\u0000\u008a\u008b\u0005g\u0000\u0000\u008b\u008c\u0005s\u0000\u0000"+ - "\u008c\u0012\u0001\u0000\u0000\u0000\u008d\u008e\u0005,\u0000\u0000\u008e"+ - "\u0014\u0001\u0000\u0000\u0000\u008f\u0090\u0005r\u0000\u0000\u0090\u0091"+ - "\u0005e\u0000\u0000\u0091\u0092\u0005t\u0000\u0000\u0092\u0093\u0005u"+ - "\u0000\u0000\u0093\u0094\u0005r\u0000\u0000\u0094\u0095\u0005n\u0000\u0000"+ - "\u0095\u0016\u0001\u0000\u0000\u0000\u0096\u0097\u0005f\u0000\u0000\u0097"+ - "\u0098\u0005o\u0000\u0000\u0098\u0099\u0005r\u0000\u0000\u0099\u0018\u0001"+ - "\u0000\u0000\u0000\u009a\u009b\u0005w\u0000\u0000\u009b\u009c\u0005h\u0000"+ - "\u0000\u009c\u009d\u0005i\u0000\u0000\u009d\u009e\u0005l\u0000\u0000\u009e"+ - "\u009f\u0005e\u0000\u0000\u009f\u001a\u0001\u0000\u0000\u0000\u00a0\u00a1"+ - "\u0005d\u0000\u0000\u00a1\u00a2\u0005o\u0000\u0000\u00a2\u001c\u0001\u0000"+ - "\u0000\u0000\u00a3\u00a4\u0005b\u0000\u0000\u00a4\u00a5\u0005r\u0000\u0000"+ - "\u00a5\u00a6\u0005e\u0000\u0000\u00a6\u00a7\u0005a\u0000\u0000\u00a7\u00a8"+ - "\u0005k\u0000\u0000\u00a8\u001e\u0001\u0000\u0000\u0000\u00a9\u00aa\u0005"+ - ".\u0000\u0000\u00aa \u0001\u0000\u0000\u0000\u00ab\u00ac\u0005p\u0000"+ - "\u0000\u00ac\u00ad\u0005u\u0000\u0000\u00ad\u00ae\u0005b\u0000\u0000\u00ae"+ - "\u00af\u0005l\u0000\u0000\u00af\u00b0\u0005i\u0000\u0000\u00b0\u00b1\u0005"+ - "c\u0000\u0000\u00b1\"\u0001\u0000\u0000\u0000\u00b2\u00b3\u0005n\u0000"+ - "\u0000\u00b3\u00b4\u0005e\u0000\u0000\u00b4\u00b5\u0005w\u0000\u0000\u00b5"+ - "$\u0001\u0000\u0000\u0000\u00b6\u00b7\u0005n\u0000\u0000\u00b7\u00b8\u0005"+ - "u\u0000\u0000\u00b8\u00b9\u0005l\u0000\u0000\u00b9\u00ba\u0005l\u0000"+ - "\u0000\u00ba&\u0001\u0000\u0000\u0000\u00bb\u00bc\u0005t\u0000\u0000\u00bc"+ - "\u00bd\u0005h\u0000\u0000\u00bd\u00be\u0005i\u0000\u0000\u00be\u00bf\u0005"+ - "s\u0000\u0000\u00bf(\u0001\u0000\u0000\u0000\u00c0\u00c1\u0005i\u0000"+ - "\u0000\u00c1\u00c2\u0005f\u0000\u0000\u00c2*\u0001\u0000\u0000\u0000\u00c3"+ - "\u00c4\u0005e\u0000\u0000\u00c4\u00c5\u0005l\u0000\u0000\u00c5\u00c6\u0005"+ - "s\u0000\u0000\u00c6\u00c7\u0005e\u0000\u0000\u00c7,\u0001\u0000\u0000"+ - "\u0000\u00c8\u00c9\u0005-\u0000\u0000\u00c9.\u0001\u0000\u0000\u0000\u00ca"+ - "\u00cb\u0005+\u0000\u0000\u00cb0\u0001\u0000\u0000\u0000\u00cc\u00cd\u0005"+ - "*\u0000\u0000\u00cd2\u0001\u0000\u0000\u0000\u00ce\u00cf\u0005>\u0000"+ - "\u0000\u00cf4\u0001\u0000\u0000\u0000\u00d0\u00d1\u0005<\u0000\u0000\u00d1"+ - "6\u0001\u0000\u0000\u0000\u00d2\u00d3\u0005>\u0000\u0000\u00d3\u00d4\u0005"+ - "=\u0000\u0000\u00d48\u0001\u0000\u0000\u0000\u00d5\u00d6\u0005<\u0000"+ - "\u0000\u00d6\u00d7\u0005=\u0000\u0000\u00d7:\u0001\u0000\u0000\u0000\u00d8"+ - "\u00d9\u0005=\u0000\u0000\u00d9\u00da\u0005=\u0000\u0000\u00da<\u0001"+ - "\u0000\u0000\u0000\u00db\u00dc\u0005!\u0000\u0000\u00dc\u00dd\u0005=\u0000"+ - "\u0000\u00dd>\u0001\u0000\u0000\u0000\u00de\u00df\u0005&\u0000\u0000\u00df"+ - "\u00e0\u0005&\u0000\u0000\u00e0@\u0001\u0000\u0000\u0000\u00e1\u00e2\u0005"+ - "|\u0000\u0000\u00e2\u00e3\u0005|\u0000\u0000\u00e3B\u0001\u0000\u0000"+ - "\u0000\u00e4\u00e5\u0005=\u0000\u0000\u00e5D\u0001\u0000\u0000\u0000\u00e6"+ - "\u00e7\u0005+\u0000\u0000\u00e7\u00e8\u0005=\u0000\u0000\u00e8F\u0001"+ - "\u0000\u0000\u0000\u00e9\u00ea\u0005-\u0000\u0000\u00ea\u00eb\u0005=\u0000"+ - "\u0000\u00ebH\u0001\u0000\u0000\u0000\u00ec\u00ed\u0005*\u0000\u0000\u00ed"+ - "\u00ee\u0005=\u0000\u0000\u00eeJ\u0001\u0000\u0000\u0000\u00ef\u00f0\u0005"+ - "!\u0000\u0000\u00f0L\u0001\u0000\u0000\u0000\u00f1\u00f2\u0005i\u0000"+ - "\u0000\u00f2\u00f3\u0005n\u0000\u0000\u00f3\u00f4\u0005t\u0000\u0000\u00f4"+ - "N\u0001\u0000\u0000\u0000\u00f5\u00f6\u0005b\u0000\u0000\u00f6\u00f7\u0005"+ - "o\u0000\u0000\u00f7\u00f8\u0005o\u0000\u0000\u00f8\u00f9\u0005l\u0000"+ - "\u0000\u00f9\u00fa\u0005e\u0000\u0000\u00fa\u00fb\u0005a\u0000\u0000\u00fb"+ - "\u00fc\u0005n\u0000\u0000\u00fcP\u0001\u0000\u0000\u0000\u00fd\u00fe\u0005"+ - "v\u0000\u0000\u00fe\u00ff\u0005o\u0000\u0000\u00ff\u0100\u0005i\u0000"+ - "\u0000\u0100\u0101\u0005d\u0000\u0000\u0101R\u0001\u0000\u0000\u0000\u0102"+ - "\u0103\u0005c\u0000\u0000\u0103\u0104\u0005h\u0000\u0000\u0104\u0105\u0005"+ - "a\u0000\u0000\u0105\u0106\u0005r\u0000\u0000\u0106T\u0001\u0000\u0000"+ - "\u0000\u0107\u0108\u0005t\u0000\u0000\u0108\u0109\u0005r\u0000\u0000\u0109"+ - "\u010a\u0005u\u0000\u0000\u010a\u0111\u0005e\u0000\u0000\u010b\u010c\u0005"+ - "f\u0000\u0000\u010c\u010d\u0005a\u0000\u0000\u010d\u010e\u0005l\u0000"+ - "\u0000\u010e\u010f\u0005s\u0000\u0000\u010f\u0111\u0005e\u0000\u0000\u0110"+ - "\u0107\u0001\u0000\u0000\u0000\u0110\u010b\u0001\u0000\u0000\u0000\u0111"+ - "V\u0001\u0000\u0000\u0000\u0112\u0113\u0007\u0000\u0000\u0000\u0113\u0114"+ - "\u0007\u0001\u0000\u0000\u0114\u0115\u0007\u0000\u0000\u0000\u0115X\u0001"+ - "\u0000\u0000\u0000\u0116\u0118\u0007\u0001\u0000\u0000\u0117\u0116\u0001"+ - "\u0000\u0000\u0000\u0118\u0119\u0001\u0000\u0000\u0000\u0119\u0117\u0001"+ - "\u0000\u0000\u0000\u0119\u011a\u0001\u0000\u0000\u0000\u011a\u011e\u0001"+ - "\u0000\u0000\u0000\u011b\u011d\u0007\u0002\u0000\u0000\u011c\u011b\u0001"+ - "\u0000\u0000\u0000\u011d\u0120\u0001\u0000\u0000\u0000\u011e\u011c\u0001"+ - "\u0000\u0000\u0000\u011e\u011f\u0001\u0000\u0000\u0000\u011f\u0122\u0001"+ - "\u0000\u0000\u0000\u0120\u011e\u0001\u0000\u0000\u0000\u0121\u0117\u0001"+ - "\u0000\u0000\u0000\u0122\u0123\u0001\u0000\u0000\u0000\u0123\u0121\u0001"+ - "\u0000\u0000\u0000\u0123\u0124\u0001\u0000\u0000\u0000\u0124Z\u0001\u0000"+ - "\u0000\u0000\u0125\u0127\u0007\u0002\u0000\u0000\u0126\u0125\u0001\u0000"+ - "\u0000\u0000\u0127\u0128\u0001\u0000\u0000\u0000\u0128\u0126\u0001\u0000"+ - "\u0000\u0000\u0128\u0129\u0001\u0000\u0000\u0000\u0129\\\u0001\u0000\u0000"+ - "\u0000\u012a\u012b\u0007\u0003\u0000\u0000\u012b\u012c\u0001\u0000\u0000"+ - "\u0000\u012c\u012d\u0006.\u0000\u0000\u012d^\u0001\u0000\u0000\u0000\u012e"+ - "\u012f\u0005/\u0000\u0000\u012f\u0130\u0005*\u0000\u0000\u0130\u0134\u0001"+ - "\u0000\u0000\u0000\u0131\u0133\t\u0000\u0000\u0000\u0132\u0131\u0001\u0000"+ - "\u0000\u0000\u0133\u0136\u0001\u0000\u0000\u0000\u0134\u0135\u0001\u0000"+ - "\u0000\u0000\u0134\u0132\u0001\u0000\u0000\u0000\u0135\u0137\u0001\u0000"+ - "\u0000\u0000\u0136\u0134\u0001\u0000\u0000\u0000\u0137\u0138\u0005*\u0000"+ - "\u0000\u0138\u0139\u0005/\u0000\u0000\u0139\u013a\u0001\u0000\u0000\u0000"+ - "\u013a\u013b\u0006/\u0000\u0000\u013b`\u0001\u0000\u0000\u0000\u013c\u013d"+ - "\u0005/\u0000\u0000\u013d\u013e\u0005/\u0000\u0000\u013e\u0142\u0001\u0000"+ - "\u0000\u0000\u013f\u0141\b\u0004\u0000\u0000\u0140\u013f\u0001\u0000\u0000"+ - "\u0000\u0141\u0144\u0001\u0000\u0000\u0000\u0142\u0140\u0001\u0000\u0000"+ - "\u0000\u0142\u0143\u0001\u0000\u0000\u0000\u0143\u0145\u0001\u0000\u0000"+ - "\u0000\u0144\u0142\u0001\u0000\u0000\u0000\u0145\u0146\u00060\u0000\u0000"+ - "\u0146b\u0001\u0000\u0000\u0000\b\u0000\u0110\u0119\u011e\u0123\u0128"+ - "\u0134\u0142\u0001\u0006\u0000\u0000"; + "\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\n\u0001\n\u0001"+ + "\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b"+ + "\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001"+ + "\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+ + "\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f"+ + "\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010"+ + "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011"+ + "\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013"+ + "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014"+ + "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015"+ + "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017"+ + "\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u001a"+ + "\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c"+ + "\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e"+ + "\u0001\u001f\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+\u0003+\u011c\b+\u0001,\u0001,\u0001"+ + ",\u0001,\u0001-\u0004-\u0123\b-\u000b-\f-\u0124\u0001-\u0005-\u0128\b"+ + "-\n-\f-\u012b\t-\u0004-\u012d\b-\u000b-\f-\u012e\u0001.\u0004.\u0132\b"+ + ".\u000b.\f.\u0133\u0001/\u0001/\u0001/\u0001/\u00010\u00010\u00010\u0001"+ + "0\u00050\u013e\b0\n0\f0\u0141\t0\u00010\u00010\u00010\u00010\u00010\u0001"+ + "1\u00011\u00011\u00011\u00051\u014c\b1\n1\f1\u014f\t1\u00011\u00011\u0001"+ + "\u013f\u00002\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-[.]/_0a1c2\u0001\u0000\u0005\u0001\u0000"+ + "\'\'\u0002\u0000AZaz\u0001\u000009\u0003\u0000\t\n\r\r \u0002\u0000\n"+ + "\n\r\r\u0158\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\u0000"+ + "3\u0001\u0000\u0000\u0000\u00005\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\u0000"+ + "A\u0001\u0000\u0000\u0000\u0000C\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\u0000"+ + "O\u0001\u0000\u0000\u0000\u0000Q\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\u0001e\u0001\u0000\u0000"+ + "\u0000\u0003k\u0001\u0000\u0000\u0000\u0005m\u0001\u0000\u0000\u0000\u0007"+ + "o\u0001\u0000\u0000\u0000\tq\u0001\u0000\u0000\u0000\u000bs\u0001\u0000"+ + "\u0000\u0000\ru\u0001\u0000\u0000\u0000\u000f|\u0001\u0000\u0000\u0000"+ + "\u0011\u0081\u0001\u0000\u0000\u0000\u0013\u008f\u0001\u0000\u0000\u0000"+ + "\u0015\u0091\u0001\u0000\u0000\u0000\u0017\u0098\u0001\u0000\u0000\u0000"+ + "\u0019\u009c\u0001\u0000\u0000\u0000\u001b\u00a2\u0001\u0000\u0000\u0000"+ + "\u001d\u00a5\u0001\u0000\u0000\u0000\u001f\u00ab\u0001\u0000\u0000\u0000"+ + "!\u00b4\u0001\u0000\u0000\u0000#\u00b6\u0001\u0000\u0000\u0000%\u00bd"+ + "\u0001\u0000\u0000\u0000\'\u00c1\u0001\u0000\u0000\u0000)\u00c6\u0001"+ + "\u0000\u0000\u0000+\u00cb\u0001\u0000\u0000\u0000-\u00ce\u0001\u0000\u0000"+ + "\u0000/\u00d3\u0001\u0000\u0000\u00001\u00d5\u0001\u0000\u0000\u00003"+ + "\u00d7\u0001\u0000\u0000\u00005\u00d9\u0001\u0000\u0000\u00007\u00db\u0001"+ + "\u0000\u0000\u00009\u00dd\u0001\u0000\u0000\u0000;\u00e0\u0001\u0000\u0000"+ + "\u0000=\u00e3\u0001\u0000\u0000\u0000?\u00e6\u0001\u0000\u0000\u0000A"+ + "\u00e9\u0001\u0000\u0000\u0000C\u00ec\u0001\u0000\u0000\u0000E\u00ef\u0001"+ + "\u0000\u0000\u0000G\u00f1\u0001\u0000\u0000\u0000I\u00f4\u0001\u0000\u0000"+ + "\u0000K\u00f7\u0001\u0000\u0000\u0000M\u00fa\u0001\u0000\u0000\u0000O"+ + "\u00fc\u0001\u0000\u0000\u0000Q\u0100\u0001\u0000\u0000\u0000S\u0108\u0001"+ + "\u0000\u0000\u0000U\u010d\u0001\u0000\u0000\u0000W\u011b\u0001\u0000\u0000"+ + "\u0000Y\u011d\u0001\u0000\u0000\u0000[\u012c\u0001\u0000\u0000\u0000]"+ + "\u0131\u0001\u0000\u0000\u0000_\u0135\u0001\u0000\u0000\u0000a\u0139\u0001"+ + "\u0000\u0000\u0000c\u0147\u0001\u0000\u0000\u0000ef\u0005c\u0000\u0000"+ + "fg\u0005l\u0000\u0000gh\u0005a\u0000\u0000hi\u0005s\u0000\u0000ij\u0005"+ + "s\u0000\u0000j\u0002\u0001\u0000\u0000\u0000kl\u0005{\u0000\u0000l\u0004"+ + "\u0001\u0000\u0000\u0000mn\u0005}\u0000\u0000n\u0006\u0001\u0000\u0000"+ + "\u0000op\u0005;\u0000\u0000p\b\u0001\u0000\u0000\u0000qr\u0005(\u0000"+ + "\u0000r\n\u0001\u0000\u0000\u0000st\u0005)\u0000\u0000t\f\u0001\u0000"+ + "\u0000\u0000uv\u0005s\u0000\u0000vw\u0005t\u0000\u0000wx\u0005a\u0000"+ + "\u0000xy\u0005t\u0000\u0000yz\u0005i\u0000\u0000z{\u0005c\u0000\u0000"+ + "{\u000e\u0001\u0000\u0000\u0000|}\u0005m\u0000\u0000}~\u0005a\u0000\u0000"+ + "~\u007f\u0005i\u0000\u0000\u007f\u0080\u0005n\u0000\u0000\u0080\u0010"+ + "\u0001\u0000\u0000\u0000\u0081\u0082\u0005S\u0000\u0000\u0082\u0083\u0005"+ + "t\u0000\u0000\u0083\u0084\u0005r\u0000\u0000\u0084\u0085\u0005i\u0000"+ + "\u0000\u0085\u0086\u0005n\u0000\u0000\u0086\u0087\u0005g\u0000\u0000\u0087"+ + "\u0088\u0005[\u0000\u0000\u0088\u0089\u0005]\u0000\u0000\u0089\u008a\u0005"+ + " \u0000\u0000\u008a\u008b\u0005a\u0000\u0000\u008b\u008c\u0005r\u0000"+ + "\u0000\u008c\u008d\u0005g\u0000\u0000\u008d\u008e\u0005s\u0000\u0000\u008e"+ + "\u0012\u0001\u0000\u0000\u0000\u008f\u0090\u0005,\u0000\u0000\u0090\u0014"+ + "\u0001\u0000\u0000\u0000\u0091\u0092\u0005r\u0000\u0000\u0092\u0093\u0005"+ + "e\u0000\u0000\u0093\u0094\u0005t\u0000\u0000\u0094\u0095\u0005u\u0000"+ + "\u0000\u0095\u0096\u0005r\u0000\u0000\u0096\u0097\u0005n\u0000\u0000\u0097"+ + "\u0016\u0001\u0000\u0000\u0000\u0098\u0099\u0005f\u0000\u0000\u0099\u009a"+ + "\u0005o\u0000\u0000\u009a\u009b\u0005r\u0000\u0000\u009b\u0018\u0001\u0000"+ + "\u0000\u0000\u009c\u009d\u0005w\u0000\u0000\u009d\u009e\u0005h\u0000\u0000"+ + "\u009e\u009f\u0005i\u0000\u0000\u009f\u00a0\u0005l\u0000\u0000\u00a0\u00a1"+ + "\u0005e\u0000\u0000\u00a1\u001a\u0001\u0000\u0000\u0000\u00a2\u00a3\u0005"+ + "d\u0000\u0000\u00a3\u00a4\u0005o\u0000\u0000\u00a4\u001c\u0001\u0000\u0000"+ + "\u0000\u00a5\u00a6\u0005b\u0000\u0000\u00a6\u00a7\u0005r\u0000\u0000\u00a7"+ + "\u00a8\u0005e\u0000\u0000\u00a8\u00a9\u0005a\u0000\u0000\u00a9\u00aa\u0005"+ + "k\u0000\u0000\u00aa\u001e\u0001\u0000\u0000\u0000\u00ab\u00ac\u0005c\u0000"+ + "\u0000\u00ac\u00ad\u0005o\u0000\u0000\u00ad\u00ae\u0005n\u0000\u0000\u00ae"+ + "\u00af\u0005t\u0000\u0000\u00af\u00b0\u0005i\u0000\u0000\u00b0\u00b1\u0005"+ + "n\u0000\u0000\u00b1\u00b2\u0005u\u0000\u0000\u00b2\u00b3\u0005e\u0000"+ + "\u0000\u00b3 \u0001\u0000\u0000\u0000\u00b4\u00b5\u0005.\u0000\u0000\u00b5"+ + "\"\u0001\u0000\u0000\u0000\u00b6\u00b7\u0005p\u0000\u0000\u00b7\u00b8"+ + "\u0005u\u0000\u0000\u00b8\u00b9\u0005b\u0000\u0000\u00b9\u00ba\u0005l"+ + "\u0000\u0000\u00ba\u00bb\u0005i\u0000\u0000\u00bb\u00bc\u0005c\u0000\u0000"+ + "\u00bc$\u0001\u0000\u0000\u0000\u00bd\u00be\u0005n\u0000\u0000\u00be\u00bf"+ + "\u0005e\u0000\u0000\u00bf\u00c0\u0005w\u0000\u0000\u00c0&\u0001\u0000"+ + "\u0000\u0000\u00c1\u00c2\u0005n\u0000\u0000\u00c2\u00c3\u0005u\u0000\u0000"+ + "\u00c3\u00c4\u0005l\u0000\u0000\u00c4\u00c5\u0005l\u0000\u0000\u00c5("+ + "\u0001\u0000\u0000\u0000\u00c6\u00c7\u0005t\u0000\u0000\u00c7\u00c8\u0005"+ + "h\u0000\u0000\u00c8\u00c9\u0005i\u0000\u0000\u00c9\u00ca\u0005s\u0000"+ + "\u0000\u00ca*\u0001\u0000\u0000\u0000\u00cb\u00cc\u0005i\u0000\u0000\u00cc"+ + "\u00cd\u0005f\u0000\u0000\u00cd,\u0001\u0000\u0000\u0000\u00ce\u00cf\u0005"+ + "e\u0000\u0000\u00cf\u00d0\u0005l\u0000\u0000\u00d0\u00d1\u0005s\u0000"+ + "\u0000\u00d1\u00d2\u0005e\u0000\u0000\u00d2.\u0001\u0000\u0000\u0000\u00d3"+ + "\u00d4\u0005-\u0000\u0000\u00d40\u0001\u0000\u0000\u0000\u00d5\u00d6\u0005"+ + "+\u0000\u0000\u00d62\u0001\u0000\u0000\u0000\u00d7\u00d8\u0005*\u0000"+ + "\u0000\u00d84\u0001\u0000\u0000\u0000\u00d9\u00da\u0005>\u0000\u0000\u00da"+ + "6\u0001\u0000\u0000\u0000\u00db\u00dc\u0005<\u0000\u0000\u00dc8\u0001"+ + "\u0000\u0000\u0000\u00dd\u00de\u0005>\u0000\u0000\u00de\u00df\u0005=\u0000"+ + "\u0000\u00df:\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005<\u0000\u0000\u00e1"+ + "\u00e2\u0005=\u0000\u0000\u00e2<\u0001\u0000\u0000\u0000\u00e3\u00e4\u0005"+ + "=\u0000\u0000\u00e4\u00e5\u0005=\u0000\u0000\u00e5>\u0001\u0000\u0000"+ + "\u0000\u00e6\u00e7\u0005!\u0000\u0000\u00e7\u00e8\u0005=\u0000\u0000\u00e8"+ + "@\u0001\u0000\u0000\u0000\u00e9\u00ea\u0005&\u0000\u0000\u00ea\u00eb\u0005"+ + "&\u0000\u0000\u00ebB\u0001\u0000\u0000\u0000\u00ec\u00ed\u0005|\u0000"+ + "\u0000\u00ed\u00ee\u0005|\u0000\u0000\u00eeD\u0001\u0000\u0000\u0000\u00ef"+ + "\u00f0\u0005=\u0000\u0000\u00f0F\u0001\u0000\u0000\u0000\u00f1\u00f2\u0005"+ + "+\u0000\u0000\u00f2\u00f3\u0005=\u0000\u0000\u00f3H\u0001\u0000\u0000"+ + "\u0000\u00f4\u00f5\u0005-\u0000\u0000\u00f5\u00f6\u0005=\u0000\u0000\u00f6"+ + "J\u0001\u0000\u0000\u0000\u00f7\u00f8\u0005*\u0000\u0000\u00f8\u00f9\u0005"+ + "=\u0000\u0000\u00f9L\u0001\u0000\u0000\u0000\u00fa\u00fb\u0005!\u0000"+ + "\u0000\u00fbN\u0001\u0000\u0000\u0000\u00fc\u00fd\u0005i\u0000\u0000\u00fd"+ + "\u00fe\u0005n\u0000\u0000\u00fe\u00ff\u0005t\u0000\u0000\u00ffP\u0001"+ + "\u0000\u0000\u0000\u0100\u0101\u0005b\u0000\u0000\u0101\u0102\u0005o\u0000"+ + "\u0000\u0102\u0103\u0005o\u0000\u0000\u0103\u0104\u0005l\u0000\u0000\u0104"+ + "\u0105\u0005e\u0000\u0000\u0105\u0106\u0005a\u0000\u0000\u0106\u0107\u0005"+ + "n\u0000\u0000\u0107R\u0001\u0000\u0000\u0000\u0108\u0109\u0005v\u0000"+ + "\u0000\u0109\u010a\u0005o\u0000\u0000\u010a\u010b\u0005i\u0000\u0000\u010b"+ + "\u010c\u0005d\u0000\u0000\u010cT\u0001\u0000\u0000\u0000\u010d\u010e\u0005"+ + "c\u0000\u0000\u010e\u010f\u0005h\u0000\u0000\u010f\u0110\u0005a\u0000"+ + "\u0000\u0110\u0111\u0005r\u0000\u0000\u0111V\u0001\u0000\u0000\u0000\u0112"+ + "\u0113\u0005t\u0000\u0000\u0113\u0114\u0005r\u0000\u0000\u0114\u0115\u0005"+ + "u\u0000\u0000\u0115\u011c\u0005e\u0000\u0000\u0116\u0117\u0005f\u0000"+ + "\u0000\u0117\u0118\u0005a\u0000\u0000\u0118\u0119\u0005l\u0000\u0000\u0119"+ + "\u011a\u0005s\u0000\u0000\u011a\u011c\u0005e\u0000\u0000\u011b\u0112\u0001"+ + "\u0000\u0000\u0000\u011b\u0116\u0001\u0000\u0000\u0000\u011cX\u0001\u0000"+ + "\u0000\u0000\u011d\u011e\u0007\u0000\u0000\u0000\u011e\u011f\u0007\u0001"+ + "\u0000\u0000\u011f\u0120\u0007\u0000\u0000\u0000\u0120Z\u0001\u0000\u0000"+ + "\u0000\u0121\u0123\u0007\u0001\u0000\u0000\u0122\u0121\u0001\u0000\u0000"+ + "\u0000\u0123\u0124\u0001\u0000\u0000\u0000\u0124\u0122\u0001\u0000\u0000"+ + "\u0000\u0124\u0125\u0001\u0000\u0000\u0000\u0125\u0129\u0001\u0000\u0000"+ + "\u0000\u0126\u0128\u0007\u0002\u0000\u0000\u0127\u0126\u0001\u0000\u0000"+ + "\u0000\u0128\u012b\u0001\u0000\u0000\u0000\u0129\u0127\u0001\u0000\u0000"+ + "\u0000\u0129\u012a\u0001\u0000\u0000\u0000\u012a\u012d\u0001\u0000\u0000"+ + "\u0000\u012b\u0129\u0001\u0000\u0000\u0000\u012c\u0122\u0001\u0000\u0000"+ + "\u0000\u012d\u012e\u0001\u0000\u0000\u0000\u012e\u012c\u0001\u0000\u0000"+ + "\u0000\u012e\u012f\u0001\u0000\u0000\u0000\u012f\\\u0001\u0000\u0000\u0000"+ + "\u0130\u0132\u0007\u0002\u0000\u0000\u0131\u0130\u0001\u0000\u0000\u0000"+ + "\u0132\u0133\u0001\u0000\u0000\u0000\u0133\u0131\u0001\u0000\u0000\u0000"+ + "\u0133\u0134\u0001\u0000\u0000\u0000\u0134^\u0001\u0000\u0000\u0000\u0135"+ + "\u0136\u0007\u0003\u0000\u0000\u0136\u0137\u0001\u0000\u0000\u0000\u0137"+ + "\u0138\u0006/\u0000\u0000\u0138`\u0001\u0000\u0000\u0000\u0139\u013a\u0005"+ + "/\u0000\u0000\u013a\u013b\u0005*\u0000\u0000\u013b\u013f\u0001\u0000\u0000"+ + "\u0000\u013c\u013e\t\u0000\u0000\u0000\u013d\u013c\u0001\u0000\u0000\u0000"+ + "\u013e\u0141\u0001\u0000\u0000\u0000\u013f\u0140\u0001\u0000\u0000\u0000"+ + "\u013f\u013d\u0001\u0000\u0000\u0000\u0140\u0142\u0001\u0000\u0000\u0000"+ + "\u0141\u013f\u0001\u0000\u0000\u0000\u0142\u0143\u0005*\u0000\u0000\u0143"+ + "\u0144\u0005/\u0000\u0000\u0144\u0145\u0001\u0000\u0000\u0000\u0145\u0146"+ + "\u00060\u0000\u0000\u0146b\u0001\u0000\u0000\u0000\u0147\u0148\u0005/"+ + "\u0000\u0000\u0148\u0149\u0005/\u0000\u0000\u0149\u014d\u0001\u0000\u0000"+ + "\u0000\u014a\u014c\b\u0004\u0000\u0000\u014b\u014a\u0001\u0000\u0000\u0000"+ + "\u014c\u014f\u0001\u0000\u0000\u0000\u014d\u014b\u0001\u0000\u0000\u0000"+ + "\u014d\u014e\u0001\u0000\u0000\u0000\u014e\u0150\u0001\u0000\u0000\u0000"+ + "\u014f\u014d\u0001\u0000\u0000\u0000\u0150\u0151\u00061\u0000\u0000\u0151"+ + "d\u0001\u0000\u0000\u0000\b\u0000\u011b\u0124\u0129\u012e\u0133\u013f"+ + "\u014d\u0001\u0006\u0000\u0000"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/de/maishai/antlr/DecafLexer.tokens b/src/main/java/de/maishai/antlr/DecafLexer.tokens index 5b42434..998577d 100644 --- a/src/main/java/de/maishai/antlr/DecafLexer.tokens +++ b/src/main/java/de/maishai/antlr/DecafLexer.tokens @@ -14,39 +14,40 @@ T__12=13 T__13=14 T__14=15 T__15=16 -PUBLIC=17 -NEW=18 -NULL=19 -THIS=20 -IF=21 -ELSE=22 -SUB=23 -ADD=24 -MUL=25 -GT=26 -LT=27 -GE=28 -LE=29 -EQ=30 -NE=31 -AND=32 -OR=33 -ASSIGN=34 -ADD_ASSIGN=35 -SUB_ASSIGN=36 -MUL_ASSIGN=37 -NOT=38 -INT=39 -BOOL=40 -VOID=41 -CHAR=42 -BOOLEANLITERAL=43 -CHARLITERAL=44 -IDENTIFIER=45 -NUMBER=46 -WS=47 -COMMENT=48 -LINE_COMMENT=49 +T__16=17 +PUBLIC=18 +NEW=19 +NULL=20 +THIS=21 +IF=22 +ELSE=23 +SUB=24 +ADD=25 +MUL=26 +GT=27 +LT=28 +GE=29 +LE=30 +EQ=31 +NE=32 +AND=33 +OR=34 +ASSIGN=35 +ADD_ASSIGN=36 +SUB_ASSIGN=37 +MUL_ASSIGN=38 +NOT=39 +INT=40 +BOOL=41 +VOID=42 +CHAR=43 +BOOLEANLITERAL=44 +CHARLITERAL=45 +IDENTIFIER=46 +NUMBER=47 +WS=48 +COMMENT=49 +LINE_COMMENT=50 'class'=1 '{'=2 '}'=3 @@ -62,30 +63,31 @@ LINE_COMMENT=49 'while'=13 'do'=14 'break'=15 -'.'=16 -'public'=17 -'new'=18 -'null'=19 -'this'=20 -'if'=21 -'else'=22 -'-'=23 -'+'=24 -'*'=25 -'>'=26 -'<'=27 -'>='=28 -'<='=29 -'=='=30 -'!='=31 -'&&'=32 -'||'=33 -'='=34 -'+='=35 -'-='=36 -'*='=37 -'!'=38 -'int'=39 -'boolean'=40 -'void'=41 -'char'=42 +'continue'=16 +'.'=17 +'public'=18 +'new'=19 +'null'=20 +'this'=21 +'if'=22 +'else'=23 +'-'=24 +'+'=25 +'*'=26 +'>'=27 +'<'=28 +'>='=29 +'<='=30 +'=='=31 +'!='=32 +'&&'=33 +'||'=34 +'='=35 +'+='=36 +'-='=37 +'*='=38 +'!'=39 +'int'=40 +'boolean'=41 +'void'=42 +'char'=43 diff --git a/src/main/java/de/maishai/antlr/DecafListener.java b/src/main/java/de/maishai/antlr/DecafListener.java index 13cc60b..610bc1f 100644 --- a/src/main/java/de/maishai/antlr/DecafListener.java +++ b/src/main/java/de/maishai/antlr/DecafListener.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.tree.ParseTreeListener; @@ -207,6 +207,18 @@ public interface DecafListener extends ParseTreeListener { * @param ctx the parse tree */ void exitBreak(DecafParser.BreakContext ctx); + /** + * Enter a parse tree produced by the {@code Continue} + * labeled alternative in {@link DecafParser#stmt}. + * @param ctx the parse tree + */ + void enterContinue(DecafParser.ContinueContext ctx); + /** + * Exit a parse tree produced by the {@code Continue} + * labeled alternative in {@link DecafParser#stmt}. + * @param ctx the parse tree + */ + void exitContinue(DecafParser.ContinueContext ctx); /** * Enter a parse tree produced by the {@code LocalVarDec} * labeled alternative in {@link DecafParser#stmt}. diff --git a/src/main/java/de/maishai/antlr/DecafParser.java b/src/main/java/de/maishai/antlr/DecafParser.java index 5bc9db1..ddc5371 100644 --- a/src/main/java/de/maishai/antlr/DecafParser.java +++ b/src/main/java/de/maishai/antlr/DecafParser.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; @@ -18,12 +18,12 @@ public class DecafParser extends Parser { new PredictionContextCache(); public static final int T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, - T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, PUBLIC=17, - NEW=18, NULL=19, THIS=20, IF=21, ELSE=22, SUB=23, ADD=24, MUL=25, GT=26, - LT=27, GE=28, LE=29, EQ=30, NE=31, AND=32, OR=33, ASSIGN=34, ADD_ASSIGN=35, - SUB_ASSIGN=36, MUL_ASSIGN=37, NOT=38, INT=39, BOOL=40, VOID=41, CHAR=42, - BOOLEANLITERAL=43, CHARLITERAL=44, IDENTIFIER=45, NUMBER=46, WS=47, COMMENT=48, - LINE_COMMENT=49; + T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17, + PUBLIC=18, NEW=19, NULL=20, THIS=21, IF=22, ELSE=23, SUB=24, ADD=25, MUL=26, + GT=27, LT=28, GE=29, LE=30, EQ=31, NE=32, AND=33, OR=34, ASSIGN=35, ADD_ASSIGN=36, + SUB_ASSIGN=37, MUL_ASSIGN=38, NOT=39, INT=40, BOOL=41, VOID=42, CHAR=43, + BOOLEANLITERAL=44, CHARLITERAL=45, IDENTIFIER=46, NUMBER=47, WS=48, COMMENT=49, + LINE_COMMENT=50; public static final int RULE_class = 0, RULE_field = 1, RULE_assignSign = 2, RULE_returntype = 3, RULE_type = 4, RULE_meth = 5, RULE_mainmeth = 6, RULE_constructor = 7, @@ -48,20 +48,20 @@ public class DecafParser extends Parser { return new String[] { null, "'class'", "'{'", "'}'", "';'", "'('", "')'", "'static'", "'main'", "'String[] args'", "','", "'return'", "'for'", "'while'", "'do'", "'break'", - "'.'", "'public'", "'new'", "'null'", "'this'", "'if'", "'else'", "'-'", - "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", "'!='", "'&&'", "'||'", - "'='", "'+='", "'-='", "'*='", "'!'", "'int'", "'boolean'", "'void'", - "'char'" + "'continue'", "'.'", "'public'", "'new'", "'null'", "'this'", "'if'", + "'else'", "'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", + "'!='", "'&&'", "'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'", + "'boolean'", "'void'", "'char'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); private static String[] makeSymbolicNames() { return new String[] { null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS", "IF", - "ELSE", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND", - "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", - "BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", + null, null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS", + "IF", "ELSE", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", + "AND", "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", + "INT", "BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", "NUMBER", "WS", "COMMENT", "LINE_COMMENT" }; } @@ -190,7 +190,7 @@ public class DecafParser extends Parser { setState(72); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686172672L) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463372345344L) != 0)) { { setState(70); _errHandler.sync(this); @@ -332,7 +332,7 @@ public class DecafParser extends Parser { { setState(84); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 257698037760L) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 515396075520L) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -546,7 +546,7 @@ public class DecafParser extends Parser { setState(101); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686041600L) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463372083200L) != 0)) { { setState(100); params(); @@ -678,7 +678,7 @@ public class DecafParser extends Parser { setState(119); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686041600L) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463372083200L) != 0)) { { setState(118); params(); @@ -859,7 +859,7 @@ public class DecafParser extends Parser { setState(139); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231689510912L) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463379025920L) != 0)) { { { setState(136); @@ -1255,6 +1255,23 @@ public class DecafParser extends Parser { } } @SuppressWarnings("CheckReturnValue") + public static class ContinueContext extends StmtContext { + public ContinueContext(StmtContext ctx) { copyFrom(ctx); } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof DecafListener ) ((DecafListener)listener).enterContinue(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof DecafListener ) ((DecafListener)listener).exitContinue(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof DecafVisitor ) return ((DecafVisitor)visitor).visitContinue(this); + else return visitor.visitChildren(this); + } + } + @SuppressWarnings("CheckReturnValue") public static class IfContext extends StmtContext { public IfCallContext ifCall() { return getRuleContext(IfCallContext.class,0); @@ -1280,7 +1297,7 @@ public class DecafParser extends Parser { enterRule(_localctx, 28, RULE_stmt); int _la; try { - setState(206); + setState(208); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) { case 1: @@ -1384,42 +1401,52 @@ public class DecafParser extends Parser { } break; case 6: - _localctx = new LocalVarDecContext(_localctx); + _localctx = new ContinueContext(_localctx); enterOuterAlt(_localctx, 6); { setState(194); - localVar(); + match(T__15); setState(195); match(T__3); } break; case 7: - _localctx = new LocalVarDecWithInitializationContext(_localctx); + _localctx = new LocalVarDecContext(_localctx); enterOuterAlt(_localctx, 7); { + setState(196); + localVar(); setState(197); - localVarWithInitialization(); - setState(198); match(T__3); } break; case 8: - _localctx = new AssignmentContext(_localctx); + _localctx = new LocalVarDecWithInitializationContext(_localctx); enterOuterAlt(_localctx, 8); { + setState(199); + localVarWithInitialization(); setState(200); - assign(); - setState(201); match(T__3); } break; case 9: - _localctx = new StatementExpressionstmtContext(_localctx); + _localctx = new AssignmentContext(_localctx); enterOuterAlt(_localctx, 9); { + setState(202); + assign(); setState(203); + match(T__3); + } + break; + case 10: + _localctx = new StatementExpressionstmtContext(_localctx); + enterOuterAlt(_localctx, 10); + { + setState(205); stmtexpr(); - setState(204); + setState(206); match(T__3); } break; @@ -1493,14 +1520,14 @@ public class DecafParser extends Parser { StmtexprContext _localctx = new StmtexprContext(_ctx, getState()); enterRule(_localctx, 30, RULE_stmtexpr); try { - setState(210); + setState(212); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) { case 1: _localctx = new MethodCallContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(208); + setState(210); methCall(); } break; @@ -1508,7 +1535,7 @@ public class DecafParser extends Parser { _localctx = new NewContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(209); + setState(211); newCall(); } break; @@ -1682,7 +1709,7 @@ public class DecafParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(223); + setState(225); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) { case 1: @@ -1691,9 +1718,9 @@ public class DecafParser extends Parser { _ctx = _localctx; _prevctx = _localctx; - setState(213); + setState(215); unaryOp(); - setState(214); + setState(216); expr(5); } break; @@ -1702,7 +1729,7 @@ public class DecafParser extends Parser { _localctx = new ConstantContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(216); + setState(218); literal(); } break; @@ -1711,11 +1738,11 @@ public class DecafParser extends Parser { _localctx = new ExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(217); - match(T__4); - setState(218); - expr(0); setState(219); + match(T__4); + setState(220); + expr(0); + setState(221); match(T__5); } break; @@ -1724,7 +1751,7 @@ public class DecafParser extends Parser { _localctx = new IdentifierContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(221); + setState(223); fieldVarAccess(); } break; @@ -1733,13 +1760,13 @@ public class DecafParser extends Parser { _localctx = new StatementExpressionexprContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(222); + setState(224); stmtexpr(); } break; } _ctx.stop = _input.LT(-1); - setState(231); + setState(233); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,17,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -1750,16 +1777,16 @@ public class DecafParser extends Parser { { _localctx = new BinaryOperationContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(225); - if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)"); - setState(226); - binaryOp(); setState(227); + if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)"); + setState(228); + binaryOp(); + setState(229); expr(7); } } } - setState(233); + setState(235); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,17,_ctx); } @@ -1815,9 +1842,9 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(234); + setState(236); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 17171480576L) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 34342961152L) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -1868,7 +1895,7 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(236); + setState(238); _la = _input.LA(1); if ( !(_la==SUB || _la==NOT) ) { _errHandler.recoverInline(this); @@ -1932,26 +1959,26 @@ public class DecafParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(243); + setState(245); _errHandler.sync(this); switch (_input.LA(1)) { case THIS: { { - setState(238); + setState(240); match(THIS); - setState(239); - match(T__15); + setState(241); + match(T__16); } } break; case NEW: { { - setState(240); + setState(242); newCall(); - setState(241); - match(T__15); + setState(243); + match(T__16); } } break; @@ -1960,25 +1987,25 @@ public class DecafParser extends Parser { default: break; } - setState(250); + setState(252); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(245); + setState(247); recipient(); - setState(246); - match(T__15); + setState(248); + match(T__16); } } } - setState(252); + setState(254); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); } - setState(253); + setState(255); id(); } } @@ -2029,11 +2056,11 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(255); - fieldVarAccess(); - setState(256); - assignSign(); setState(257); + fieldVarAccess(); + setState(258); + assignSign(); + setState(259); expr(0); } } @@ -2089,26 +2116,26 @@ public class DecafParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(264); + setState(266); _errHandler.sync(this); switch (_input.LA(1)) { case THIS: { { - setState(259); + setState(261); match(THIS); - setState(260); - match(T__15); + setState(262); + match(T__16); } } break; case NEW: { { - setState(261); + setState(263); newCall(); - setState(262); - match(T__15); + setState(264); + match(T__16); } } break; @@ -2117,25 +2144,25 @@ public class DecafParser extends Parser { default: break; } - setState(271); + setState(273); _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(266); + setState(268); recipient(); - setState(267); - match(T__15); + setState(269); + match(T__16); } } } - setState(273); + setState(275); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,21,_ctx); } - setState(274); + setState(276); methName(); } } @@ -2185,23 +2212,23 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(276); - match(NEW); - setState(277); - type(); setState(278); - match(T__4); + match(NEW); + setState(279); + type(); setState(280); + match(T__4); + setState(282); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 132216282939424L) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 264432565878816L) != 0)) { { - setState(279); + setState(281); args(); } } - setState(282); + setState(284); match(T__5); } } @@ -2247,20 +2274,20 @@ public class DecafParser extends Parser { RecipientContext _localctx = new RecipientContext(_ctx, getState()); enterRule(_localctx, 46, RULE_recipient); try { - setState(286); + setState(288); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(284); + setState(286); methName(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(285); + setState(287); id(); } break; @@ -2311,21 +2338,21 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(288); + setState(290); id(); - setState(289); - match(T__4); setState(291); + match(T__4); + setState(293); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 132216282939424L) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 264432565878816L) != 0)) { { - setState(290); + setState(292); args(); } } - setState(293); + setState(295); match(T__5); } } @@ -2374,21 +2401,21 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(295); + setState(297); expr(0); - setState(300); + setState(302); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__9) { { { - setState(296); + setState(298); match(T__9); - setState(297); + setState(299); expr(0); } } - setState(302); + setState(304); _errHandler.sync(this); _la = _input.LA(1); } @@ -2451,40 +2478,40 @@ public class DecafParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(303); - match(IF); - setState(304); - match(T__4); setState(305); - expr(0); + match(IF); setState(306); - match(T__5); + match(T__4); setState(307); + expr(0); + setState(308); + match(T__5); + setState(309); block(); - setState(311); + setState(313); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,26,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(308); + setState(310); elseIf(); } } } - setState(313); + setState(315); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,26,_ctx); } - setState(316); + setState(318); _errHandler.sync(this); _la = _input.LA(1); if (_la==ELSE) { { - setState(314); + setState(316); match(ELSE); - setState(315); + setState(317); block(); } } @@ -2537,17 +2564,17 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(318); - match(ELSE); - setState(319); - match(IF); setState(320); - match(T__4); + match(ELSE); setState(321); - expr(0); + match(IF); setState(322); - match(T__5); + match(T__4); setState(323); + expr(0); + setState(324); + match(T__5); + setState(325); block(); } } @@ -2593,9 +2620,9 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(325); + setState(327); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 96757023244288L) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 193514046488576L) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -2644,7 +2671,7 @@ public class DecafParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(327); + setState(329); match(IDENTIFIER); } } @@ -2675,7 +2702,7 @@ public class DecafParser extends Parser { } public static final String _serializedATN = - "\u0004\u00011\u014a\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+ + "\u0004\u00012\u014c\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"+ @@ -2706,185 +2733,186 @@ public class DecafParser extends Parser { "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ "\u000e\u0003\u000e\u00bf\b\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0003\u000e\u00cf"+ - "\b\u000e\u0001\u000f\u0001\u000f\u0003\u000f\u00d3\b\u000f\u0001\u0010"+ - "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010"+ - "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0003\u0010\u00e0\b\u0010"+ - "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0005\u0010\u00e6\b\u0010"+ - "\n\u0010\f\u0010\u00e9\t\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001"+ - "\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0003"+ - "\u0013\u00f4\b\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0005\u0013\u00f9"+ - "\b\u0013\n\u0013\f\u0013\u00fc\t\u0013\u0001\u0013\u0001\u0013\u0001\u0014"+ - "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015"+ - "\u0001\u0015\u0001\u0015\u0003\u0015\u0109\b\u0015\u0001\u0015\u0001\u0015"+ - "\u0001\u0015\u0005\u0015\u010e\b\u0015\n\u0015\f\u0015\u0111\t\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0003"+ - "\u0016\u0119\b\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0003"+ - "\u0017\u011f\b\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0003\u0018\u0124"+ - "\b\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0005"+ - "\u0019\u012b\b\u0019\n\u0019\f\u0019\u012e\t\u0019\u0001\u001a\u0001\u001a"+ - "\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0005\u001a\u0136\b\u001a"+ - "\n\u001a\f\u001a\u0139\t\u001a\u0001\u001a\u0001\u001a\u0003\u001a\u013d"+ - "\b\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001d\u0001\u001d\u0001"+ - "\u001d\u0000\u0001 \u001e\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012"+ - "\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.02468:\u0000\u0004\u0001"+ - "\u0000\"%\u0001\u0000\u0017!\u0002\u0000\u0017\u0017&&\u0002\u0000+,."+ - ".\u0156\u0000<\u0001\u0000\u0000\u0000\u0002N\u0001\u0000\u0000\u0000"+ - "\u0004T\u0001\u0000\u0000\u0000\u0006X\u0001\u0000\u0000\u0000\b^\u0001"+ - "\u0000\u0000\u0000\n`\u0001\u0000\u0000\u0000\fj\u0001\u0000\u0000\u0000"+ - "\u000es\u0001\u0000\u0000\u0000\u0010|\u0001\u0000\u0000\u0000\u0012\u0084"+ - "\u0001\u0000\u0000\u0000\u0014\u0087\u0001\u0000\u0000\u0000\u0016\u0093"+ - "\u0001\u0000\u0000\u0000\u0018\u0096\u0001\u0000\u0000\u0000\u001a\u00a1"+ - "\u0001\u0000\u0000\u0000\u001c\u00ce\u0001\u0000\u0000\u0000\u001e\u00d2"+ - "\u0001\u0000\u0000\u0000 \u00df\u0001\u0000\u0000\u0000\"\u00ea\u0001"+ - "\u0000\u0000\u0000$\u00ec\u0001\u0000\u0000\u0000&\u00f3\u0001\u0000\u0000"+ - "\u0000(\u00ff\u0001\u0000\u0000\u0000*\u0108\u0001\u0000\u0000\u0000,"+ - "\u0114\u0001\u0000\u0000\u0000.\u011e\u0001\u0000\u0000\u00000\u0120\u0001"+ - "\u0000\u0000\u00002\u0127\u0001\u0000\u0000\u00004\u012f\u0001\u0000\u0000"+ - "\u00006\u013e\u0001\u0000\u0000\u00008\u0145\u0001\u0000\u0000\u0000:"+ - "\u0147\u0001\u0000\u0000\u0000<=\u0005\u0011\u0000\u0000=>\u0005\u0001"+ - "\u0000\u0000>?\u0003:\u001d\u0000?A\u0005\u0002\u0000\u0000@B\u0003\f"+ - "\u0006\u0000A@\u0001\u0000\u0000\u0000AB\u0001\u0000\u0000\u0000BH\u0001"+ - "\u0000\u0000\u0000CG\u0003\u0002\u0001\u0000DG\u0003\n\u0005\u0000EG\u0003"+ - "\u000e\u0007\u0000FC\u0001\u0000\u0000\u0000FD\u0001\u0000\u0000\u0000"+ - "FE\u0001\u0000\u0000\u0000GJ\u0001\u0000\u0000\u0000HF\u0001\u0000\u0000"+ - "\u0000HI\u0001\u0000\u0000\u0000IK\u0001\u0000\u0000\u0000JH\u0001\u0000"+ - "\u0000\u0000KL\u0005\u0003\u0000\u0000L\u0001\u0001\u0000\u0000\u0000"+ - "MO\u0005\u0011\u0000\u0000NM\u0001\u0000\u0000\u0000NO\u0001\u0000\u0000"+ - "\u0000OP\u0001\u0000\u0000\u0000PQ\u0003\b\u0004\u0000QR\u0003:\u001d"+ - "\u0000RS\u0005\u0004\u0000\u0000S\u0003\u0001\u0000\u0000\u0000TU\u0007"+ - "\u0000\u0000\u0000U\u0005\u0001\u0000\u0000\u0000VY\u0003\b\u0004\u0000"+ - "WY\u0005)\u0000\u0000XV\u0001\u0000\u0000\u0000XW\u0001\u0000\u0000\u0000"+ - "Y\u0007\u0001\u0000\u0000\u0000Z_\u0005\'\u0000\u0000[_\u0005(\u0000\u0000"+ - "\\_\u0005*\u0000\u0000]_\u0003:\u001d\u0000^Z\u0001\u0000\u0000\u0000"+ - "^[\u0001\u0000\u0000\u0000^\\\u0001\u0000\u0000\u0000^]\u0001\u0000\u0000"+ - "\u0000_\t\u0001\u0000\u0000\u0000`a\u0005\u0011\u0000\u0000ab\u0003\u0006"+ - "\u0003\u0000bc\u0003:\u001d\u0000ce\u0005\u0005\u0000\u0000df\u0003\u0010"+ - "\b\u0000ed\u0001\u0000\u0000\u0000ef\u0001\u0000\u0000\u0000fg\u0001\u0000"+ - "\u0000\u0000gh\u0005\u0006\u0000\u0000hi\u0003\u0014\n\u0000i\u000b\u0001"+ - "\u0000\u0000\u0000jk\u0005\u0011\u0000\u0000kl\u0005\u0007\u0000\u0000"+ - "lm\u0005)\u0000\u0000mn\u0005\b\u0000\u0000no\u0005\u0005\u0000\u0000"+ - "op\u0005\t\u0000\u0000pq\u0005\u0006\u0000\u0000qr\u0003\u0014\n\u0000"+ - "r\r\u0001\u0000\u0000\u0000st\u0005\u0011\u0000\u0000tu\u0003:\u001d\u0000"+ - "uw\u0005\u0005\u0000\u0000vx\u0003\u0010\b\u0000wv\u0001\u0000\u0000\u0000"+ - "wx\u0001\u0000\u0000\u0000xy\u0001\u0000\u0000\u0000yz\u0005\u0006\u0000"+ - "\u0000z{\u0003\u0014\n\u0000{\u000f\u0001\u0000\u0000\u0000|\u0081\u0003"+ - "\u0012\t\u0000}~\u0005\n\u0000\u0000~\u0080\u0003\u0012\t\u0000\u007f"+ - "}\u0001\u0000\u0000\u0000\u0080\u0083\u0001\u0000\u0000\u0000\u0081\u007f"+ - "\u0001\u0000\u0000\u0000\u0081\u0082\u0001\u0000\u0000\u0000\u0082\u0011"+ - "\u0001\u0000\u0000\u0000\u0083\u0081\u0001\u0000\u0000\u0000\u0084\u0085"+ - "\u0003\b\u0004\u0000\u0085\u0086\u0003:\u001d\u0000\u0086\u0013\u0001"+ - "\u0000\u0000\u0000\u0087\u008b\u0005\u0002\u0000\u0000\u0088\u008a\u0003"+ - "\u001c\u000e\u0000\u0089\u0088\u0001\u0000\u0000\u0000\u008a\u008d\u0001"+ - "\u0000\u0000\u0000\u008b\u0089\u0001\u0000\u0000\u0000\u008b\u008c\u0001"+ - "\u0000\u0000\u0000\u008c\u008f\u0001\u0000\u0000\u0000\u008d\u008b\u0001"+ - "\u0000\u0000\u0000\u008e\u0090\u0003\u001a\r\u0000\u008f\u008e\u0001\u0000"+ - "\u0000\u0000\u008f\u0090\u0001\u0000\u0000\u0000\u0090\u0091\u0001\u0000"+ - "\u0000\u0000\u0091\u0092\u0005\u0003\u0000\u0000\u0092\u0015\u0001\u0000"+ - "\u0000\u0000\u0093\u0094\u0003\b\u0004\u0000\u0094\u0095\u0003:\u001d"+ - "\u0000\u0095\u0017\u0001\u0000\u0000\u0000\u0096\u0097\u0003\b\u0004\u0000"+ - "\u0097\u0098\u0003:\u001d\u0000\u0098\u0099\u0005\"\u0000\u0000\u0099"+ + "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ + "\u000e\u0003\u000e\u00d1\b\u000e\u0001\u000f\u0001\u000f\u0003\u000f\u00d5"+ + "\b\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ + "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0003"+ + "\u0010\u00e2\b\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0005"+ + "\u0010\u00e8\b\u0010\n\u0010\f\u0010\u00eb\t\u0010\u0001\u0011\u0001\u0011"+ + "\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ + "\u0001\u0013\u0003\u0013\u00f6\b\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ + "\u0005\u0013\u00fb\b\u0013\n\u0013\f\u0013\u00fe\t\u0013\u0001\u0013\u0001"+ + "\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0003\u0015\u010b\b\u0015\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0005\u0015\u0110\b\u0015\n\u0015\f\u0015"+ + "\u0113\t\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016"+ + "\u0001\u0016\u0003\u0016\u011b\b\u0016\u0001\u0016\u0001\u0016\u0001\u0017"+ + "\u0001\u0017\u0003\u0017\u0121\b\u0017\u0001\u0018\u0001\u0018\u0001\u0018"+ + "\u0003\u0018\u0126\b\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019"+ + "\u0001\u0019\u0005\u0019\u012d\b\u0019\n\u0019\f\u0019\u0130\t\u0019\u0001"+ + "\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0005"+ + "\u001a\u0138\b\u001a\n\u001a\f\u001a\u013b\t\u001a\u0001\u001a\u0001\u001a"+ + "\u0003\u001a\u013f\b\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b"+ + "\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001d"+ + "\u0001\u001d\u0001\u001d\u0000\u0001 \u001e\u0000\u0002\u0004\u0006\b"+ + "\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.02"+ + "468:\u0000\u0004\u0001\u0000#&\u0001\u0000\u0018\"\u0002\u0000\u0018\u0018"+ + "\'\'\u0002\u0000,-//\u0159\u0000<\u0001\u0000\u0000\u0000\u0002N\u0001"+ + "\u0000\u0000\u0000\u0004T\u0001\u0000\u0000\u0000\u0006X\u0001\u0000\u0000"+ + "\u0000\b^\u0001\u0000\u0000\u0000\n`\u0001\u0000\u0000\u0000\fj\u0001"+ + "\u0000\u0000\u0000\u000es\u0001\u0000\u0000\u0000\u0010|\u0001\u0000\u0000"+ + "\u0000\u0012\u0084\u0001\u0000\u0000\u0000\u0014\u0087\u0001\u0000\u0000"+ + "\u0000\u0016\u0093\u0001\u0000\u0000\u0000\u0018\u0096\u0001\u0000\u0000"+ + "\u0000\u001a\u00a1\u0001\u0000\u0000\u0000\u001c\u00d0\u0001\u0000\u0000"+ + "\u0000\u001e\u00d4\u0001\u0000\u0000\u0000 \u00e1\u0001\u0000\u0000\u0000"+ + "\"\u00ec\u0001\u0000\u0000\u0000$\u00ee\u0001\u0000\u0000\u0000&\u00f5"+ + "\u0001\u0000\u0000\u0000(\u0101\u0001\u0000\u0000\u0000*\u010a\u0001\u0000"+ + "\u0000\u0000,\u0116\u0001\u0000\u0000\u0000.\u0120\u0001\u0000\u0000\u0000"+ + "0\u0122\u0001\u0000\u0000\u00002\u0129\u0001\u0000\u0000\u00004\u0131"+ + "\u0001\u0000\u0000\u00006\u0140\u0001\u0000\u0000\u00008\u0147\u0001\u0000"+ + "\u0000\u0000:\u0149\u0001\u0000\u0000\u0000<=\u0005\u0012\u0000\u0000"+ + "=>\u0005\u0001\u0000\u0000>?\u0003:\u001d\u0000?A\u0005\u0002\u0000\u0000"+ + "@B\u0003\f\u0006\u0000A@\u0001\u0000\u0000\u0000AB\u0001\u0000\u0000\u0000"+ + "BH\u0001\u0000\u0000\u0000CG\u0003\u0002\u0001\u0000DG\u0003\n\u0005\u0000"+ + "EG\u0003\u000e\u0007\u0000FC\u0001\u0000\u0000\u0000FD\u0001\u0000\u0000"+ + "\u0000FE\u0001\u0000\u0000\u0000GJ\u0001\u0000\u0000\u0000HF\u0001\u0000"+ + "\u0000\u0000HI\u0001\u0000\u0000\u0000IK\u0001\u0000\u0000\u0000JH\u0001"+ + "\u0000\u0000\u0000KL\u0005\u0003\u0000\u0000L\u0001\u0001\u0000\u0000"+ + "\u0000MO\u0005\u0012\u0000\u0000NM\u0001\u0000\u0000\u0000NO\u0001\u0000"+ + "\u0000\u0000OP\u0001\u0000\u0000\u0000PQ\u0003\b\u0004\u0000QR\u0003:"+ + "\u001d\u0000RS\u0005\u0004\u0000\u0000S\u0003\u0001\u0000\u0000\u0000"+ + "TU\u0007\u0000\u0000\u0000U\u0005\u0001\u0000\u0000\u0000VY\u0003\b\u0004"+ + "\u0000WY\u0005*\u0000\u0000XV\u0001\u0000\u0000\u0000XW\u0001\u0000\u0000"+ + "\u0000Y\u0007\u0001\u0000\u0000\u0000Z_\u0005(\u0000\u0000[_\u0005)\u0000"+ + "\u0000\\_\u0005+\u0000\u0000]_\u0003:\u001d\u0000^Z\u0001\u0000\u0000"+ + "\u0000^[\u0001\u0000\u0000\u0000^\\\u0001\u0000\u0000\u0000^]\u0001\u0000"+ + "\u0000\u0000_\t\u0001\u0000\u0000\u0000`a\u0005\u0012\u0000\u0000ab\u0003"+ + "\u0006\u0003\u0000bc\u0003:\u001d\u0000ce\u0005\u0005\u0000\u0000df\u0003"+ + "\u0010\b\u0000ed\u0001\u0000\u0000\u0000ef\u0001\u0000\u0000\u0000fg\u0001"+ + "\u0000\u0000\u0000gh\u0005\u0006\u0000\u0000hi\u0003\u0014\n\u0000i\u000b"+ + "\u0001\u0000\u0000\u0000jk\u0005\u0012\u0000\u0000kl\u0005\u0007\u0000"+ + "\u0000lm\u0005*\u0000\u0000mn\u0005\b\u0000\u0000no\u0005\u0005\u0000"+ + "\u0000op\u0005\t\u0000\u0000pq\u0005\u0006\u0000\u0000qr\u0003\u0014\n"+ + "\u0000r\r\u0001\u0000\u0000\u0000st\u0005\u0012\u0000\u0000tu\u0003:\u001d"+ + "\u0000uw\u0005\u0005\u0000\u0000vx\u0003\u0010\b\u0000wv\u0001\u0000\u0000"+ + "\u0000wx\u0001\u0000\u0000\u0000xy\u0001\u0000\u0000\u0000yz\u0005\u0006"+ + "\u0000\u0000z{\u0003\u0014\n\u0000{\u000f\u0001\u0000\u0000\u0000|\u0081"+ + "\u0003\u0012\t\u0000}~\u0005\n\u0000\u0000~\u0080\u0003\u0012\t\u0000"+ + "\u007f}\u0001\u0000\u0000\u0000\u0080\u0083\u0001\u0000\u0000\u0000\u0081"+ + "\u007f\u0001\u0000\u0000\u0000\u0081\u0082\u0001\u0000\u0000\u0000\u0082"+ + "\u0011\u0001\u0000\u0000\u0000\u0083\u0081\u0001\u0000\u0000\u0000\u0084"+ + "\u0085\u0003\b\u0004\u0000\u0085\u0086\u0003:\u001d\u0000\u0086\u0013"+ + "\u0001\u0000\u0000\u0000\u0087\u008b\u0005\u0002\u0000\u0000\u0088\u008a"+ + "\u0003\u001c\u000e\u0000\u0089\u0088\u0001\u0000\u0000\u0000\u008a\u008d"+ + "\u0001\u0000\u0000\u0000\u008b\u0089\u0001\u0000\u0000\u0000\u008b\u008c"+ + "\u0001\u0000\u0000\u0000\u008c\u008f\u0001\u0000\u0000\u0000\u008d\u008b"+ + "\u0001\u0000\u0000\u0000\u008e\u0090\u0003\u001a\r\u0000\u008f\u008e\u0001"+ + "\u0000\u0000\u0000\u008f\u0090\u0001\u0000\u0000\u0000\u0090\u0091\u0001"+ + "\u0000\u0000\u0000\u0091\u0092\u0005\u0003\u0000\u0000\u0092\u0015\u0001"+ + "\u0000\u0000\u0000\u0093\u0094\u0003\b\u0004\u0000\u0094\u0095\u0003:"+ + "\u001d\u0000\u0095\u0017\u0001\u0000\u0000\u0000\u0096\u0097\u0003\b\u0004"+ + "\u0000\u0097\u0098\u0003:\u001d\u0000\u0098\u0099\u0005#\u0000\u0000\u0099"+ "\u009a\u0003 \u0010\u0000\u009a\u0019\u0001\u0000\u0000\u0000\u009b\u009c"+ "\u0005\u000b\u0000\u0000\u009c\u009d\u0003 \u0010\u0000\u009d\u009e\u0005"+ "\u0004\u0000\u0000\u009e\u00a2\u0001\u0000\u0000\u0000\u009f\u00a0\u0005"+ "\u000b\u0000\u0000\u00a0\u00a2\u0005\u0004\u0000\u0000\u00a1\u009b\u0001"+ "\u0000\u0000\u0000\u00a1\u009f\u0001\u0000\u0000\u0000\u00a2\u001b\u0001"+ - "\u0000\u0000\u0000\u00a3\u00cf\u00034\u001a\u0000\u00a4\u00a5\u0005\f"+ + "\u0000\u0000\u0000\u00a3\u00d1\u00034\u001a\u0000\u00a4\u00a5\u0005\f"+ "\u0000\u0000\u00a5\u00a8\u0005\u0005\u0000\u0000\u00a6\u00a9\u0003(\u0014"+ "\u0000\u00a7\u00a9\u0003\u0018\f\u0000\u00a8\u00a6\u0001\u0000\u0000\u0000"+ "\u00a8\u00a7\u0001\u0000\u0000\u0000\u00a9\u00aa\u0001\u0000\u0000\u0000"+ "\u00aa\u00ab\u0005\u0004\u0000\u0000\u00ab\u00ac\u0003 \u0010\u0000\u00ac"+ "\u00ad\u0005\u0004\u0000\u0000\u00ad\u00ae\u0003(\u0014\u0000\u00ae\u00af"+ - "\u0005\u0006\u0000\u0000\u00af\u00b0\u0003\u0014\n\u0000\u00b0\u00cf\u0001"+ + "\u0005\u0006\u0000\u0000\u00af\u00b0\u0003\u0014\n\u0000\u00b0\u00d1\u0001"+ "\u0000\u0000\u0000\u00b1\u00b2\u0005\r\u0000\u0000\u00b2\u00b3\u0005\u0005"+ "\u0000\u0000\u00b3\u00b4\u0003 \u0010\u0000\u00b4\u00b5\u0005\u0006\u0000"+ - "\u0000\u00b5\u00b6\u0003\u0014\n\u0000\u00b6\u00cf\u0001\u0000\u0000\u0000"+ + "\u0000\u00b5\u00b6\u0003\u0014\n\u0000\u00b6\u00d1\u0001\u0000\u0000\u0000"+ "\u00b7\u00b8\u0005\u000e\u0000\u0000\u00b8\u00b9\u0003\u0014\n\u0000\u00b9"+ "\u00ba\u0005\r\u0000\u0000\u00ba\u00bb\u0005\u0005\u0000\u0000\u00bb\u00bc"+ "\u0003 \u0010\u0000\u00bc\u00be\u0005\u0006\u0000\u0000\u00bd\u00bf\u0005"+ "\u0004\u0000\u0000\u00be\u00bd\u0001\u0000\u0000\u0000\u00be\u00bf\u0001"+ - "\u0000\u0000\u0000\u00bf\u00cf\u0001\u0000\u0000\u0000\u00c0\u00c1\u0005"+ - "\u000f\u0000\u0000\u00c1\u00cf\u0005\u0004\u0000\u0000\u00c2\u00c3\u0003"+ - "\u0016\u000b\u0000\u00c3\u00c4\u0005\u0004\u0000\u0000\u00c4\u00cf\u0001"+ - "\u0000\u0000\u0000\u00c5\u00c6\u0003\u0018\f\u0000\u00c6\u00c7\u0005\u0004"+ - "\u0000\u0000\u00c7\u00cf\u0001\u0000\u0000\u0000\u00c8\u00c9\u0003(\u0014"+ - "\u0000\u00c9\u00ca\u0005\u0004\u0000\u0000\u00ca\u00cf\u0001\u0000\u0000"+ - "\u0000\u00cb\u00cc\u0003\u001e\u000f\u0000\u00cc\u00cd\u0005\u0004\u0000"+ - "\u0000\u00cd\u00cf\u0001\u0000\u0000\u0000\u00ce\u00a3\u0001\u0000\u0000"+ - "\u0000\u00ce\u00a4\u0001\u0000\u0000\u0000\u00ce\u00b1\u0001\u0000\u0000"+ - "\u0000\u00ce\u00b7\u0001\u0000\u0000\u0000\u00ce\u00c0\u0001\u0000\u0000"+ - "\u0000\u00ce\u00c2\u0001\u0000\u0000\u0000\u00ce\u00c5\u0001\u0000\u0000"+ - "\u0000\u00ce\u00c8\u0001\u0000\u0000\u0000\u00ce\u00cb\u0001\u0000\u0000"+ - "\u0000\u00cf\u001d\u0001\u0000\u0000\u0000\u00d0\u00d3\u0003*\u0015\u0000"+ - "\u00d1\u00d3\u0003,\u0016\u0000\u00d2\u00d0\u0001\u0000\u0000\u0000\u00d2"+ - "\u00d1\u0001\u0000\u0000\u0000\u00d3\u001f\u0001\u0000\u0000\u0000\u00d4"+ - "\u00d5\u0006\u0010\uffff\uffff\u0000\u00d5\u00d6\u0003$\u0012\u0000\u00d6"+ - "\u00d7\u0003 \u0010\u0005\u00d7\u00e0\u0001\u0000\u0000\u0000\u00d8\u00e0"+ - "\u00038\u001c\u0000\u00d9\u00da\u0005\u0005\u0000\u0000\u00da\u00db\u0003"+ - " \u0010\u0000\u00db\u00dc\u0005\u0006\u0000\u0000\u00dc\u00e0\u0001\u0000"+ - "\u0000\u0000\u00dd\u00e0\u0003&\u0013\u0000\u00de\u00e0\u0003\u001e\u000f"+ - "\u0000\u00df\u00d4\u0001\u0000\u0000\u0000\u00df\u00d8\u0001\u0000\u0000"+ - "\u0000\u00df\u00d9\u0001\u0000\u0000\u0000\u00df\u00dd\u0001\u0000\u0000"+ - "\u0000\u00df\u00de\u0001\u0000\u0000\u0000\u00e0\u00e7\u0001\u0000\u0000"+ - "\u0000\u00e1\u00e2\n\u0006\u0000\u0000\u00e2\u00e3\u0003\"\u0011\u0000"+ - "\u00e3\u00e4\u0003 \u0010\u0007\u00e4\u00e6\u0001\u0000\u0000\u0000\u00e5"+ - "\u00e1\u0001\u0000\u0000\u0000\u00e6\u00e9\u0001\u0000\u0000\u0000\u00e7"+ - "\u00e5\u0001\u0000\u0000\u0000\u00e7\u00e8\u0001\u0000\u0000\u0000\u00e8"+ - "!\u0001\u0000\u0000\u0000\u00e9\u00e7\u0001\u0000\u0000\u0000\u00ea\u00eb"+ - "\u0007\u0001\u0000\u0000\u00eb#\u0001\u0000\u0000\u0000\u00ec\u00ed\u0007"+ - "\u0002\u0000\u0000\u00ed%\u0001\u0000\u0000\u0000\u00ee\u00ef\u0005\u0014"+ - "\u0000\u0000\u00ef\u00f4\u0005\u0010\u0000\u0000\u00f0\u00f1\u0003,\u0016"+ - "\u0000\u00f1\u00f2\u0005\u0010\u0000\u0000\u00f2\u00f4\u0001\u0000\u0000"+ - "\u0000\u00f3\u00ee\u0001\u0000\u0000\u0000\u00f3\u00f0\u0001\u0000\u0000"+ - "\u0000\u00f3\u00f4\u0001\u0000\u0000\u0000\u00f4\u00fa\u0001\u0000\u0000"+ - "\u0000\u00f5\u00f6\u0003.\u0017\u0000\u00f6\u00f7\u0005\u0010\u0000\u0000"+ - "\u00f7\u00f9\u0001\u0000\u0000\u0000\u00f8\u00f5\u0001\u0000\u0000\u0000"+ - "\u00f9\u00fc\u0001\u0000\u0000\u0000\u00fa\u00f8\u0001\u0000\u0000\u0000"+ - "\u00fa\u00fb\u0001\u0000\u0000\u0000\u00fb\u00fd\u0001\u0000\u0000\u0000"+ - "\u00fc\u00fa\u0001\u0000\u0000\u0000\u00fd\u00fe\u0003:\u001d\u0000\u00fe"+ - "\'\u0001\u0000\u0000\u0000\u00ff\u0100\u0003&\u0013\u0000\u0100\u0101"+ - "\u0003\u0004\u0002\u0000\u0101\u0102\u0003 \u0010\u0000\u0102)\u0001\u0000"+ - "\u0000\u0000\u0103\u0104\u0005\u0014\u0000\u0000\u0104\u0109\u0005\u0010"+ - "\u0000\u0000\u0105\u0106\u0003,\u0016\u0000\u0106\u0107\u0005\u0010\u0000"+ - "\u0000\u0107\u0109\u0001\u0000\u0000\u0000\u0108\u0103\u0001\u0000\u0000"+ - "\u0000\u0108\u0105\u0001\u0000\u0000\u0000\u0108\u0109\u0001\u0000\u0000"+ - "\u0000\u0109\u010f\u0001\u0000\u0000\u0000\u010a\u010b\u0003.\u0017\u0000"+ - "\u010b\u010c\u0005\u0010\u0000\u0000\u010c\u010e\u0001\u0000\u0000\u0000"+ - "\u010d\u010a\u0001\u0000\u0000\u0000\u010e\u0111\u0001\u0000\u0000\u0000"+ - "\u010f\u010d\u0001\u0000\u0000\u0000\u010f\u0110\u0001\u0000\u0000\u0000"+ - "\u0110\u0112\u0001\u0000\u0000\u0000\u0111\u010f\u0001\u0000\u0000\u0000"+ - "\u0112\u0113\u00030\u0018\u0000\u0113+\u0001\u0000\u0000\u0000\u0114\u0115"+ - "\u0005\u0012\u0000\u0000\u0115\u0116\u0003\b\u0004\u0000\u0116\u0118\u0005"+ - "\u0005\u0000\u0000\u0117\u0119\u00032\u0019\u0000\u0118\u0117\u0001\u0000"+ - "\u0000\u0000\u0118\u0119\u0001\u0000\u0000\u0000\u0119\u011a\u0001\u0000"+ - "\u0000\u0000\u011a\u011b\u0005\u0006\u0000\u0000\u011b-\u0001\u0000\u0000"+ - "\u0000\u011c\u011f\u00030\u0018\u0000\u011d\u011f\u0003:\u001d\u0000\u011e"+ - "\u011c\u0001\u0000\u0000\u0000\u011e\u011d\u0001\u0000\u0000\u0000\u011f"+ - "/\u0001\u0000\u0000\u0000\u0120\u0121\u0003:\u001d\u0000\u0121\u0123\u0005"+ - "\u0005\u0000\u0000\u0122\u0124\u00032\u0019\u0000\u0123\u0122\u0001\u0000"+ - "\u0000\u0000\u0123\u0124\u0001\u0000\u0000\u0000\u0124\u0125\u0001\u0000"+ - "\u0000\u0000\u0125\u0126\u0005\u0006\u0000\u0000\u01261\u0001\u0000\u0000"+ - "\u0000\u0127\u012c\u0003 \u0010\u0000\u0128\u0129\u0005\n\u0000\u0000"+ - "\u0129\u012b\u0003 \u0010\u0000\u012a\u0128\u0001\u0000\u0000\u0000\u012b"+ - "\u012e\u0001\u0000\u0000\u0000\u012c\u012a\u0001\u0000\u0000\u0000\u012c"+ - "\u012d\u0001\u0000\u0000\u0000\u012d3\u0001\u0000\u0000\u0000\u012e\u012c"+ - "\u0001\u0000\u0000\u0000\u012f\u0130\u0005\u0015\u0000\u0000\u0130\u0131"+ - "\u0005\u0005\u0000\u0000\u0131\u0132\u0003 \u0010\u0000\u0132\u0133\u0005"+ - "\u0006\u0000\u0000\u0133\u0137\u0003\u0014\n\u0000\u0134\u0136\u00036"+ - "\u001b\u0000\u0135\u0134\u0001\u0000\u0000\u0000\u0136\u0139\u0001\u0000"+ - "\u0000\u0000\u0137\u0135\u0001\u0000\u0000\u0000\u0137\u0138\u0001\u0000"+ - "\u0000\u0000\u0138\u013c\u0001\u0000\u0000\u0000\u0139\u0137\u0001\u0000"+ - "\u0000\u0000\u013a\u013b\u0005\u0016\u0000\u0000\u013b\u013d\u0003\u0014"+ - "\n\u0000\u013c\u013a\u0001\u0000\u0000\u0000\u013c\u013d\u0001\u0000\u0000"+ - "\u0000\u013d5\u0001\u0000\u0000\u0000\u013e\u013f\u0005\u0016\u0000\u0000"+ - "\u013f\u0140\u0005\u0015\u0000\u0000\u0140\u0141\u0005\u0005\u0000\u0000"+ - "\u0141\u0142\u0003 \u0010\u0000\u0142\u0143\u0005\u0006\u0000\u0000\u0143"+ - "\u0144\u0003\u0014\n\u0000\u01447\u0001\u0000\u0000\u0000\u0145\u0146"+ - "\u0007\u0003\u0000\u0000\u01469\u0001\u0000\u0000\u0000\u0147\u0148\u0005"+ - "-\u0000\u0000\u0148;\u0001\u0000\u0000\u0000\u001cAFHNX^ew\u0081\u008b"+ - "\u008f\u00a1\u00a8\u00be\u00ce\u00d2\u00df\u00e7\u00f3\u00fa\u0108\u010f"+ - "\u0118\u011e\u0123\u012c\u0137\u013c"; + "\u0000\u0000\u0000\u00bf\u00d1\u0001\u0000\u0000\u0000\u00c0\u00c1\u0005"+ + "\u000f\u0000\u0000\u00c1\u00d1\u0005\u0004\u0000\u0000\u00c2\u00c3\u0005"+ + "\u0010\u0000\u0000\u00c3\u00d1\u0005\u0004\u0000\u0000\u00c4\u00c5\u0003"+ + "\u0016\u000b\u0000\u00c5\u00c6\u0005\u0004\u0000\u0000\u00c6\u00d1\u0001"+ + "\u0000\u0000\u0000\u00c7\u00c8\u0003\u0018\f\u0000\u00c8\u00c9\u0005\u0004"+ + "\u0000\u0000\u00c9\u00d1\u0001\u0000\u0000\u0000\u00ca\u00cb\u0003(\u0014"+ + "\u0000\u00cb\u00cc\u0005\u0004\u0000\u0000\u00cc\u00d1\u0001\u0000\u0000"+ + "\u0000\u00cd\u00ce\u0003\u001e\u000f\u0000\u00ce\u00cf\u0005\u0004\u0000"+ + "\u0000\u00cf\u00d1\u0001\u0000\u0000\u0000\u00d0\u00a3\u0001\u0000\u0000"+ + "\u0000\u00d0\u00a4\u0001\u0000\u0000\u0000\u00d0\u00b1\u0001\u0000\u0000"+ + "\u0000\u00d0\u00b7\u0001\u0000\u0000\u0000\u00d0\u00c0\u0001\u0000\u0000"+ + "\u0000\u00d0\u00c2\u0001\u0000\u0000\u0000\u00d0\u00c4\u0001\u0000\u0000"+ + "\u0000\u00d0\u00c7\u0001\u0000\u0000\u0000\u00d0\u00ca\u0001\u0000\u0000"+ + "\u0000\u00d0\u00cd\u0001\u0000\u0000\u0000\u00d1\u001d\u0001\u0000\u0000"+ + "\u0000\u00d2\u00d5\u0003*\u0015\u0000\u00d3\u00d5\u0003,\u0016\u0000\u00d4"+ + "\u00d2\u0001\u0000\u0000\u0000\u00d4\u00d3\u0001\u0000\u0000\u0000\u00d5"+ + "\u001f\u0001\u0000\u0000\u0000\u00d6\u00d7\u0006\u0010\uffff\uffff\u0000"+ + "\u00d7\u00d8\u0003$\u0012\u0000\u00d8\u00d9\u0003 \u0010\u0005\u00d9\u00e2"+ + "\u0001\u0000\u0000\u0000\u00da\u00e2\u00038\u001c\u0000\u00db\u00dc\u0005"+ + "\u0005\u0000\u0000\u00dc\u00dd\u0003 \u0010\u0000\u00dd\u00de\u0005\u0006"+ + "\u0000\u0000\u00de\u00e2\u0001\u0000\u0000\u0000\u00df\u00e2\u0003&\u0013"+ + "\u0000\u00e0\u00e2\u0003\u001e\u000f\u0000\u00e1\u00d6\u0001\u0000\u0000"+ + "\u0000\u00e1\u00da\u0001\u0000\u0000\u0000\u00e1\u00db\u0001\u0000\u0000"+ + "\u0000\u00e1\u00df\u0001\u0000\u0000\u0000\u00e1\u00e0\u0001\u0000\u0000"+ + "\u0000\u00e2\u00e9\u0001\u0000\u0000\u0000\u00e3\u00e4\n\u0006\u0000\u0000"+ + "\u00e4\u00e5\u0003\"\u0011\u0000\u00e5\u00e6\u0003 \u0010\u0007\u00e6"+ + "\u00e8\u0001\u0000\u0000\u0000\u00e7\u00e3\u0001\u0000\u0000\u0000\u00e8"+ + "\u00eb\u0001\u0000\u0000\u0000\u00e9\u00e7\u0001\u0000\u0000\u0000\u00e9"+ + "\u00ea\u0001\u0000\u0000\u0000\u00ea!\u0001\u0000\u0000\u0000\u00eb\u00e9"+ + "\u0001\u0000\u0000\u0000\u00ec\u00ed\u0007\u0001\u0000\u0000\u00ed#\u0001"+ + "\u0000\u0000\u0000\u00ee\u00ef\u0007\u0002\u0000\u0000\u00ef%\u0001\u0000"+ + "\u0000\u0000\u00f0\u00f1\u0005\u0015\u0000\u0000\u00f1\u00f6\u0005\u0011"+ + "\u0000\u0000\u00f2\u00f3\u0003,\u0016\u0000\u00f3\u00f4\u0005\u0011\u0000"+ + "\u0000\u00f4\u00f6\u0001\u0000\u0000\u0000\u00f5\u00f0\u0001\u0000\u0000"+ + "\u0000\u00f5\u00f2\u0001\u0000\u0000\u0000\u00f5\u00f6\u0001\u0000\u0000"+ + "\u0000\u00f6\u00fc\u0001\u0000\u0000\u0000\u00f7\u00f8\u0003.\u0017\u0000"+ + "\u00f8\u00f9\u0005\u0011\u0000\u0000\u00f9\u00fb\u0001\u0000\u0000\u0000"+ + "\u00fa\u00f7\u0001\u0000\u0000\u0000\u00fb\u00fe\u0001\u0000\u0000\u0000"+ + "\u00fc\u00fa\u0001\u0000\u0000\u0000\u00fc\u00fd\u0001\u0000\u0000\u0000"+ + "\u00fd\u00ff\u0001\u0000\u0000\u0000\u00fe\u00fc\u0001\u0000\u0000\u0000"+ + "\u00ff\u0100\u0003:\u001d\u0000\u0100\'\u0001\u0000\u0000\u0000\u0101"+ + "\u0102\u0003&\u0013\u0000\u0102\u0103\u0003\u0004\u0002\u0000\u0103\u0104"+ + "\u0003 \u0010\u0000\u0104)\u0001\u0000\u0000\u0000\u0105\u0106\u0005\u0015"+ + "\u0000\u0000\u0106\u010b\u0005\u0011\u0000\u0000\u0107\u0108\u0003,\u0016"+ + "\u0000\u0108\u0109\u0005\u0011\u0000\u0000\u0109\u010b\u0001\u0000\u0000"+ + "\u0000\u010a\u0105\u0001\u0000\u0000\u0000\u010a\u0107\u0001\u0000\u0000"+ + "\u0000\u010a\u010b\u0001\u0000\u0000\u0000\u010b\u0111\u0001\u0000\u0000"+ + "\u0000\u010c\u010d\u0003.\u0017\u0000\u010d\u010e\u0005\u0011\u0000\u0000"+ + "\u010e\u0110\u0001\u0000\u0000\u0000\u010f\u010c\u0001\u0000\u0000\u0000"+ + "\u0110\u0113\u0001\u0000\u0000\u0000\u0111\u010f\u0001\u0000\u0000\u0000"+ + "\u0111\u0112\u0001\u0000\u0000\u0000\u0112\u0114\u0001\u0000\u0000\u0000"+ + "\u0113\u0111\u0001\u0000\u0000\u0000\u0114\u0115\u00030\u0018\u0000\u0115"+ + "+\u0001\u0000\u0000\u0000\u0116\u0117\u0005\u0013\u0000\u0000\u0117\u0118"+ + "\u0003\b\u0004\u0000\u0118\u011a\u0005\u0005\u0000\u0000\u0119\u011b\u0003"+ + "2\u0019\u0000\u011a\u0119\u0001\u0000\u0000\u0000\u011a\u011b\u0001\u0000"+ + "\u0000\u0000\u011b\u011c\u0001\u0000\u0000\u0000\u011c\u011d\u0005\u0006"+ + "\u0000\u0000\u011d-\u0001\u0000\u0000\u0000\u011e\u0121\u00030\u0018\u0000"+ + "\u011f\u0121\u0003:\u001d\u0000\u0120\u011e\u0001\u0000\u0000\u0000\u0120"+ + "\u011f\u0001\u0000\u0000\u0000\u0121/\u0001\u0000\u0000\u0000\u0122\u0123"+ + "\u0003:\u001d\u0000\u0123\u0125\u0005\u0005\u0000\u0000\u0124\u0126\u0003"+ + "2\u0019\u0000\u0125\u0124\u0001\u0000\u0000\u0000\u0125\u0126\u0001\u0000"+ + "\u0000\u0000\u0126\u0127\u0001\u0000\u0000\u0000\u0127\u0128\u0005\u0006"+ + "\u0000\u0000\u01281\u0001\u0000\u0000\u0000\u0129\u012e\u0003 \u0010\u0000"+ + "\u012a\u012b\u0005\n\u0000\u0000\u012b\u012d\u0003 \u0010\u0000\u012c"+ + "\u012a\u0001\u0000\u0000\u0000\u012d\u0130\u0001\u0000\u0000\u0000\u012e"+ + "\u012c\u0001\u0000\u0000\u0000\u012e\u012f\u0001\u0000\u0000\u0000\u012f"+ + "3\u0001\u0000\u0000\u0000\u0130\u012e\u0001\u0000\u0000\u0000\u0131\u0132"+ + "\u0005\u0016\u0000\u0000\u0132\u0133\u0005\u0005\u0000\u0000\u0133\u0134"+ + "\u0003 \u0010\u0000\u0134\u0135\u0005\u0006\u0000\u0000\u0135\u0139\u0003"+ + "\u0014\n\u0000\u0136\u0138\u00036\u001b\u0000\u0137\u0136\u0001\u0000"+ + "\u0000\u0000\u0138\u013b\u0001\u0000\u0000\u0000\u0139\u0137\u0001\u0000"+ + "\u0000\u0000\u0139\u013a\u0001\u0000\u0000\u0000\u013a\u013e\u0001\u0000"+ + "\u0000\u0000\u013b\u0139\u0001\u0000\u0000\u0000\u013c\u013d\u0005\u0017"+ + "\u0000\u0000\u013d\u013f\u0003\u0014\n\u0000\u013e\u013c\u0001\u0000\u0000"+ + "\u0000\u013e\u013f\u0001\u0000\u0000\u0000\u013f5\u0001\u0000\u0000\u0000"+ + "\u0140\u0141\u0005\u0017\u0000\u0000\u0141\u0142\u0005\u0016\u0000\u0000"+ + "\u0142\u0143\u0005\u0005\u0000\u0000\u0143\u0144\u0003 \u0010\u0000\u0144"+ + "\u0145\u0005\u0006\u0000\u0000\u0145\u0146\u0003\u0014\n\u0000\u01467"+ + "\u0001\u0000\u0000\u0000\u0147\u0148\u0007\u0003\u0000\u0000\u01489\u0001"+ + "\u0000\u0000\u0000\u0149\u014a\u0005.\u0000\u0000\u014a;\u0001\u0000\u0000"+ + "\u0000\u001cAFHNX^ew\u0081\u008b\u008f\u00a1\u00a8\u00be\u00d0\u00d4\u00e1"+ + "\u00e9\u00f5\u00fc\u010a\u0111\u011a\u0120\u0125\u012e\u0139\u013e"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/de/maishai/antlr/DecafVisitor.java b/src/main/java/de/maishai/antlr/DecafVisitor.java index bbc67af..4c140f5 100644 --- a/src/main/java/de/maishai/antlr/DecafVisitor.java +++ b/src/main/java/de/maishai/antlr/DecafVisitor.java @@ -1,4 +1,4 @@ -// Generated from C:/Users/laure/Documents/Dev/Compilerbau/Projekt/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 +// Generated from C:/dev/Uni/CompilerULTIMATE/src/main/antlr/Decaf.g4 by ANTLR 4.13.1 package de.maishai.antlr; import org.antlr.v4.runtime.tree.ParseTreeVisitor; @@ -129,6 +129,13 @@ public interface DecafVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitBreak(DecafParser.BreakContext ctx); + /** + * Visit a parse tree produced by the {@code Continue} + * labeled alternative in {@link DecafParser#stmt}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitContinue(DecafParser.ContinueContext ctx); /** * Visit a parse tree produced by the {@code LocalVarDec} * labeled alternative in {@link DecafParser#stmt}. diff --git a/src/main/java/de/maishai/ast/records/Continue.java b/src/main/java/de/maishai/ast/records/Continue.java new file mode 100644 index 0000000..99a6b0f --- /dev/null +++ b/src/main/java/de/maishai/ast/records/Continue.java @@ -0,0 +1,4 @@ +package de.maishai.ast.records; + +public record Continue() implements Statement { +} diff --git a/src/main/java/de/maishai/ast/records/Statement.java b/src/main/java/de/maishai/ast/records/Statement.java index ad0372f..0bbd1ac 100644 --- a/src/main/java/de/maishai/ast/records/Statement.java +++ b/src/main/java/de/maishai/ast/records/Statement.java @@ -1,4 +1,4 @@ package de.maishai.ast.records; -public sealed interface Statement extends Node permits Assignment, Break, Declaration, DoWhile, For, IfElse, MethodCall, New, Return, While { +public sealed interface Statement extends Node permits Assignment, Break, Continue, Declaration, DoWhile, For, IfElse, MethodCall, New, Return, While { }