analyzers

package
v0.0.0-...-928c1b2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Leave traversalAction = "leave"
	Visit traversalAction = "visit"
)

Variables

This section is empty.

Functions

func Action

func Action(push bool) traversalAction

A _very_ simple helper to use switch cases in go ast traversal using the node "visit" and "leave" verbs. `push bool` is taken from the ast/inspector .Nodes tree traversal function.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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