aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/blank_line.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-1/+1
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-2/+2
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-251-4/+4
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-251-1/+1
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-251-3/+1
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-221-5/+5
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-221-2/+2
|
* Refactor examples of statesLibravatar Titus Wormer2022-07-181-6/+8
|
* Add missing linkLibravatar Titus Wormer2022-07-151-5/+4
|
* Refactor to move token types to `token`Libravatar Titus Wormer2022-07-071-1/+1
|
* Add `attempt_opt` to tokenizerLibravatar Titus Wormer2022-06-221-2/+2
|
* Rename `Whitespace` token to `SpaceOrTab`Libravatar Titus Wormer2022-06-221-1/+1
|
* Add docs for token typesLibravatar Titus Wormer2022-06-221-0/+4
|
* Add improved whitespace handlingLibravatar Titus Wormer2022-06-201-8/+5
| | | | | | * add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves
* Add paragraphLibravatar Titus Wormer2022-06-201-2/+3
|
* Add some improved docsLibravatar Titus Wormer2022-06-131-3/+6
|
* .Libravatar Titus Wormer2022-06-081-0/+61