Package org.apache.wayang.core.mathex
Class MathExParser.BinaryOperationContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- org.apache.wayang.core.mathex.MathExParser.ExpressionContext
-
- org.apache.wayang.core.mathex.MathExParser.BinaryOperationContext
-
- 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:
- MathExParser
public static class MathExParser.BinaryOperationContext extends MathExParser.ExpressionContext
-
-
Field Summary
Fields Modifier and Type Field Description MathExParser.ExpressionContextoperand0MathExParser.ExpressionContextoperand1org.antlr.v4.runtime.Tokenoperator
-
Constructor Summary
Constructors Constructor Description BinaryOperationContext(MathExParser.ExpressionContext 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)voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)java.util.List<MathExParser.ExpressionContext>expression()MathExParser.ExpressionContextexpression(int i)org.antlr.v4.runtime.tree.TerminalNodePREC2_OP()-
Methods inherited from class org.apache.wayang.core.mathex.MathExParser.ExpressionContext
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
-
operand0
public MathExParser.ExpressionContext operand0
-
operator
public org.antlr.v4.runtime.Token operator
-
operand1
public MathExParser.ExpressionContext operand1
-
-
Constructor Detail
-
BinaryOperationContext
public BinaryOperationContext(MathExParser.ExpressionContext ctx)
-
-
Method Detail
-
expression
public java.util.List<MathExParser.ExpressionContext> expression()
-
expression
public MathExParser.ExpressionContext expression(int i)
-
PREC2_OP
public org.antlr.v4.runtime.tree.TerminalNode PREC2_OP()
-
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
-
-