Documentation
¶
Index ¶
- func Expect(t *testing.T, pkg *ast.Package, expected string)
- func ExpectEx(t *testing.T, outfile string, pkg *ast.Package, expected []byte)
- func ExpectNode(t *testing.T, node any, expected string)
- func Fprint(w io.Writer, pkg *ast.Package)
- func FprintNode(w io.Writer, lead string, v any, prefix, indent string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectNode ¶
ExpectNode asserts an XGo AST node equals output or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.