Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add AstElement trait, generate tokens, support tokens in enums | Luca Barbieri | 2020-04-08 | 1 | -5/+109 |
| | | | | | | | | | - Adds a new AstElement trait that is implemented by all generated node, token and enum structs - Overhauls the code generators to code-generate all tokens, and also enhances enums to support including tokens, node, and nested enums | ||||
* | added fmt::Display as a supertrait for AstNode and changed generation. | Fireassember | 2020-03-06 | 1 | -1/+1 |
| | |||||
* | Slightly refactor inlay hints | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Fix the trailing whitespace test | Kirill Bulatov | 2020-02-12 | 1 | -4/+1 |
| | |||||
* | Introduce AttrKind | Kirill Bulatov | 2020-02-12 | 1 | -3/+3 |
| | |||||
* | Implement slice pattern AST > HIR lowering | Jonas Platte | 2020-02-11 | 1 | -1/+2 |
| | |||||
* | Add infrastructure for visibility on syntax and hir_def level | Florian Diebold | 2019-12-26 | 1 | -1/+3 |
| | |||||
* | Attempt to implement typed accessors | Geoffry Song | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Attach docs to statics | kjeremy | 2019-10-31 | 1 | -0/+14 |
| | |||||
* | Preserve whitespace at the end of doc comments | Jeremy Kolb | 2019-10-27 | 1 | -2/+22 |
| | | | | | | | | Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997 | ||||
* | simplify strip attrs | Aleksey Kladov | 2019-09-28 | 1 | -1/+1 |
| | |||||
* | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 1 | -0/+1 |
| | |||||
* | keep ast creation API simple | Aleksey Kladov | 2019-09-26 | 1 | -0/+1 |
| | |||||
* | make ast object safe | Aleksey Kladov | 2019-08-23 | 1 | -2/+10 |
| | |||||
* | Add `impl Trait` and `dyn Trait` types | Florian Diebold | 2019-08-22 | 1 | -1/+1 |
| | | | | | | | - refactor bounds handling in the AST a bit - add HIR for bounds - add `Ty::Dyn` and `Ty::Opaque` variants and lower `dyn Trait` / `impl Trait` syntax to them | ||||
* | Unconditionally trim the end of comments | kjeremy | 2019-07-31 | 1 | -4/+1 |
| | |||||
* | Removes `*/` in block doc comments | kjeremy | 2019-07-31 | 1 | -0/+49 |
| | |||||
* | Add explicit newline preserving tests | kjeremy | 2019-07-31 | 1 | -0/+17 |
| | |||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 1 | -1/+3 |
| | |||||
* | migrate ra_assists to the new AST | Aleksey Kladov | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 1 | -19/+17 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -4/+4 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | remove old parsing methods | Aleksey Kladov | 2019-05-28 | 1 | -4/+12 |
| | |||||
* | migrate to untyped rowan | Aleksey Kladov | 2019-04-09 | 1 | -2/+2 |
| | |||||
* | updated snapshots | Lenard Pratt | 2019-04-07 | 1 | -1/+1 |
| | |||||
* | Added ArrayExprKind, | Lenard Pratt | 2019-04-07 | 1 | -2/+2 |
| | | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr | ||||
* | Parse and infer tuple indices | robojumper | 2019-04-06 | 1 | -1/+1 |
| | |||||
* | add minimal comments | Aleksey Kladov | 2019-04-02 | 1 | -0/+2 |
| | |||||
* | rename flavor to kind | Aleksey Kladov | 2019-04-02 | 1 | -2/+2 |
| | |||||
* | move extensions to submodules | Aleksey Kladov | 2019-04-02 | 1 | -549/+16 |
| | |||||
* | remove flavor | Aleksey Kladov | 2019-04-02 | 1 | -4/+4 |
| | |||||
* | add ast::tokens | Aleksey Kladov | 2019-04-02 | 1 | -94/+12 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-02 | 1 | -23/+19 |
| | |||||
* | move ast traits to a separate file | Aleksey Kladov | 2019-04-02 | 1 | -144/+7 |
| | |||||
* | remove dead code | Aleksey Kladov | 2019-04-01 | 1 | -7/+0 |
| | |||||
* | 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 <[email protected]> |