Skip to content

LintVisitor

Defined in: types.ts:64

Visitor pattern for AST traversal Rules implement the hooks they’re interested in

optional onDefinition(entry, allEntriesForTerm): void

Defined in: types.ts:70

Called for each definition in the document

IndexDefinitionEntry

The definition entry

IndexDefinitionEntry[]

All entries for this normalized term across the workspace

void


optional onDocument(doc): void

Defined in: types.ts:83

Called once per document before visiting nodes

Document

The document

void


optional onReference(ref, target): void

Defined in: types.ts:77

Called for each reference in the document

InlineReference

The reference node

The resolved target definition (null if unresolved)

IndexDefinitionEntry | null

void