rangebreak

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RangeBreak

type RangeBreak struct{}

func New

func New() *RangeBreak

New returns a new RangeBreak virus.

It adds an early break to `range`s.

func (*RangeBreak) Incubate

func (v *RangeBreak) Incubate(node ast.Node, _ *types.Info) []*viruses.Infection

Jump to

Keyboard shortcuts

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