markright v0.2.4 Markright.Buffer
The buffer, used in continuations, stores the tail of the string parsed,
tags that are already opened and arbitrary values in bag
field.
Summary
Functions
Pops the element from the end of tags. Returns tuple {elem, rest}
Types
Functions
Pops the element from the end of tags. Returns tuple {elem, rest}
.
## Examples
iex> Markright.Buffer.pop(%Markright.Buffer{tags: [:a, :b, :c]})
{:c, %Markright.Buffer{buffer: "", tags: [:a, :b]}}