aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #864bors[bot]2019-02-216-42/+124
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 864: Fix handling of generics in tuple variants and refactor a bit r=matklad a=flodiebold (The problem was that we created separate substitutions for the return value, so we lost the connection between the type arguments in the constructor call and the type arguments of the result.) Also make them display a tiny bit nicer. Fixes #860. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]>
| * | 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.
* | Merge #876bors[bot]2019-02-214-10/+143
|\ \ | | | | | | | | | | | | | | | | | | | | | 876: Fix join_lines not adding a comma after join_single_expr_block with match arm r=matklad a=vipentti Fixes #868 Co-authored-by: Ville Penttinen <[email protected]>
| * | Move `non_trivia_sibling` to `ra_syntax::algo`Ville Penttinen2019-02-214-15/+13
| | |
| * | Simplify adding a comma after match armVille Penttinen2019-02-211-28/+18
| | |
| * | Fix join_lines not adding a comma after join_single_expr_block in match armVille Penttinen2019-02-211-2/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will also remove optional whitespace between the expression and the comma. e.g. ```rust fn foo() { let x = (<|>{ 4 } ,); // NOTE: whitespace } ``` becomes ```rust fn foo() { let x = (<|>4,); } ```
* | | Update lsp-types and backtracekjeremy2019-02-213-3/+3
| | |
* | | add API guide to ra_syntaxAleksey Kladov2019-02-211-0/+173
|/ /
* | simplify trait boundsAleksey Kladov2019-02-211-12/+18
| |
* | rearrange methodsAleksey Kladov2019-02-211-67/+67
| |
* | kill utils moduleAleksey Kladov2019-02-2110-114/+101
| |
* | Ignore lockfile in fuzzAleksey Kladov2019-02-212-521/+1
| | | | | | | | It's too much trouble maintaining it
* | docsAleksey Kladov2019-02-2111-98/+143
| |
* | add failing testAleksey Kladov2019-02-211-0/+23
| |
* | fix the testAleksey Kladov2019-02-212-4/+4
| |
* | fix compilationAleksey Kladov2019-02-218-59/+38
| |
* | move parser to a separate crateAleksey Kladov2019-02-2123-18/+84
| |
* | make grammar independent of syntax treeAleksey Kladov2019-02-212-14/+18
| |
* | minorAleksey Kladov2019-02-211-1/+1
| |
* | move whitespace handling to tree builderAleksey Kladov2019-02-214-188/+159
|/
* 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
|