analyzer

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	// contains filtered or unexported fields
}

func New

func New(concurrency int, rr ...rules.Rule) *Analyzer

func (*Analyzer) ActionRuleCount added in v0.2.0

func (a *Analyzer) ActionRuleCount() int

ActionRuleCount returns the number of action rules.

func (*Analyzer) AdjustTotal added in v0.2.0

func (a *Analyzer) AdjustTotal(delta int)

AdjustTotal adjusts the total expected rule executions by delta.

func (*Analyzer) AnalyzeAction

func (a *Analyzer) AnalyzeAction(f *ast.File) []*diagnostic.Error

func (*Analyzer) AnalyzeWorkflow

func (a *Analyzer) AnalyzeWorkflow(f *ast.File) []*diagnostic.Error

func (*Analyzer) InitProgress added in v0.2.0

func (a *Analyzer) InitProgress(total int)

InitProgress initializes the progress counters.

func (*Analyzer) SetProgressCallback added in v0.2.0

func (a *Analyzer) SetProgressCallback(cb ProgressCallback)

SetProgressCallback sets the callback invoked on each progress update. When nil, no progress reporting occurs.

func (*Analyzer) WorkflowRuleCount added in v0.2.0

func (a *Analyzer) WorkflowRuleCount() int

WorkflowRuleCount returns the number of workflow rules.

type ProgressCallback added in v0.2.0

type ProgressCallback func(status progress.Status)

ProgressCallback is called after each progress update.

Jump to

Keyboard shortcuts

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