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

Function unescapeIdent

parser/antlr_parser.go:77–82  ·  view source on GitHub ↗
(in string)

Source from the content-addressed store, hash-verified

75}
76
77func unescapeIdent(in string) (string, error) {
78 if len(in) <= 2 {
79 return "", errors.New("invalid escaped identifier: underflow")
80 }
81 return in[1 : len(in)-1], nil
82}
83
84type recursionError struct {
85 message string

Callers 1

normalizeIdentMethod · 0.85

Calls 1

NewMethod · 0.80

Tested by

no test coverage detected