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

Function NewBlockVarDeclarContext

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

Source from the content-addressed store, hash-verified

4564}
4565
4566func NewBlockVarDeclarContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockVarDeclarContext {
4567 var p = new(BlockVarDeclarContext)
4568
4569 p.BlockStatementContext = NewEmptyBlockStatementContext()
4570 p.parser = parser
4571 p.CopyFrom(ctx.(*BlockStatementContext))
4572
4573 return p
4574}
4575
4576func (s *BlockVarDeclarContext) GetRuleContext() antlr.RuleContext {
4577 return s

Callers 1

BlockStatementMethod · 0.85

Calls 2

CopyFromMethod · 0.45

Tested by

no test coverage detected