MCPcopy Create free account
hub / github.com/google/mangle / NewStrContext

Function NewStrContext

parse/gen/mangle_parser.go:3819–3827  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

3817}
3818
3819func NewStrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StrContext {
3820 var p = new(StrContext)
3821
3822 InitEmptyTermContext(&p.TermContext)
3823 p.parser = parser
3824 p.CopyAll(ctx.(*TermContext))
3825
3826 return p
3827}
3828
3829func (s *StrContext) GetRuleContext() antlr.RuleContext {
3830 return s

Callers 1

TermMethod · 0.85

Calls 2

InitEmptyTermContextFunction · 0.85
CopyAllMethod · 0.80

Tested by

no test coverage detected