public static class BasicParser.Prefix1Context extends BasicParser.SingleExprContext
Modifier and Type | Field and Description |
---|---|
Token |
op |
children, exception, start, stop
EMPTY, invokingState, parent
Constructor and Description |
---|
Prefix1Context(BasicParser.SingleExprContext ctx) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ParseTreeVisitor<? extends T> visitor) |
TerminalNode |
MINUS() |
TerminalNode |
NOT() |
TerminalNode |
PLUS() |
BasicParser.SingleExprContext |
singleExpr() |
copyFrom, getRuleIndex
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
depth, getAltNumber, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
public Token op
public Prefix1Context(BasicParser.SingleExprContext ctx)
public BasicParser.SingleExprContext singleExpr()
public TerminalNode PLUS()
public TerminalNode MINUS()
public TerminalNode NOT()
public <T> T accept(ParseTreeVisitor<? extends T> visitor)
accept
in interface ParseTree
accept
in class RuleContext