Documentation

Std.Lean.Position

Gets the LSP range from a String.Range.

Instances For

    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

          Returns a synthetic Syntax which has the specified String.Range.

          Instances For

            Returns the position of the start of (1-based) line line.

            Instances For