checkinfo

package
v0.0.0-...-9ec6d29 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package checkinfo attaches basic info to types.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "checkinfo",
	Doc:  "annotates types with basic information",
	Run:  run,
	FactTypes: []analysis.Fact{
		(*Align)(nil),
		(*Offset)(nil),
		(*Size)(nil),
		(*Value)(nil),
	},
}

Analyzer defines the entrypoint.

Functions

This section is empty.

Types

type Align

type Align int64

Align is a fact.

func (*Align) AFact

func (*Align) AFact()

AFact implements analysis.Fact.AFact.

type Offset

type Offset int64

Offset is a fact.

func (*Offset) AFact

func (*Offset) AFact()

AFact implements analysis.Fact.AFact.

type Size

type Size int64

Size is a fact.

func (*Size) AFact

func (*Size) AFact()

AFact implements analysis.Fact.AFact.

type Value

type Value string

Value is a trivial fact.

func (*Value) AFact

func (*Value) AFact()

AFact implements analysis.Fact.AFact.

Jump to

Keyboard shortcuts

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