• Preparing search index...
  • The search index is not available
Kombo - v3.0.0
  • Kombo - v3.0.0
  • Advanced
  • lazy

Function lazy

  • lazy<A, CTX, PROBLEM>(thunk: (() => Parser.Parser<A, CTX, PROBLEM>)): Parser.Parser<A, CTX, PROBLEM>
  • Just like Simple.lazy.

    Type Parameters

    • A

    • CTX

    • PROBLEM

    Parameters

    • thunk: (() => Parser.Parser<A, CTX, PROBLEM>)
        • (): Parser.Parser<A, CTX, PROBLEM>
        • Returns Parser.Parser<A, CTX, PROBLEM>

    Returns Parser.Parser<A, CTX, PROBLEM>

    • Defined in Advanced.ts:321
githubkombo-jsonkombo-workshop

Settings

Member Visibility

Theme

Modules

  • Kombo - v3.0.0
    • Advanced
    • Helpers
    • Parser
    • Result
    • Simple
  • Done
  • Loop
  • Nestable
  • Step
  • Token
  • Trailing
  • Nestable
  • Trailing
  • getCol
  • getIndent
  • getOffset
  • getPosition
  • getRow
  • getSource
  • spaces
  • Done
  • Loop
  • Token
  • andThen
  • apply
  • backtrackable
  • chompIf
  • chompUntil
  • chompUntilEndOr
  • chompWhile
  • chompWhile1
  • commit
  • end
  • float
  • getChompedString
  • inContext
  • int
  • isDone
  • isLoop
  • isNestable
  • isNotNestable
  • keyword
  • lazy
  • lineComment
  • loop
  • many
  • many1
  • map
  • map2
  • mapChompedString
  • multiComment
  • number
  • oneOf
  • oneOfMany
  • optional
  • problem
  • run
  • sequence
  • skip1st
  • skip2nd
  • succeed
  • symbol
  • token
  • variable
  • withIndent