- commandState : Lean.Elab.Command.State
- parserState : Lean.Parser.ModuleParserState
- cmdPos : String.Pos
- commands : Array Lean.Syntax
@[inline]
Equations
- Lean.Elab.Frontend.setCommandState commandState = modify fun s => { commandState := commandState, parserState := s.parserState, cmdPos := s.cmdPos, commands := s.commands }
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Frontend.updateCmdPos = modify fun s => { commandState := s.commandState, parserState := s.parserState, cmdPos := s.parserState.pos, commands := s.commands }
Equations
- Lean.Elab.Frontend.getParserState = do let a ← get pure a.parserState
Equations
- Lean.Elab.Frontend.getCommandState = do let a ← get pure a.commandState
Equations
- Lean.Elab.Frontend.setParserState ps = modify fun s => { commandState := s.commandState, parserState := ps, cmdPos := s.cmdPos, commands := s.commands }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Frontend.getInputContext = do let a ← read pure a.inputCtx
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.IO.processCommands
(inputCtx : Lean.Parser.InputContext)
(parserState : Lean.Parser.ModuleParserState)
(commandState : Lean.Elab.Command.State)
:
Equations
- One or more equations did not get rendered due to their size.
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.
Equations
- Lean.Elab.getPrintMessageEndPos opts = Lean.KVMap.getBool opts `printMessageEndPos
@[export lean_run_frontend]
def
Lean.Elab.runFrontend
(input : String)
(opts : Lean.Options)
(fileName : String)
(mainModuleName : Lean.Name)
(trustLevel : optParam UInt32 0)
(ileanFileName? : optParam (Option String) none)
:
Equations
- One or more equations did not get rendered due to their size.