Class GolangBuildInfoParser.SourceFileContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- com.github.blindpirate.gogradle.antlr.GolangBuildInfoParser.SourceFileContext
-
- 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:
- GolangBuildInfoParser
public static class GolangBuildInfoParser.SourceFileContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description SourceFileContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GolangBuildInfoParser.CommentLineContext>commentLine()GolangBuildInfoParser.CommentLineContextcommentLine(int i)voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)intgetRuleIndex()java.util.List<GolangBuildInfoParser.ImportDeclContext>importDecl()GolangBuildInfoParser.ImportDeclContextimportDecl(int i)GolangBuildInfoParser.PackageClauseContextpackageClause()-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addChild, addChild, addChild, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Method Detail
-
packageClause
public GolangBuildInfoParser.PackageClauseContext packageClause()
-
commentLine
public java.util.List<GolangBuildInfoParser.CommentLineContext> commentLine()
-
commentLine
public GolangBuildInfoParser.CommentLineContext commentLine(int i)
-
importDecl
public java.util.List<GolangBuildInfoParser.ImportDeclContext> importDecl()
-
importDecl
public GolangBuildInfoParser.ImportDeclContext importDecl(int i)
-
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
-
-