
org.apache.lucene.expressions.js.JavascriptBaseVisitor Maven / Gradle / Ivy
// ANTLR GENERATED CODE: DO NOT EDIT
package org.apache.lucene.expressions.js;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
* This class provides an empty implementation of {@link JavascriptVisitor}, which can be extended
* to create a visitor which only needs to handle a subset of the available methods.
*
* @param The return type of the visit operation. Use {@link Void} for operations with no return
* type.
*/
@SuppressWarnings("CheckReturnValue")
class JavascriptBaseVisitor extends AbstractParseTreeVisitor implements JavascriptVisitor {
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitCompile(JavascriptParser.CompileContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitConditional(JavascriptParser.ConditionalContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBoolor(JavascriptParser.BoolorContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBoolcomp(JavascriptParser.BoolcompContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitNumeric(JavascriptParser.NumericContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitAddsub(JavascriptParser.AddsubContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitUnary(JavascriptParser.UnaryContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitPrecedence(JavascriptParser.PrecedenceContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitMuldiv(JavascriptParser.MuldivContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitExternal(JavascriptParser.ExternalContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBwshift(JavascriptParser.BwshiftContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBwor(JavascriptParser.BworContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBooland(JavascriptParser.BoolandContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBwxor(JavascriptParser.BwxorContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBwand(JavascriptParser.BwandContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
*
The default implementation returns the result of calling {@link #visitChildren} on {@code
* ctx}.
*/
@Override
public T visitBooleqne(JavascriptParser.BooleqneContext ctx) {
return visitChildren(ctx);
}
}