Documentation

Batteries.Lean.Position

@[deprecated Lean.FileMap.lspRangeOfStx? (since := "2025-09-23")]

Gets the LSP range of syntax stx.

Instances For

    Return the beginning of the line contatining character pos.

    Instances For

      Return the indentation (number of leading spaces) of the line containing pos, and whether pos is the first non-whitespace character in the line.

      Instances For