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

Function NewFormalParameterContext

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

Source from the content-addressed store, hash-verified

2114func (*FormalParameterContext) IsFormalParameterContext() {}
2115
2116func NewFormalParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParameterContext {
2117 var p = new(FormalParameterContext)
2118
2119 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
2120
2121 p.parser = parser
2122 p.RuleIndex = GScriptParserRULE_formalParameter
2123
2124 return p
2125}
2126
2127func (s *FormalParameterContext) GetParser() antlr.Parser { return s.parser }
2128

Callers 1

FormalParameterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected