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

Method String

ast/print.go:243–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (n *ArrayNode) String() string {
244 nodes := make([]string, len(n.Nodes))
245 for i, node := range n.Nodes {
246 nodes[i] = node.String()
247 }
248 return fmt.Sprintf("[%s]", strings.Join(nodes, ", "))
249}
250
251func (n *MapNode) String() string {
252 pairs := make([]string, len(n.Pairs))

Callers

nothing calls this directly

Calls 2

SprintfMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected