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

Function NewStructContext

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

Source from the content-addressed store, hash-verified

4376}
4377
4378func NewStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructContext {
4379 var p = new(StructContext)
4380
4381 InitEmptyTermContext(&p.TermContext)
4382 p.parser = parser
4383 p.CopyAll(ctx.(*TermContext))
4384
4385 return p
4386}
4387
4388func (s *StructContext) GetRuleContext() antlr.RuleContext {
4389 return s

Callers 1

TermMethod · 0.85

Calls 2

InitEmptyTermContextFunction · 0.85
CopyAllMethod · 0.80

Tested by

no test coverage detected