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

Function NewStmBlockLabelContext

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

Source from the content-addressed store, hash-verified

4729}
4730
4731func NewStmBlockLabelContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmBlockLabelContext {
4732 var p = new(StmBlockLabelContext)
4733
4734 p.StatementContext = NewEmptyStatementContext()
4735 p.parser = parser
4736 p.CopyFrom(ctx.(*StatementContext))
4737
4738 return p
4739}
4740
4741func (s *StmBlockLabelContext) GetBlockLabel() IBlockContext { return s.blockLabel }
4742

Callers 1

StatementMethod · 0.85

Calls 2

NewEmptyStatementContextFunction · 0.85
CopyFromMethod · 0.45

Tested by

no test coverage detected