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

Function NewStmWhileContext

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

Source from the content-addressed store, hash-verified

4910}
4911
4912func NewStmWhileContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmWhileContext {
4913 var p = new(StmWhileContext)
4914
4915 p.StatementContext = NewEmptyStatementContext()
4916 p.parser = parser
4917 p.CopyFrom(ctx.(*StatementContext))
4918
4919 return p
4920}
4921
4922func (s *StmWhileContext) GetRuleContext() antlr.RuleContext {
4923 return s

Callers 1

StatementMethod · 0.85

Calls 2

NewEmptyStatementContextFunction · 0.85
CopyFromMethod · 0.45

Tested by

no test coverage detected