SYMBOL INDEX (803 symbols across 137 files) FILE: cmd/vale/api.go type Style (line 17) | type Style struct type Meta (line 35) | type Meta struct function init (line 50) | func init() { function fetch (line 58) | func fetch(src, dst string) error { function install (line 87) | func install(args []string, flags *core.CLIFlags) error { FILE: cmd/vale/color.go function PrintVerboseAlerts (line 15) | func PrintVerboseAlerts(linted []*core.File, wrap bool) bool { function printVerboseAlert (line 52) | func printVerboseAlert(f *core.File, wrap bool) (int, int, int) { FILE: cmd/vale/command.go type TaggedWord (line 20) | type TaggedWord struct type CompiledRule (line 27) | type CompiledRule struct function fix (line 63) | func fix(args []string, flags *core.CLIFlags) error { function sync (line 90) | func sync(_ []string, flags *core.CLIFlags) error { function printConfig (line 132) | func printConfig(_ []string, flags *core.CLIFlags) error { function printMetrics (line 141) | func printMetrics(args []string, _ *core.CLIFlags) error { function runTag (line 171) | func runTag(args []string, _ *core.CLIFlags) error { function compileRule (line 187) | func compileRule(args []string, _ *core.CLIFlags) error { function runRule (line 214) | func runRule(args []string, _ *core.CLIFlags) error { function printVars (line 247) | func printVars(_ []string, flags *core.CLIFlags) error { function printDirs (line 272) | func printDirs(_ []string, flags *core.CLIFlags) error { function transform (line 314) | func transform(args []string, flags *core.CLIFlags) error { function pathInfo (line 345) | func pathInfo(_ []string, flags *core.CLIFlags) error { function loadConfigs (line 357) | func loadConfigs(args []string, _ *core.CLIFlags) error { FILE: cmd/vale/common.go function PrintAlerts (line 10) | func PrintAlerts(linted []*core.File, config *core.Config) (bool, error) { FILE: cmd/vale/custom.go type ProcessedFile (line 15) | type ProcessedFile struct type Data (line 21) | type Data struct function PrintCustomAlerts (line 27) | func PrintCustomAlerts(linted []*core.File, cfg *core.Config) (bool, err... FILE: cmd/vale/error.go type valeError (line 16) | type valeError struct function parseError (line 27) | func parseError(err error) (valeError, error) { function ShowError (line 61) | func ShowError(err error, style string, out io.Writer) { FILE: cmd/vale/flag.go function init (line 19) | func init() { FILE: cmd/vale/funcs.go function newBorderlessTable (line 17) | func newBorderlessTable(w io.Writer, wrap int) *tablewriter.Table { function init (line 31) | func init() { FILE: cmd/vale/info.go function PrintIntro (line 78) | func PrintIntro() { function toFlag (line 83) | func toFlag(name string) string { function init (line 90) | func init() { FILE: cmd/vale/json.go function PrintJSONAlerts (line 10) | func PrintJSONAlerts(linted []*core.File) bool { FILE: cmd/vale/library.go function getLibrary (line 7) | func getLibrary(_ string) ([]Style, error) { function inLibrary (line 20) | func inLibrary(name, path string) string { FILE: cmd/vale/line.go function PrintLineAlerts (line 13) | func PrintLineAlerts(linted []*core.File, relative bool) bool { FILE: cmd/vale/main.go function stat (line 18) | func stat() bool { function looksLikeStdin (line 26) | func looksLikeStdin(s string) int { function doLint (line 36) | func doLint(args []string, l *lint.Linter, glob string) ([]*core.File, e... function handleError (line 80) | func handleError(err error) { function main (line 85) | func main() { FILE: cmd/vale/main_unix.go function unsetManifestRegistry (line 6) | func unsetManifestRegistry(_ string) error { function setManifestRegistry (line 10) | func setManifestRegistry(_, _ string) error { FILE: cmd/vale/main_windows.go function unsetManifestRegistry (line 12) | func unsetManifestRegistry(browser string) error { function setManifestRegistry (line 30) | func setManifestRegistry(browser, manifestPath string) error { FILE: cmd/vale/native.go constant nativeHostName (line 19) | nativeHostName = "sh.vale.native" constant releaseURL (line 20) | releaseURL = "https://github.com/errata-ai/vale-native/releases/download... type manifest (line 40) | type manifest struct function getNativeConfig (line 58) | func getNativeConfig() (string, error) { function getExecName (line 89) | func getExecName(name string) string { function getManifestDirs (line 96) | func getManifestDirs() (map[string]string, error) { function getLocation (line 124) | func getLocation(browser string) (map[string]string, error) { function writeNativeConfig (line 154) | func writeNativeConfig() (string, error) { function installNativeHostUnix (line 177) | func installNativeHostUnix(manifestData []byte, manifestFile string) err... function installNativeHostWindows (line 185) | func installNativeHostWindows(manifestData []byte, manifestFile, browser... function getLatestHostRelease (line 212) | func getLatestHostRelease() (string, error) { function hostDownloadURL (line 230) | func hostDownloadURL() (string, error) { function installHost (line 239) | func installHost(manifestJSON []byte, manifestFile, browser string) error { function installNativeHost (line 252) | func installNativeHost(args []string, _ *core.CLIFlags) error { //nolint... function uninstallNativeHost (line 345) | func uninstallNativeHost(args []string, _ *core.CLIFlags) error { FILE: cmd/vale/pkg_test.go function mockPath (line 15) | func mockPath() (string, error) { function TestNoPkgFound (line 30) | func TestNoPkgFound(t *testing.T) { function TestLibrary (line 47) | func TestLibrary(t *testing.T) { function TestLocalZip (line 67) | func TestLocalZip(t *testing.T) { function TestLocalDir (line 92) | func TestLocalDir(t *testing.T) { function TestLocalComplete (line 117) | func TestLocalComplete(t *testing.T) { //nolint:dupl function TestLocalOnlyStyles (line 153) | func TestLocalOnlyStyles(t *testing.T) { //nolint:dupl function TestV3Pkg (line 189) | func TestV3Pkg(t *testing.T) { FILE: cmd/vale/sync.go function initPath (line 15) | func initPath(cfg *core.Config) error { function readPkg (line 35) | func readPkg(pkg, path string, idx int) error { function loadPkg (line 45) | func loadPkg(name, urlOrPath, styles string, index int) error { function loadLocalPkg (line 55) | func loadLocalPkg(name, pkgPath, styles string, index int) error { function loadLocalZipPkg (line 59) | func loadLocalZipPkg(name, pkgPath, styles string, index int) error { function download (line 72) | func download(name, url, styles string, index int) error { function installPkg (line 88) | func installPkg(dir, name, styles string, index int) error { function moveDir (line 144) | func moveDir(oldPath, newPath string) error { function moveAsset (line 161) | func moveAsset(name, oldPath, newPath string) error { FILE: cmd/vale/util.go type Response (line 15) | type Response struct function progressError (line 21) | func progressError(context string, err error, p *pterm.ProgressbarPrinte... function pluralize (line 26) | func pluralize(s string, n int) string { function getJSON (line 33) | func getJSON(data interface{}) string { function fetchJSON (line 41) | func fetchJSON(url string) ([]byte, error) { function printJSON (line 50) | func printJSON(t interface{}) error { function sendResponse (line 61) | func sendResponse(msg string, err error) error { function toCodeStyle (line 69) | func toCodeStyle(s string) string { FILE: internal/check/action.go type Solution (line 21) | type Solution struct type fixer (line 26) | type fixer function ParseAlert (line 37) | func ParseAlert(s string, cfg *core.Config) (Solution, error) { function FixAlert (line 55) | func FixAlert(alert core.Alert, cfg *core.Config) ([]string, error) { function suggest (line 63) | func suggest(alert core.Alert, cfg *core.Config) ([]string, error) { function script (line 77) | func script(name string, alert core.Alert, cfg *core.Config) ([]string, ... function spelling (line 115) | func spelling(alert core.Alert, cfg *core.Config) ([]string, error) { function replace (line 141) | func replace(alert core.Alert, _ *core.Config) ([]string, error) { function remove (line 145) | func remove(_ core.Alert, _ *core.Config) ([]string, error) { function convert (line 149) | func convert(alert core.Alert, _ *core.Config) ([]string, error) { function edit (line 157) | func edit(alert core.Alert, _ *core.Config) ([]string, error) { FILE: internal/check/capitalization.go type Capitalization (line 12) | type Capitalization struct method Run (line 115) | func (c Capitalization) Run(blk nlp.Block, _ *core.File, cfg *core.Con... method Fields (line 145) | func (c Capitalization) Fields() Definition { method Pattern (line 150) | func (c Capitalization) Pattern() string { function NewCapitalization (line 39) | func NewCapitalization(cfg *core.Config, generic baseCheck, path string)... FILE: internal/check/conditional.go type Conditional (line 11) | type Conditional struct method Run (line 61) | func (c Conditional) Run(blk nlp.Block, f *core.File, cfg *core.Config... method Fields (line 109) | func (c Conditional) Fields() Definition { method Pattern (line 114) | func (c Conditional) Pattern() string { function NewConditional (line 23) | func NewConditional(cfg *core.Config, generic baseCheck, path string) (C... FILE: internal/check/consistency.go type step (line 14) | type step struct type Consistency (line 20) | type Consistency struct method Run (line 81) | func (o Consistency) Run(blk nlp.Block, f *core.File, cfg *core.Config... method Fields (line 115) | func (o Consistency) Fields() Definition { method Pattern (line 120) | func (o Consistency) Pattern() string { function NewConsistency (line 33) | func NewConsistency(cfg *core.Config, generic baseCheck, path string) (C... FILE: internal/check/definition.go type FilterEnv (line 21) | type FilterEnv struct type Rule (line 26) | type Rule interface type Definition (line 33) | type Definition struct constant ignoreCase (line 114) | ignoreCase = `(?i)` constant wordTemplate (line 115) | wordTemplate = `(?m)\b(?:%s)\b` constant nonwordTemplate (line 116) | nonwordTemplate = `(?m)(?:%s)` constant tokenTemplate (line 117) | tokenTemplate = `^(?:%s)$` type baseCheck (line 120) | type baseCheck function buildRule (line 122) | func buildRule(cfg *core.Config, generic baseCheck) (Rule, error) { function formatMessages (line 168) | func formatMessages(msg string, desc string, subs ...string) (string, st... function re2Loc (line 174) | func re2Loc(s string, loc []int) (string, error) { function makeAlert (line 186) | func makeAlert(chk Definition, loc []int, txt string, cfg *core.Config) ... function parse (line 217) | func parse(file []byte, path string) (map[string]interface{}, error) { function validateDefinition (line 237) | func validateDefinition(generic map[string]interface{}, path string) err... function readStructureError (line 277) | func readStructureError(err error, path string) error { function makeRegexp (line 296) | func makeRegexp( function matchToken (line 328) | func matchToken(expected, observed string, ignorecase bool) bool { function updateExceptions (line 341) | func updateExceptions(previous []string, current []string, vocab bool) (... function decodeRule (line 375) | func decodeRule(input interface{}, output interface{}) error { function checkScopes (line 391) | func checkScopes(scopes []string, path string) error { FILE: internal/check/existence.go type Existence (line 14) | type Existence struct method Run (line 77) | func (e Existence) Run(blk nlp.Block, _ *core.File, cfg *core.Config) ... method Fields (line 100) | func (e Existence) Fields() Definition { method Pattern (line 105) | func (e Existence) Pattern() string { function NewExistence (line 29) | func NewExistence(cfg *core.Config, generic baseCheck, path string) (Exi... FILE: internal/check/existence_test.go function makeExistence (line 10) | func makeExistence(tokens []string) (*Existence, error) { function TestExistence (line 26) | func TestExistence(t *testing.T) { function FuzzExistenceInit (line 48) | func FuzzExistenceInit(f *testing.F) { function FuzzExistence (line 55) | func FuzzExistence(f *testing.F) { FILE: internal/check/filter.go function filter (line 14) | func filter(mgr *Manager) (map[string]Rule, error) { FILE: internal/check/manager.go type Manager (line 19) | type Manager struct method AddRule (line 80) | func (mgr *Manager) AddRule(name string, rule Rule) error { method AddRuleFromFile (line 89) | func (mgr *Manager) AddRuleFromFile(name, path string) error { method Rules (line 98) | func (mgr *Manager) Rules() map[string]Rule { method HasScope (line 103) | func (mgr *Manager) HasScope(scope string) bool { method NeedsTagging (line 109) | func (mgr *Manager) NeedsTagging() bool { method AssignNLP (line 114) | func (mgr *Manager) AssignNLP(f *core.File) nlp.Info { method addStyle (line 125) | func (mgr *Manager) addStyle(path string) error { method addRuleFromSource (line 136) | func (mgr *Manager) addRuleFromSource(name, path string) error { method addCheck (line 154) | func (mgr *Manager) addCheck(file []byte, chkName, path string) error { method loadDefaultRules (line 195) | func (mgr *Manager) loadDefaultRules() error { method loadStyles (line 236) | func (mgr *Manager) loadStyles(styles []string) error { method loadVocabRules (line 268) | func (mgr *Manager) loadVocabRules() { method hasStyle (line 294) | func (mgr *Manager) hasStyle(name string) bool { method needsStyle (line 299) | func (mgr *Manager) needsStyle(name string) bool { function NewManager (line 30) | func NewManager(config *core.Config) (*Manager, error) { FILE: internal/check/manager_test.go function TestFormatMessage (line 48) | func TestFormatMessage(t *testing.T) { FILE: internal/check/metric.go type Metric (line 23) | type Metric struct method Run (line 51) | func (o Metric) Run(_ nlp.Block, f *core.File, _ *core.Config) ([]core... method Fields (line 99) | func (o Metric) Fields() Definition { method Pattern (line 104) | func (o Metric) Pattern() string { function NewMetric (line 35) | func NewMetric(_ *core.Config, generic baseCheck, path string) (Metric, ... function evalMath (line 108) | func evalMath( FILE: internal/check/occurrence.go type Occurrence (line 14) | type Occurrence struct method Run (line 54) | func (o Occurrence) Run(blk nlp.Block, _ *core.File, cfg *core.Config)... method Fields (line 117) | func (o Occurrence) Fields() Definition { method Pattern (line 122) | func (o Occurrence) Pattern() string { function NewOccurrence (line 24) | func NewOccurrence(_ *core.Config, generic baseCheck, path string) (Occu... FILE: internal/check/readability.go type Readability (line 13) | type Readability struct method Run (line 44) | func (o Readability) Run(blk nlp.Block, _ *core.File, _ *core.Config) ... method Fields (line 79) | func (o Readability) Fields() Definition { method Pattern (line 84) | func (o Readability) Pattern() string { function NewReadability (line 23) | func NewReadability(_ *core.Config, generic baseCheck, path string) (Rea... FILE: internal/check/repetition.go type Repetition (line 13) | type Repetition struct method Run (line 64) | func (o Repetition) Run(blk nlp.Block, _ *core.File, cfg *core.Config)... method Fields (line 128) | func (o Repetition) Fields() Definition { method Pattern (line 133) | func (o Repetition) Pattern() string { function NewRepetition (line 27) | func NewRepetition(cfg *core.Config, generic baseCheck, path string) (Re... FILE: internal/check/scope.go type Selector (line 11) | type Selector struct method Sections (line 80) | func (s *Selector) Sections() []string { method Contains (line 89) | func (s *Selector) Contains(sel Selector) bool { method ContainsString (line 94) | func (s *Selector) ContainsString(scope []string) bool { method Equal (line 105) | func (s *Selector) Equal(sel Selector) bool { method Has (line 118) | func (s *Selector) Has(scope string) bool { type Scope (line 16) | type Scope struct method Matches (line 49) | func (s Scope) Matches(blk nlp.Block) bool { method partMatches (line 62) | func (s Scope) partMatches(target, parent Selector, options []Selector... function NewSelector (line 20) | func NewSelector(value []string) Selector { function NewScope (line 36) | func NewScope(value []string) Scope { FILE: internal/check/scope_test.go function TestSelectors (line 9) | func TestSelectors(t *testing.T) { FILE: internal/check/script.go type Script (line 17) | type Script struct method Run (line 50) | func (s Script) Run(blk nlp.Block, _ *core.File, _ *core.Config) ([]co... method Fields (line 120) | func (s Script) Fields() Definition { method Pattern (line 125) | func (s Script) Pattern() string { function NewScript (line 25) | func NewScript(cfg *core.Config, generic baseCheck, path string) (Script... function parseMatches (line 101) | func parseMatches(a []interface{}) []map[string]interface{} { FILE: internal/check/sequence.go type NLPToken (line 16) | type NLPToken struct type Sequence (line 28) | type Sequence struct method Fields (line 81) | func (s Sequence) Fields() Definition { method Pattern (line 86) | func (s Sequence) Pattern() string { method Run (line 247) | func (s Sequence) Run(blk nlp.Block, f *core.File, _ *core.Config) ([]... function NewSequence (line 36) | func NewSequence(cfg *core.Config, generic baseCheck, path string) (Sequ... function makeTokens (line 90) | func makeTokens(s *Sequence, generic baseCheck) error { function tokensMatch (line 117) | func tokensMatch(token NLPToken, word tag.Token) bool { function sequenceMatches (line 136) | func sequenceMatches(idx int, chk Sequence, target NLPToken, words []tag... function stepsToString (line 214) | func stepsToString(steps []string) string { FILE: internal/check/spelling.go type Spelling (line 27) | type Spelling struct method Run (line 166) | func (s Spelling) Run(blk nlp.Block, _ *core.File, _ *core.Config) ([]... method Fields (line 202) | func (s Spelling) Fields() Definition { method Pattern (line 207) | func (s Spelling) Pattern() string { method Suggest (line 212) | func (s Spelling) Suggest(word string) []string { function addFilters (line 43) | func addFilters(s *Spelling, generic baseCheck, _ *core.Config) error { function addExceptions (line 60) | func addExceptions(s *Spelling, generic baseCheck, cfg *core.Config) err... function NewSpelling (line 92) | func NewSpelling(cfg *core.Config, generic baseCheck, path string) (Spel... function makeSpeller (line 216) | func makeSpeller(s *Spelling, cfg *core.Config, rulePath string) (*spell... FILE: internal/check/substitution.go type Substitution (line 16) | type Substitution struct method Run (line 96) | func (s Substitution) Run(blk nlp.Block, _ *core.File, cfg *core.Confi... method Fields (line 160) | func (s Substitution) Fields() Definition { method Pattern (line 165) | func (s Substitution) Pattern() string { function NewSubstitution (line 34) | func NewSubstitution(cfg *core.Config, generic baseCheck, path string) (... function convertMessage (line 169) | func convertMessage(s string) string { function convertCaptureGroups (line 178) | func convertCaptureGroups(msg string) (string, error) { function subMsg (line 183) | func subMsg(s Substitution, index int, observed string) (string, error) { function getOptions (line 216) | func getOptions(match string) []string { FILE: internal/check/substitution_test.go function makeSubstitution (line 10) | func makeSubstitution(def baseCheck) (*Substitution, error) { function TestConvertGroups (line 24) | func TestConvertGroups(t *testing.T) { function TestIsDeterministic (line 36) | func TestIsDeterministic(t *testing.T) { function TestRegex (line 70) | func TestRegex(t *testing.T) { function TestRegexEscapedParens (line 100) | func TestRegexEscapedParens(t *testing.T) { function TestOptions (line 130) | func TestOptions(t *testing.T) { FILE: internal/check/variables.go function wasIndicator (line 27) | func wasIndicator(indicators []string) strcase.IndicatorFunc { function isMatch (line 38) | func isMatch(r *regexp2.Regexp, s string) bool { function lower (line 52) | func lower(s string, re *regexp2.Regexp) (string, bool) { function upper (line 57) | func upper(s string, re *regexp2.Regexp) (string, bool) { function title (line 62) | func title(s string, except *regexp2.Regexp, tc *strcase.TitleConverter,... function sentence (line 100) | func sentence(s string, except *regexp2.Regexp, sc *strcase.SentenceConv... FILE: internal/check/variables_test.go type changeCase (line 9) | type changeCase struct function TestSentence (line 15) | func TestSentence(t *testing.T) { FILE: internal/core/alert.go type Action (line 14) | type Action struct type Alert (line 20) | type Alert struct function FormatAlert (line 37) | func FormatAlert(a *Alert, limit int, level, name string) { type ByPosition (line 49) | type ByPosition method Len (line 51) | func (a ByPosition) Len() int { return len(a) } method Swap (line 52) | func (a ByPosition) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 53) | func (a ByPosition) Less(i, j int) bool { type ByName (line 63) | type ByName method Len (line 65) | func (a ByName) Len() int { return len(a) } method Swap (line 66) | func (a ByName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 67) | func (a ByName) Less(i, j int) bool { FILE: internal/core/config.go function FindConfigAsset (line 80) | func FindConfigAsset(cfg *Config, name, dir string) string { function FindAsset (line 86) | func FindAsset(cfg *Config, path string) string { function IgnoreFiles (line 111) | func IgnoreFiles(stylesPath string) ([]string, error) { function getConfigAsset (line 118) | func getConfigAsset(target string, paths, dirs []string) string { function DefaultConfig (line 137) | func DefaultConfig() (string, error) { function DefaultStylesPath (line 149) | func DefaultStylesPath() (string, error) { type CLIFlags (line 165) | type CLIFlags struct type Config (line 189) | type Config struct method AddConfigFile (line 262) | func (c *Config) AddConfigFile(name string) { method AddStylesPath (line 269) | func (c *Config) AddStylesPath(path string) { method ConfigFile (line 279) | func (c *Config) ConfigFile() string { method Root (line 287) | func (c *Config) Root() (string, error) { method StylesPath (line 308) | func (c *Config) StylesPath() string { method SearchPaths (line 315) | func (c *Config) SearchPaths() []string { method AddWordListFile (line 324) | func (c *Config) AddWordListFile(name string, accept bool) error { method addWordList (line 333) | func (c *Config) addWordList(r io.Reader, accept bool) error { method String (line 348) | func (c *Config) String() string { function NewConfig (line 232) | func NewConfig(flags *CLIFlags) (*Config, error) { function GetPackages (line 354) | func GetPackages(src string) ([]string, error) { function pipeConfig (line 366) | func pipeConfig(cfg *Config) ([]string, error) { function MockLoad (line 390) | func MockLoad(project, local string, cfg *Config) error { FILE: internal/core/config_test.go function TestInitCfg (line 13) | func TestInitCfg(t *testing.T) { function TestGetIgnores (line 28) | func TestGetIgnores(t *testing.T) { function TestFindAsset (line 40) | func TestFindAsset(t *testing.T) { function TestFindAssetDefault (line 60) | func TestFindAssetDefault(t *testing.T) { function TestFallbackToDefault (line 95) | func TestFallbackToDefault(t *testing.T) { FILE: internal/core/error.go type lineError (line 15) | type lineError struct type errorCondition (line 21) | type errorCondition function annotate (line 23) | func annotate(file []byte, target string, finder errorCondition) (lineEr... function NewError (line 74) | func NewError(code, title, msg string) error { function NewE100 (line 88) | func NewE100(context string, err error) error { function NewE201 (line 99) | func NewE201(msg, value, path string, finder errorCondition) error { function NewE201FromTarget (line 123) | func NewE201FromTarget(msg, value, file string) error { function NewE201FromPosition (line 134) | func NewE201FromPosition(msg, file string, goal int) error { FILE: internal/core/file.go type File (line 27) | type File struct method SortedAlerts (line 147) | func (f *File) SortedAlerts() []Alert { method ComputeMetrics (line 153) | func (f *File) ComputeMetrics() (map[string]interface{}, error) { method FindLoc (line 182) | func (f *File) FindLoc(ctx, s string, pad, count int, a Alert) (int, [... method assignLoc (line 223) | func (f *File) assignLoc(ctx string, blk nlp.Block, pad int, a Alert) ... method SetText (line 282) | func (f *File) SetText(s string) { method SetNormedExt (line 289) | func (f *File) SetNormedExt(ext string) { method AddAlert (line 294) | func (f *File) AddAlert(a Alert, blk nlp.Block, lines, pad int, lookup... method UpdateComments (line 353) | func (f *File) UpdateComments(comment string) { method QueryComments (line 385) | func (f *File) QueryComments(check string) bool { method ResetComments (line 401) | func (f *File) ResetComments() { function NewFile (line 52) | func NewFile(src string, config *Config) (*File, error) { function locFromByteOffset (line 259) | func locFromByteOffset(ctx string, begin, end, pad int) (int, []int) { FILE: internal/core/format.go function FormatFromExt (line 99) | func FormatFromExt(path string, mapping map[string]string) (string, stri... function getFormat (line 128) | func getFormat(ext string) string { function GetNormedExt (line 138) | func GetNormedExt(ext string) string { FILE: internal/core/ini.go function mergeValues (line 23) | func mergeValues(shadows []string) []string { function loadVocab (line 34) | func loadVocab(root string, cfg *Config) error { function validateLevel (line 65) | func validateLevel(key, val string, cfg *Config) bool { function expandPaths (line 238) | func expandPaths(file *ini.File, source interface{}) { function shadowMerge (line 261) | func shadowMerge(primary *ini.File, secondary *ini.File) { function shadowLoad (line 284) | func shadowLoad(source interface{}, others ...interface{}) (*ini.File, e... function processSources (line 312) | func processSources(cfg *Config, sources []string) (*ini.File, error) { function processConfig (line 340) | func processConfig(uCfg *ini.File, cfg *Config, dry bool) (*ini.File, er... FILE: internal/core/ini_test.go function Test_processConfig_commentDelimiters (line 10) | func Test_processConfig_commentDelimiters(t *testing.T) { function Test_processConfig_commentDelimiters_error (line 61) | func Test_processConfig_commentDelimiters_error(t *testing.T) { function Test_processConfig_transform (line 119) | func Test_processConfig_transform(t *testing.T) { function Test_processConfig_transform_abs (line 153) | func Test_processConfig_transform_abs(t *testing.T) { FILE: internal/core/location.go function initialPosition (line 12) | func initialPosition(ctx, txt string, a Alert) (int, string) { function guessLocation (line 70) | func guessLocation(ctx, sub, match string) (int, string) { function allStringsInString (line 92) | func allStringsInString(subs []string, s string) bool { FILE: internal/core/markup.go function stripMarkdown (line 60) | func stripMarkdown(s string) string { FILE: internal/core/source.go type ConfigSrc (line 18) | type ConfigSrc constant FileSrc (line 21) | FileSrc ConfigSrc = iota constant StringSrc (line 22) | StringSrc function ReadPipeline (line 31) | func ReadPipeline(flags *CLIFlags, dry bool) (*Config, error) { function from (line 63) | func from(provider ConfigSrc, src string, cfg *Config, dry bool) (*ini.F... function FromFile (line 76) | func FromFile(cfg *Config, dry bool) (*ini.File, error) { function FromString (line 81) | func FromString(src string, cfg *Config, dry bool) (*ini.File, error) { function validateFlags (line 85) | func validateFlags(cfg *Config) error { function loadStdin (line 94) | func loadStdin(src string, cfg *Config, dry bool) (*ini.File, error) { function loadINI (line 102) | func loadINI(cfg *Config, dry bool) (*ini.File, error) { function loadConfig (line 170) | func loadConfig(names []string) (string, error) { FILE: internal/core/source_test.go function TestNoBaseConfig (line 13) | func TestNoBaseConfig(t *testing.T) { function TestFlagBase (line 37) | func TestFlagBase(t *testing.T) { function TestEnvBase (line 61) | func TestEnvBase(t *testing.T) { FILE: internal/core/util.go function CapFirst (line 24) | func CapFirst(s string) string { function Sanitize (line 32) | func Sanitize(txt string) string { function StripANSI (line 38) | func StripANSI(s string) string { function WhitespaceToSpace (line 43) | func WhitespaceToSpace(msg string) string { function ShouldIgnoreDirectory (line 48) | func ShouldIgnoreDirectory(directoryPath string) bool { function ToSentence (line 63) | func ToSentence(words []string, andOrOr string) string { function IsLetter (line 85) | func IsLetter(s string) bool { function IsCode (line 95) | func IsCode(s string) bool { function IsPhrase (line 107) | func IsPhrase(s string) bool { function InRange (line 117) | func InRange(n int, r []int) bool { function CondSprintf (line 122) | func CondSprintf(format string, v ...interface{}) string { function FormatMessage (line 129) | func FormatMessage(msg string, subs ...string) string { function Substitute (line 134) | func Substitute(src, sub string, char rune) (string, bool) { function StringsToInterface (line 149) | func StringsToInterface(strings []string) []interface{} { function Indent (line 158) | func Indent(text, indent string) string { function StringInSlice (line 174) | func StringInSlice(a string, slice []string) bool { function IntInSlice (line 184) | func IntInSlice(a int, slice []int) bool { function AllStringsInSlice (line 194) | func AllStringsInSlice(strings []string, slice []string) bool { function SplitLines (line 204) | func SplitLines(data []byte, atEOF bool) (adv int, token []byte, err err... function TextToContext (line 224) | func TextToContext(text string, meta *nlp.Info) []nlp.TaggedWord { function ReplaceAllStringSubmatchFunc (line 250) | func ReplaceAllStringSubmatchFunc(re *regexp.Regexp, str string, repl fu... function HasAnySuffix (line 271) | func HasAnySuffix(s string, suffixes []string) bool { function UniqueStrings (line 282) | func UniqueStrings(slice []string) []string { FILE: internal/core/util_test.go function TestFormatFromExt (line 11) | func TestFormatFromExt(t *testing.T) { function TestPrepText (line 29) | func TestPrepText(t *testing.T) { function TestPhrase (line 41) | func TestPhrase(t *testing.T) { function TestNormalizePath (line 58) | func TestNormalizePath(t *testing.T) { function TestShouldIgnoreDirectory (line 92) | func TestShouldIgnoreDirectory(t *testing.T) { FILE: internal/core/view.go type Scope (line 23) | type Scope struct type View (line 38) | type View struct method Apply (line 77) | func (b *View) Apply(f *File) ([]ScopedValues, error) { type ScopedValues (line 44) | type ScopedValues struct function NewView (line 51) | func NewView(path string) (*View, error) { function selectStrings (line 100) | func selectStrings(value DaselValue, expr string) ([]string, error) { function selectStringsV2 (line 127) | func selectStringsV2(value DaselValue, expr string) ([]string, error) { function normalize (line 142) | func normalize(v any) any { function fileToValue (line 167) | func fileToValue(f *File) (DaselValue, error) { FILE: internal/glob/glob.go type Glob (line 12) | type Glob struct method Match (line 18) | func (g Glob) Match(query string) bool { method MatchAny (line 32) | func (g Glob) MatchAny(query []string) bool { function NewGlob (line 42) | func NewGlob(pat string) (Glob, error) { function Compile (line 56) | func Compile(pat string) (Glob, error) { FILE: internal/glob/glob_test.go type globTest (line 8) | type globTest struct function TestGlob (line 35) | func TestGlob(t *testing.T) { FILE: internal/lint/adoc.go method lintADoc (line 37) | func (l *Linter) lintADoc(f *core.File) error { function callAdoc (line 95) | func callAdoc(text, exe string, attrs map[string]string) (string, error) { function parseAttributes (line 104) | func parseAttributes(attrs map[string]string) []string { FILE: internal/lint/ast.go method lintHTMLTokens (line 34) | func (l *Linter) lintHTMLTokens(f *core.File, raw []byte, offset int) er... method lintScope (line 139) | func (l *Linter) lintScope(f *core.File, state *walker, txt string) error { method lintSizedScopes (line 164) | func (l *Linter) lintSizedScopes(f *core.File) error { method lintTags (line 183) | func (l *Linter) lintTags(f *core.File, state *walker, tok html.Token) e... function checkClasses (line 200) | func checkClasses(attr string, ignore []string) bool { function shouldBeSkipped (line 212) | func shouldBeSkipped(tagHistory []string, ext string) bool { function clean (line 225) | func clean(txt, attr string, skip, inline bool) (string, bool) { function getAttribute (line 242) | func getAttribute(tok html.Token, key string) string { FILE: internal/lint/code.go function updateQueries (line 16) | func updateQueries(f *core.File, views map[string]*core.View) ([]core.Sc... method lintCode (line 31) | func (l *Linter) lintCode(f *core.File) error { method lintCodeOld (line 81) | func (l *Linter) lintCodeOld(f *core.File) error { FILE: internal/lint/code/c.go function C (line 10) | func C() *Language { FILE: internal/lint/code/comments.go type Comment (line 14) | type Comment struct function doneMerging (line 24) | func doneMerging(curr, prev Comment) bool { function addSourceLine (line 35) | func addSourceLine(line string, atEnd bool) string { function coalesce (line 51) | func coalesce(comments []Comment) []Comment { function GetComments (line 100) | func GetComments(source []byte, lang *Language) ([]Comment, error) { FILE: internal/lint/code/comments_test.go function TestComments (line 14) | func TestComments(t *testing.T) { FILE: internal/lint/code/cpp.go function Cpp (line 10) | func Cpp() *Language { FILE: internal/lint/code/css.go function CSS (line 10) | func CSS() *Language { FILE: internal/lint/code/go.go function Go (line 10) | func Go() *Language { FILE: internal/lint/code/java.go function Java (line 10) | func Java() *Language { FILE: internal/lint/code/jl.go function Julia (line 10) | func Julia() *Language { FILE: internal/lint/code/js.go function JavaScript (line 10) | func JavaScript() *Language { FILE: internal/lint/code/lang.go type padding (line 11) | type padding type Language (line 16) | type Language struct function GetLanguageFromExt (line 25) | func GetLanguageFromExt(ext string) (*Language, error) { FILE: internal/lint/code/proto.go function Protobuf (line 10) | func Protobuf() *Language { FILE: internal/lint/code/py.go function Python (line 10) | func Python() *Language { FILE: internal/lint/code/query.go type QueryEngine (line 10) | type QueryEngine struct method run (line 29) | func (qe *QueryEngine) run(meta string, q *sitter.Query, source []byte... function NewQueryEngine (line 16) | func NewQueryEngine(tree *sitter.Tree, lang *Language) *QueryEngine { FILE: internal/lint/code/rb.go function Ruby (line 10) | func Ruby() *Language { FILE: internal/lint/code/rs.go function Rust (line 10) | func Rust() *Language { FILE: internal/lint/code/ts.go function TypeScript (line 10) | func TypeScript() *Language { FILE: internal/lint/code/tsx.go function Tsx (line 10) | func Tsx() *Language { FILE: internal/lint/code/util.go function toJSON (line 9) | func toJSON(comments []Comment) string { function cStyle (line 14) | func cStyle(s string) int { function computePadding (line 18) | func computePadding(s string, makers []string) int { FILE: internal/lint/code/yaml.go function YAML (line 10) | func YAML() *Language { FILE: internal/lint/data.go method lintData (line 11) | func (l *Linter) lintData(f *core.File) error { method lintScopedValues (line 31) | func (l *Linter) lintScopedValues(f *core.File, values []core.ScopedValu... FILE: internal/lint/dita.go method lintDITA (line 15) | func (l Linter) lintDITA(file *core.File) error { FILE: internal/lint/fragment.go function findLine (line 11) | func findLine(s string, line int) string { function leadingSpaces (line 19) | func leadingSpaces(line string, offset int) int { function adjustAlerts (line 31) | func adjustAlerts(alerts []core.Alert, last int, comment code.Comment, l... method lintFragments (line 51) | func (l *Linter) lintFragments(f *core.File) error { FILE: internal/lint/html.go method lintHTML (line 20) | func (l *Linter) lintHTML(f *core.File) error { type extensionConfig (line 27) | type extensionConfig struct function applyBlockPatterns (line 39) | func applyBlockPatterns(c *core.Config, exts extensionConfig, content st... function applyInlinePatterns (line 91) | func applyInlinePatterns(c *core.Config, exts extensionConfig, content s... function applyCommentPatterns (line 128) | func applyCommentPatterns(c *core.Config, exts extensionConfig, content ... function applyPatterns (line 150) | func applyPatterns(c *core.Config, exts extensionConfig, content string)... method lintTxtToHTML (line 169) | func (l *Linter) lintTxtToHTML(f *core.File) error { FILE: internal/lint/html_test.go function Test_applyPatterns (line 10) | func Test_applyPatterns(t *testing.T) { function Test_applyPatterns_errors (line 103) | func Test_applyPatterns_errors(t *testing.T) { FILE: internal/lint/lint.go type Linter (line 20) | type Linter struct method Transform (line 56) | func (l *Linter) Transform(f *core.File) (string, error) { method LintString (line 66) | func (l *Linter) LintString(src string) ([]*core.File, error) { method SetMetaScope (line 75) | func (l *Linter) SetMetaScope(scope string) { method Lint (line 84) | func (l *Linter) Lint(input []string, pat string) ([]*core.File, error) { method lintFiles (line 118) | func (l *Linter) lintFiles(done <-chan core.File, root string) (<-chan... method lintFile (line 168) | func (l *Linter) lintFile(src string) lintResult { method lintProse (line 235) | func (l *Linter) lintProse(f *core.File, blk nlp.Block, lines int) err... method lintTxt (line 258) | func (l *Linter) lintTxt(f *core.File) error { method lintLines (line 263) | func (l *Linter) lintLines(f *core.File) error { method lintBlock (line 268) | func (l *Linter) lintBlock(f *core.File, blk nlp.Block, lines, pad int... method shouldRun (line 293) | func (l *Linter) shouldRun(name string, f *core.File, chk check.Rule, ... method match (line 340) | func (l *Linter) match(s string) bool { method skip (line 347) | func (l *Linter) skip(old string) bool { type lintResult (line 29) | type lintResult struct function NewLinter (line 35) | func NewLinter(cfg *core.Config) (*Linter, error) { FILE: internal/lint/lint_test.go function TestSymlinkFixture (line 15) | func TestSymlinkFixture(t *testing.T) { function TestGenderBias (line 68) | func TestGenderBias(t *testing.T) { function initLinter (line 106) | func initLinter() (*Linter, error) { function benchmarkLint (line 119) | func benchmarkLint(b *testing.B, path string) { function BenchmarkLintRST (line 140) | func BenchmarkLintRST(b *testing.B) { function BenchmarkLintMD (line 144) | func BenchmarkLintMD(b *testing.B) { FILE: internal/lint/md.go method lintMarkdown (line 36) | func (l Linter) lintMarkdown(f *core.File) error { function prepMarkdown (line 57) | func prepMarkdown(content string) string { FILE: internal/lint/mdx.go method lintMDX (line 10) | func (l Linter) lintMDX(f *core.File) error { FILE: internal/lint/metadata.go method lintMetadata (line 15) | func (l Linter) lintMetadata(f *core.File) error { function extractFrontMatter (line 54) | func extractFrontMatter(file, body string) (string, error) { FILE: internal/lint/org.go type ExtendedHTMLWriter (line 22) | type ExtendedHTMLWriter struct method WriteComment (line 26) | func (w *ExtendedHTMLWriter) WriteComment(n org.Comment) { method lintOrg (line 32) | func (l Linter) lintOrg(f *core.File) error { FILE: internal/lint/rst.go method lintRST (line 33) | func (l *Linter) lintRST(f *core.File) error { function callRst (line 66) | func callRst(text, lib, _ string) (string, error) { FILE: internal/lint/util.go function findBestLineBySubstring (line 12) | func findBestLineBySubstring(s, sub string) (int, string) { function findLineBySubstring (line 38) | func findLineBySubstring(s, sub string, seen map[string]int) (int, strin... function adjustPos (line 74) | func adjustPos(alerts []core.Alert, last, line, padding int, v, rv strin... FILE: internal/lint/walk.go type walker (line 16) | type walker struct method sub (line 51) | func (w *walker) sub(sub string, char rune) bool { method update (line 57) | func (w *walker) update(txt string, tokt html.TokenType) { method reset (line 71) | func (w *walker) reset() { method getCtx (line 79) | func (w *walker) getCtx() string { method append (line 83) | func (w *walker) append(text string) { method addTag (line 93) | func (w *walker) addTag(tag string) { method setCls (line 98) | func (w *walker) setCls(tag string, cls bool) { method addCls (line 106) | func (w *walker) addCls(tag string, start bool) { method canClose (line 116) | func (w *walker) canClose() bool { method close (line 120) | func (w *walker) close() { method block (line 126) | func (w *walker) block(text, scope string) nlp.Block { method walk (line 137) | func (w *walker) walk() (html.TokenType, html.Token, string) { method replaceToks (line 143) | func (w *walker) replaceToks(tok html.Token) { method advance (line 168) | func (w *walker) advance(text string) int { method lastTag (line 189) | func (w *walker) lastTag() string { method isNestedList (line 213) | func (w *walker) isNestedList() bool { function newWalker (line 42) | func newWalker(f *core.File, raw []byte, offset int) *walker { function string2ByteSlice (line 224) | func string2ByteSlice(str string) []byte { function byteSlice2String (line 231) | func byteSlice2String(bs []byte) string { function subInplace (line 238) | func subInplace(ctx, sub string, char rune) (string, bool) { FILE: internal/lint/xml.go method lintXML (line 23) | func (l Linter) lintXML(file *core.File) error { FILE: internal/lint/xml_test.go function TestXSLTArgsNotPolluted (line 7) | func TestXSLTArgsNotPolluted(t *testing.T) { FILE: internal/nlp/http.go type SegmentResult (line 12) | type SegmentResult struct type TagResult (line 16) | type TagResult struct function post (line 20) | func post(url string) ([]byte, error) { function doSegment (line 37) | func doSegment(text, lang, apiURL string) (SegmentResult, error) { function pos (line 56) | func pos(text, lang, apiURL string) (TagResult, error) { FILE: internal/nlp/prose.go type TaggedWord (line 12) | type TaggedWord struct function doTag (line 31) | func doTag(words []string) []tag.Token { function textToWords (line 39) | func textToWords(text string, nlp bool) []string { function TextToTokens (line 56) | func TextToTokens(text string, nlp *Info) []tag.Token { FILE: internal/nlp/provider.go type segmenter (line 7) | type segmenter type Block (line 10) | type Block struct function NewBlock (line 19) | func NewBlock(ctx, txt, sel string) Block { function NewBlockWithParent (line 24) | func NewBlockWithParent(ctx, txt, sel, parent string) Block { function NewLinedBlock (line 38) | func NewLinedBlock(ctx, txt, sel string, line int) Block { type Info (line 55) | type Info struct method Compute (line 70) | func (n *Info) Compute(block *Block) ([]Block, error) { method doNLP (line 86) | func (n *Info) doNLP(blk *Block, seg segmenter) ([]Block, error) { FILE: internal/nlp/tokenize.go type TokenTester (line 10) | type TokenTester type Tokenizer (line 12) | type Tokenizer interface type IterTokenizer (line 17) | type IterTokenizer struct method isSpecial (line 113) | func (t *IterTokenizer) isSpecial(token string) bool { method doSplit (line 118) | func (t *IterTokenizer) doSplit(token string) []string { method Tokenize (line 154) | func (t *IterTokenizer) Tokenize(text string) []string { type TokenizerOptFunc (line 28) | type TokenizerOptFunc function UsingIsUnsplittable (line 31) | func UsingIsUnsplittable(x TokenTester) TokenizerOptFunc { function UsingSpecialRE (line 38) | func UsingSpecialRE(x *regexp.Regexp) TokenizerOptFunc { function UsingSanitizer (line 45) | func UsingSanitizer(x *strings.Replacer) TokenizerOptFunc { function UsingSuffixes (line 52) | func UsingSuffixes(x []string) TokenizerOptFunc { function UsingPrefixes (line 59) | func UsingPrefixes(x []string) TokenizerOptFunc { function UsingEmoticons (line 66) | func UsingEmoticons(x map[string]int) TokenizerOptFunc { function UsingContractions (line 73) | func UsingContractions(x []string) TokenizerOptFunc { function UsingSplitCases (line 80) | func UsingSplitCases(x []string) TokenizerOptFunc { function NewIterTokenizer (line 87) | func NewIterTokenizer(opts ...TokenizerOptFunc) *IterTokenizer { function addToken (line 106) | func addToken(s string, toks []string) []string { FILE: internal/nlp/tokenize_test.go type Word2Tok (line 7) | type Word2Tok struct function TestToks (line 31) | func TestToks(t *testing.T) { FILE: internal/nlp/util.go function StrLen (line 10) | func StrLen(s string) int { function hasAnyPrefix (line 14) | func hasAnyPrefix(s string, prefixes []string) bool { function hasAnySuffix (line 24) | func hasAnySuffix(s string, suffixes []string) bool { function hasAnyIndex (line 34) | func hasAnyIndex(s string, suffixes []string) int { function allNonLetter (line 45) | func allNonLetter(s string) bool { FILE: internal/spell/aff.go type affixType (line 13) | type affixType constant Prefix (line 17) | Prefix affixType = iota constant Suffix (line 18) | Suffix type affix (line 22) | type affix struct method expand (line 29) | func (a affix) expand(word string, out []string) []string { type rule (line 49) | type rule struct type dictConfig (line 57) | type dictConfig struct method parseFlags (line 79) | func (a dictConfig) parseFlags(flagStr string) []string { method expand (line 101) | func (a dictConfig) expand(wordAffix string, out []string) ([]string, ... function isCrossProduct (line 175) | func isCrossProduct(val string) (bool, error) { function newDictConfig (line 186) | func newDictConfig(file io.Reader) (*dictConfig, error) { //nolint:funlen FILE: internal/spell/aff_test.go function TestParseFlagsASCII (line 8) | func TestParseFlagsASCII(t *testing.T) { function TestParseFlagsNum (line 16) | func TestParseFlagsNum(t *testing.T) { function TestParseFlagsLong (line 24) | func TestParseFlagsLong(t *testing.T) { function TestParseFlagsUTF8 (line 32) | func TestParseFlagsUTF8(t *testing.T) { function TestFlagNumAffixParsing (line 40) | func TestFlagNumAffixParsing(t *testing.T) { function TestFlagNumExpand (line 79) | func TestFlagNumExpand(t *testing.T) { function TestFlagNumGoSpellReader (line 112) | func TestFlagNumGoSpellReader(t *testing.T) { function TestASCIFlagBackwardCompatibility (line 156) | func TestASCIFlagBackwardCompatibility(t *testing.T) { FILE: internal/spell/gospell.go type wordMatch (line 16) | type wordMatch struct type goSpell (line 21) | type goSpell struct method inputConversion (line 37) | func (s *goSpell) inputConversion(raw []byte) string { method addWordRaw (line 48) | func (s *goSpell) addWordRaw(word string) bool { method addWordListFile (line 59) | func (s *goSpell) addWordListFile(name string) ([]string, error) { method addWordList (line 75) | func (s *goSpell) addWordList(r io.Reader) ([]string, error) { method keys (line 93) | func (s *goSpell) keys() []string { method suggest (line 105) | func (s *goSpell) suggest(word string) []wordMatch { method spell (line 130) | func (s *goSpell) spell(word string) bool { type dictionary (line 29) | type dictionary struct function newGoSpellReader (line 176) | func newGoSpellReader(aff, dic io.Reader) (*goSpell, error) { function newGoSpell (line 251) | func newGoSpell(affFile, dicFile string) (*goSpell, error) { FILE: internal/spell/multi.go type Options (line 28) | type Options struct type CheckerOption (line 38) | type CheckerOption function WithPath (line 41) | func WithPath(path string) CheckerOption { function WithDefault (line 48) | func WithDefault(load bool) CheckerOption { function WithDefaultPath (line 56) | func WithDefaultPath(path string) CheckerOption { function UsingDictionary (line 63) | func UsingDictionary(name string) CheckerOption { function UsingDictionaryByPath (line 71) | func UsingDictionaryByPath(dic, aff string) CheckerOption { type Checker (line 78) | type Checker struct method Spell (line 139) | func (m *Checker) Spell(word string) bool { method Suggest (line 149) | func (m *Checker) Suggest(word string) []string { method Dict (line 171) | func (m *Checker) Dict(i int) map[string]struct{} { method Convert (line 176) | func (m *Checker) Convert(s string) string { method AddWordListFile (line 184) | func (m *Checker) AddWordListFile(name string) error { method readAsset (line 194) | func (m *Checker) readAsset(name string) (string, error) { method loadDic (line 222) | func (m *Checker) loadDic(name string) error { function NewChecker (line 85) | func NewChecker(options ...CheckerOption) (*Checker, error) { FILE: internal/spell/words.go type splitter (line 25) | type splitter struct function newSplitter (line 34) | func newSplitter(chars string) *splitter { function isNumber (line 43) | func isNumber(s string) bool { function isNumberBinary (line 47) | func isNumberBinary(s string) bool { function isNumberUnits (line 55) | func isNumberUnits(s string) string { function isNumberHex (line 70) | func isNumberHex(s string) bool { function isHash (line 74) | func isHash(s string) bool { FILE: internal/system/cmd.go function ExecuteWithInput (line 11) | func ExecuteWithInput(exe, text string, args ...string) (string, error) { FILE: internal/system/dir.go function Mkdir (line 6) | func Mkdir(dir string) error { function IsDir (line 11) | func IsDir(filename string) bool { FILE: internal/system/file.go function FileExists (line 10) | func FileExists(filename string) bool { function FileNameWithoutExt (line 16) | func FileNameWithoutExt(fileName string) string { function ReplaceFileExt (line 26) | func ReplaceFileExt(fp string, formats map[string]string) string { FILE: internal/system/path.go function AbsPath (line 11) | func AbsPath(path string) string { function Which (line 23) | func Which(cmds []string) string { function NormalizePath (line 34) | func NormalizePath(path string) string { function DeterminePath (line 57) | func DeterminePath(configPath string, keyPath string) string { FILE: internal/system/path_test.go function TestDeterminePath (line 8) | func TestDeterminePath(t *testing.T) { FILE: internal/system/system.go function Name (line 10) | func Name() string { function IsMac (line 15) | func IsMac() bool { function IsWindows (line 20) | func IsWindows() bool { function IsLinux (line 25) | func IsLinux() bool { function IsUnix (line 30) | func IsUnix() bool { function PlatformAndArch (line 35) | func PlatformAndArch() string { FILE: internal/system/walk.go function walk (line 8) | func walk(filename string, linkDirname string, walkFn filepath.WalkFunc)... function Walk (line 36) | func Walk(path string, walkFn filepath.WalkFunc) error { FILE: internal/system/zip.go function Unarchive (line 13) | func Unarchive(src, dest string) error { FILE: testdata/comments/in/0.go function Println (line 17) | func Println(a ...interface{}) (n int, err error) { function main (line 21) | func main() { // foo bar FILE: testdata/comments/in/1.rs type Person (line 16) | pub struct Person { method new (line 36) | pub fn new(name: &str) -> Person { method hello (line 45) | pub fn hello(&self) { function main (line 50) | fn main() { FILE: testdata/comments/in/2.py function FIXME (line 4) | def FIXME(): function NOTE (line 35) | def NOTE(): function foo (line 44) | def foo(self): FILE: testdata/comments/in/3.cpp function main (line 40) | int main() { FILE: testdata/comments/in/4.js function getValues (line 15) | function getValues(n, t) { function getCases (line 35) | function getCases(variables) { function statementToTable (line 58) | function statementToTable(s) { function tableToMarkdown (line 78) | function tableToMarkdown(table) { function makeTruthTable (line 102) | function makeTruthTable(s, type) { FILE: testdata/fixtures/formats/subdir1/test.rs function add_one (line 10) | fn add_one(x: i32) -> i32 { FILE: testdata/fixtures/formats/test.cc type foo (line 6) | namespace foo { function Bar (line 8) | Bar Baz(const std::string& color_string) { FILE: testdata/fixtures/formats/test.java class HelloWorld (line 11) | public class HelloWorld { method main (line 12) | public static void main(String[] args) { FILE: testdata/fixtures/formats/test.jsx function formatName (line 3) | function formatName(user) { FILE: testdata/fixtures/formats/test.py function FIXME (line 3) | def FIXME(): function NOTE (line 26) | def NOTE(): function foo (line 34) | def foo(self): FILE: testdata/fixtures/formats/test.rs function add_one (line 10) | fn add_one(x: i32) -> i32 { FILE: testdata/fixtures/formats/test.ts type User (line 2) | interface User { class UserAccount (line 7) | class UserAccount { method constructor (line 11) | constructor(name: string, id: number) { constant XXX (line 18) | const XXX: User = new UserAccount("Murphy", 1); FILE: testdata/fixtures/fragments/test.cc function main (line 40) | int main() { FILE: testdata/fixtures/fragments/test.go function Println (line 18) | func Println(a ...interface{}) (n int, err error) { function main (line 22) | func main() { FILE: testdata/fixtures/fragments/test.js function getValues (line 15) | function getValues(n, t) { function getCases (line 35) | function getCases(variables) { function statementToTable (line 58) | function statementToTable(s) { function tableToMarkdown (line 78) | function tableToMarkdown(table) { function makeTruthTable (line 102) | function makeTruthTable(s, type) { FILE: testdata/fixtures/fragments/test.py function my_function (line 6) | def my_function(my_arg, my_other_arg): function _var_docstrings (line 12) | def _var_docstrings(self) -> dict[str, str]: class Doc (line 17) | class Doc(): method __init__ (line 19) | def __init__(self) -> None: FILE: testdata/fixtures/fragments/test.rs type Person (line 6) | pub struct Person { method new (line 26) | pub fn new(name: &str) -> Person { method hello (line 35) | pub fn hello(&self) { function main (line 40) | fn main() { FILE: testdata/fixtures/fragments/test2.py function _include_fullname_in_traceback (line 55) | def _include_fullname_in_traceback(f): class Doc (line 79) | class Doc(Generic[T]): method __init__ (line 120) | def __init__( method fullname (line 135) | def fullname(self) -> str: method name (line 143) | def name(self) -> str: method docstring (line 151) | def docstring(self) -> str: method source (line 161) | def source(self) -> str: method source_file (line 171) | def source_file(self) -> Path | None: method source_lines (line 185) | def source_lines(self) -> tuple[int, int] | None: method is_inherited (line 197) | def is_inherited(self) -> bool: method type (line 209) | def type(cls) -> str: method type (line 219) | def type(self) -> str: # noqa method __lt__ (line 222) | def __lt__(self, other): class Namespace (line 229) | class Namespace(Doc[T], metaclass=ABCMeta): method _member_objects (line 237) | def _member_objects(self) -> dict[str, Any]: method _var_docstrings (line 245) | def _var_docstrings(self) -> dict[str, str]: method _var_annotations (line 250) | def _var_annotations(self) -> dict[str, Any]: method _taken_from (line 256) | def _taken_from(self, member_name: str, obj: Any) -> tuple[str, str]: FILE: testdata/fixtures/fragments/test2.rs constant ABOUT (line 15) | const ABOUT: &str = " constant USAGE (line 23) | const USAGE: &str = " constant TEMPLATE (line 33) | const TEMPLATE: &str = "\ function app (line 44) | pub fn app() -> App<'static, 'static> { function long_version (line 78) | pub fn long_version(revision_hash: Option<&str>, cpu: bool) -> String { function compile_cpu_features (line 109) | fn compile_cpu_features() -> Vec<&'static str> { function runtime_cpu_features (line 126) | fn runtime_cpu_features() -> Vec<&'static str> { function runtime_cpu_features (line 146) | fn runtime_cpu_features() -> Vec<&'static str> { type Arg (line 152) | type Arg = clap::Arg<'static, 'static>; type RGArg (line 162) | pub struct RGArg { method positional (line 289) | fn positional(name: &'static str, value_name: &'static str) -> RGArg { method switch (line 311) | fn switch(long_name: &'static str) -> RGArg { method flag (line 337) | fn flag(long_name: &'static str, value_name: &'static str) -> RGArg { method short (line 362) | fn short(mut self, name: &'static str) -> RGArg { method help (line 379) | fn help(mut self, text: &'static str) -> RGArg { method long_help (line 389) | fn long_help(mut self, text: &'static str) -> RGArg { method multiple (line 408) | fn multiple(mut self) -> RGArg { method hidden (line 433) | fn hidden(mut self) -> RGArg { method possible_values (line 448) | fn possible_values(mut self, values: &[&'static str]) -> RGArg { method alias (line 469) | fn alias(mut self, name: &'static str) -> RGArg { method allow_leading_hyphen (line 477) | fn allow_leading_hyphen(mut self) -> RGArg { method required_unless (line 490) | fn required_unless(mut self, names: &[&'static str]) -> RGArg { method conflicts (line 498) | fn conflicts(mut self, names: &[&'static str]) -> RGArg { method overrides (line 507) | fn overrides(mut self, name: &'static str) -> RGArg { method default_value (line 514) | fn default_value(mut self, value: &'static str) -> RGArg { method default_value_if (line 521) | fn default_value_if(mut self, value: &'static str, arg_name: &'static ... method number (line 528) | fn number(mut self) -> RGArg { type RGArgKind (line 210) | pub enum RGArgKind { function all_args_and_flags (line 547) | pub fn all_args_and_flags() -> Vec { function arg_pattern (line 655) | fn arg_pattern(args: &mut Vec) { function arg_path (line 675) | fn arg_path(args: &mut Vec) { function flag_after_context (line 690) | fn flag_after_context(args: &mut Vec) { function flag_auto_hybrid_regex (line 708) | fn flag_auto_hybrid_regex(args: &mut Vec) { function flag_before_context (line 754) | fn flag_before_context(args: &mut Vec) { function flag_binary (line 772) | fn flag_binary(args: &mut Vec) { function flag_block_buffered (line 818) | fn flag_block_buffered(args: &mut Vec) { function flag_byte_offset (line 850) | fn flag_byte_offset(args: &mut Vec) { function flag_case_sensitive (line 871) | fn flag_case_sensitive(args: &mut Vec) { function flag_color (line 888) | fn flag_color(args: &mut Vec) { function flag_colors (line 916) | fn flag_colors(args: &mut Vec) { function flag_column (line 952) | fn flag_column(args: &mut Vec) { function flag_context (line 972) | fn flag_context(args: &mut Vec) { function flag_context_separator (line 993) | fn flag_context_separator(args: &mut Vec) { function flag_count (line 1018) | fn flag_count(args: &mut Vec) { function flag_count_matches (line 1043) | fn flag_count_matches(args: &mut Vec) { function flag_crlf (line 1066) | fn flag_crlf(args: &mut Vec) { function flag_debug (line 1091) | fn flag_debug(args: &mut Vec) { function flag_dfa_size_limit (line 1111) | fn flag_dfa_size_limit(args: &mut Vec) { function flag_encoding (line 1128) | fn flag_encoding(args: &mut Vec) { function flag_engine (line 1155) | fn flag_engine(args: &mut Vec) { function flag_field_context_separator (line 1186) | fn flag_field_context_separator(args: &mut Vec) { function flag_field_match_separator (line 1202) | fn flag_field_match_separator(args: &mut Vec) { function flag_file (line 1218) | fn flag_file(args: &mut Vec) { function flag_files (line 1238) | fn flag_files(args: &mut Vec) { function flag_files_with_matches (line 1255) | fn flag_files_with_matches(args: &mut Vec) { function flag_files_without_match (line 1271) | fn flag_files_without_match(args: &mut Vec) { function flag_fixed_strings (line 1287) | fn flag_fixed_strings(args: &mut Vec) { function flag_follow (line 1310) | fn flag_follow(args: &mut Vec) { function flag_glob (line 1331) | fn flag_glob(args: &mut Vec) { function flag_glob_case_insensitive (line 1361) | fn flag_glob_case_insensitive(args: &mut Vec) { function flag_heading (line 1382) | fn flag_heading(args: &mut Vec) { function flag_hidden (line 1414) | fn flag_hidden(args: &mut Vec) { function flag_iglob (line 1438) | fn flag_iglob(args: &mut Vec) { function flag_ignore_case (line 1456) | fn flag_ignore_case(args: &mut Vec) { function flag_ignore_file (line 1475) | fn flag_ignore_file(args: &mut Vec) { function flag_ignore_file_case_insensitive (line 1497) | fn flag_ignore_file_case_insensitive(args: &mut Vec) { function flag_include_zero (line 1519) | fn flag_include_zero(args: &mut Vec) { function flag_invert_match (line 1532) | fn flag_invert_match(args: &mut Vec) { function flag_json (line 1546) | fn flag_json(args: &mut Vec) { function flag_line_buffered (line 1599) | fn flag_line_buffered(args: &mut Vec) { function flag_line_number (line 1632) | fn flag_line_number(args: &mut Vec) { function flag_line_regexp (line 1662) | fn flag_line_regexp(args: &mut Vec) { function flag_max_columns (line 1680) | fn flag_max_columns(args: &mut Vec) { function flag_max_columns_preview (line 1697) | fn flag_max_columns_preview(args: &mut Vec) { function flag_max_count (line 1722) | fn flag_max_count(args: &mut Vec) { function flag_max_depth (line 1737) | fn flag_max_depth(args: &mut Vec) { function flag_max_filesize (line 1756) | fn flag_max_filesize(args: &mut Vec) { function flag_mmap (line 1773) | fn flag_mmap(args: &mut Vec) { function flag_multiline (line 1807) | fn flag_multiline(args: &mut Vec) { function flag_multiline_dotall (line 1856) | fn flag_multiline_dotall(args: &mut Vec) { function flag_no_config (line 1887) | fn flag_no_config(args: &mut Vec) { function flag_no_ignore (line 1901) | fn flag_no_ignore(args: &mut Vec) { function flag_no_ignore_dot (line 1926) | fn flag_no_ignore_dot(args: &mut Vec) { function flag_no_ignore_exclude (line 1948) | fn flag_no_ignore_exclude(args: &mut Vec) { function flag_no_ignore_files (line 1969) | fn flag_no_ignore_files(args: &mut Vec) { function flag_no_ignore_global (line 1990) | fn flag_no_ignore_global(args: &mut Vec) { function flag_no_ignore_messages (line 2012) | fn flag_no_ignore_messages(args: &mut Vec) { function flag_no_ignore_parent (line 2033) | fn flag_no_ignore_parent(args: &mut Vec) { function flag_no_ignore_vcs (line 2053) | fn flag_no_ignore_vcs(args: &mut Vec) { function flag_no_messages (line 2075) | fn flag_no_messages(args: &mut Vec) { function flag_no_pcre2_unicode (line 2094) | fn flag_no_pcre2_unicode(args: &mut Vec) { function flag_no_require_git (line 2117) | fn flag_no_require_git(args: &mut Vec) { function flag_no_unicode (line 2141) | fn flag_no_unicode(args: &mut Vec) { function flag_null (line 2188) | fn flag_null(args: &mut Vec) { function flag_null_data (line 2202) | fn flag_null_data(args: &mut Vec) { function flag_one_file_system (line 2225) | fn flag_one_file_system(args: &mut Vec) { function flag_only_matching (line 2251) | fn flag_only_matching(args: &mut Vec) { function flag_path_separator (line 2266) | fn flag_path_separator(args: &mut Vec) { function flag_passthru (line 2282) | fn flag_passthru(args: &mut Vec) { function flag_pcre2 (line 2305) | fn flag_pcre2(args: &mut Vec) { function flag_pcre2_version (line 2344) | fn flag_pcre2_version(args: &mut Vec) { function flag_pre (line 2357) | fn flag_pre(args: &mut Vec) { function flag_pre_glob (line 2410) | fn flag_pre_glob(args: &mut Vec) { function flag_pretty (line 2439) | fn flag_pretty(args: &mut Vec) { function flag_quiet (line 2455) | fn flag_quiet(args: &mut Vec) { function flag_regex_size_limit (line 2473) | fn flag_regex_size_limit(args: &mut Vec) { function flag_regexp (line 2488) | fn flag_regexp(args: &mut Vec) { function flag_replace (line 2512) | fn flag_replace(args: &mut Vec) { function flag_search_zip (line 2539) | fn flag_search_zip(args: &mut Vec) { function flag_smart_case (line 2563) | fn flag_smart_case(args: &mut Vec) { function flag_sort_files (line 2587) | fn flag_sort_files(args: &mut Vec) { function flag_sort (line 2614) | fn flag_sort(args: &mut Vec) { function flag_sortr (line 2644) | fn flag_sortr(args: &mut Vec) { function flag_stats (line 2674) | fn flag_stats(args: &mut Vec) { function flag_text (line 2698) | fn flag_text(args: &mut Vec) { function flag_threads (line 2731) | fn flag_threads(args: &mut Vec) { function flag_trim (line 2746) | fn flag_trim(args: &mut Vec) { function flag_type (line 2765) | fn flag_type(args: &mut Vec) { function flag_type_add (line 2786) | fn flag_type_add(args: &mut Vec) { function flag_type_clear (line 2817) | fn flag_type_clear(args: &mut Vec) { function flag_type_not (line 2834) | fn flag_type_not(args: &mut Vec) { function flag_type_list (line 2850) | fn flag_type_list(args: &mut Vec) { function flag_unrestricted (line 2866) | fn flag_unrestricted(args: &mut Vec) { function flag_vimgrep (line 2885) | fn flag_vimgrep(args: &mut Vec) { function flag_with_filename (line 2898) | fn flag_with_filename(args: &mut Vec) { function flag_word_regexp (line 2932) | fn flag_word_regexp(args: &mut Vec) { FILE: testdata/fixtures/views/test.java class HelloWorld (line 11) | public class HelloWorld { method main (line 12) | public static void main(String[] args) { FILE: testdata/fixtures/views/test.py function FIXME (line 3) | def FIXME(): function NOTE (line 24) | def NOTE(): function foo (line 32) | def foo(self):