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

Method String

ast/print.go:177–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177func (n *CallNode) String() string {
178 arguments := make([]string, len(n.Arguments))
179 for i, arg := range n.Arguments {
180 arguments[i] = arg.String()
181 }
182 return fmt.Sprintf("%s(%s)", n.Callee.String(), strings.Join(arguments, ", "))
183}
184
185func (n *BuiltinNode) String() string {
186 arguments := make([]string, len(n.Arguments))

Callers

nothing calls this directly

Calls 2

SprintfMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected