Files
klang/target/generated-sources/antlr4/de/hsrm/compiler/Klang/KlangVisitor.java
2019-10-28 16:13:37 +01:00

180 lines
5.8 KiB
Java

// Generated from de/hsrm/compiler/Klang/Klang.g4 by ANTLR 4.5
package de.hsrm.compiler.Klang;
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 KlangParser}.
*
* @param <T> The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface KlangVisitor<T> extends ParseTreeVisitor<T> {
/**
* Visit a parse tree produced by {@link KlangParser#parse}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParse(KlangParser.ParseContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#block}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBlock(KlangParser.BlockContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#stat}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStat(KlangParser.StatContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#assignment}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAssignment(KlangParser.AssignmentContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#if_stat}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIf_stat(KlangParser.If_statContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#condition_block}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCondition_block(KlangParser.Condition_blockContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#stat_block}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStat_block(KlangParser.Stat_blockContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#while_stat}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhile_stat(KlangParser.While_statContext ctx);
/**
* Visit a parse tree produced by {@link KlangParser#log}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLog(KlangParser.LogContext ctx);
/**
* Visit a parse tree produced by the {@code notExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNotExpr(KlangParser.NotExprContext ctx);
/**
* Visit a parse tree produced by the {@code unaryMinusExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnaryMinusExpr(KlangParser.UnaryMinusExprContext ctx);
/**
* Visit a parse tree produced by the {@code multiplicationExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMultiplicationExpr(KlangParser.MultiplicationExprContext ctx);
/**
* Visit a parse tree produced by the {@code atomExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAtomExpr(KlangParser.AtomExprContext ctx);
/**
* Visit a parse tree produced by the {@code orExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrExpr(KlangParser.OrExprContext ctx);
/**
* Visit a parse tree produced by the {@code additiveExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAdditiveExpr(KlangParser.AdditiveExprContext ctx);
/**
* Visit a parse tree produced by the {@code powExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPowExpr(KlangParser.PowExprContext ctx);
/**
* Visit a parse tree produced by the {@code relationalExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationalExpr(KlangParser.RelationalExprContext ctx);
/**
* Visit a parse tree produced by the {@code equalityExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEqualityExpr(KlangParser.EqualityExprContext ctx);
/**
* Visit a parse tree produced by the {@code andExpr}
* labeled alternative in {@link KlangParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAndExpr(KlangParser.AndExprContext ctx);
/**
* Visit a parse tree produced by the {@code parExpr}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParExpr(KlangParser.ParExprContext ctx);
/**
* Visit a parse tree produced by the {@code numberAtom}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumberAtom(KlangParser.NumberAtomContext ctx);
/**
* Visit a parse tree produced by the {@code booleanAtom}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanAtom(KlangParser.BooleanAtomContext ctx);
/**
* Visit a parse tree produced by the {@code idAtom}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIdAtom(KlangParser.IdAtomContext ctx);
/**
* Visit a parse tree produced by the {@code stringAtom}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringAtom(KlangParser.StringAtomContext ctx);
/**
* Visit a parse tree produced by the {@code nilAtom}
* labeled alternative in {@link KlangParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNilAtom(KlangParser.NilAtomContext ctx);
}