- pos : String.Pos.Raw
- recovering : Bool
- hasLeading : Bool
Whether there is leading whitespace before
pos. Used to associate whitespace at the start of the file with the first token of the file.
Instances For
@[implicit_reducible]
def
Lean.Parser.parseHeader
(inputCtx : InputContext)
:
IO (TSyntax `Lean.Parser.Module.header × ModuleParserState × MessageLog)
Instances For
def
Lean.Parser.parseCommand
(inputCtx : InputContext)
(pmctx : ParserModuleContext)
(mps : ModuleParserState)
(messages : MessageLog)
:
Instances For
def
Lean.Parser.testParseModuleAux
(env : Environment)
(inputCtx : InputContext)
(s : ModuleParserState)
(msgs : MessageLog)
(stxs : Array Syntax)
: