function

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package function implements a sub-analyzer to create full triggers for each function declaration.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:       "nilaway_function_analyzer",
	Doc:        _doc,
	Run:        analysishelper.WrapRun(run),
	ResultType: reflect.TypeOf((*analysishelper.Result[[]annotation.FullTrigger])(nil)),
	Requires: []*analysis.Analyzer{
		config.Analyzer,
		ctrlflow.Analyzer,
		structfield.Analyzer,
		anonymousfunc.Analyzer,
		functioncontracts.Analyzer,
	},
}

Analyzer here is the analyzer than generates assertions and passes them onto the accumulator to be matched against annotations

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package assertiontree contains the node definitions for the assertion tree, as well as the main backpropagation algorithm.
Package assertiontree contains the node definitions for the assertion tree, as well as the main backpropagation algorithm.
Package functioncontracts implements a sub-analyzer to analyze function contracts in a package, i.e., parsing specified function contracts written as special comments before function declarations, or automatically inferring function contracts from the function body.
Package functioncontracts implements a sub-analyzer to analyze function contracts in a package, i.e., parsing specified function contracts written as special comments before function declarations, or automatically inferring function contracts from the function body.
Package producer contains definitions for parsed producers, which are the result of ParseExprAsProducer.
Package producer contains definitions for parsed producers, which are the result of ParseExprAsProducer.

Jump to

Keyboard shortcuts

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