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

Function NewMapContext

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

Source from the content-addressed store, hash-verified

4279}
4280
4281func NewMapContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MapContext {
4282 var p = new(MapContext)
4283
4284 InitEmptyTermContext(&p.TermContext)
4285 p.parser = parser
4286 p.CopyAll(ctx.(*TermContext))
4287
4288 return p
4289}
4290
4291func (s *MapContext) GetRuleContext() antlr.RuleContext {
4292 return s

Callers 1

TermMethod · 0.85

Calls 2

InitEmptyTermContextFunction · 0.85
CopyAllMethod · 0.80

Tested by

no test coverage detected