- commandState : Lean.Elab.Command.State
- parserState : Lean.Parser.ModuleParserState
- cmdPos : String.Pos
- commands : Array Lean.Syntax
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
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.
Instances For
Equations
- One or more equations did not get rendered due to their size.
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
Equations
- Lean.Elab.Frontend.setParserState ps = modify fun (s : Lean.Elab.Frontend.State) => { commandState := s.commandState, parserState := ps, cmdPos := s.cmdPos, commands := s.commands }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.Frontend.getInputContext = do let __do_lift ← read pure __do_lift.inputCtx
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- commandState : Lean.Elab.Command.State
- parserState : Lean.Parser.ModuleParserState
- cmdPos : String.Pos
- commands : Array Lean.Syntax
- 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.
Equations
- One or more equations did not get rendered due to their size.
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.Syntax)
:
def
Lean.Elab.IO.processCommands
(inputCtx : Lean.Parser.InputContext)
(parserState : Lean.Parser.ModuleParserState)
(commandState : Lean.Elab.Command.State)
:
Equations
- Lean.Elab.IO.processCommands inputCtx parserState commandState = do let st ← liftM (Lean.Elab.IO.processCommandsIncrementally inputCtx parserState commandState none) pure st.toState
Instances For
def
Lean.Elab.process
(input : String)
(env : Lean.Environment)
(opts : Lean.Options)
(fileName : optParam (Option String) none)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[export lean_run_frontend]
def
Lean.Elab.runFrontend
(input : String)
(opts : Lean.Options)
(fileName : String)
(mainModuleName : Lake.Name)
(trustLevel : optParam UInt32 0)
(ileanFileName? : optParam (Option String) none)
(jsonOutput : optParam Bool false)
:
Equations
- One or more equations did not get rendered due to their size.