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

Method unquote

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

Source from the content-addressed store, hash-verified

879}
880
881func (p *parser) unquote(ctx any, value string, isBytes bool) string {
882 text, err := unescape(value, isBytes)
883 if err != nil {
884 p.reportError(ctx, "%s", err.Error())
885 return value
886 }
887 return text
888}
889
890func (p *parser) newLogicManager(function string, term ast.Expr) *logicManager {
891 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