func NodeString(i adt.StringIndexer, n adt.Node, config *Config) string
NodeString returns a string representation of the given node. The StringIndexer value i is used to translate elements of n to strings. Commonly available implementations of StringIndexer include *adt.OpContext and *runtime.Runtime.
func WriteNode(w io.Writer, i adt.StringIndexer, n adt.Node, config *Config)
WriteNode writes a string representation of the node to w.
type Config struct { Cwd string Compact bool Raw bool }