MCPcopy Create free account
hub / github.com/crossoverJie/gscript / Accept

Method Accept

parser/gscript_parser.go:1143–1151  ·  view source on GitHub ↗
(visitor antlr.ParseTreeVisitor)

Source from the content-addressed store, hash-verified

1141}
1142
1143func (s *FunctionDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
1144 switch t := visitor.(type) {
1145 case GScriptVisitor:
1146 return t.VisitFunctionDeclaration(s)
1147
1148 default:
1149 return t.VisitChildren(s)
1150 }
1151}
1152
1153func (p *GScriptParser) FunctionDeclaration() (localctx IFunctionDeclarationContext) {
1154 localctx = NewFunctionDeclarationContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected