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

Method Accept

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

Source from the content-addressed store, hash-verified

824}
825
826func (s *ClassBodyDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
827 switch t := visitor.(type) {
828 case GScriptVisitor:
829 return t.VisitClassBodyDeclaration(s)
830
831 default:
832 return t.VisitChildren(s)
833 }
834}
835
836func (p *GScriptParser) ClassBodyDeclaration() (localctx IClassBodyDeclarationContext) {
837 localctx = NewClassBodyDeclarationContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected