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

Function NewBlockContext

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

Source from the content-addressed store, hash-verified

4108func (*BlockContext) IsBlockContext() {}
4109
4110func NewBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockContext {
4111 var p = new(BlockContext)
4112
4113 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
4114
4115 p.parser = parser
4116 p.RuleIndex = GScriptParserRULE_block
4117
4118 return p
4119}
4120
4121func (s *BlockContext) GetParser() antlr.Parser { return s.parser }
4122

Callers 1

BlockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected