org.joo.libra.sql.antlr.SqlParserVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joo-libra Show documentation
Show all versions of joo-libra Show documentation
Java Predicate with SQL-like syntax support
// Generated from /home/griever/Documents/javawork/libra/src/main/java/org/joo/libra/sql/antlr/SqlParser.g4 by ANTLR 4.7
package org.joo.libra.sql.antlr;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link SqlParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface SqlParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by the {@code expressionExpr}
* labeled alternative in {@link SqlParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpressionExpr(SqlParser.ExpressionExprContext ctx);
/**
* Visit a parse tree produced by the {@code notExpr}
* labeled alternative in {@link SqlParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNotExpr(SqlParser.NotExprContext ctx);
/**
* Visit a parse tree produced by the {@code termExpr}
* labeled alternative in {@link SqlParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTermExpr(SqlParser.TermExprContext ctx);
/**
* Visit a parse tree produced by the {@code orExpr}
* labeled alternative in {@link SqlParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrExpr(SqlParser.OrExprContext ctx);
/**
* Visit a parse tree produced by the {@code andExpr}
* labeled alternative in {@link SqlParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAndExpr(SqlParser.AndExprContext ctx);
/**
* Visit a parse tree produced by the {@code compareExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCompareExpr(SqlParser.CompareExprContext ctx);
/**
* Visit a parse tree produced by the {@code equalExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEqualExpr(SqlParser.EqualExprContext ctx);
/**
* Visit a parse tree produced by the {@code notEqualExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNotEqualExpr(SqlParser.NotEqualExprContext ctx);
/**
* Visit a parse tree produced by the {@code emptyExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEmptyExpr(SqlParser.EmptyExprContext ctx);
/**
* Visit a parse tree produced by the {@code containsExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitContainsExpr(SqlParser.ContainsExprContext ctx);
/**
* Visit a parse tree produced by the {@code matchesExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchesExpr(SqlParser.MatchesExprContext ctx);
/**
* Visit a parse tree produced by the {@code factorExpr}
* labeled alternative in {@link SqlParser#term}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFactorExpr(SqlParser.FactorExprContext ctx);
/**
* Visit a parse tree produced by the {@code stringExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringExpr(SqlParser.StringExprContext ctx);
/**
* Visit a parse tree produced by the {@code variableExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableExpr(SqlParser.VariableExprContext ctx);
/**
* Visit a parse tree produced by the {@code nullExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullExpr(SqlParser.NullExprContext ctx);
/**
* Visit a parse tree produced by the {@code mathExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMathExpr(SqlParser.MathExprContext ctx);
/**
* Visit a parse tree produced by the {@code numberExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumberExpr(SqlParser.NumberExprContext ctx);
/**
* Visit a parse tree produced by the {@code booleanExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanExpr(SqlParser.BooleanExprContext ctx);
/**
* Visit a parse tree produced by the {@code parenExpr}
* labeled alternative in {@link SqlParser#factor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParenExpr(SqlParser.ParenExprContext ctx);
}