Package io.trino.jsonpath
Class JsonPathParser.ComparisonPredicateContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- io.trino.jsonpath.JsonPathParser.PredicatePrimaryContext
-
- io.trino.jsonpath.JsonPathParser.ComparisonPredicateContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree,org.antlr.v4.runtime.tree.RuleNode,org.antlr.v4.runtime.tree.SyntaxTree,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- JsonPathParser
public static class JsonPathParser.ComparisonPredicateContext extends JsonPathParser.PredicatePrimaryContext
-
-
Field Summary
Fields Modifier and Type Field Description JsonPathParser.PathExpressionContextleftJsonPathParser.PathExpressionContextright
-
Constructor Summary
Constructors Constructor Description ComparisonPredicateContext(JsonPathParser.PredicatePrimaryContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)JsonPathParser.ComparisonOperatorContextcomparisonOperator()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)List<JsonPathParser.PathExpressionContext>pathExpression()JsonPathParser.PathExpressionContextpathExpression(int i)-
Methods inherited from class io.trino.jsonpath.JsonPathParser.PredicatePrimaryContext
copyFrom, getRuleIndex
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
left
public JsonPathParser.PathExpressionContext left
-
right
public JsonPathParser.PathExpressionContext right
-
-
Constructor Detail
-
ComparisonPredicateContext
public ComparisonPredicateContext(JsonPathParser.PredicatePrimaryContext ctx)
-
-
Method Detail
-
comparisonOperator
public JsonPathParser.ComparisonOperatorContext comparisonOperator()
-
pathExpression
public List<JsonPathParser.PathExpressionContext> pathExpression()
-
pathExpression
public JsonPathParser.PathExpressionContext pathExpression(int i)
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-
-