configurer

package
v0.0.0-...-7d312d8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurer

type Configurer struct {
	// IsUnitTest will be true if flag --frontend_unit_test is passed. If set,
	// Language.GenerateRules() will not limit rule generation to the list of known good directories.
	IsUnitTest bool
}

Configurer implements the config.Configurer interface.

func (*Configurer) CheckFlags

func (c *Configurer) CheckFlags(fs *flag.FlagSet, cc *config.Config) error

CheckFlags implements the config.Configurer interface.

func (*Configurer) Configure

func (c *Configurer) Configure(cc *config.Config, rel string, f *rule.File)

Configure implements the config.Configurer interface.

func (*Configurer) KnownDirectives

func (c *Configurer) KnownDirectives() []string

KnownDirectives implements the config.Configurer interface.

Interface documentation:

KnownDirectives returns a list of directive keys that this Configurer can interpret. Gazelle prints errors for directives that are not recoginized by any Configurer.

func (*Configurer) RegisterFlags

func (c *Configurer) RegisterFlags(fs *flag.FlagSet, cmd string, cc *config.Config)

RegisterFlags implements the config.Configurer interface.

Jump to

Keyboard shortcuts

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