Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("not implemented yet")
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(w *Walker)
func WithPkgLevelData ¶
func WithPkgLevelData(pkgLevelData *PkgLevelData) Option
type PkgLevelData ¶
func NewPkgLevelData ¶
func NewPkgLevelData() *PkgLevelData
type Walker ¶
type Walker struct {
codeprinter.Printer
NumErrors int
FuncInit bool
ElseIfs map[ast.Node]struct{}
BreakLabels map[ast.Node]string
ContinueLabels map[ast.Node]string
GotoLabels map[gotoLabelInfo]struct{}
ForShadows map[ast.Node]struct{}
Fallthroughs map[ast.Node]ast.Node
FallthroughCases map[ast.Node]string
FuncsHavingDefer map[ast.Node]int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.