Package it.unive.lisa.imp.antlr
Class IMPParser.ForDeclarationContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- it.unive.lisa.imp.antlr.IMPParser.ForDeclarationContext
-
- 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:
- IMPParser
public static class IMPParser.ForDeclarationContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Field Summary
Fields Modifier and Type Field Description IMPParser.ExpressionContext
condition
IMPParser.LocalDeclarationContext
initDecl
IMPParser.ExpressionContext
initExpr
IMPParser.ExpressionContext
post
-
Constructor Summary
Constructors Constructor Description ForDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
java.util.List<IMPParser.ExpressionContext>
expression()
IMPParser.ExpressionContext
expression(int i)
int
getRuleIndex()
IMPParser.LocalDeclarationContext
localDeclaration()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
SEMI()
org.antlr.v4.runtime.tree.TerminalNode
SEMI(int i)
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
initDecl
public IMPParser.LocalDeclarationContext initDecl
-
initExpr
public IMPParser.ExpressionContext initExpr
-
condition
public IMPParser.ExpressionContext condition
-
post
public IMPParser.ExpressionContext post
-
-
Method Detail
-
SEMI
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> SEMI()
-
SEMI
public org.antlr.v4.runtime.tree.TerminalNode SEMI(int i)
-
localDeclaration
public IMPParser.LocalDeclarationContext localDeclaration()
-
expression
public java.util.List<IMPParser.ExpressionContext> expression()
-
expression
public IMPParser.ExpressionContext expression(int i)
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndex
in classorg.antlr.v4.runtime.RuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
accept
in interfaceorg.antlr.v4.runtime.tree.ParseTree
- Overrides:
accept
in classorg.antlr.v4.runtime.RuleContext
-
-