Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow aliases in underscores | Aleksey Kladov | 2019-03-04 | 2 | -1/+17 |
| | | | | | | | | this helps with use foo::Trait as _; syntax | ||||
* | Merge #926 | bors[bot] | 2019-03-04 | 2 | -0/+50 |
|\ | | | | | | | | | | | | | | | 926: allow vararg functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | allow vararg functions | Aleksey Kladov | 2019-03-04 | 2 | -0/+50 |
| | | |||||
* | | improve error recovery | Aleksey Kladov | 2019-03-04 | 3 | -42/+70 |
|/ | | | | parse the contents of error block as an expression | ||||
* | Remove `TypeRef` from item opts which implement TypeAscriptionOwner | Ville Penttinen | 2019-02-27 | 2 | -33/+14 |
| | |||||
* | Add new trait TypeAscriptionOwner | Ville Penttinen | 2019-02-26 | 3 | -9/+36 |
| | | | | | This trait should be implemented for nodes which have an ascribed type, e.g. thing : Type. Such as let, const, static, param, named struct fields. | ||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 31 | -89/+89 |
| | |||||
* | complete struct literals | Aleksey Kladov | 2019-02-24 | 1 | -0/+6 |
| | |||||
* | support upcastig in AST enum | Aleksey Kladov | 2019-02-24 | 2 | -0/+407 |
| | |||||
* | introduce tree builder | Aleksey Kladov | 2019-02-23 | 3 | -20/+61 |
| | |||||
* | rename | Aleksey Kladov | 2019-02-23 | 4 | -23/+19 |
| | |||||
* | Merge #876 | bors[bot] | 2019-02-21 | 1 | -1/+6 |
|\ | | | | | | | | | | | | | | | 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 Penttinen | 2019-02-21 | 1 | -1/+6 |
| | | |||||
* | | add API guide to ra_syntax | Aleksey Kladov | 2019-02-21 | 1 | -0/+173 |
|/ | |||||
* | simplify trait bounds | Aleksey Kladov | 2019-02-21 | 1 | -12/+18 |
| | |||||
* | rearrange methods | Aleksey Kladov | 2019-02-21 | 1 | -67/+67 |
| | |||||
* | kill utils module | Aleksey Kladov | 2019-02-21 | 7 | -104/+96 |
| | |||||
* | Ignore lockfile in fuzz | Aleksey Kladov | 2019-02-21 | 2 | -521/+1 |
| | | | | It's too much trouble maintaining it | ||||
* | docs | Aleksey Kladov | 2019-02-21 | 8 | -83/+104 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-02-21 | 7 | -52/+31 |
| | |||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 21 | -4217/+0 |
| | |||||
* | make grammar independent of syntax tree | Aleksey Kladov | 2019-02-21 | 2 | -14/+18 |
| | |||||
* | minor | Aleksey Kladov | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | move whitespace handling to tree builder | Aleksey Kladov | 2019-02-21 | 4 | -188/+159 |
| | |||||
* | move syntax error to parser | Aleksey Kladov | 2019-02-20 | 6 | -25/+24 |
| | |||||
* | simplify | Aleksey Kladov | 2019-02-20 | 5 | -29/+4 |
| | |||||
* | remove TokenPos | Aleksey Kladov | 2019-02-20 | 3 | -49/+28 |
| | |||||
* | 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 | 2 | -4/+7 |
| | |||||
* | 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 |
| | |||||
* | handle != operator | Aleksey Kladov | 2019-02-18 | 1 | -1/+4 |
| | |||||
* | Enable parsing attributes for generic lifetimes and type parameters | Ville Penttinen | 2019-02-17 | 5 | -9/+85 |
| | |||||
* | 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. | ||||
* | Handle generic args for method calls | Florian Diebold | 2019-02-16 | 2 | -1/+5 |
| | |||||
* | Add generic params to impl blocks | Florian Diebold | 2019-02-16 | 2 | -1/+2 |
| | |||||
* | Import the prelude | Florian Diebold | 2019-02-13 | 2 | -1/+3 |
| |