info.scce.addlib.parser.ADDLanguageVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addlib Show documentation
Show all versions of addlib Show documentation
The Java Library for Algebraic Decision Diagrams, Code Generation, and Layouting
// Generated from info/scce/addlib/parser/ADDLanguage.g4 by ANTLR 4.5
package info.scce.addlib.parser;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link ADDLanguageParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface ADDLanguageVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by the {@code varExpr}
* labeled alternative in {@link ADDLanguageParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVarExpr(ADDLanguageParser.VarExprContext ctx);
/**
* Visit a parse tree produced by the {@code realExpr}
* labeled alternative in {@link ADDLanguageParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRealExpr(ADDLanguageParser.RealExprContext ctx);
/**
* Visit a parse tree produced by the {@code plusMinusExpr}
* labeled alternative in {@link ADDLanguageParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPlusMinusExpr(ADDLanguageParser.PlusMinusExprContext ctx);
/**
* Visit a parse tree produced by the {@code mulDivExpr}
* labeled alternative in {@link ADDLanguageParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMulDivExpr(ADDLanguageParser.MulDivExprContext ctx);
/**
* Visit a parse tree produced by the {@code parenExpr}
* labeled alternative in {@link ADDLanguageParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParenExpr(ADDLanguageParser.ParenExprContext ctx);
}