Package io.trino.sql.parser
Class SqlBaseParser.ArithmeticBinaryContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- io.trino.sql.parser.SqlBaseParser.ValueExpressionContext
-
- io.trino.sql.parser.SqlBaseParser.ArithmeticBinaryContext
-
- 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:
- SqlBaseParser
public static class SqlBaseParser.ArithmeticBinaryContext extends SqlBaseParser.ValueExpressionContext
-
-
Field Summary
Fields Modifier and Type Field Description SqlBaseParser.ValueExpressionContextleftorg.antlr.v4.runtime.TokenoperatorSqlBaseParser.ValueExpressionContextright
-
Constructor Summary
Constructors Constructor Description ArithmeticBinaryContext(SqlBaseParser.ValueExpressionContext 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)org.antlr.v4.runtime.tree.TerminalNodeASTERISK()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)org.antlr.v4.runtime.tree.TerminalNodeMINUS()org.antlr.v4.runtime.tree.TerminalNodePERCENT()org.antlr.v4.runtime.tree.TerminalNodePLUS()org.antlr.v4.runtime.tree.TerminalNodeSLASH()List<SqlBaseParser.ValueExpressionContext>valueExpression()SqlBaseParser.ValueExpressionContextvalueExpression(int i)-
Methods inherited from class io.trino.sql.parser.SqlBaseParser.ValueExpressionContext
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 SqlBaseParser.ValueExpressionContext left
-
operator
public org.antlr.v4.runtime.Token operator
-
right
public SqlBaseParser.ValueExpressionContext right
-
-
Constructor Detail
-
ArithmeticBinaryContext
public ArithmeticBinaryContext(SqlBaseParser.ValueExpressionContext ctx)
-
-
Method Detail
-
valueExpression
public List<SqlBaseParser.ValueExpressionContext> valueExpression()
-
valueExpression
public SqlBaseParser.ValueExpressionContext valueExpression(int i)
-
ASTERISK
public org.antlr.v4.runtime.tree.TerminalNode ASTERISK()
-
SLASH
public org.antlr.v4.runtime.tree.TerminalNode SLASH()
-
PERCENT
public org.antlr.v4.runtime.tree.TerminalNode PERCENT()
-
PLUS
public org.antlr.v4.runtime.tree.TerminalNode PLUS()
-
MINUS
public org.antlr.v4.runtime.tree.TerminalNode MINUS()
-
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
-
-