The default implementation returns the result of calling 17 | * {@link #visitChildren} on {@code ctx}.
18 | */ 19 | @Override public T visitPseudoAsmFile(MegaAsmParser.PseudoAsmFileContext ctx) { return visitChildren(ctx); } 20 | /** 21 | * {@inheritDoc} 22 | * 23 | *The default implementation returns the result of calling 24 | * {@link #visitChildren} on {@code ctx}.
25 | */ 26 | @Override public T visitReferencer(MegaAsmParser.ReferencerContext ctx) { return visitChildren(ctx); } 27 | /** 28 | * {@inheritDoc} 29 | * 30 | *The default implementation returns the result of calling 31 | * {@link #visitChildren} on {@code ctx}.
32 | */ 33 | @Override public T visitOperand(MegaAsmParser.OperandContext ctx) { return visitChildren(ctx); } 34 | /** 35 | * {@inheritDoc} 36 | * 37 | *The default implementation returns the result of calling 38 | * {@link #visitChildren} on {@code ctx}.
39 | */ 40 | @Override public T visitValue(MegaAsmParser.ValueContext ctx) { return visitChildren(ctx); } 41 | /** 42 | * {@inheritDoc} 43 | * 44 | *The default implementation returns the result of calling 45 | * {@link #visitChildren} on {@code ctx}.
46 | */ 47 | @Override public T visitAddressed(MegaAsmParser.AddressedContext ctx) { return visitChildren(ctx); } 48 | /** 49 | * {@inheritDoc} 50 | * 51 | *The default implementation returns the result of calling 52 | * {@link #visitChildren} on {@code ctx}.
53 | */ 54 | @Override public T visitIndex(MegaAsmParser.IndexContext ctx) { return visitChildren(ctx); } 55 | /** 56 | * {@inheritDoc} 57 | * 58 | *The default implementation returns the result of calling 59 | * {@link #visitChildren} on {@code ctx}.
60 | */ 61 | @Override public T visitImmediate(MegaAsmParser.ImmediateContext ctx) { return visitChildren(ctx); } 62 | /** 63 | * {@inheritDoc} 64 | * 65 | *The default implementation returns the result of calling 66 | * {@link #visitChildren} on {@code ctx}.
67 | */ 68 | @Override public T visitFloatimmediate(MegaAsmParser.FloatimmediateContext ctx) { return visitChildren(ctx); } 69 | /** 70 | * {@inheritDoc} 71 | * 72 | *The default implementation returns the result of calling 73 | * {@link #visitChildren} on {@code ctx}.
74 | */ 75 | @Override public T visitStringimmediate(MegaAsmParser.StringimmediateContext ctx) { return visitChildren(ctx); } 76 | /** 77 | * {@inheritDoc} 78 | * 79 | *The default implementation returns the result of calling 80 | * {@link #visitChildren} on {@code ctx}.
81 | */ 82 | @Override public T visitAbsAddress(MegaAsmParser.AbsAddressContext ctx) { return visitChildren(ctx); } 83 | /** 84 | * {@inheritDoc} 85 | * 86 | *The default implementation returns the result of calling 87 | * {@link #visitChildren} on {@code ctx}.
88 | */ 89 | @Override public T visitTypeName(MegaAsmParser.TypeNameContext ctx) { return visitChildren(ctx); } 90 | /** 91 | * {@inheritDoc} 92 | * 93 | *The default implementation returns the result of calling 94 | * {@link #visitChildren} on {@code ctx}.
95 | */ 96 | @Override public T visitInstrukcja(MegaAsmParser.InstrukcjaContext ctx) { return visitChildren(ctx); } 97 | /** 98 | * {@inheritDoc} 99 | * 100 | *The default implementation returns the result of calling 101 | * {@link #visitChildren} on {@code ctx}.
102 | */ 103 | @Override public T visitLinia(MegaAsmParser.LiniaContext ctx) { return visitChildren(ctx); } 104 | /** 105 | * {@inheritDoc} 106 | * 107 | *The default implementation returns the result of calling 108 | * {@link #visitChildren} on {@code ctx}.
109 | */ 110 | @Override public T visitTarget(MegaAsmParser.TargetContext ctx) { return visitChildren(ctx); } 111 | /** 112 | * {@inheritDoc} 113 | * 114 | *The default implementation returns the result of calling 115 | * {@link #visitChildren} on {@code ctx}.
116 | */ 117 | @Override public T visitArg(MegaAsmParser.ArgContext ctx) { return visitChildren(ctx); } 118 | /** 119 | * {@inheritDoc} 120 | * 121 | *The default implementation returns the result of calling 122 | * {@link #visitChildren} on {@code ctx}.
123 | */ 124 | @Override public T visitIdentifier(MegaAsmParser.IdentifierContext ctx) { return visitChildren(ctx); } 125 | /** 126 | * {@inheritDoc} 127 | * 128 | *The default implementation returns the result of calling 129 | * {@link #visitChildren} on {@code ctx}.
130 | */ 131 | @Override public T visitSimpleIdentifier(MegaAsmParser.SimpleIdentifierContext ctx) { return visitChildren(ctx); } 132 | /** 133 | * {@inheritDoc} 134 | * 135 | *The default implementation returns the result of calling 136 | * {@link #visitChildren} on {@code ctx}.
137 | */ 138 | @Override public T visitAssemblerBody(MegaAsmParser.AssemblerBodyContext ctx) { return visitChildren(ctx); } 139 | /** 140 | * {@inheritDoc} 141 | * 142 | *The default implementation returns the result of calling 143 | * {@link #visitChildren} on {@code ctx}.
144 | */ 145 | @Override public T visitMultiLineStringLiteral(MegaAsmParser.MultiLineStringLiteralContext ctx) { return visitChildren(ctx); } 146 | /** 147 | * {@inheritDoc} 148 | * 149 | *The default implementation returns the result of calling 150 | * {@link #visitChildren} on {@code ctx}.
151 | */ 152 | @Override public T visitMultiLineStringContent(MegaAsmParser.MultiLineStringContentContext ctx) { return visitChildren(ctx); } 153 | /** 154 | * {@inheritDoc} 155 | * 156 | *The default implementation returns the result of calling 157 | * {@link #visitChildren} on {@code ctx}.
158 | */ 159 | @Override public T visitLineStringLiteral(MegaAsmParser.LineStringLiteralContext ctx) { return visitChildren(ctx); } 160 | /** 161 | * {@inheritDoc} 162 | * 163 | *The default implementation returns the result of calling 164 | * {@link #visitChildren} on {@code ctx}.
165 | */ 166 | @Override public T visitLineStringContent(MegaAsmParser.LineStringContentContext ctx) { return visitChildren(ctx); } 167 | } -------------------------------------------------------------------------------- /src/main/gen/MegaAsmParserVisitor.java: -------------------------------------------------------------------------------- 1 | // Generated from D:/Projekty/kotlinek/src/main/antlr\MegaAsmParser.g4 by ANTLR 4.8 2 | import org.antlr.v4.runtime.tree.ParseTreeVisitor; 3 | 4 | /** 5 | * This interface defines a complete generic visitor for a parse tree produced 6 | * by {@link MegaAsmParser}. 7 | * 8 | * @paramThe default implementation returns the result of calling 17 | * {@link #visitChildren} on {@code ctx}.
18 | */ 19 | @Override public T visitPseudoAsmFile(PseudoAsmParser.PseudoAsmFileContext ctx) { return visitChildren(ctx); } 20 | /** 21 | * {@inheritDoc} 22 | * 23 | *The default implementation returns the result of calling 24 | * {@link #visitChildren} on {@code ctx}.
25 | */ 26 | @Override public T visitJocker(PseudoAsmParser.JockerContext ctx) { return visitChildren(ctx); } 27 | /** 28 | * {@inheritDoc} 29 | * 30 | *The default implementation returns the result of calling 31 | * {@link #visitChildren} on {@code ctx}.
32 | */ 33 | @Override public T visitReferencer(PseudoAsmParser.ReferencerContext ctx) { return visitChildren(ctx); } 34 | /** 35 | * {@inheritDoc} 36 | * 37 | *The default implementation returns the result of calling 38 | * {@link #visitChildren} on {@code ctx}.
39 | */ 40 | @Override public T visitOperand(PseudoAsmParser.OperandContext ctx) { return visitChildren(ctx); } 41 | /** 42 | * {@inheritDoc} 43 | * 44 | *The default implementation returns the result of calling 45 | * {@link #visitChildren} on {@code ctx}.
46 | */ 47 | @Override public T visitValue(PseudoAsmParser.ValueContext ctx) { return visitChildren(ctx); } 48 | /** 49 | * {@inheritDoc} 50 | * 51 | *The default implementation returns the result of calling 52 | * {@link #visitChildren} on {@code ctx}.
53 | */ 54 | @Override public T visitAddressed(PseudoAsmParser.AddressedContext ctx) { return visitChildren(ctx); } 55 | /** 56 | * {@inheritDoc} 57 | * 58 | *The default implementation returns the result of calling 59 | * {@link #visitChildren} on {@code ctx}.
60 | */ 61 | @Override public T visitIndex(PseudoAsmParser.IndexContext ctx) { return visitChildren(ctx); } 62 | /** 63 | * {@inheritDoc} 64 | * 65 | *The default implementation returns the result of calling 66 | * {@link #visitChildren} on {@code ctx}.
67 | */ 68 | @Override public T visitImmediate(PseudoAsmParser.ImmediateContext ctx) { return visitChildren(ctx); } 69 | /** 70 | * {@inheritDoc} 71 | * 72 | *The default implementation returns the result of calling 73 | * {@link #visitChildren} on {@code ctx}.
74 | */ 75 | @Override public T visitFloatimmediate(PseudoAsmParser.FloatimmediateContext ctx) { return visitChildren(ctx); } 76 | /** 77 | * {@inheritDoc} 78 | * 79 | *The default implementation returns the result of calling 80 | * {@link #visitChildren} on {@code ctx}.
81 | */ 82 | @Override public T visitStringimmediate(PseudoAsmParser.StringimmediateContext ctx) { return visitChildren(ctx); } 83 | /** 84 | * {@inheritDoc} 85 | * 86 | *The default implementation returns the result of calling 87 | * {@link #visitChildren} on {@code ctx}.
88 | */ 89 | @Override public T visitAbsAddress(PseudoAsmParser.AbsAddressContext ctx) { return visitChildren(ctx); } 90 | /** 91 | * {@inheritDoc} 92 | * 93 | *The default implementation returns the result of calling 94 | * {@link #visitChildren} on {@code ctx}.
95 | */ 96 | @Override public T visitName(PseudoAsmParser.NameContext ctx) { return visitChildren(ctx); } 97 | /** 98 | * {@inheritDoc} 99 | * 100 | *The default implementation returns the result of calling 101 | * {@link #visitChildren} on {@code ctx}.
102 | */ 103 | @Override public T visitTypeName(PseudoAsmParser.TypeNameContext ctx) { return visitChildren(ctx); } 104 | /** 105 | * {@inheritDoc} 106 | * 107 | *The default implementation returns the result of calling 108 | * {@link #visitChildren} on {@code ctx}.
109 | */ 110 | @Override public T visitInstrukcja(PseudoAsmParser.InstrukcjaContext ctx) { return visitChildren(ctx); } 111 | /** 112 | * {@inheritDoc} 113 | * 114 | *The default implementation returns the result of calling 115 | * {@link #visitChildren} on {@code ctx}.
116 | */ 117 | @Override public T visitLinia(PseudoAsmParser.LiniaContext ctx) { return visitChildren(ctx); } 118 | /** 119 | * {@inheritDoc} 120 | * 121 | *The default implementation returns the result of calling 122 | * {@link #visitChildren} on {@code ctx}.
123 | */ 124 | @Override public T visitTarget(PseudoAsmParser.TargetContext ctx) { return visitChildren(ctx); } 125 | /** 126 | * {@inheritDoc} 127 | * 128 | *The default implementation returns the result of calling 129 | * {@link #visitChildren} on {@code ctx}.
130 | */ 131 | @Override public T visitArg(PseudoAsmParser.ArgContext ctx) { return visitChildren(ctx); } 132 | /** 133 | * {@inheritDoc} 134 | * 135 | *The default implementation returns the result of calling 136 | * {@link #visitChildren} on {@code ctx}.
137 | */ 138 | @Override public T visitIdentifier(PseudoAsmParser.IdentifierContext ctx) { return visitChildren(ctx); } 139 | /** 140 | * {@inheritDoc} 141 | * 142 | *The default implementation returns the result of calling 143 | * {@link #visitChildren} on {@code ctx}.
144 | */ 145 | @Override public T visitSimpleIdentifier(PseudoAsmParser.SimpleIdentifierContext ctx) { return visitChildren(ctx); } 146 | /** 147 | * {@inheritDoc} 148 | * 149 | *The default implementation returns the result of calling 150 | * {@link #visitChildren} on {@code ctx}.
151 | */ 152 | @Override public T visitAssemblerBody(PseudoAsmParser.AssemblerBodyContext ctx) { return visitChildren(ctx); } 153 | /** 154 | * {@inheritDoc} 155 | * 156 | *The default implementation returns the result of calling 157 | * {@link #visitChildren} on {@code ctx}.
158 | */ 159 | @Override public T visitMultiLineStringLiteral(PseudoAsmParser.MultiLineStringLiteralContext ctx) { return visitChildren(ctx); } 160 | /** 161 | * {@inheritDoc} 162 | * 163 | *The default implementation returns the result of calling 164 | * {@link #visitChildren} on {@code ctx}.
165 | */ 166 | @Override public T visitMultiLineStringContent(PseudoAsmParser.MultiLineStringContentContext ctx) { return visitChildren(ctx); } 167 | /** 168 | * {@inheritDoc} 169 | * 170 | *The default implementation returns the result of calling 171 | * {@link #visitChildren} on {@code ctx}.
172 | */ 173 | @Override public T visitLineStringLiteral(PseudoAsmParser.LineStringLiteralContext ctx) { return visitChildren(ctx); } 174 | /** 175 | * {@inheritDoc} 176 | * 177 | *The default implementation returns the result of calling 178 | * {@link #visitChildren} on {@code ctx}.
179 | */ 180 | @Override public T visitLineStringContent(PseudoAsmParser.LineStringContentContext ctx) { return visitChildren(ctx); } 181 | } -------------------------------------------------------------------------------- /src/main/gen/PseudoAsmParserVisitor.java: -------------------------------------------------------------------------------- 1 | // Generated from L:/Projekty/kotlinek/src/main/antlr\PseudoAsmParser.g4 by ANTLR 4.7.2 2 | import org.antlr.v4.runtime.tree.ParseTreeVisitor; 3 | 4 | /** 5 | * This interface defines a complete generic visitor for a parse tree produced 6 | * by {@link PseudoAsmParser}. 7 | * 8 | * @paramThe default implementation returns the result of calling 18 | * {@link #visitChildren} on {@code ctx}.
19 | */ 20 | @Override public T visitPseudoAsmFile(MegaAsmParser.PseudoAsmFileContext ctx) { return visitChildren(ctx); } 21 | /** 22 | * {@inheritDoc} 23 | * 24 | *The default implementation returns the result of calling 25 | * {@link #visitChildren} on {@code ctx}.
26 | */ 27 | @Override public T visitReferencer(MegaAsmParser.ReferencerContext ctx) { return visitChildren(ctx); } 28 | /** 29 | * {@inheritDoc} 30 | * 31 | *The default implementation returns the result of calling 32 | * {@link #visitChildren} on {@code ctx}.
33 | */ 34 | @Override public T visitOperand(MegaAsmParser.OperandContext ctx) { return visitChildren(ctx); } 35 | /** 36 | * {@inheritDoc} 37 | * 38 | *The default implementation returns the result of calling 39 | * {@link #visitChildren} on {@code ctx}.
40 | */ 41 | @Override public T visitValue(MegaAsmParser.ValueContext ctx) { return visitChildren(ctx); } 42 | /** 43 | * {@inheritDoc} 44 | * 45 | *The default implementation returns the result of calling 46 | * {@link #visitChildren} on {@code ctx}.
47 | */ 48 | @Override public T visitAddressed(MegaAsmParser.AddressedContext ctx) { return visitChildren(ctx); } 49 | /** 50 | * {@inheritDoc} 51 | * 52 | *The default implementation returns the result of calling 53 | * {@link #visitChildren} on {@code ctx}.
54 | */ 55 | @Override public T visitIndex(MegaAsmParser.IndexContext ctx) { return visitChildren(ctx); } 56 | /** 57 | * {@inheritDoc} 58 | * 59 | *The default implementation returns the result of calling 60 | * {@link #visitChildren} on {@code ctx}.
61 | */ 62 | @Override public T visitImmediate(MegaAsmParser.ImmediateContext ctx) { return visitChildren(ctx); } 63 | /** 64 | * {@inheritDoc} 65 | * 66 | *The default implementation returns the result of calling 67 | * {@link #visitChildren} on {@code ctx}.
68 | */ 69 | @Override public T visitFloatimmediate(MegaAsmParser.FloatimmediateContext ctx) { return visitChildren(ctx); } 70 | /** 71 | * {@inheritDoc} 72 | * 73 | *The default implementation returns the result of calling 74 | * {@link #visitChildren} on {@code ctx}.
75 | */ 76 | @Override public T visitStringimmediate(MegaAsmParser.StringimmediateContext ctx) { return visitChildren(ctx); } 77 | /** 78 | * {@inheritDoc} 79 | * 80 | *The default implementation returns the result of calling 81 | * {@link #visitChildren} on {@code ctx}.
82 | */ 83 | @Override public T visitAbsAddress(MegaAsmParser.AbsAddressContext ctx) { return visitChildren(ctx); } 84 | /** 85 | * {@inheritDoc} 86 | * 87 | *The default implementation returns the result of calling 88 | * {@link #visitChildren} on {@code ctx}.
89 | */ 90 | @Override public T visitTypeName(MegaAsmParser.TypeNameContext ctx) { return visitChildren(ctx); } 91 | /** 92 | * {@inheritDoc} 93 | * 94 | *The default implementation returns the result of calling 95 | * {@link #visitChildren} on {@code ctx}.
96 | */ 97 | @Override public T visitInstrukcja(MegaAsmParser.InstrukcjaContext ctx) { return visitChildren(ctx); } 98 | /** 99 | * {@inheritDoc} 100 | * 101 | *The default implementation returns the result of calling 102 | * {@link #visitChildren} on {@code ctx}.
103 | */ 104 | @Override public T visitLinia(MegaAsmParser.LiniaContext ctx) { return visitChildren(ctx); } 105 | /** 106 | * {@inheritDoc} 107 | * 108 | *The default implementation returns the result of calling 109 | * {@link #visitChildren} on {@code ctx}.
110 | */ 111 | @Override public T visitTarget(MegaAsmParser.TargetContext ctx) { return visitChildren(ctx); } 112 | /** 113 | * {@inheritDoc} 114 | * 115 | *The default implementation returns the result of calling 116 | * {@link #visitChildren} on {@code ctx}.
117 | */ 118 | @Override public T visitArg(MegaAsmParser.ArgContext ctx) { return visitChildren(ctx); } 119 | /** 120 | * {@inheritDoc} 121 | * 122 | *The default implementation returns the result of calling 123 | * {@link #visitChildren} on {@code ctx}.
124 | */ 125 | @Override public T visitIdentifier(MegaAsmParser.IdentifierContext ctx) { return visitChildren(ctx); } 126 | /** 127 | * {@inheritDoc} 128 | * 129 | *The default implementation returns the result of calling 130 | * {@link #visitChildren} on {@code ctx}.
131 | */ 132 | @Override public T visitSimpleIdentifier(MegaAsmParser.SimpleIdentifierContext ctx) { return visitChildren(ctx); } 133 | /** 134 | * {@inheritDoc} 135 | * 136 | *The default implementation returns the result of calling 137 | * {@link #visitChildren} on {@code ctx}.
138 | */ 139 | @Override public T visitAssemblerBody(MegaAsmParser.AssemblerBodyContext ctx) { return visitChildren(ctx); } 140 | /** 141 | * {@inheritDoc} 142 | * 143 | *The default implementation returns the result of calling 144 | * {@link #visitChildren} on {@code ctx}.
145 | */ 146 | @Override public T visitMultiLineStringLiteral(MegaAsmParser.MultiLineStringLiteralContext ctx) { return visitChildren(ctx); } 147 | /** 148 | * {@inheritDoc} 149 | * 150 | *The default implementation returns the result of calling 151 | * {@link #visitChildren} on {@code ctx}.
152 | */ 153 | @Override public T visitMultiLineStringContent(MegaAsmParser.MultiLineStringContentContext ctx) { return visitChildren(ctx); } 154 | /** 155 | * {@inheritDoc} 156 | * 157 | *The default implementation returns the result of calling 158 | * {@link #visitChildren} on {@code ctx}.
159 | */ 160 | @Override public T visitLineStringLiteral(MegaAsmParser.LineStringLiteralContext ctx) { return visitChildren(ctx); } 161 | /** 162 | * {@inheritDoc} 163 | * 164 | *The default implementation returns the result of calling 165 | * {@link #visitChildren} on {@code ctx}.
166 | */ 167 | @Override public T visitLineStringContent(MegaAsmParser.LineStringContentContext ctx) { return visitChildren(ctx); } 168 | } -------------------------------------------------------------------------------- /src/main/java/pl/qus/wolin/MegaAsmParserVisitor.java: -------------------------------------------------------------------------------- 1 | // Generated from MegaAsmParser.g4 by ANTLR 4.5.1 2 | package pl.qus.wolin; 3 | import org.antlr.v4.runtime.tree.ParseTreeVisitor; 4 | 5 | /** 6 | * This interface defines a complete generic visitor for a parse tree produced 7 | * by {@link MegaAsmParser}. 8 | * 9 | * @param