aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add an assert (and fix the other)Florian Diebold2019-02-211-1/+2
|
* Fix handling of generics in tuple variants and refactor a bitFlorian Diebold2019-02-206-41/+122
| | | | | | Also make them display a tiny bit nicer. Fixes #860.
* move syntax error to parserAleksey Kladov2019-02-206-25/+24
|
* simplifyAleksey Kladov2019-02-205-29/+4
|
* remove TokenPosAleksey Kladov2019-02-203-49/+28
|
* flattern module structureAleksey Kladov2019-02-205-14/+30
|
* merge parse_impl and parser_apiAleksey Kladov2019-02-202-171/+102
|
* fix off by one errorAleksey Kladov2019-02-201-1/+1
|
* move abstract traits to topAleksey Kladov2019-02-204-65/+59
|
* switch to dynamic dispatch for TokenSourceAleksey Kladov2019-02-202-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 traitAleksey Kladov2019-02-203-64/+59
|
* rename Sink -> TreeSinkAleksey Kladov2019-02-203-8/+8
|
* fix testsAleksey Kladov2019-02-203-5/+8
|
* rearrange modules in a suggestd reading orderAleksey Kladov2019-02-202-9/+10
|
* flatten modulesAleksey Kladov2019-02-2015-40/+37
|
* move reparsers to grammarAleksey Kladov2019-02-202-33/+27
|
* tighten visibilityAleksey Kladov2019-02-201-3/+3
|
* move all parsing related bits to a separate moduleAleksey Kladov2019-02-2031-47/+78
|
* slightly better nameAleksey Kladov2019-02-203-12/+20
|
* make stuff privateAleksey Kladov2019-02-201-2/+2
|
* remove ignored macro testsAleksey Kladov2019-02-194-50/+3
| | | | | we need to significantly reengineer macros, so the tests as they exist are useless
* remove local-vfsAleksey Kladov2019-02-185-930/+0
|
* switch to crates.io vfsAleksey Kladov2019-02-182-2/+2
|
* better commentsAleksey Kladov2019-02-181-2/+8
|
* drop dependency on thread_workerAleksey Kladov2019-02-183-66/+99
|
* drop unused extern crateAleksey Kladov2019-02-181-1/+0
|
* hide TaskResult from the public APIAleksey Kladov2019-02-182-15/+28
|
* move public API to top of the fileAleksey Kladov2019-02-181-8/+8
|
* remove depedency on ra_arenaAleksey Kladov2019-02-182-18/+23
|
* remove arena from RootsAleksey Kladov2019-02-182-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 ArcAleksey Kladov2019-02-181-5/+2
|
* drop unused depsAleksey Kladov2019-02-181-3/+0
|
* Merge #854bors[bot]2019-02-1859-433/+522
|\ | | | | | | | | | | | | | | 854: more compact edits in insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * more compact edits in instaAleksey Kladov2019-02-1855-1161/+339
| |
| * Don't use additional_text_edits API internallyAleksey Kladov2019-02-1857-384/+1300
| |
| * More orthogonal method namingAleksey Kladov2019-02-184-9/+4
| |
* | Merge #852bors[bot]2019-02-184-35/+44
|\ \ | |/ |/| | | | | | | | | | | 852: Handle != r=flodiebold a=matklad r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]>
| * handle != operatorAleksey Kladov2019-02-184-35/+44
| |
* | More compact debug representation for completionAleksey Kladov2019-02-1855-1883/+610
| |
* | Merge #850bors[bot]2019-02-185-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 inferenceFlorian Diebold2019-02-175-37/+95
| |
* | Enable parsing attributes for generic lifetimes and type parametersVille Penttinen2019-02-175-9/+85
|/
* Merge #849bors[bot]2019-02-173-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 functionsAleksey Kladov2019-02-173-6/+42
| |
* | Merge #846bors[bot]2019-02-1713-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 validatorVille Penttinen2019-02-172-30/+0
| | |
| * | Parse only outer_attributes for match arms for nowVille Penttinen2019-02-173-47/+60
| | |
| * | Enable parsing of attributes inside a match blockVille Penttinen2019-02-1716-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 #847bors[bot]2019-02-174-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 namesAleksey Kladov2019-02-171-19/+24
| |