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

Function NewClassDeclarationContext

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

Source from the content-addressed store, hash-verified

452func (*ClassDeclarationContext) IsClassDeclarationContext() {}
453
454func NewClassDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassDeclarationContext {
455 var p = new(ClassDeclarationContext)
456
457 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
458
459 p.parser = parser
460 p.RuleIndex = GScriptParserRULE_classDeclaration
461
462 return p
463}
464
465func (s *ClassDeclarationContext) GetParser() antlr.Parser { return s.parser }
466

Callers 1

ClassDeclarationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected