ast

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentFragments

func CommentFragments(u domain.Unit) []string

func OverlapsProtect

func OverlapsProtect(f domain.Finding, ps []ports.ProtectSpan) (bool, string)

Types

type Detector

type Detector struct{}

Detector finds mixed-script identifiers in Go files.

func (Detector) Families

func (Detector) Families() []domain.Family

func (Detector) ID

func (Detector) ID() string

func (Detector) Protect

Protect marks string literals and go:generate comments.

func (Detector) Scan

Jump to

Keyboard shortcuts

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