public static class GoParser.SourceFileContext
extends org.antlr.v4.runtime.ParserRuleContext
| Constructor and Description |
|---|
SourceFileContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
| Modifier and Type | Method and Description |
|---|---|
List<GoParser.DeclarationContext> |
declaration() |
GoParser.DeclarationContext |
declaration(int i) |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
List<GoParser.EosContext> |
eos() |
GoParser.EosContext |
eos(int i) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
List<GoParser.FunctionDeclContext> |
functionDecl() |
GoParser.FunctionDeclContext |
functionDecl(int i) |
int |
getRuleIndex() |
List<GoParser.ImportDeclContext> |
importDecl() |
GoParser.ImportDeclContext |
importDecl(int i) |
List<GoParser.MethodDeclContext> |
methodDecl() |
GoParser.MethodDeclContext |
methodDecl(int i) |
GoParser.PackageClauseContext |
packageClause() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringpublic SourceFileContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState)
public GoParser.PackageClauseContext packageClause()
public List<GoParser.EosContext> eos()
public GoParser.EosContext eos(int i)
public List<GoParser.ImportDeclContext> importDecl()
public GoParser.ImportDeclContext importDecl(int i)
public List<GoParser.FunctionDeclContext> functionDecl()
public GoParser.FunctionDeclContext functionDecl(int i)
public List<GoParser.MethodDeclContext> methodDecl()
public GoParser.MethodDeclContext methodDecl(int i)
public List<GoParser.DeclarationContext> declaration()
public GoParser.DeclarationContext declaration(int i)
public int getRuleIndex()
getRuleIndex in class org.antlr.v4.runtime.RuleContextpublic void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
enterRule in class org.antlr.v4.runtime.ParserRuleContextpublic void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
exitRule in class org.antlr.v4.runtime.ParserRuleContextCopyright © 2021 Markus Heberling. All rights reserved.