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

Method newLiteralBytes

parser/helper.go:60–62  ·  view source on GitHub ↗
(ctx any, value []byte)

Source from the content-addressed store, hash-verified

58}
59
60func (p *parserHelper) newLiteralBytes(ctx any, value []byte) ast.Expr {
61 return p.newLiteral(ctx, types.Bytes(value))
62}
63
64func (p *parserHelper) newLiteralInt(ctx any, value int64) ast.Expr {
65 return p.newLiteral(ctx, types.Int(value))

Callers 1

VisitBytesMethod · 0.80

Calls 2

newLiteralMethod · 0.95
BytesTypeAlias · 0.92

Tested by

no test coverage detected