Package io.trino.jsonpath
Interface JsonPathListener
-
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
JsonPathBaseListener
public interface JsonPathListener extends org.antlr.v4.runtime.tree.ParseTreeListenerThis interface defines a complete listener for a parse tree produced byJsonPathParser.
-
-
Method Summary
-
-
-
Method Detail
-
enterPath
void enterPath(JsonPathParser.PathContext ctx)
Enter a parse tree produced byJsonPathParser.path().- Parameters:
ctx- the parse tree
-
exitPath
void exitPath(JsonPathParser.PathContext ctx)
Exit a parse tree produced byJsonPathParser.path().- Parameters:
ctx- the parse tree
-
enterPathMode
void enterPathMode(JsonPathParser.PathModeContext ctx)
Enter a parse tree produced byJsonPathParser.pathMode().- Parameters:
ctx- the parse tree
-
exitPathMode
void exitPathMode(JsonPathParser.PathModeContext ctx)
Exit a parse tree produced byJsonPathParser.pathMode().- Parameters:
ctx- the parse tree
-
enterExpressionDefault
void enterExpressionDefault(JsonPathParser.ExpressionDefaultContext ctx)
Enter a parse tree produced by theexpressionDefaultlabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
exitExpressionDefault
void exitExpressionDefault(JsonPathParser.ExpressionDefaultContext ctx)
Exit a parse tree produced by theexpressionDefaultlabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
enterSignedUnary
void enterSignedUnary(JsonPathParser.SignedUnaryContext ctx)
Enter a parse tree produced by thesignedUnarylabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
exitSignedUnary
void exitSignedUnary(JsonPathParser.SignedUnaryContext ctx)
Exit a parse tree produced by thesignedUnarylabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
enterBinary
void enterBinary(JsonPathParser.BinaryContext ctx)
Enter a parse tree produced by thebinarylabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
exitBinary
void exitBinary(JsonPathParser.BinaryContext ctx)
Exit a parse tree produced by thebinarylabeled alternative inJsonPathParser.pathExpression().- Parameters:
ctx- the parse tree
-
enterDoubleMethod
void enterDoubleMethod(JsonPathParser.DoubleMethodContext ctx)
Enter a parse tree produced by thedoubleMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitDoubleMethod
void exitDoubleMethod(JsonPathParser.DoubleMethodContext ctx)
Exit a parse tree produced by thedoubleMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterDatetimeMethod
void enterDatetimeMethod(JsonPathParser.DatetimeMethodContext ctx)
Enter a parse tree produced by thedatetimeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitDatetimeMethod
void exitDatetimeMethod(JsonPathParser.DatetimeMethodContext ctx)
Exit a parse tree produced by thedatetimeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterAbsMethod
void enterAbsMethod(JsonPathParser.AbsMethodContext ctx)
Enter a parse tree produced by theabsMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitAbsMethod
void exitAbsMethod(JsonPathParser.AbsMethodContext ctx)
Exit a parse tree produced by theabsMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterMemberAccessor
void enterMemberAccessor(JsonPathParser.MemberAccessorContext ctx)
Enter a parse tree produced by thememberAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitMemberAccessor
void exitMemberAccessor(JsonPathParser.MemberAccessorContext ctx)
Exit a parse tree produced by thememberAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterArrayAccessor
void enterArrayAccessor(JsonPathParser.ArrayAccessorContext ctx)
Enter a parse tree produced by thearrayAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitArrayAccessor
void exitArrayAccessor(JsonPathParser.ArrayAccessorContext ctx)
Exit a parse tree produced by thearrayAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterFilter
void enterFilter(JsonPathParser.FilterContext ctx)
Enter a parse tree produced by thefilterlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitFilter
void exitFilter(JsonPathParser.FilterContext ctx)
Exit a parse tree produced by thefilterlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterWildcardArrayAccessor
void enterWildcardArrayAccessor(JsonPathParser.WildcardArrayAccessorContext ctx)
Enter a parse tree produced by thewildcardArrayAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitWildcardArrayAccessor
void exitWildcardArrayAccessor(JsonPathParser.WildcardArrayAccessorContext ctx)
Exit a parse tree produced by thewildcardArrayAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterCeilingMethod
void enterCeilingMethod(JsonPathParser.CeilingMethodContext ctx)
Enter a parse tree produced by theceilingMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitCeilingMethod
void exitCeilingMethod(JsonPathParser.CeilingMethodContext ctx)
Exit a parse tree produced by theceilingMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterFloorMethod
void enterFloorMethod(JsonPathParser.FloorMethodContext ctx)
Enter a parse tree produced by thefloorMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitFloorMethod
void exitFloorMethod(JsonPathParser.FloorMethodContext ctx)
Exit a parse tree produced by thefloorMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterTypeMethod
void enterTypeMethod(JsonPathParser.TypeMethodContext ctx)
Enter a parse tree produced by thetypeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitTypeMethod
void exitTypeMethod(JsonPathParser.TypeMethodContext ctx)
Exit a parse tree produced by thetypeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterAccessorExpressionDefault
void enterAccessorExpressionDefault(JsonPathParser.AccessorExpressionDefaultContext ctx)
Enter a parse tree produced by theaccessorExpressionDefaultlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitAccessorExpressionDefault
void exitAccessorExpressionDefault(JsonPathParser.AccessorExpressionDefaultContext ctx)
Exit a parse tree produced by theaccessorExpressionDefaultlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterWildcardMemberAccessor
void enterWildcardMemberAccessor(JsonPathParser.WildcardMemberAccessorContext ctx)
Enter a parse tree produced by thewildcardMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitWildcardMemberAccessor
void exitWildcardMemberAccessor(JsonPathParser.WildcardMemberAccessorContext ctx)
Exit a parse tree produced by thewildcardMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterSizeMethod
void enterSizeMethod(JsonPathParser.SizeMethodContext ctx)
Enter a parse tree produced by thesizeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitSizeMethod
void exitSizeMethod(JsonPathParser.SizeMethodContext ctx)
Exit a parse tree produced by thesizeMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterKeyValueMethod
void enterKeyValueMethod(JsonPathParser.KeyValueMethodContext ctx)
Enter a parse tree produced by thekeyValueMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
exitKeyValueMethod
void exitKeyValueMethod(JsonPathParser.KeyValueMethodContext ctx)
Exit a parse tree produced by thekeyValueMethodlabeled alternative inJsonPathParser.accessorExpression().- Parameters:
ctx- the parse tree
-
enterIdentifier
void enterIdentifier(JsonPathParser.IdentifierContext ctx)
Enter a parse tree produced byJsonPathParser.identifier().- Parameters:
ctx- the parse tree
-
exitIdentifier
void exitIdentifier(JsonPathParser.IdentifierContext ctx)
Exit a parse tree produced byJsonPathParser.identifier().- Parameters:
ctx- the parse tree
-
enterSubscript
void enterSubscript(JsonPathParser.SubscriptContext ctx)
Enter a parse tree produced byJsonPathParser.subscript().- Parameters:
ctx- the parse tree
-
exitSubscript
void exitSubscript(JsonPathParser.SubscriptContext ctx)
Exit a parse tree produced byJsonPathParser.subscript().- Parameters:
ctx- the parse tree
-
enterLiteralPrimary
void enterLiteralPrimary(JsonPathParser.LiteralPrimaryContext ctx)
Enter a parse tree produced by theliteralPrimarylabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
exitLiteralPrimary
void exitLiteralPrimary(JsonPathParser.LiteralPrimaryContext ctx)
Exit a parse tree produced by theliteralPrimarylabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
enterVariablePrimary
void enterVariablePrimary(JsonPathParser.VariablePrimaryContext ctx)
Enter a parse tree produced by thevariablePrimarylabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
exitVariablePrimary
void exitVariablePrimary(JsonPathParser.VariablePrimaryContext ctx)
Exit a parse tree produced by thevariablePrimarylabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
enterParenthesizedPath
void enterParenthesizedPath(JsonPathParser.ParenthesizedPathContext ctx)
Enter a parse tree produced by theparenthesizedPathlabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
exitParenthesizedPath
void exitParenthesizedPath(JsonPathParser.ParenthesizedPathContext ctx)
Exit a parse tree produced by theparenthesizedPathlabeled alternative inJsonPathParser.pathPrimary().- Parameters:
ctx- the parse tree
-
enterLiteral
void enterLiteral(JsonPathParser.LiteralContext ctx)
Enter a parse tree produced byJsonPathParser.literal().- Parameters:
ctx- the parse tree
-
exitLiteral
void exitLiteral(JsonPathParser.LiteralContext ctx)
Exit a parse tree produced byJsonPathParser.literal().- Parameters:
ctx- the parse tree
-
enterDecimalLiteral
void enterDecimalLiteral(JsonPathParser.DecimalLiteralContext ctx)
Enter a parse tree produced by thedecimalLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
exitDecimalLiteral
void exitDecimalLiteral(JsonPathParser.DecimalLiteralContext ctx)
Exit a parse tree produced by thedecimalLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
enterDoubleLiteral
void enterDoubleLiteral(JsonPathParser.DoubleLiteralContext ctx)
Enter a parse tree produced by thedoubleLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
exitDoubleLiteral
void exitDoubleLiteral(JsonPathParser.DoubleLiteralContext ctx)
Exit a parse tree produced by thedoubleLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
enterIntegerLiteral
void enterIntegerLiteral(JsonPathParser.IntegerLiteralContext ctx)
Enter a parse tree produced by theintegerLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
exitIntegerLiteral
void exitIntegerLiteral(JsonPathParser.IntegerLiteralContext ctx)
Exit a parse tree produced by theintegerLiterallabeled alternative inJsonPathParser.numericLiteral().- Parameters:
ctx- the parse tree
-
enterStringLiteral
void enterStringLiteral(JsonPathParser.StringLiteralContext ctx)
Enter a parse tree produced byJsonPathParser.stringLiteral().- Parameters:
ctx- the parse tree
-
exitStringLiteral
void exitStringLiteral(JsonPathParser.StringLiteralContext ctx)
Exit a parse tree produced byJsonPathParser.stringLiteral().- Parameters:
ctx- the parse tree
-
enterNullLiteral
void enterNullLiteral(JsonPathParser.NullLiteralContext ctx)
Enter a parse tree produced byJsonPathParser.nullLiteral().- Parameters:
ctx- the parse tree
-
exitNullLiteral
void exitNullLiteral(JsonPathParser.NullLiteralContext ctx)
Exit a parse tree produced byJsonPathParser.nullLiteral().- Parameters:
ctx- the parse tree
-
enterBooleanLiteral
void enterBooleanLiteral(JsonPathParser.BooleanLiteralContext ctx)
Enter a parse tree produced byJsonPathParser.booleanLiteral().- Parameters:
ctx- the parse tree
-
exitBooleanLiteral
void exitBooleanLiteral(JsonPathParser.BooleanLiteralContext ctx)
Exit a parse tree produced byJsonPathParser.booleanLiteral().- Parameters:
ctx- the parse tree
-
enterContextVariable
void enterContextVariable(JsonPathParser.ContextVariableContext ctx)
Enter a parse tree produced by thecontextVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
exitContextVariable
void exitContextVariable(JsonPathParser.ContextVariableContext ctx)
Exit a parse tree produced by thecontextVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
enterNamedVariable
void enterNamedVariable(JsonPathParser.NamedVariableContext ctx)
Enter a parse tree produced by thenamedVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
exitNamedVariable
void exitNamedVariable(JsonPathParser.NamedVariableContext ctx)
Exit a parse tree produced by thenamedVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
enterLastIndexVariable
void enterLastIndexVariable(JsonPathParser.LastIndexVariableContext ctx)
Enter a parse tree produced by thelastIndexVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
exitLastIndexVariable
void exitLastIndexVariable(JsonPathParser.LastIndexVariableContext ctx)
Exit a parse tree produced by thelastIndexVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
enterPredicateCurrentItemVariable
void enterPredicateCurrentItemVariable(JsonPathParser.PredicateCurrentItemVariableContext ctx)
Enter a parse tree produced by thepredicateCurrentItemVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
exitPredicateCurrentItemVariable
void exitPredicateCurrentItemVariable(JsonPathParser.PredicateCurrentItemVariableContext ctx)
Exit a parse tree produced by thepredicateCurrentItemVariablelabeled alternative inJsonPathParser.variable().- Parameters:
ctx- the parse tree
-
enterNegationPredicate
void enterNegationPredicate(JsonPathParser.NegationPredicateContext ctx)
Enter a parse tree produced by thenegationPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
exitNegationPredicate
void exitNegationPredicate(JsonPathParser.NegationPredicateContext ctx)
Exit a parse tree produced by thenegationPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
enterPredicateDefault
void enterPredicateDefault(JsonPathParser.PredicateDefaultContext ctx)
Enter a parse tree produced by thepredicateDefaultlabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
exitPredicateDefault
void exitPredicateDefault(JsonPathParser.PredicateDefaultContext ctx)
Exit a parse tree produced by thepredicateDefaultlabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
enterDisjunctionPredicate
void enterDisjunctionPredicate(JsonPathParser.DisjunctionPredicateContext ctx)
Enter a parse tree produced by thedisjunctionPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
exitDisjunctionPredicate
void exitDisjunctionPredicate(JsonPathParser.DisjunctionPredicateContext ctx)
Exit a parse tree produced by thedisjunctionPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
enterConjunctionPredicate
void enterConjunctionPredicate(JsonPathParser.ConjunctionPredicateContext ctx)
Enter a parse tree produced by theconjunctionPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
exitConjunctionPredicate
void exitConjunctionPredicate(JsonPathParser.ConjunctionPredicateContext ctx)
Exit a parse tree produced by theconjunctionPredicatelabeled alternative inJsonPathParser.predicate().- Parameters:
ctx- the parse tree
-
enterPredicatePrimaryDefault
void enterPredicatePrimaryDefault(JsonPathParser.PredicatePrimaryDefaultContext ctx)
Enter a parse tree produced by thepredicatePrimaryDefaultlabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
exitPredicatePrimaryDefault
void exitPredicatePrimaryDefault(JsonPathParser.PredicatePrimaryDefaultContext ctx)
Exit a parse tree produced by thepredicatePrimaryDefaultlabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
enterComparisonPredicate
void enterComparisonPredicate(JsonPathParser.ComparisonPredicateContext ctx)
Enter a parse tree produced by thecomparisonPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
exitComparisonPredicate
void exitComparisonPredicate(JsonPathParser.ComparisonPredicateContext ctx)
Exit a parse tree produced by thecomparisonPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
enterLikeRegexPredicate
void enterLikeRegexPredicate(JsonPathParser.LikeRegexPredicateContext ctx)
Enter a parse tree produced by thelikeRegexPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
exitLikeRegexPredicate
void exitLikeRegexPredicate(JsonPathParser.LikeRegexPredicateContext ctx)
Exit a parse tree produced by thelikeRegexPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
enterStartsWithPredicate
void enterStartsWithPredicate(JsonPathParser.StartsWithPredicateContext ctx)
Enter a parse tree produced by thestartsWithPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
exitStartsWithPredicate
void exitStartsWithPredicate(JsonPathParser.StartsWithPredicateContext ctx)
Exit a parse tree produced by thestartsWithPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
enterIsUnknownPredicate
void enterIsUnknownPredicate(JsonPathParser.IsUnknownPredicateContext ctx)
Enter a parse tree produced by theisUnknownPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
exitIsUnknownPredicate
void exitIsUnknownPredicate(JsonPathParser.IsUnknownPredicateContext ctx)
Exit a parse tree produced by theisUnknownPredicatelabeled alternative inJsonPathParser.predicatePrimary().- Parameters:
ctx- the parse tree
-
enterExistsPredicate
void enterExistsPredicate(JsonPathParser.ExistsPredicateContext ctx)
Enter a parse tree produced by theexistsPredicatelabeled alternative inJsonPathParser.delimitedPredicate().- Parameters:
ctx- the parse tree
-
exitExistsPredicate
void exitExistsPredicate(JsonPathParser.ExistsPredicateContext ctx)
Exit a parse tree produced by theexistsPredicatelabeled alternative inJsonPathParser.delimitedPredicate().- Parameters:
ctx- the parse tree
-
enterParenthesizedPredicate
void enterParenthesizedPredicate(JsonPathParser.ParenthesizedPredicateContext ctx)
Enter a parse tree produced by theparenthesizedPredicatelabeled alternative inJsonPathParser.delimitedPredicate().- Parameters:
ctx- the parse tree
-
exitParenthesizedPredicate
void exitParenthesizedPredicate(JsonPathParser.ParenthesizedPredicateContext ctx)
Exit a parse tree produced by theparenthesizedPredicatelabeled alternative inJsonPathParser.delimitedPredicate().- Parameters:
ctx- the parse tree
-
enterComparisonOperator
void enterComparisonOperator(JsonPathParser.ComparisonOperatorContext ctx)
Enter a parse tree produced byJsonPathParser.comparisonOperator().- Parameters:
ctx- the parse tree
-
exitComparisonOperator
void exitComparisonOperator(JsonPathParser.ComparisonOperatorContext ctx)
Exit a parse tree produced byJsonPathParser.comparisonOperator().- Parameters:
ctx- the parse tree
-
enterNonReserved
void enterNonReserved(JsonPathParser.NonReservedContext ctx)
Enter a parse tree produced byJsonPathParser.nonReserved().- Parameters:
ctx- the parse tree
-
exitNonReserved
void exitNonReserved(JsonPathParser.NonReservedContext ctx)
Exit a parse tree produced byJsonPathParser.nonReserved().- Parameters:
ctx- the parse tree
-
-