errorcache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCache

type ErrorCache struct {
	ExistingErrors []*dst.Ident
	// contains filtered or unexported fields
}

func (*ErrorCache) Clear

func (ec *ErrorCache) Clear()

func (*ErrorCache) ExtractExistingErrors added in v0.8.0

func (ec *ErrorCache) ExtractExistingErrors() []string

Testing Functions

func (*ErrorCache) GetExpression

func (ec *ErrorCache) GetExpression() dst.Expr

func (*ErrorCache) GetStatement

func (ec *ErrorCache) GetStatement() dst.Stmt

func (*ErrorCache) IsExistingError added in v0.8.0

func (ec *ErrorCache) IsExistingError(err dst.Expr) bool

func (*ErrorCache) Load

func (ec *ErrorCache) Load(errorexpr dst.Expr, errorstmt dst.Stmt)

func (*ErrorCache) LoadExistingErrors added in v0.8.0

func (ec *ErrorCache) LoadExistingErrors(err *dst.Ident)

Jump to

Keyboard shortcuts

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