Documentation

Overview

    Package printerutil provides formatted printing of AST nodes.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func PrintlnAst

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

      PrintlnAst prints node, using fset, to stdout.

      func PrintlnAstBare

      func PrintlnAstBare(node interface{})

        PrintlnAstBare prints node to stdout.

        func SprintAst

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

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

          func SprintAstBare

          func SprintAstBare(node interface{}) string

            SprintAstBare prints node and returns it as string.

            Types

            This section is empty.

            Source Files