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

Function NewApplContext

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

Source from the content-addressed store, hash-verified

3949}
3950
3951func NewApplContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ApplContext {
3952 var p = new(ApplContext)
3953
3954 InitEmptyTermContext(&p.TermContext)
3955 p.parser = parser
3956 p.CopyAll(ctx.(*TermContext))
3957
3958 return p
3959}
3960
3961func (s *ApplContext) GetRuleContext() antlr.RuleContext {
3962 return s

Callers 1

TermMethod · 0.85

Calls 2

InitEmptyTermContextFunction · 0.85
CopyAllMethod · 0.80

Tested by

no test coverage detected