Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update grammar | Aleksey Kladov | 2020-08-01 | 1 | -3/+3 |
| | |||||
* | Rename DotDotPat -> RestPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename PalceholderPat -> WildcardPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Rename TypeArgList -> GenericArgList | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename LambdaExpr -> ClosureExpr | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Reame PlaceholderType -> InferType | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Introduce GenericParam | Aleksey Kladov | 2020-07-30 | 1 | -0/+1 |
| | |||||
* | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 1 | -3/+3 |
| | |||||
* | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename UseItem -> Use | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finish extern crates grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename Rename | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Split ItemList & AssocItemList | Aleksey Kladov | 2020-07-30 | 1 | -0/+1 |
| | |||||
* | Finish SourceFile grammar | Aleksey Kladov | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -2/+1 |
| | |||||
* | Revert "Merge #4233" | Aleksey Kladov | 2020-05-02 | 1 | -0/+1 |
| | | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336. | ||||
* | Remove dead code, which elaborately pretends to be alive | Aleksey Kladov | 2020-04-30 | 1 | -1/+0 |
| | |||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -316/+18 |
| | |||||
* | Scale token generation back | Aleksey Kladov | 2020-04-10 | 1 | -0/+6 |
| | |||||
* | Provide more complete AST accessors to support usage in rustc | Luca Barbieri | 2020-04-09 | 1 | -1/+5 |
| | |||||
* | Macro patterns are not confused with expressions. | Aleksey Kladov | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | | | We treat macro calls as expressions (there's appropriate Into impl), which causes problem if there's expresison and non-expression macro in the same node (like in the match arm). We fix this problem by nesting macor patterns into another node (the same way we nest path into PathExpr or PathPat). Ideally, we probably should add a similar nesting for macro expressions, but that needs some careful thinking about macros in blocks: `{ am_i_expression!() }`. | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 1 | -0/+2 |
| | |||||
* | Rename add import assist | Kirill Bulatov | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Improve const generics parsing | Michael Chesser | 2020-01-06 | 1 | -0/+1 |
| | | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl | ||||
* | Switch ast declaration from ron to a macro | Aleksey Kladov | 2020-01-03 | 1 | -135/+135 |
| | |||||
* | Merge #2641 | bors[bot] | 2019-12-22 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | 2641: Parse const generics r=matklad a=roblabla Adds very primitive support for parsing const generics (`const IDENT: TY`) so that rust-analyzer stops complaining about the syntax being invalid. Fixes #1574 Fixes #2281 Co-authored-by: roblabla <[email protected]> | ||||
| * | Parse const generics | roblabla | 2019-12-22 | 1 | -0/+1 |
| | | | | | | | | | | Fixes #1574 Fixes #2281 | ||||
* | | Add macro 2.0 support in parser | Edwin Cheng | 2019-12-21 | 1 | -1/+7 |
|/ | |||||
* | Introduce dedicated AST node for union | Aleksey Kladov | 2019-11-25 | 1 | -0/+1 |
| | | | | | | | | | | Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them. | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -1/+1 |
| | | | | #1856 | ||||
* | simplify | Aleksey Kladov | 2019-09-24 | 1 | -0/+5 |
| | |||||
* | Add `DotDotPat` to AST | Dylan MacKenzie | 2019-09-15 | 1 | -0/+1 |
| | | | | This is modeled on `PlaceholderPat`. | ||||
* | Add `BoxPat` variant | Dylan MacKenzie | 2019-08-23 | 1 | -0/+1 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -10/+10 |
| | |||||
* | use derive(Debug) for SyntaxKind | Aleksey Kladov | 2019-08-19 | 1 | -247/+1 |
| | |||||
* | plug new boilerplate_gen into ra_tools | Aleksey Kladov | 2019-08-19 | 1 | -4/+0 |
| | |||||
* | use new quote-generated syntax kinds | Aleksey Kladov | 2019-08-19 | 2 | -577/+538 |
| |