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

Function NewIntContext

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

Source from the content-addressed store, hash-verified

5887}
5888
5889func NewIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntContext {
5890 var p = new(IntContext)
5891
5892 InitEmptyLiteralContext(&p.LiteralContext)
5893 p.parser = parser
5894 p.CopyAll(ctx.(*LiteralContext))
5895
5896 return p
5897}
5898
5899func (s *IntContext) GetSign() antlr.Token { return s.sign }
5900

Callers 1

LiteralMethod · 0.70

Calls 2

InitEmptyLiteralContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected