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

Function NewIntContext

repl/parser/commands_parser.go:9847–9855  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

9845}
9846
9847func NewIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntContext {
9848 var p = new(IntContext)
9849
9850 InitEmptyLiteralContext(&p.LiteralContext)
9851 p.parser = parser
9852 p.CopyAll(ctx.(*LiteralContext))
9853
9854 return p
9855}
9856
9857func (s *IntContext) GetSign() antlr.Token { return s.sign }
9858

Callers 1

LiteralMethod · 0.70

Calls 2

InitEmptyLiteralContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected