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

Method newLiteralInt

parser/helper.go:64–66  ·  view source on GitHub ↗
(ctx any, value int64)

Source from the content-addressed store, hash-verified

62}
63
64func (p *parserHelper) newLiteralInt(ctx any, value int64) ast.Expr {
65 return p.newLiteral(ctx, types.Int(value))
66}
67
68func (p *parserHelper) newLiteralUint(ctx any, value uint64) ast.Expr {
69 return p.newLiteral(ctx, types.Uint(value))

Callers 1

VisitIntMethod · 0.80

Calls 2

newLiteralMethod · 0.95
IntTypeAlias · 0.92

Tested by

no test coverage detected