parsertest

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expect

func Expect(t *testing.T, pkg *ast.Package, expected string)

Expect asserts a Go+ package AST equals output or not.

func Fprint

func Fprint(w io.Writer, pkg *ast.Package)

Fprint prints a Go+ package.

func FprintNode

func FprintNode(w io.Writer, lead string, v interface{}, prefix, indent string)

FprintNode prints a Go+ AST node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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