Documentation

Lean.Server.References

structure Lean.Server.Reference :
Type
Equations
Equations
Equations
Equations
  • Lean.Lsp.RefInfo.addRef x x = match x, x with | i@h:{ definition := none, usages := x }, { ident := x_1, range := range, isDeclaration := true } => { definition := some range, usages := i.usages } | i@h:{ definition := x, usages := usages }, { ident := x_1, range := range, isDeclaration := false } => { definition := i.definition, usages := Array.push usages range } | i, x => i
Equations
Equations
Equations
structure Lean.Server.Ilean :
Type
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
def Lean.Server.References.definitionsMatching {α : Type} (self : Lean.Server.References) (srcSearchPath : Lean.SearchPath) (filter : Lean.NameOption α) (maxAmount? : optParam (Option Nat) none) :
Equations