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

Method newLiteralInt

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

Source from the content-addressed store, hash-verified

66}
67
68func (p *parserHelper) newLiteralInt(ctx any, value int64) ast.Expr {
69 return p.newLiteral(ctx, types.Int(value))
70}
71
72func (p *parserHelper) newLiteralUint(ctx any, value uint64) ast.Expr {
73 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