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

Function NewFunctionBodyContext

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

Source from the content-addressed store, hash-verified

1413func (*FunctionBodyContext) IsFunctionBodyContext() {}
1414
1415func NewFunctionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionBodyContext {
1416 var p = new(FunctionBodyContext)
1417
1418 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
1419
1420 p.parser = parser
1421 p.RuleIndex = GScriptParserRULE_functionBody
1422
1423 return p
1424}
1425
1426func (s *FunctionBodyContext) GetParser() antlr.Parser { return s.parser }
1427

Callers 1

FunctionBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected