about summary refs log tree commit diff
path: root/crates/parser/src/lexed_str.rs
AgeCommit message (Collapse)AuthorLines
2022-05-13Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, ↵Jonas Schievink-24/+4
r=jonas-schievink" This reverts commit cc9ae2b89e01a30e441371b9fd3376c3d03a475f, reversing changes made to 7dfd1cb572d8d4fd951237361e43ecddd9c9a852.
2022-05-05Indicate the number of float tokens in the first tokenJonas Schievink-4/+9
2022-05-05Split float literal tokens at the `.`Jonas Schievink-4/+19
2022-05-02Add a `Converter` type for token conversionJonas Schievink-143/+168
2021-12-26internal: move ws attachment logic to the parser crateAleksey Kladov-25/+0
This has to re-introduce the `sink` pattern, because doing this purely with iterators is awkward :( Maaaybe the event vector was a false start? But, anyway, I like the current factoring more -- it sort-of obvious that we do want to keep ws-attachment business in the parser, and that we also don't want that to depend on the particular tree structure. I think `shortcuts` module achieves that.
2021-12-25internal: renameAleksey Kladov-2/+2
2021-12-18Update crates/parser/src/lexed_str.rsAleksey Kladov-1/+1
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2021-12-18internal: move all the lexing to the parser crateAleksey Kladov-7/+33
2021-12-18converting lexed str to tokensAleksey Kladov-1/+28
2021-12-18soa all the thingsAleksey Kladov-0/+247