lamp

command module
v0.0.0-...-7fdae50 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

README

lamp

analyzer collections.

Name Description
myscope show scopes
astdump show ast dump
expstmt show nodes

install run

$ go install github.com/kijimaD/lamp@main
$ lamp myscope sample/main.go
──── 3 scopes ────
(*types.Scope)(0xc00001e600)(package "main" scope 0xc00001e600 {
.  func main.main()
}
)
(*types.Scope)(0xc00001e660)( scope 0xc00001e660 {
.  package fmt
}
)
(*types.Scope)(0xc0002f3c80)(function scope 0xc0002f3c80 {
.  const message untyped string
}
)

docker run

$ docker run -v "$PWD/":/work -w /work --rm -it ghcr.io/kijimad/lamp:latest myscope sample/main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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