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

Function NewFieldDeclarationContext

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

Source from the content-addressed store, hash-verified

2673func (*FieldDeclarationContext) IsFieldDeclarationContext() {}
2674
2675func NewFieldDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclarationContext {
2676 var p = new(FieldDeclarationContext)
2677
2678 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
2679
2680 p.parser = parser
2681 p.RuleIndex = GScriptParserRULE_fieldDeclaration
2682
2683 return p
2684}
2685
2686func (s *FieldDeclarationContext) GetParser() antlr.Parser { return s.parser }
2687

Callers 1

FieldDeclarationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected