MCPcopy Create free account
hub / github.com/expr-lang/expr / String

Method String

ast/print.go:185–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183}
184
185func (n *BuiltinNode) String() string {
186 arguments := make([]string, len(n.Arguments))
187 for i, arg := range n.Arguments {
188 arguments[i] = arg.String()
189 }
190 return fmt.Sprintf("%s(%s)", n.Name, strings.Join(arguments, ", "))
191}
192
193func (n *PredicateNode) String() string {
194 return n.Node.String()

Callers

nothing calls this directly

Calls 2

SprintfMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected