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

Method unquote

parser/parser.go:889–896  ·  view source on GitHub ↗
(ctx any, value string, isBytes bool)

Source from the content-addressed store, hash-verified

887}
888
889func (p *parser) unquote(ctx any, value string, isBytes bool) string {
890 text, err := unescape(value, isBytes)
891 if err != nil {
892 p.reportError(ctx, "%s", err.Error())
893 return value
894 }
895 return text
896}
897
898func (p *parser) newLogicManager(function string, term ast.Expr) *logicManager {
899 if p.enableVariadicOperatorASTs {

Callers 2

VisitStringMethod · 0.95
VisitBytesMethod · 0.95

Calls 3

reportErrorMethod · 0.95
unescapeFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected