Package one.gfw.antlr4.sql.freemarker
Interface FreemarkerParserVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
FreemarkerParserBaseVisitor
public interface FreemarkerParserVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byFreemarkerParser.
-
-
Method Summary
-
-
-
Method Detail
-
visitTemplate
T visitTemplate(FreemarkerParser.TemplateContext ctx)
Visit a parse tree produced byFreemarkerParser.template().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElements
T visitElements(FreemarkerParser.ElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.elements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRawTextElement
T visitRawTextElement(FreemarkerParser.RawTextElementContext ctx)
Visit a parse tree produced by theRawTextElementlabeled alternative inFreemarkerParser.element().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveElement
T visitDirectiveElement(FreemarkerParser.DirectiveElementContext ctx)
Visit a parse tree produced by theDirectiveElementlabeled alternative inFreemarkerParser.element().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineExprElement
T visitInlineExprElement(FreemarkerParser.InlineExprElementContext ctx)
Visit a parse tree produced by theInlineExprElementlabeled alternative inFreemarkerParser.element().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRawText
T visitRawText(FreemarkerParser.RawTextContext ctx)
Visit a parse tree produced byFreemarkerParser.rawText().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirective
T visitDirective(FreemarkerParser.DirectiveContext ctx)
Visit a parse tree produced byFreemarkerParser.directive().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveIf
T visitDirectiveIf(FreemarkerParser.DirectiveIfContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveIf().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveIfTrueElements
T visitDirectiveIfTrueElements(FreemarkerParser.DirectiveIfTrueElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveIfTrueElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveIfElseIfElements
T visitDirectiveIfElseIfElements(FreemarkerParser.DirectiveIfElseIfElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveIfElseIfElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveIfElseElements
T visitDirectiveIfElseElements(FreemarkerParser.DirectiveIfElseElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveIfElseElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTagExprElseIfs
T visitTagExprElseIfs(FreemarkerParser.TagExprElseIfsContext ctx)
Visit a parse tree produced byFreemarkerParser.tagExprElseIfs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveAssign
T visitDirectiveAssign(FreemarkerParser.DirectiveAssignContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveAssign().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveList
T visitDirectiveList(FreemarkerParser.DirectiveListContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveListBodyElements
T visitDirectiveListBodyElements(FreemarkerParser.DirectiveListBodyElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveListBodyElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveListElseElements
T visitDirectiveListElseElements(FreemarkerParser.DirectiveListElseElementsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveListElseElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveInclude
T visitDirectiveInclude(FreemarkerParser.DirectiveIncludeContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveInclude().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveImport
T visitDirectiveImport(FreemarkerParser.DirectiveImportContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveImport().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveMacro
T visitDirectiveMacro(FreemarkerParser.DirectiveMacroContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveMacro().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveNested
T visitDirectiveNested(FreemarkerParser.DirectiveNestedContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveNested().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveReturn
T visitDirectiveReturn(FreemarkerParser.DirectiveReturnContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveReturn().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveUser
T visitDirectiveUser(FreemarkerParser.DirectiveUserContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveUser().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveUserId
T visitDirectiveUserId(FreemarkerParser.DirectiveUserIdContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveUserId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveUserParams
T visitDirectiveUserParams(FreemarkerParser.DirectiveUserParamsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveUserParams().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveUserLoopParams
T visitDirectiveUserLoopParams(FreemarkerParser.DirectiveUserLoopParamsContext ctx)
Visit a parse tree produced byFreemarkerParser.directiveUserLoopParams().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTagExpr
T visitTagExpr(FreemarkerParser.TagExprContext ctx)
Visit a parse tree produced byFreemarkerParser.tagExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineExpr
T visitInlineExpr(FreemarkerParser.InlineExprContext ctx)
Visit a parse tree produced byFreemarkerParser.inlineExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleQuote
T visitSingleQuote(FreemarkerParser.SingleQuoteContext ctx)
Visit a parse tree produced by theSingleQuotelabeled alternative inFreemarkerParser.string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuote
T visitDoubleQuote(FreemarkerParser.DoubleQuoteContext ctx)
Visit a parse tree produced by theDoubleQuotelabeled alternative inFreemarkerParser.string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprUnaryOp
T visitExprUnaryOp(FreemarkerParser.ExprUnaryOpContext ctx)
Visit a parse tree produced by theExprUnaryOplabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprMulDivMod
T visitExprMulDivMod(FreemarkerParser.ExprMulDivModContext ctx)
Visit a parse tree produced by theExprMulDivModlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolExpr
T visitBoolExpr(FreemarkerParser.BoolExprContext ctx)
Visit a parse tree produced by theBoolExprlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringExpr
T visitStringExpr(FreemarkerParser.StringExprContext ctx)
Visit a parse tree produced by theStringExprlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprBoolRelational
T visitExprBoolRelational(FreemarkerParser.ExprBoolRelationalContext ctx)
Visit a parse tree produced by theExprBoolRelationallabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprRoundParentheses
T visitExprRoundParentheses(FreemarkerParser.ExprRoundParenthesesContext ctx)
Visit a parse tree produced by theExprRoundParentheseslabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprBoolAnd
T visitExprBoolAnd(FreemarkerParser.ExprBoolAndContext ctx)
Visit a parse tree produced by theExprBoolAndlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSymbolExpr
T visitSymbolExpr(FreemarkerParser.SymbolExprContext ctx)
Visit a parse tree produced by theSymbolExprlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprBuiltIn
T visitExprBuiltIn(FreemarkerParser.ExprBuiltInContext ctx)
Visit a parse tree produced by theExprBuiltInlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructExpr
T visitStructExpr(FreemarkerParser.StructExprContext ctx)
Visit a parse tree produced by theStructExprlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprMissingTest
T visitExprMissingTest(FreemarkerParser.ExprMissingTestContext ctx)
Visit a parse tree produced by theExprMissingTestlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprAddSub
T visitExprAddSub(FreemarkerParser.ExprAddSubContext ctx)
Visit a parse tree produced by theExprAddSublabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprDotAccess
T visitExprDotAccess(FreemarkerParser.ExprDotAccessContext ctx)
Visit a parse tree produced by theExprDotAccesslabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprBoolEq
T visitExprBoolEq(FreemarkerParser.ExprBoolEqContext ctx)
Visit a parse tree produced by theExprBoolEqlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprFunctionCall
T visitExprFunctionCall(FreemarkerParser.ExprFunctionCallContext ctx)
Visit a parse tree produced by theExprFunctionCalllabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberExpr
T visitNumberExpr(FreemarkerParser.NumberExprContext ctx)
Visit a parse tree produced by theNumberExprlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprDefault
T visitExprDefault(FreemarkerParser.ExprDefaultContext ctx)
Visit a parse tree produced by theExprDefaultlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprSquareParentheses
T visitExprSquareParentheses(FreemarkerParser.ExprSquareParenthesesContext ctx)
Visit a parse tree produced by theExprSquareParentheseslabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprBoolOr
T visitExprBoolOr(FreemarkerParser.ExprBoolOrContext ctx)
Visit a parse tree produced by theExprBoolOrlabeled alternative inFreemarkerParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionParams
T visitFunctionParams(FreemarkerParser.FunctionParamsContext ctx)
Visit a parse tree produced byFreemarkerParser.functionParams().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanRelationalOperator
T visitBooleanRelationalOperator(FreemarkerParser.BooleanRelationalOperatorContext ctx)
Visit a parse tree produced byFreemarkerParser.booleanRelationalOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStruct
T visitStruct(FreemarkerParser.StructContext ctx)
Visit a parse tree produced byFreemarkerParser.struct().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStruct_pair
T visitStruct_pair(FreemarkerParser.Struct_pairContext ctx)
Visit a parse tree produced byFreemarkerParser.struct_pair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingle_quote_string
T visitSingle_quote_string(FreemarkerParser.Single_quote_stringContext ctx)
Visit a parse tree produced byFreemarkerParser.single_quote_string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDouble_quote_string
T visitDouble_quote_string(FreemarkerParser.Double_quote_stringContext ctx)
Visit a parse tree produced byFreemarkerParser.double_quote_string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-