Class SimpleParser.FileContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- com.autonomousapps.internal.grammar.SimpleParser.FileContext
-
- 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:
- SimpleParser
public static class SimpleParser.FileContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description FileContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)org.antlr.v4.runtime.tree.TerminalNodeEOF()voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)SimpleParser.FileAnnotationContextfileAnnotation()intgetRuleIndex()SimpleParser.ImportListContextimportList()SimpleParser.PackageDeclarationContextpackageDeclaration()-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Method Detail
-
importList
public SimpleParser.ImportListContext importList()
-
EOF
public org.antlr.v4.runtime.tree.TerminalNode EOF()
-
fileAnnotation
public SimpleParser.FileAnnotationContext fileAnnotation()
-
packageDeclaration
public SimpleParser.PackageDeclarationContext packageDeclaration()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
-