public static class SimpleLanguageParser.ArithmeticContext
extends org.antlr.v4.runtime.ParserRuleContext
| Modifier and Type | Field and Description |
|---|---|
org.antlr.v4.runtime.Token |
op |
SLExpressionNode |
result |
SimpleLanguageParser.TermContext |
term |
| Constructor and Description |
|---|
ArithmeticContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRuleIndex() |
List<SimpleLanguageParser.TermContext> |
term() |
SimpleLanguageParser.TermContext |
term(int i) |
addAnyChild, addChild, addChild, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringpublic SLExpressionNode result
public SimpleLanguageParser.TermContext term
public org.antlr.v4.runtime.Token op
public ArithmeticContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState)
public List<SimpleLanguageParser.TermContext> term()
public SimpleLanguageParser.TermContext term(int i)
public int getRuleIndex()
getRuleIndex in class org.antlr.v4.runtime.RuleContext