// ANTLR GENERATED CODE: DO NOT EDIT
package org.apache.lucene.expressions.js;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;

This interface defines a complete generic visitor for a parse tree produced by JavascriptParser.
Type parameters:
  • <T> – The return type of the visit operation. Use Void for operations with no return type.
/** * This interface defines a complete generic visitor for a parse tree produced * by {@link JavascriptParser}. * * @param <T> The return type of the visit operation. Use {@link Void} for * operations with no return type. */
interface JavascriptVisitor<T> extends ParseTreeVisitor<T> {
Visit a parse tree produced by JavascriptParser.compile.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by {@link JavascriptParser#compile}. * @param ctx the parse tree * @return the visitor result */
T visitCompile(JavascriptParser.CompileContext ctx);
Visit a parse tree produced by the conditional labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code conditional} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitConditional(JavascriptParser.ConditionalContext ctx);
Visit a parse tree produced by the boolor labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code boolor} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBoolor(JavascriptParser.BoolorContext ctx);
Visit a parse tree produced by the boolcomp labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code boolcomp} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBoolcomp(JavascriptParser.BoolcompContext ctx);
Visit a parse tree produced by the numeric labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code numeric} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitNumeric(JavascriptParser.NumericContext ctx);
Visit a parse tree produced by the addsub labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code addsub} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitAddsub(JavascriptParser.AddsubContext ctx);
Visit a parse tree produced by the unary labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code unary} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitUnary(JavascriptParser.UnaryContext ctx);
Visit a parse tree produced by the precedence labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code precedence} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitPrecedence(JavascriptParser.PrecedenceContext ctx);
Visit a parse tree produced by the muldiv labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code muldiv} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitMuldiv(JavascriptParser.MuldivContext ctx);
Visit a parse tree produced by the external labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code external} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitExternal(JavascriptParser.ExternalContext ctx);
Visit a parse tree produced by the bwshift labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code bwshift} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBwshift(JavascriptParser.BwshiftContext ctx);
Visit a parse tree produced by the bwor labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code bwor} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBwor(JavascriptParser.BworContext ctx);
Visit a parse tree produced by the booland labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code booland} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBooland(JavascriptParser.BoolandContext ctx);
Visit a parse tree produced by the bwxor labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code bwxor} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBwxor(JavascriptParser.BwxorContext ctx);
Visit a parse tree produced by the bwand labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code bwand} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBwand(JavascriptParser.BwandContext ctx);
Visit a parse tree produced by the booleqne labeled alternative in JavascriptParser.expression.
Params:
  • ctx – the parse tree
Returns:the visitor result
/** * Visit a parse tree produced by the {@code booleqne} * labeled alternative in {@link JavascriptParser#expression}. * @param ctx the parse tree * @return the visitor result */
T visitBooleqne(JavascriptParser.BooleqneContext ctx); }