Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | switch to new rowan | Aleksey Kladov | 2019-04-01 | 1 | -85/+161 | |
| | ||||||
* | Add WherePred to allow predicate access in WhereClause | Ville Penttinen | 2019-03-31 | 1 | -0/+67 | |
| | | | | | This also unifies parsing of WHERE_PRED bounds, now Lifetime bounds will also be parsed using TYPE_BOUND_LIST | |||||
* | Add trait ast::TypeBoundsOwner | Ville Penttinen | 2019-03-31 | 1 | -0/+6 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-03-25 | 1 | -37/+34 | |
| | ||||||
* | Target only the actual operator. | Marco Groppo | 2019-03-24 | 1 | -33/+45 | |
| | | | | | Renamed `BinExpr::op()` and `PrefixExpr::op()` to `op_kind`. Now `op()` returns the `SyntaxNode`. | |||||
* | add name resolution from the old impl | Aleksey Kladov | 2019-03-17 | 1 | -6/+3 | |
| | | | | unlike the old impl, this also handles macro imports across crates | |||||
* | Add new trait TypeAscriptionOwner | Ville Penttinen | 2019-02-26 | 1 | -0/+6 | |
| | | | | | 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. | |||||
* | complete struct literals | Aleksey Kladov | 2019-02-24 | 1 | -0/+6 | |
| | ||||||
* | docs | Aleksey Kladov | 2019-02-21 | 1 | -0/+1 | |
| | ||||||
* | handle != operator | Aleksey Kladov | 2019-02-18 | 1 | -1/+4 | |
| | ||||||
* | Enable parsing of attributes inside a match block | Ville Penttinen | 2019-02-17 | 1 | -0/+14 | |
| | | | | | | | 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. | |||||
* | rename yellow -> syntax_node | Aleksey Kladov | 2019-02-12 | 1 | -1/+1 | |
| | | | | why yellow in the first place? Its red + green. | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -27/+10 | |
| | ||||||
* | Fill deprecation for LSP | kjeremy | 2019-02-05 | 1 | -0/+10 | |
| | ||||||
* | Merge #662 | bors[bot] | 2019-01-27 | 1 | -13/+62 | |
|\ | | | | | | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <kjeremy@gmail.com> | |||||
| * | Make doc comments optional | Jeremy Kolb | 2019-01-26 | 1 | -5/+24 | |
| | | ||||||
| * | Do not unconditionally trim comments | Jeremy Kolb | 2019-01-26 | 1 | -2/+1 | |
| | | ||||||
| * | Preserve indentation in doc comments | Jeremy Kolb | 2019-01-26 | 1 | -9/+40 | |
| | | ||||||
* | | fix AST for if expressions | Aleksey Kladov | 2019-01-26 | 1 | -2/+16 | |
|/ | | | | then is not always a block... | |||||
* | rename POS_FIELD -> POS_FIELD_DEF | Aleksey Kladov | 2019-01-25 | 1 | -2/+2 | |
| | | | | to match NAMED_FIELD_DEF | |||||
* | Merge #633 | bors[bot] | 2019-01-24 | 1 | -2/+3 | |
|\ | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> | |||||
| * | use ToOwned trait instead of inherent method | Aleksey Kladov | 2019-01-24 | 1 | -2/+3 | |
| | | ||||||
* | | migrate enums to new id | Aleksey Kladov | 2019-01-24 | 1 | -0/+7 | |
|/ | ||||||
* | fix completion bugs | gfreezy | 2019-01-23 | 1 | -0/+7 | |
| | ||||||
* | Move parsing of field pattern lists to the parser (where it belongs) | Marcus Klaas de Vries | 2019-01-19 | 1 | -49/+0 | |
| | ||||||
* | Add initial (flawed) implementation of binding annotations | Marcus Klaas de Vries | 2019-01-19 | 1 | -0/+10 | |
| | ||||||
* | Implement unlabeled struct field pattern inference | Marcus Klaas de Vries | 2019-01-19 | 1 | -31/+11 | |
| | ||||||
* | Create struct patterns up to the hir level | Marcus Klaas de Vries | 2019-01-19 | 1 | -0/+69 | |
| | ||||||
* | Merge #536 | bors[bot] | 2019-01-16 | 1 | -0/+9 | |
|\ | | | | | | | | | | | | | | | | | | | 536: Introduce variable semicolon block expr r=matklad a=yerke Fix for https://github.com/rust-analyzer/rust-analyzer/issues/504 Feels a bit hacky... Co-authored-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com> | |||||
| * | add has_semi to ExprStmt | Yerkebulan Tulibergenov | 2019-01-16 | 1 | -0/+9 | |
| | | ||||||
* | | Fixup tests | Marcus Klaas de Vries | 2019-01-14 | 1 | -0/+46 | |
|/ | ||||||
* | support ref-patterns | Aleksey Kladov | 2019-01-13 | 1 | -0/+6 | |
| | ||||||
* | rename TreePtr -> TreeArc | Aleksey Kladov | 2019-01-11 | 1 | -2/+2 | |
| | | | | This is much clearer about the semantics | |||||
* | assist to convert if-let to match | Aleksey Kladov | 2019-01-08 | 1 | -1/+1 | |
| | ||||||
* | itroduce trait for ast tokens | Aleksey Kladov | 2019-01-08 | 1 | -42/+10 | |
| | ||||||
* | migrate ra_hir to rowan 2.0 | Aleksey Kladov | 2019-01-08 | 1 | -0/+27 | |
| | ||||||
* | switch ra_syntax to new rowan API | Aleksey Kladov | 2019-01-08 | 1 | -115/+84 | |
| | ||||||
* | Implement type inference for more binary operators | Marcus Klaas de Vries | 2019-01-07 | 1 | -2/+2 | |
| | | | | | Mostly just for primitive numeric types such as u32 and f64. Not yet a general solution using trait resolution. | |||||
* | Add remaining binary operations to AST | Marcus Klaas de Vries | 2019-01-07 | 1 | -1/+69 | |
| | ||||||
* | Touch up type inference for boolean operators | Marcus Klaas de Vries | 2019-01-06 | 1 | -11/+24 | |
| | | | | | Also try to infer its subexpressions and set type expectations whenever possible. | |||||
* | Implement type inference for boolean operators | Marcus Klaas de Vries | 2019-01-05 | 1 | -0/+39 | |
| | ||||||
* | split import assist | Aleksey Kladov | 2019-01-05 | 1 | -0/+6 | |
| | ||||||
* | Type the self parameter | Florian Diebold | 2019-01-04 | 1 | -0/+31 | |
| | ||||||
* | Rename ImplItem to ImplBlock | Florian Diebold | 2019-01-04 | 1 | -1/+1 | |
| | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. | |||||
* | add mod doc comments test in ast | csmoe | 2019-01-04 | 1 | -0/+13 | |
| | ||||||
* | parse doc comment for items | csmoe | 2019-01-04 | 1 | -0/+12 | |
| | ||||||
* | visibility owner | Aleksey Kladov | 2019-01-03 | 1 | -0/+6 | |
| | ||||||
* | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 1 | -0/+30 | |
| | ||||||
* | Implement reference / pointer types | Florian Diebold | 2018-12-25 | 1 | -0/+39 | |
| | | | | | - parse them - infer types of & and * expressions | |||||
* | Add AST definitions for struct/variant fields etc. | Florian Diebold | 2018-12-25 | 1 | -0/+31 | |
| | | | | Fixes #117 |