Package org.apache.groovy.parser.antlr4
Class GroovyParser.ExpressionListElementContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.ExpressionListElementContext
- 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,NodeMetaDataHandler
- Enclosing class:
- GroovyParser
public static class GroovyParser.ExpressionListElementContext extends GroovyParser.GroovyParserRuleContext
-
Field Summary
Fields Modifier and Type Field Description booleancanSpreadFields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContext
invokingState, parent -
Constructor Summary
Constructors Constructor Description ExpressionListElementContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)ExpressionListElementContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, boolean canSpread) -
Method Summary
Modifier and Type Method Description <Result> Resultaccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)GroovyParser.ExpressionContextexpression()intgetRuleIndex()org.antlr.v4.runtime.tree.TerminalNodeMUL()Methods inherited from class org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContext
getMetaDataMap, setMetaDataMapMethods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, emptyContext, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods inherited from class org.antlr.v4.runtime.RuleContext
depth, getAltNumber, getChildContext, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
-
Field Details
-
canSpread
public boolean canSpread
-
-
Constructor Details
-
ExpressionListElementContext
public ExpressionListElementContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
ExpressionListElementContext
public ExpressionListElementContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, boolean canSpread)
-
-
Method Details
-
expression
-
MUL
public org.antlr.v4.runtime.tree.TerminalNode MUL() -
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
accept
public <Result> Result accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-