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

Function NewClassBodyContext

parser/gscript_parser.go:636–645  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

634func (*ClassBodyContext) IsClassBodyContext() {}
635
636func NewClassBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassBodyContext {
637 var p = new(ClassBodyContext)
638
639 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
640
641 p.parser = parser
642 p.RuleIndex = GScriptParserRULE_classBody
643
644 return p
645}
646
647func (s *ClassBodyContext) GetParser() antlr.Parser { return s.parser }
648

Callers 1

ClassBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected