Instances For
Equations
- Lean.ParseImports.instInhabitedParser = { default := fun (x : String) (s : Lean.ParseImports.State) => s }
@[inline]
Equations
Instances For
Equations
- s.mkEOIError = s.mkError "unexpected end of input"
Instances For
@[inline]
def
Lean.ParseImports.State.next'
(s : State)
(input : String)
(pos : String.Pos)
(h : ¬input.atEnd pos = true)
:
Equations
Instances For
Equations
- Lean.ParseImports.finishCommentBlock.eoi s = s.mkError "unterminated comment"
Instances For
@[inline]
Equations
- Lean.ParseImports.takeWhile p = Lean.ParseImports.takeUntil fun (c : Char) => !p c
Instances For
Equations
- Lean.ParseImports.instAndThenParser = { andThen := fun (p : Lean.ParseImports.Parser) (q : Unit → Lean.ParseImports.Parser) => Lean.ParseImports.andthen p (q ()) }
@[inline]
Equations
- Lean.ParseImports.keywordCore k failure success input s = Lean.ParseImports.keywordCore.go k failure success input s 0 s.pos
Instances For
@[specialize #[]]
partial def
Lean.ParseImports.keywordCore.go
(k : String)
(failure success : Parser)
(input : String)
(s : State)
(i j : String.Pos)
:
@[inline]
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
@[inline]
Equations
- Lean.ParseImports.isIdRestCold c = (decide (c = '_') || decide (c = ''') || c == '!' || c == '?' || Lean.isLetterLike c || Lean.isSubScriptAlnum c)
Instances For
@[inline]
Equations
- Lean.ParseImports.isIdRestFast c = (c.isAlphanum || c != '.' && c != '\n' && c != ' ' && Lean.ParseImports.isIdRestCold c)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.ParseImports.setImportAll importAll x✝ s = { imports := s.imports, pos := s.pos, error? := s.error?, isModule := s.isModule, isExported := s.isExported, importAll := importAll }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.instToJsonImport = { toJson := Lean.toJsonImport✝ }
Equations
Simpler and faster version of parseImports
. We use it to implement Lake.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- result? : Option ParseImportsResult