Class Python3Parser.Compound_stmtContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- io.github.danielnaczo.python3parser.Python3Parser.Compound_stmtContext
-
- 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:
- Python3Parser
public static class Python3Parser.Compound_stmtContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description Compound_stmtContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)Python3Parser.Async_stmtContextasync_stmt()Python3Parser.ClassdefContextclassdef()Python3Parser.For_stmtContextfor_stmt()Python3Parser.FuncdefContextfuncdef()intgetRuleIndex()Python3Parser.If_stmtContextif_stmt()Python3Parser.Try_stmtContexttry_stmt()Python3Parser.While_stmtContextwhile_stmt()Python3Parser.With_stmtContextwith_stmt()-
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
-
-
-
-
Method Detail
-
if_stmt
public Python3Parser.If_stmtContext if_stmt()
-
while_stmt
public Python3Parser.While_stmtContext while_stmt()
-
for_stmt
public Python3Parser.For_stmtContext for_stmt()
-
try_stmt
public Python3Parser.Try_stmtContext try_stmt()
-
with_stmt
public Python3Parser.With_stmtContext with_stmt()
-
funcdef
public Python3Parser.FuncdefContext funcdef()
-
classdef
public Python3Parser.ClassdefContext classdef()
-
async_stmt
public Python3Parser.Async_stmtContext async_stmt()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-
-