- 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
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.
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 uses the new Lean language processor implementation for
potential incremental reuse. Pass in 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 : Lean.Language.SnapshotTask Lean.Language.Lean.CommandParsedSnapshot)
(commands : Array Lean.Syntax)
:
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
Parses values of options registered during import and left by the C++ frontend as strings, fails if any option names remain unknown.
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.