parse Inline Elems
Build a parser that continues to parse inline element till stopping criteria is met.
Parameters
stopping Fn
takes a list of token trail and returns whether the processing should stop. In addition to this, processing also stops when tokens are exhausted.