Package org.apache.groovy.parser.antlr4
Class GroovyParser.VariableDeclarationContext
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.VariableDeclarationContext
- 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.VariableDeclarationContext extends GroovyParser.GroovyParserRuleContext
- 
Field SummaryFields Modifier and Type Field Description inttFields inherited from class org.antlr.v4.runtime.ParserRuleContextchildren, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContextinvokingState, parent
- 
Constructor SummaryConstructors Constructor Description VariableDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)VariableDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t)
- 
Method SummaryModifier and Type Method Description <Result> Resultaccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)org.antlr.v4.runtime.tree.TerminalNodeASSIGN()intgetRuleIndex()GroovyParser.ModifiersContextmodifiers()java.util.List<? extends GroovyParser.NlsContext>nls()GroovyParser.NlsContextnls(int i)GroovyParser.TypeContexttype()GroovyParser.TypeNamePairsContexttypeNamePairs()GroovyParser.VariableDeclaratorsContextvariableDeclarators()GroovyParser.VariableInitializerContextvariableInitializer()Methods inherited from class org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContextgetMetaDataMap, setMetaDataMapMethods inherited from class org.antlr.v4.runtime.ParserRuleContextaddAnyChild, 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.RuleContextdepth, getAltNumber, getChildContext, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTreeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandlercopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
- 
Field Details- 
tpublic int t
 
- 
- 
Constructor Details- 
VariableDeclarationContextpublic VariableDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
- 
VariableDeclarationContextpublic VariableDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t)
 
- 
- 
Method Details- 
modifiers
- 
nls
- 
nls
- 
variableDeclarators
- 
typeNamePairs
- 
ASSIGNpublic org.antlr.v4.runtime.tree.TerminalNode ASSIGN()
- 
variableInitializer
- 
type
- 
getRuleIndexpublic int getRuleIndex()- Overrides:
- getRuleIndexin class- org.antlr.v4.runtime.RuleContext
 
- 
acceptpublic <Result> Result accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)- Specified by:
- acceptin interface- org.antlr.v4.runtime.tree.ParseTree
- Overrides:
- acceptin class- org.antlr.v4.runtime.RuleContext
 
 
-