printerutil

package
v0.0.0-...-5fe729b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 4 Imported by: 3

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL