Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flattern module structure | Aleksey Kladov | 2019-02-20 | 5 | -14/+30 |
| | |||||
* | merge parse_impl and parser_api | Aleksey Kladov | 2019-02-20 | 2 | -171/+102 |
| | |||||
* | fix off by one error | Aleksey Kladov | 2019-02-20 | 1 | -1/+1 |
| | |||||
* | move abstract traits to top | Aleksey Kladov | 2019-02-20 | 4 | -65/+59 |
| | |||||
* | switch to dynamic dispatch for TokenSource | Aleksey Kladov | 2019-02-20 | 2 | -9/+7 |
| | | | | | | | | | | | Benchmarks show no difference. This is probably because we are bottlenecked on memory allocations, and we should fix that, but we are not optimizing for performance just yet. changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch token-source # Changes to be committed: # modified: crates/ra_syntax/src/parsing/parser_api.rs # modified: crates/ra_syntax/src/parsing/parser_impl.rs # | ||||
* | route parsing via TokenSource trait | Aleksey Kladov | 2019-02-20 | 3 | -64/+59 |
| | |||||
* | rename Sink -> TreeSink | Aleksey Kladov | 2019-02-20 | 3 | -8/+8 |
| | |||||
* | fix tests | Aleksey Kladov | 2019-02-20 | 3 | -5/+8 |
| | |||||
* | rearrange modules in a suggestd reading order | Aleksey Kladov | 2019-02-20 | 2 | -9/+10 |
| | |||||
* | flatten modules | Aleksey Kladov | 2019-02-20 | 15 | -40/+37 |
| | |||||
* | move reparsers to grammar | Aleksey Kladov | 2019-02-20 | 2 | -33/+27 |
| | |||||
* | tighten visibility | Aleksey Kladov | 2019-02-20 | 1 | -3/+3 |
| | |||||
* | move all parsing related bits to a separate module | Aleksey Kladov | 2019-02-20 | 31 | -47/+78 |
| | |||||
* | slightly better name | Aleksey Kladov | 2019-02-20 | 3 | -12/+20 |
| | |||||
* | make stuff private | Aleksey Kladov | 2019-02-20 | 1 | -2/+2 |
| | |||||
* | remove ignored macro tests | Aleksey Kladov | 2019-02-19 | 4 | -50/+3 |
| | | | | | we need to significantly reengineer macros, so the tests as they exist are useless | ||||
* | remove local-vfs | Aleksey Kladov | 2019-02-18 | 5 | -930/+0 |
| | |||||
* | switch to crates.io vfs | Aleksey Kladov | 2019-02-18 | 2 | -2/+2 |
| | |||||
* | better comments | Aleksey Kladov | 2019-02-18 | 1 | -2/+8 |
| | |||||
* | drop dependency on thread_worker | Aleksey Kladov | 2019-02-18 | 3 | -66/+99 |
| | |||||
* | drop unused extern crate | Aleksey Kladov | 2019-02-18 | 1 | -1/+0 |
| | |||||
* | hide TaskResult from the public API | Aleksey Kladov | 2019-02-18 | 2 | -15/+28 |
| | |||||
* | move public API to top of the file | Aleksey Kladov | 2019-02-18 | 1 | -8/+8 |
| | |||||
* | remove depedency on ra_arena | Aleksey Kladov | 2019-02-18 | 2 | -18/+23 |
| | |||||
* | remove arena from Roots | Aleksey Kladov | 2019-02-18 | 2 | -16/+18 |
| | | | | | we want to move ra_vfs to a new repo, so having fewer deps is useful. Arena is a thin layer of sugar on top of Vec anyway. | ||||
* | remove useless Arc | Aleksey Kladov | 2019-02-18 | 1 | -5/+2 |
| | |||||
* | drop unused deps | Aleksey Kladov | 2019-02-18 | 1 | -3/+0 |
| | |||||
* | Merge #854 | bors[bot] | 2019-02-18 | 59 | -433/+522 |
|\ | | | | | | | | | | | | | | | 854: more compact edits in insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | more compact edits in insta | Aleksey Kladov | 2019-02-18 | 55 | -1161/+339 |
| | | |||||
| * | Don't use additional_text_edits API internally | Aleksey Kladov | 2019-02-18 | 57 | -384/+1300 |
| | | |||||
| * | More orthogonal method naming | Aleksey Kladov | 2019-02-18 | 4 | -9/+4 |
| | | |||||
* | | Merge #852 | bors[bot] | 2019-02-18 | 4 | -35/+44 |
|\ \ | |/ |/| | | | | | | | | | | | 852: Handle != r=flodiebold a=matklad r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | handle != operator | Aleksey Kladov | 2019-02-18 | 4 | -35/+44 |
| | | |||||
* | | More compact debug representation for completion | Aleksey Kladov | 2019-02-18 | 55 | -1883/+610 |
| | | |||||
* | | Merge #850 | bors[bot] | 2019-02-18 | 5 | -37/+95 |
|\ \ | |/ |/| | | | | | | | | | | | 850: Handle tuple structs / enum variants properly in type inference r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Handle tuple structs / enum variants properly in type inference | Florian Diebold | 2019-02-17 | 5 | -37/+95 |
| | | |||||
* | | Enable parsing attributes for generic lifetimes and type parameters | Ville Penttinen | 2019-02-17 | 5 | -9/+85 |
|/ | |||||
* | Merge #849 | bors[bot] | 2019-02-17 | 3 | -6/+42 |
|\ | | | | | | | | | | | | | | | 849: Don't render `()` in calls to assoc functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Don't render `()` in calls to assoc functions | Aleksey Kladov | 2019-02-17 | 3 | -6/+42 |
| | | |||||
* | | Merge #846 | bors[bot] | 2019-02-17 | 13 | -1/+572 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 846: WIP: Enable parsing of attributes inside a match block r=matklad a=vipentti We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. This fixes #845 and works towards #759 Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | | Remove match_armlist validator | Ville Penttinen | 2019-02-17 | 2 | -30/+0 |
| | | | |||||
| * | | Parse only outer_attributes for match arms for now | Ville Penttinen | 2019-02-17 | 3 | -47/+60 |
| | | | |||||
| * | | Enable parsing of attributes inside a match block | Ville Penttinen | 2019-02-17 | 16 | -1/+589 |
| |/ | | | | | | | | | | | | | We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. | ||||
* | | Merge #847 | bors[bot] | 2019-02-17 | 4 | -195/+201 |
|\ \ | |/ |/| | | | | | | | | | | | 847: Refactor vfs r=matklad a=matklad Some slight refctorings of VFS, in preparation for moving it to a separate repo Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | marginally better names | Aleksey Kladov | 2019-02-17 | 1 | -19/+24 |
| | | |||||
| * | fix-tests | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 |
| | | |||||
| * | remove overlay removes overlay | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 |
| | | |||||
| * | simplify overlay handling | Aleksey Kladov | 2019-02-17 | 1 | -16/+8 |
| | | |||||
| * | simplify | Aleksey Kladov | 2019-02-17 | 1 | -39/+33 |
| | | |||||
| * | rename method | Aleksey Kladov | 2019-02-17 | 1 | -1/+1 |
| | |