debug

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 8 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 AliasesEnabled added in v0.5.0

func AliasesEnabled() bool

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