parsertest

package
v1.3.0-pre.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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