</span></code></div><div class="spec-doc"><p><code>take_while ~sep_by p ~while_ p</code> repeatedly parses <code>p</code> and returns its value. <code>p</code> is evaluated if and only if <code>while_</code> evaluates to <code>true</code>. If <code>sep_by</code> is specified then the evaluation of <code>p</code> must be followed by a successful evaluation of <code>sep_by</code>. The parsed value of <code>sep_by</code> is discarded. The repetition ends when one of the following occurs:</p><ul><li><code>p</co