Documentation

Lean.Parser.Module

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.

Parser for a Lean module. We never actually run this parser but instead use the imperative definitions below that return the same syntax tree structure, but add error recovery. Still, it is helpful to have a Parser definition for it in order to auto-generate helpers such as the pretty printer.

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    Equations
    Equations
    • One or more equations did not get rendered due to their size.
    def Lean.Parser.testParseModule (env : Lean.Environment) (fname : String) (contents : String) :
    IO (Lean.TSyntax `Lean.Parser.Module.module)
    Equations
    • One or more equations did not get rendered due to their size.
    def Lean.Parser.testParseFile (env : Lean.Environment) (fname : System.FilePath) :
    IO (Lean.TSyntax `Lean.Parser.Module.module)
    Equations