debug

package
v0.0.0-...-b9adcda 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

func AliasesEnabled() bool

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