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

Function NewBlockStmContext

parser/gscript_parser.go:4416–4424  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

4414}
4415
4416func NewBlockStmContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockStmContext {
4417 var p = new(BlockStmContext)
4418
4419 p.BlockStatementContext = NewEmptyBlockStatementContext()
4420 p.parser = parser
4421 p.CopyFrom(ctx.(*BlockStatementContext))
4422
4423 return p
4424}
4425
4426func (s *BlockStmContext) GetRuleContext() antlr.RuleContext {
4427 return s

Callers 1

BlockStatementMethod · 0.85

Calls 2

CopyFromMethod · 0.45

Tested by

no test coverage detected