File: .lake/packages/lean4/src/lean/Lean/Elab/ParseImportsFast.lean

full_name: Lean.ParseImports.State.error?
code: structure State where
  imports : Array Import := #[]
  pos     : String.Pos := 0
  error?  : Option String := none
  deriving Inhabited
goal: Option String

full_name: Lean.ParseImports.State.pos
code: structure State where
  imports : Array Import := #[]
  pos     : String.Pos := 0
  error?  : Option String := none
  deriving Inhabited
goal: String.Pos

full_name: Lean.ParseImports.instInhabitedState
code: structure State where
  imports : Array Import := #[]
  pos     : String.Pos := 0
  error?  : Option String := none
  deriving Inhabited
goal: Inhabited Lean.ParseImports.State

full_name: Lean.ParseImports.State.imports
code: structure State where
  imports : Array Import := #[]
  pos     : String.Pos := 0
  error?  : Option String := none
  deriving Inhabited
goal: Array Lean.Import

full_name: Lean.ParseImports.State
code: structure State where
  imports : Array Import := #[]
  pos     : String.Pos := 0
  error?  : Option String := none
  deriving Inhabited
goal: Type

full_name: Lean.ParseImports.Parser
code: def Parser 
goal: Type

full_name: Lean.ParseImports.instInhabitedParser
code: instance : Inhabited Parser 
goal: Inhabited Lean.ParseImports.Parser

full_name: Lean.ParseImports.State.setPos
code: @[inline] def State.setPos (s : State) (pos : String.Pos) : State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.State.mkError
code: @[inline] def State.mkError (s : State) (msg : String) : State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.State.mkEOIError
code: def State.mkEOIError (s : State) : State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.State.next
code: @[inline] def State.next (s : State) (input : String) (pos : String.Pos) : State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.State.next'
code: @[inline] def State.next' (s : State) (input : String) (pos : String.Pos) (h : ¬ input.atEnd pos): State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.finishCommentBlock
code: partial def finishCommentBlock (nesting : Nat) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.finishCommentBlock.eoi
code: partial def finishCommentBlock (nesting : Nat) : Parser 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.takeUntil
code: @[specialize] partial def takeUntil (p : Char → Bool) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.takeWhile
code: @[inline] def takeWhile (p : Char → Bool) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.andthen
code: @[inline] def andthen (p q : Parser) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.instAndThenParser
code: instance : AndThen Parser 
goal: AndThen Lean.ParseImports.Parser

full_name: Lean.ParseImports.whitespace
code: partial def whitespace : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.keywordCore
code: @[inline] partial def keywordCore (k : String) (failure : Parser) (success : Parser) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.keywordCore.go
code: @[inline] partial def keywordCore (k : String) (failure : Parser) (success : Parser) : Parser 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.keyword
code: @[inline] partial def keyword (k : String) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.isIdCont
code: @[inline] def isIdCont : String → State → Bool 
goal: String → Lean.ParseImports.State → Bool

full_name: Lean.ParseImports.State.pushModule
code: def State.pushModule (module : Name) (runtimeOnly : Bool) (s : State) : State 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.isIdRestCold
code: @[inline] def isIdRestCold (c : Char) : Bool 
goal: Bool

full_name: Lean.ParseImports.isIdRestFast
code: @[inline] def isIdRestFast (c : Char) : Bool 
goal: Bool

full_name: Lean.ParseImports.moduleIdent
code: partial def moduleIdent (runtimeOnly : Bool) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.moduleIdent.parse
code: partial def moduleIdent (runtimeOnly : Bool) : Parser 
goal: Lean.ParseImports.State

full_name: Lean.ParseImports.many
code: @[specialize] partial def many (p : Parser) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.preludeOpt
code: @[inline] partial def preludeOpt (k : String) : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.ParseImports.main
code: def main : Parser 
goal: Lean.ParseImports.Parser

full_name: Lean.parseImports'
code: /--
Simpler and faster version of `parseImports`. We use it to implement Lake.
-/
def parseImports' (input : String) (fileName : String) : IO (Array Lean.Import) 
goal: IO (Array Lean.Import)

full_name: Lean.«instToJsonImport_.lake»
code: ToJson
goal: Lean.ToJson Lean.Import

full_name: Lean.PrintImportResult
code: structure PrintImportResult where
  imports? : Option (Array Import) := none
  errors   : Array String := #[]
  deriving ToJson
goal: Type

full_name: Lean.PrintImportResult.imports?
code: structure PrintImportResult where
  imports? : Option (Array Import) := none
  errors   : Array String := #[]
  deriving ToJson
goal: Option (Array Lean.Import)

full_name: Lean.PrintImportResult.errors
code: structure PrintImportResult where
  imports? : Option (Array Import) := none
  errors   : Array String := #[]
  deriving ToJson
goal: Array String

full_name: Lean.instToJsonPrintImportResult
code: ToJson
goal: Lean.ToJson Lean.PrintImportResult

full_name: Lean.PrintImportsResult
code: structure PrintImportsResult where
  imports : Array PrintImportResult
  deriving ToJson
goal: Type

full_name: Lean.PrintImportsResult.imports
code: structure PrintImportsResult where
  imports : Array PrintImportResult
  deriving ToJson
goal: Array Lean.PrintImportResult

full_name: Lean.instToJsonPrintImportsResult
code: ToJson
goal: Lean.ToJson Lean.PrintImportsResult

full_name: Lean.printImportsJson
code: @[export lean_print_imports_json]
def printImportsJson (fileNames : Array String) : IO Unit 
goal: IO Unit