- commandState : Lean.Elab.Command.State
- parserState : Lean.Parser.ModuleParserState
- cmdPos : String.Pos
- commands : Array Lean.Syntax
Instances For
@[reducible, inline]
Equations
Instances For
Instances For
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Equations
- Lean.Elab.Frontend.getParserState = do let __do_lift ← get pure __do_lift.parserState
Instances For
Equations
- Lean.Elab.Frontend.getCommandState = do let __do_lift ← get pure __do_lift.commandState
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- inputCtx : Lean.Parser.InputContext
- initialSnap : Lean.Language.Lean.CommandParsedSnapshot
Instances For
def
Lean.Elab.IO.processCommandsIncrementally
(inputCtx : Lean.Parser.InputContext)
(parserState : Lean.Parser.ModuleParserState)
(commandState : Lean.Elab.Command.State)
(old? : Option Lean.Elab.IncrementalState)
:
Variant of IO.processCommands
that allows for potential incremental reuse. Pass in the result of a
previous invocation done with the same state (but usually different input context) to allow for
reuse.
Instances For
partial def
Lean.Elab.IO.processCommandsIncrementally.go
(inputCtx : Lean.Parser.InputContext)
(initialSnap : Lean.Language.Lean.CommandParsedSnapshot)
(t : Task Lean.Language.Lean.CommandParsedSnapshot)
(commands : Array Lean.Language.Lean.CommandParsedSnapshot)
:
def
Lean.Elab.IO.processCommands
(inputCtx : Lean.Parser.InputContext)
(parserState : Lean.Parser.ModuleParserState)
(commandState : Lean.Elab.Command.State)
:
Instances For
def
Lean.Elab.process
(input : String)
(env : Lean.Environment)
(opts : Lean.Options)
(fileName : Option String := none)
:
Instances For
@[export lean_run_frontend]
def
Lean.Elab.runFrontend
(input : String)
(opts : Lean.Options)
(fileName : String)
(mainModuleName : Lean.Name)
(trustLevel : UInt32 := 0)
(ileanFileName? : Option String := none)
(jsonOutput : Bool := false)
:
Equations
- One or more equations did not get rendered due to their size.