step.core.ql.OQLVisitor Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (C) 2020, exense GmbH
*
* This file is part of STEP
*
* STEP is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* STEP is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with STEP. If not, see .
******************************************************************************/
// Generated from OQL.g4 by ANTLR 4.5.3
package step.core.ql;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link OQLParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface OQLVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link OQLParser#parse}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParse(OQLParser.ParseContext ctx);
/**
* Visit a parse tree produced by the {@code notExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNotExpr(OQLParser.NotExprContext ctx);
/**
* Visit a parse tree produced by the {@code inExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInExpr(OQLParser.InExprContext ctx);
/**
* Visit a parse tree produced by the {@code atomExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAtomExpr(OQLParser.AtomExprContext ctx);
/**
* Visit a parse tree produced by the {@code orExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrExpr(OQLParser.OrExprContext ctx);
/**
* Visit a parse tree produced by the {@code comparisonExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparisonExpr(OQLParser.ComparisonExprContext ctx);
/**
* Visit a parse tree produced by the {@code equalityExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEqualityExpr(OQLParser.EqualityExprContext ctx);
/**
* Visit a parse tree produced by the {@code andExpr}
* labeled alternative in {@link OQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAndExpr(OQLParser.AndExprContext ctx);
/**
* Visit a parse tree produced by the {@code parExpr}
* labeled alternative in {@link OQLParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParExpr(OQLParser.ParExprContext ctx);
/**
* Visit a parse tree produced by the {@code nonQuotedStringAtom}
* labeled alternative in {@link OQLParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx);
/**
* Visit a parse tree produced by the {@code stringAtom}
* labeled alternative in {@link OQLParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringAtom(OQLParser.StringAtomContext ctx);
}