debug

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 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 added in v0.4.0

func FormatNode(node ast.Node) string

func TypeCheck added in v0.3.0

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