f7
f7 is a spreadsheet formula execution library
git clone https://git.vogt.world/f7.git
Log | Files | README.md | LICENSE.md
← All files
name: src/main/java/io/protobase/f7/antlr/F7Visitor.java
-rw-r--r--
8383
  1// Generated from F7.g4 by ANTLR 4.7.2
  2package io.protobase.f7.antlr;
  3
  4import org.antlr.v4.runtime.tree.ParseTreeVisitor;
  5
  6/**
  7 * This interface defines a complete generic visitor for a parse tree produced
  8 * by {@link F7Parser}.
  9 *
 10 * @param <T> The return type of the visit operation. Use {@link Void} for
 11 *            operations with no return type.
 12 */
 13public interface F7Visitor<T> extends ParseTreeVisitor<T> {
 14  /**
 15   * Visit a parse tree produced by {@link F7Parser#start}.
 16   *
 17   * @param ctx the parse tree
 18   * @return the visitor result
 19   */
 20  T visitStart(F7Parser.StartContext ctx);
 21
 22  /**
 23   * Visit a parse tree produced by {@link F7Parser#block}.
 24   *
 25   * @param ctx the parse tree
 26   * @return the visitor result
 27   */
 28  T visitBlock(F7Parser.BlockContext ctx);
 29
 30  /**
 31   * Visit a parse tree produced by the {@code unaryPercentExpression}
 32   * labeled alternative in {@link F7Parser#expression}.
 33   *
 34   * @param ctx the parse tree
 35   * @return the visitor result
 36   */
 37  T visitUnaryPercentExpression(F7Parser.UnaryPercentExpressionContext ctx);
 38
 39  /**
 40   * Visit a parse tree produced by the {@code unaryMinusExpression}
 41   * labeled alternative in {@link F7Parser#expression}.
 42   *
 43   * @param ctx the parse tree
 44   * @return the visitor result
 45   */
 46  T visitUnaryMinusExpression(F7Parser.UnaryMinusExpressionContext ctx);
 47
 48  /**
 49   * Visit a parse tree produced by the {@code powerExpression}
 50   * labeled alternative in {@link F7Parser#expression}.
 51   *
 52   * @param ctx the parse tree
 53   * @return the visitor result
 54   */
 55  T visitPowerExpression(F7Parser.PowerExpressionContext ctx);
 56
 57  /**
 58   * Visit a parse tree produced by the {@code unaryPlusExpression}
 59   * labeled alternative in {@link F7Parser#expression}.
 60   *
 61   * @param ctx the parse tree
 62   * @return the visitor result
 63   */
 64  T visitUnaryPlusExpression(F7Parser.UnaryPlusExpressionContext ctx);
 65
 66  /**
 67   * Visit a parse tree produced by the {@code atomExpression}
 68   * labeled alternative in {@link F7Parser#expression}.
 69   *
 70   * @param ctx the parse tree
 71   * @return the visitor result
 72   */
 73  T visitAtomExpression(F7Parser.AtomExpressionContext ctx);
 74
 75  /**
 76   * Visit a parse tree produced by the {@code additiveExpression}
 77   * labeled alternative in {@link F7Parser#expression}.
 78   *
 79   * @param ctx the parse tree
 80   * @return the visitor result
 81   */
 82  T visitAdditiveExpression(F7Parser.AdditiveExpressionContext ctx);
 83
 84  /**
 85   * Visit a parse tree produced by the {@code relationalExpression}
 86   * labeled alternative in {@link F7Parser#expression}.
 87   *
 88   * @param ctx the parse tree
 89   * @return the visitor result
 90   */
 91  T visitRelationalExpression(F7Parser.RelationalExpressionContext ctx);
 92
 93  /**
 94   * Visit a parse tree produced by the {@code rangeExpression}
 95   * labeled alternative in {@link F7Parser#expression}.
 96   *
 97   * @param ctx the parse tree
 98   * @return the visitor result
 99   */
100  T visitRangeExpression(F7Parser.RangeExpressionContext ctx);
101
102  /**
103   * Visit a parse tree produced by the {@code multiplicationExpression}
104   * labeled alternative in {@link F7Parser#expression}.
105   *
106   * @param ctx the parse tree
107   * @return the visitor result
108   */
109  T visitMultiplicationExpression(F7Parser.MultiplicationExpressionContext ctx);
110
111  /**
112   * Visit a parse tree produced by the {@code concatExpression}
113   * labeled alternative in {@link F7Parser#expression}.
114   *
115   * @param ctx the parse tree
116   * @return the visitor result
117   */
118  T visitConcatExpression(F7Parser.ConcatExpressionContext ctx);
119
120  /**
121   * Visit a parse tree produced by the {@code cellAtom}
122   * labeled alternative in {@link F7Parser#atom}.
123   *
124   * @param ctx the parse tree
125   * @return the visitor result
126   */
127  T visitCellAtom(F7Parser.CellAtomContext ctx);
128
129  /**
130   * Visit a parse tree produced by the {@code stringAtom}
131   * labeled alternative in {@link F7Parser#atom}.
132   *
133   * @param ctx the parse tree
134   * @return the visitor result
135   */
136  T visitStringAtom(F7Parser.StringAtomContext ctx);
137
138  /**
139   * Visit a parse tree produced by the {@code errorAtom}
140   * labeled alternative in {@link F7Parser#atom}.
141   *
142   * @param ctx the parse tree
143   * @return the visitor result
144   */
145  T visitErrorAtom(F7Parser.ErrorAtomContext ctx);
146
147  /**
148   * Visit a parse tree produced by the {@code numberAtom}
149   * labeled alternative in {@link F7Parser#atom}.
150   *
151   * @param ctx the parse tree
152   * @return the visitor result
153   */
154  T visitNumberAtom(F7Parser.NumberAtomContext ctx);
155
156  /**
157   * Visit a parse tree produced by the {@code parentheticalAtom}
158   * labeled alternative in {@link F7Parser#atom}.
159   *
160   * @param ctx the parse tree
161   * @return the visitor result
162   */
163  T visitParentheticalAtom(F7Parser.ParentheticalAtomContext ctx);
164
165  /**
166   * Visit a parse tree produced by the {@code formulaAtom}
167   * labeled alternative in {@link F7Parser#atom}.
168   *
169   * @param ctx the parse tree
170   * @return the visitor result
171   */
172  T visitFormulaAtom(F7Parser.FormulaAtomContext ctx);
173
174  /**
175   * Visit a parse tree produced by the {@code listAtom}
176   * labeled alternative in {@link F7Parser#atom}.
177   *
178   * @param ctx the parse tree
179   * @return the visitor result
180   */
181  T visitListAtom(F7Parser.ListAtomContext ctx);
182
183  /**
184   * Visit a parse tree produced by the {@code namedAtom}
185   * labeled alternative in {@link F7Parser#atom}.
186   *
187   * @param ctx the parse tree
188   * @return the visitor result
189   */
190  T visitNamedAtom(F7Parser.NamedAtomContext ctx);
191
192  /**
193   * Visit a parse tree produced by the {@code biRange}
194   * labeled alternative in {@link F7Parser#range}.
195   *
196   * @param ctx the parse tree
197   * @return the visitor result
198   */
199  T visitBiRange(F7Parser.BiRangeContext ctx);
200
201  /**
202   * Visit a parse tree produced by the {@code uniRange}
203   * labeled alternative in {@link F7Parser#range}.
204   *
205   * @param ctx the parse tree
206   * @return the visitor result
207   */
208  T visitUniRange(F7Parser.UniRangeContext ctx);
209
210  /**
211   * Visit a parse tree produced by the {@code columnWiseBiRange}
212   * labeled alternative in {@link F7Parser#range}.
213   *
214   * @param ctx the parse tree
215   * @return the visitor result
216   */
217  T visitColumnWiseBiRange(F7Parser.ColumnWiseBiRangeContext ctx);
218
219  /**
220   * Visit a parse tree produced by the {@code columnWiseWithRowOffsetFirstBiRange}
221   * labeled alternative in {@link F7Parser#range}.
222   *
223   * @param ctx the parse tree
224   * @return the visitor result
225   */
226  T visitColumnWiseWithRowOffsetFirstBiRange(F7Parser.ColumnWiseWithRowOffsetFirstBiRangeContext ctx);
227
228  /**
229   * Visit a parse tree produced by the {@code columnWiseWithRowOffsetLastBiRange}
230   * labeled alternative in {@link F7Parser#range}.
231   *
232   * @param ctx the parse tree
233   * @return the visitor result
234   */
235  T visitColumnWiseWithRowOffsetLastBiRange(F7Parser.ColumnWiseWithRowOffsetLastBiRangeContext ctx);
236
237  /**
238   * Visit a parse tree produced by the {@code rowWiseBiRange}
239   * labeled alternative in {@link F7Parser#range}.
240   *
241   * @param ctx the parse tree
242   * @return the visitor result
243   */
244  T visitRowWiseBiRange(F7Parser.RowWiseBiRangeContext ctx);
245
246  /**
247   * Visit a parse tree produced by the {@code rowWiseWithColumnOffsetFirstBiRange}
248   * labeled alternative in {@link F7Parser#range}.
249   *
250   * @param ctx the parse tree
251   * @return the visitor result
252   */
253  T visitRowWiseWithColumnOffsetFirstBiRange(F7Parser.RowWiseWithColumnOffsetFirstBiRangeContext ctx);
254
255  /**
256   * Visit a parse tree produced by the {@code rowWiseWithColumnOffsetLastBiRange}
257   * labeled alternative in {@link F7Parser#range}.
258   *
259   * @param ctx the parse tree
260   * @return the visitor result
261   */
262  T visitRowWiseWithColumnOffsetLastBiRange(F7Parser.RowWiseWithColumnOffsetLastBiRangeContext ctx);
263
264  /**
265   * Visit a parse tree produced by {@link F7Parser#arguments}.
266   *
267   * @param ctx the parse tree
268   * @return the visitor result
269   */
270  T visitArguments(F7Parser.ArgumentsContext ctx);
271
272  /**
273   * Visit a parse tree produced by {@link F7Parser#identifier}.
274   *
275   * @param ctx the parse tree
276   * @return the visitor result
277   */
278  T visitIdentifier(F7Parser.IdentifierContext ctx);
279
280  /**
281   * Visit a parse tree produced by {@link F7Parser#comparisonOperator}.
282   *
283   * @param ctx the parse tree
284   * @return the visitor result
285   */
286  T visitComparisonOperator(F7Parser.ComparisonOperatorContext ctx);
287}