MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewNegateContext

Function NewNegateContext

parser/gen/cel_parser.go:1938–1946  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

1936}
1937
1938func NewNegateContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NegateContext {
1939 var p = new(NegateContext)
1940
1941 InitEmptyUnaryContext(&p.UnaryContext)
1942 p.parser = parser
1943 p.CopyAll(ctx.(*UnaryContext))
1944
1945 return p
1946}
1947
1948func (s *NegateContext) GetS18() antlr.Token { return s.s18 }
1949

Callers 1

UnaryMethod · 0.70

Calls 2

InitEmptyUnaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected