jetbrick.template.runtime.parser.grammer.JetTemplateParserVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jetbrick-template Show documentation
Show all versions of jetbrick-template Show documentation
Next generation template engine for Java
// Generated from jetbrick/template/runtime/parser/grammer/JetTemplateParser.g4 by ANTLR 4.3
package jetbrick.template.runtime.parser.grammer;
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 JetTemplateParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface JetTemplateParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link JetTemplateParser#template}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTemplate(@NotNull JetTemplateParser.TemplateContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_define_expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_define_expression(@NotNull JetTemplateParser.Directive_define_expressionContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_macro_arguments}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_macro_arguments(@NotNull JetTemplateParser.Directive_macro_argumentsContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstant(@NotNull JetTemplateParser.ConstantContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_tag}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_tag(@NotNull JetTemplateParser.Directive_tagContext ctx);
/**
* Visit a parse tree produced by the {@code expression_field_static}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_field_static(@NotNull JetTemplateParser.Expression_field_staticContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_macro}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_macro(@NotNull JetTemplateParser.Directive_macroContext ctx);
/**
* Visit a parse tree produced by the {@code expression_method}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_method(@NotNull JetTemplateParser.Expression_methodContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#type}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitType(@NotNull JetTemplateParser.TypeContext ctx);
/**
* Visit a parse tree produced by the {@code expression_array_list}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_array_list(@NotNull JetTemplateParser.Expression_array_listContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_options_expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_options_expression(@NotNull JetTemplateParser.Directive_options_expressionContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_set}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_set(@NotNull JetTemplateParser.Directive_setContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_invalid}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_invalid(@NotNull JetTemplateParser.Directive_invalidContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_call}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_call(@NotNull JetTemplateParser.Directive_callContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_stop}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_stop(@NotNull JetTemplateParser.Directive_stopContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#expression_list}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_list(@NotNull JetTemplateParser.Expression_listContext ctx);
/**
* Visit a parse tree produced by the {@code expression_index_get}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_index_get(@NotNull JetTemplateParser.Expression_index_getContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#block}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBlock(@NotNull JetTemplateParser.BlockContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#hash_map_entry}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitHash_map_entry(@NotNull JetTemplateParser.Hash_map_entryContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#text}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitText(@NotNull JetTemplateParser.TextContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#value}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitValue(@NotNull JetTemplateParser.ValueContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIdentifier(@NotNull JetTemplateParser.IdentifierContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_options}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_options(@NotNull JetTemplateParser.Directive_optionsContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_return}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_return(@NotNull JetTemplateParser.Directive_returnContext ctx);
/**
* Visit a parse tree produced by the {@code expression_instanceof}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_instanceof(@NotNull JetTemplateParser.Expression_instanceofContext ctx);
/**
* Visit a parse tree produced by the {@code expression_primary}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_primary(@NotNull JetTemplateParser.Expression_primaryContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_if}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_if(@NotNull JetTemplateParser.Directive_ifContext ctx);
/**
* Visit a parse tree produced by the {@code expression_identifier}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_identifier(@NotNull JetTemplateParser.Expression_identifierContext ctx);
/**
* Visit a parse tree produced by the {@code expression_ternary_operator}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_ternary_operator(@NotNull JetTemplateParser.Expression_ternary_operatorContext ctx);
/**
* Visit a parse tree produced by the {@code expression_function}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_function(@NotNull JetTemplateParser.Expression_functionContext ctx);
/**
* Visit a parse tree produced by the {@code expression_nullsafe_operator}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_nullsafe_operator(@NotNull JetTemplateParser.Expression_nullsafe_operatorContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective(@NotNull JetTemplateParser.DirectiveContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_set_expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_set_expression(@NotNull JetTemplateParser.Directive_set_expressionContext ctx);
/**
* Visit a parse tree produced by the {@code expression_hash_map}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_hash_map(@NotNull JetTemplateParser.Expression_hash_mapContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_elseif}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_elseif(@NotNull JetTemplateParser.Directive_elseifContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_break}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_break(@NotNull JetTemplateParser.Directive_breakContext ctx);
/**
* Visit a parse tree produced by the {@code expression_unary_operator}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_unary_operator(@NotNull JetTemplateParser.Expression_unary_operatorContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_else}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_else(@NotNull JetTemplateParser.Directive_elseContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_include}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_include(@NotNull JetTemplateParser.Directive_includeContext ctx);
/**
* Visit a parse tree produced by the {@code expression_new_array}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_new_array(@NotNull JetTemplateParser.Expression_new_arrayContext ctx);
/**
* Visit a parse tree produced by the {@code expression_field}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_field(@NotNull JetTemplateParser.Expression_fieldContext ctx);
/**
* Visit a parse tree produced by the {@code expression_method_static}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_method_static(@NotNull JetTemplateParser.Expression_method_staticContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_for}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_for(@NotNull JetTemplateParser.Directive_forContext ctx);
/**
* Visit a parse tree produced by the {@code expression_constant}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_constant(@NotNull JetTemplateParser.Expression_constantContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_define}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_define(@NotNull JetTemplateParser.Directive_defineContext ctx);
/**
* Visit a parse tree produced by the {@code expression_new_object}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_new_object(@NotNull JetTemplateParser.Expression_new_objectContext ctx);
/**
* Visit a parse tree produced by {@link JetTemplateParser#directive_continue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDirective_continue(@NotNull JetTemplateParser.Directive_continueContext ctx);
/**
* Visit a parse tree produced by the {@code expression_binary_operator}
* labeled alternative in {@link JetTemplateParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression_binary_operator(@NotNull JetTemplateParser.Expression_binary_operatorContext ctx);
}