parseInlineElems

fun parseInlineElems(stoppingFn: (List<Token>) -> Boolean = { false }): Parser<List<OrgInlineElem>>

Build a parser that continues to parse inline element till stopping criteria is met.

Parameters

stoppingFn

takes a list of token trail and returns whether the processing should stop. In addition to this, processing also stops when tokens are exhausted.