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

Method Accept

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

Source from the content-addressed store, hash-verified

1456}
1457
1458func (s *FunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
1459 switch t := visitor.(type) {
1460 case GScriptVisitor:
1461 return t.VisitFunctionBody(s)
1462
1463 default:
1464 return t.VisitChildren(s)
1465 }
1466}
1467
1468func (p *GScriptParser) FunctionBody() (localctx IFunctionBodyContext) {
1469 localctx = NewFunctionBodyContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitFunctionBodyMethod · 0.65

Tested by

no test coverage detected