go: github.com/shurcooL/go/printerutil Index | Files

package printerutil

import "github.com/shurcooL/go/printerutil"

Package printerutil provides formatted printing of AST nodes.

Index

Package Files

printerutil.go

func PrintlnAst Uses

func PrintlnAst(fset *token.FileSet, node interface{})

PrintlnAst prints node, using fset, to stdout.

func PrintlnAstBare Uses

func PrintlnAstBare(node interface{})

PrintlnAstBare prints node to stdout.

func SprintAst Uses

func SprintAst(fset *token.FileSet, node interface{}) string

SprintAst prints node, using fset, and returns it as string.

func SprintAstBare Uses

func SprintAstBare(node interface{}) string

SprintAstBare prints node and returns it as string.

Package printerutil imports 4 packages (graph) and is imported by 5 packages. Updated 2016-07-21. Refresh now. Tools for package owners.