docs: document methods
This commit is contained in:
@@ -54,6 +54,7 @@ func stringifyClause(n *ast.Clause) string {
|
||||
return "{ " + stmts + Stringify(n.Returns) + " }"
|
||||
}
|
||||
|
||||
// Convert an expression back into valid source code.
|
||||
func Stringify(n ast.Expression) string {
|
||||
switch n := n.(type) {
|
||||
case *ast.Atom:
|
||||
|
||||
Reference in New Issue
Block a user