Class ASTBuilderVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.kie.dmn.feel.parser.feel11.FEEL_1_1BaseVisitor<BaseNode>
-
- org.kie.dmn.feel.parser.feel11.ASTBuilderVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<BaseNode>,FEEL_1_1Visitor<BaseNode>
public class ASTBuilderVisitor extends FEEL_1_1BaseVisitor<BaseNode>
-
-
Constructor Summary
Constructors Constructor Description ASTBuilderVisitor(Map<String,Type> inputTypes, FEELTypeRegistry typeRegistry)
-
Method Summary
-
Methods inherited from class org.kie.dmn.feel.parser.feel11.FEEL_1_1BaseVisitor
visitAddExpressionMult, visitAdditionalNameSymbol, visitAtLiteralLabel, visitAtLiteralValue, visitCompExpressionRel, visitCondAndComp, visitCondOrAnd, visitEndpoint, visitIterationNameDefinitionTokens, visitMultExpressionPow, visitNameDefinitionTokens, visitNameDefinitionWithEOF, visitNameRefOtherToken, visitNegatedSimplePositiveUnaryTests, visitNonSignedUnaryExpression, visitPositiveSimplePositiveUnaryTests, visitPositiveUnaryTest, visitPositiveUnaryTestInterval, visitPowExpressionUnary, visitPrimaryContext, visitPrimaryForExpression, visitPrimaryIfExpression, visitPrimaryInterval, visitPrimaryList, visitPrimaryLiteral, visitPrimaryQuantifiedExpression, visitPrimaryUnaryTest, visitRelExpressionAdd, visitReusableKeywords, visitSimplePositiveUnaryTests, visitTextualExpression
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
ASTBuilderVisitor
public ASTBuilderVisitor(Map<String,Type> inputTypes, FEELTypeRegistry typeRegistry)
-
-
Method Detail
-
isVisitedTemporalCandidate
public boolean isVisitedTemporalCandidate()
-
visitNumberLiteral
public BaseNode visitNumberLiteral(FEEL_1_1Parser.NumberLiteralContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thenumberLiterallabeled alternative inFEEL_1_1Parser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberLiteralin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNumberLiteralin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolLiteral
public BaseNode visitBoolLiteral(FEEL_1_1Parser.BoolLiteralContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theboolLiterallabeled alternative inFEEL_1_1Parser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolLiteralin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitBoolLiteralin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtLiteral
public BaseNode visitAtLiteral(FEEL_1_1Parser.AtLiteralContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.atLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtLiteralin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitAtLiteralin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSignedUnaryExpressionPlus
public BaseNode visitSignedUnaryExpressionPlus(FEEL_1_1Parser.SignedUnaryExpressionPlusContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thesignedUnaryExpressionPluslabeled alternative inFEEL_1_1Parser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSignedUnaryExpressionPlusin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitSignedUnaryExpressionPlusin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSignedUnaryExpressionMinus
public BaseNode visitSignedUnaryExpressionMinus(FEEL_1_1Parser.SignedUnaryExpressionMinusContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thesignedUnaryExpressionMinuslabeled alternative inFEEL_1_1Parser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSignedUnaryExpressionMinusin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitSignedUnaryExpressionMinusin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
public BaseNode visitNullLiteral(FEEL_1_1Parser.NullLiteralContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thenullLiterallabeled alternative inFEEL_1_1Parser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNullLiteralin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
public BaseNode visitStringLiteral(FEEL_1_1Parser.StringLiteralContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thestringLiterallabeled alternative inFEEL_1_1Parser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitStringLiteralin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryParens
public BaseNode visitPrimaryParens(FEEL_1_1Parser.PrimaryParensContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theprimaryParenslabeled alternative inFEEL_1_1Parser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryParensin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPrimaryParensin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowExpression
public BaseNode visitPowExpression(FEEL_1_1Parser.PowExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thepowExpressionlabeled alternative inFEEL_1_1Parser.powerExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPowExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultExpression
public BaseNode visitMultExpression(FEEL_1_1Parser.MultExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by themultExpressionlabeled alternative inFEEL_1_1Parser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitMultExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddExpression
public BaseNode visitAddExpression(FEEL_1_1Parser.AddExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theaddExpressionlabeled alternative inFEEL_1_1Parser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitAddExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelExpressionBetween
public BaseNode visitRelExpressionBetween(FEEL_1_1Parser.RelExpressionBetweenContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by therelExpressionBetweenlabeled alternative inFEEL_1_1Parser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelExpressionBetweenin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitRelExpressionBetweenin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
public BaseNode visitExpressionList(FEEL_1_1Parser.ExpressionListContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.expressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionListin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitExpressionListin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterval
public BaseNode visitInterval(FEEL_1_1Parser.IntervalContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.interval().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitIntervalin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositiveUnaryTestIneq
public BaseNode visitPositiveUnaryTestIneq(FEEL_1_1Parser.PositiveUnaryTestIneqContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thepositiveUnaryTestIneqlabeled alternative inFEEL_1_1Parser.simplePositiveUnaryTest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositiveUnaryTestIneqin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPositiveUnaryTestIneqin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositiveUnaryTestIneqInterval
public BaseNode visitPositiveUnaryTestIneqInterval(FEEL_1_1Parser.PositiveUnaryTestIneqIntervalContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thepositiveUnaryTestIneqIntervallabeled alternative inFEEL_1_1Parser.simplePositiveUnaryTest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositiveUnaryTestIneqIntervalin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPositiveUnaryTestIneqIntervalin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositiveUnaryTests
public BaseNode visitPositiveUnaryTests(FEEL_1_1Parser.PositiveUnaryTestsContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.positiveUnaryTests().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositiveUnaryTestsin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPositiveUnaryTestsin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelExpressionTestList
public BaseNode visitRelExpressionTestList(FEEL_1_1Parser.RelExpressionTestListContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by therelExpressionTestListlabeled alternative inFEEL_1_1Parser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelExpressionTestListin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitRelExpressionTestListin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelExpressionValue
public BaseNode visitRelExpressionValue(FEEL_1_1Parser.RelExpressionValueContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by therelExpressionValuelabeled alternative inFEEL_1_1Parser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelExpressionValuein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitRelExpressionValuein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositiveUnaryTestDash
public BaseNode visitPositiveUnaryTestDash(FEEL_1_1Parser.PositiveUnaryTestDashContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thepositiveUnaryTestDashlabeled alternative inFEEL_1_1Parser.simpleUnaryTests().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositiveUnaryTestDashin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPositiveUnaryTestDashin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompExpression
public BaseNode visitCompExpression(FEEL_1_1Parser.CompExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thecompExpressionlabeled alternative inFEEL_1_1Parser.comparisonExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitCompExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCondOr
public BaseNode visitCondOr(FEEL_1_1Parser.CondOrContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thecondOrlabeled alternative inFEEL_1_1Parser.conditionalOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCondOrin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitCondOrin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCondAnd
public BaseNode visitCondAnd(FEEL_1_1Parser.CondAndContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thecondAndlabeled alternative inFEEL_1_1Parser.conditionalAndExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCondAndin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitCondAndin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
public BaseNode visitList(FEEL_1_1Parser.ListContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitListin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNameDefinition
public BaseNode visitNameDefinition(FEEL_1_1Parser.NameDefinitionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.nameDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNameDefinitionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNameDefinitionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIterationNameDefinition
public BaseNode visitIterationNameDefinition(FEEL_1_1Parser.IterationNameDefinitionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.iterationNameDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIterationNameDefinitionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitIterationNameDefinitionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyString
public BaseNode visitKeyString(FEEL_1_1Parser.KeyStringContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thekeyStringlabeled alternative inFEEL_1_1Parser.key().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyStringin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitKeyStringin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyName
public BaseNode visitKeyName(FEEL_1_1Parser.KeyNameContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thekeyNamelabeled alternative inFEEL_1_1Parser.key().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyNamein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitKeyNamein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextEntry
public BaseNode visitContextEntry(FEEL_1_1Parser.ContextEntryContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.contextEntry().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextEntryin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitContextEntryin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextEntries
public BaseNode visitContextEntries(FEEL_1_1Parser.ContextEntriesContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.contextEntries().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextEntriesin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitContextEntriesin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContext
public BaseNode visitContext(FEEL_1_1Parser.ContextContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.context().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitContextin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
public BaseNode visitFormalParameters(FEEL_1_1Parser.FormalParametersContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFormalParametersin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
public BaseNode visitFormalParameter(FEEL_1_1Parser.FormalParameterContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFormalParameterin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition
public BaseNode visitFunctionDefinition(FEEL_1_1Parser.FunctionDefinitionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.functionDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionDefinitionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFunctionDefinitionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIterationContext
public BaseNode visitIterationContext(FEEL_1_1Parser.IterationContextContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.iterationContext().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIterationContextin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitIterationContextin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIterationContexts
public BaseNode visitIterationContexts(FEEL_1_1Parser.IterationContextsContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.iterationContexts().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIterationContextsin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitIterationContextsin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForExpression
public BaseNode visitForExpression(FEEL_1_1Parser.ForExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.forExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitForExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
public BaseNode visitQualifiedName(FEEL_1_1Parser.QualifiedNameContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitQualifiedNamein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpression
public BaseNode visitIfExpression(FEEL_1_1Parser.IfExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.ifExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitIfExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuantExprSome
public BaseNode visitQuantExprSome(FEEL_1_1Parser.QuantExprSomeContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thequantExprSomelabeled alternative inFEEL_1_1Parser.quantifiedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuantExprSomein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitQuantExprSomein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuantExprEvery
public BaseNode visitQuantExprEvery(FEEL_1_1Parser.QuantExprEveryContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thequantExprEverylabeled alternative inFEEL_1_1Parser.quantifiedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuantExprEveryin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitQuantExprEveryin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNameRef
public BaseNode visitNameRef(FEEL_1_1Parser.NameRefContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.nameRef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNameRefin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNameRefin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositionalParameters
public BaseNode visitPositionalParameters(FEEL_1_1Parser.PositionalParametersContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.positionalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositionalParametersin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPositionalParametersin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamedParameter
public BaseNode visitNamedParameter(FEEL_1_1Parser.NamedParameterContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.namedParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamedParameterin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNamedParameterin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamedParameters
public BaseNode visitNamedParameters(FEEL_1_1Parser.NamedParametersContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.namedParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamedParametersin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitNamedParametersin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParametersEmpty
public BaseNode visitParametersEmpty(FEEL_1_1Parser.ParametersEmptyContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theparametersEmptylabeled alternative inFEEL_1_1Parser.parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParametersEmptyin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitParametersEmptyin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParametersNamed
public BaseNode visitParametersNamed(FEEL_1_1Parser.ParametersNamedContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theparametersNamedlabeled alternative inFEEL_1_1Parser.parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParametersNamedin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitParametersNamedin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParametersPositional
public BaseNode visitParametersPositional(FEEL_1_1Parser.ParametersPositionalContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theparametersPositionallabeled alternative inFEEL_1_1Parser.parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParametersPositionalin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitParametersPositionalin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnInvocation
public BaseNode visitFnInvocation(FEEL_1_1Parser.FnInvocationContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thefnInvocationlabeled alternative inFEEL_1_1Parser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFnInvocationin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFnInvocationin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryName
public BaseNode visitPrimaryName(FEEL_1_1Parser.PrimaryNameContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theprimaryNamelabeled alternative inFEEL_1_1Parser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryNamein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitPrimaryNamein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryTestsRoot
public BaseNode visitUnaryTestsRoot(FEEL_1_1Parser.UnaryTestsRootContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.unaryTestsRoot().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTestsRootin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitUnaryTestsRootin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryTests_empty
public BaseNode visitUnaryTests_empty(FEEL_1_1Parser.UnaryTests_emptyContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theunaryTests_emptylabeled alternative inFEEL_1_1Parser.unaryTests().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTests_emptyin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitUnaryTests_emptyin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryTests_positive
public BaseNode visitUnaryTests_positive(FEEL_1_1Parser.UnaryTests_positiveContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theunaryTests_positivelabeled alternative inFEEL_1_1Parser.unaryTests().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTests_positivein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitUnaryTests_positivein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryTests_negated
public BaseNode visitUnaryTests_negated(FEEL_1_1Parser.UnaryTests_negatedContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theunaryTests_negatedlabeled alternative inFEEL_1_1Parser.unaryTests().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTests_negatedin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitUnaryTests_negatedin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQnType
public TypeNode visitQnType(FEEL_1_1Parser.QnTypeContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theqnTypelabeled alternative inFEEL_1_1Parser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQnTypein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitQnTypein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListType
public BaseNode visitListType(FEEL_1_1Parser.ListTypeContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thelistTypelabeled alternative inFEEL_1_1Parser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListTypein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitListTypein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextType
public BaseNode visitContextType(FEEL_1_1Parser.ContextTypeContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thecontextTypelabeled alternative inFEEL_1_1Parser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextTypein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitContextTypein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionType
public BaseNode visitFunctionType(FEEL_1_1Parser.FunctionTypeContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by thefunctionTypelabeled alternative inFEEL_1_1Parser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionTypein interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFunctionTypein classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelExpressionInstanceOf
public BaseNode visitRelExpressionInstanceOf(FEEL_1_1Parser.RelExpressionInstanceOfContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by therelExpressionInstanceOflabeled alternative inFEEL_1_1Parser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelExpressionInstanceOfin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitRelExpressionInstanceOfin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilterPathExpression
public BaseNode visitFilterPathExpression(FEEL_1_1Parser.FilterPathExpressionContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.filterPathExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilterPathExpressionin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitFilterPathExpressionin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionTextual
public BaseNode visitExpressionTextual(FEEL_1_1Parser.ExpressionTextualContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theexpressionTextuallabeled alternative inFEEL_1_1Parser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionTextualin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitExpressionTextualin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUenpmPrimary
public BaseNode visitUenpmPrimary(FEEL_1_1Parser.UenpmPrimaryContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced by theuenpmPrimarylabeled alternative inFEEL_1_1Parser.unaryExpressionNotPlusMinus().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUenpmPrimaryin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitUenpmPrimaryin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompilation_unit
public BaseNode visitCompilation_unit(FEEL_1_1Parser.Compilation_unitContext ctx)
Description copied from class:FEEL_1_1BaseVisitorVisit a parse tree produced byFEEL_1_1Parser.compilation_unit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompilation_unitin interfaceFEEL_1_1Visitor<BaseNode>- Overrides:
visitCompilation_unitin classFEEL_1_1BaseVisitor<BaseNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-