debug

package
v0.0.0-...-2c056e7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package debug contains helpers for debugging static analyses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatNode

func FormatNode(node ast.Node) string

func TypeCheck

func TypeCheck(src string) (*ast.File, *types.Package, *types.Info, error)

TypeCheck parses and type-checks a single-file Go package from a string. The package must not have any imports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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