Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 1 | -0/+7 |
| | |||||
* | fix: box_pattern | csmoe | 2019-06-19 | 1 | -0/+7 |
| | | | | Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59 | ||||
* | fix: support existential type | csmoe | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 1 | -0/+7 |
| | |||||
* | fixed macro for brackets | Sergey Parilin | 2019-05-15 | 2 | -3/+3 |
| | |||||
* | Implemented T! macro for syntax kinds | Sergey Parilin | 2019-05-13 | 2 | -0/+109 |
| | |||||
* | Add MacroItems and MacroStmts in grammer.ron | Edwin Cheng | 2019-04-18 | 1 | -0/+4 |
| | |||||
* | Merge #1138 | bors[bot] | 2019-04-14 | 1 | -0/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | 1138: Add L_DOLLAR and R_DOLLAR r=matklad a=edwin0cheng As discussion in issue https://github.com/rust-analyzer/rust-analyzer/issues/1132 and PR #1125 , this PR add 2 `Syntax::Kind` : `L_DOLLAR` and `R_DOLLAR` for representing `Delimiter::None` in mbe and proc_marco. By design, It should not affect the final syntax tree, and will be discard in `TreeSink`. My original idea is handling these 2 tokens case by case, but i found that they will appear in every place in the parser (imagine `tt` matcher). So this PR only handle it in `Parser::do_bump` and `Parser::start`, although It will not fix the `expr` matcher executing order problem in original idea. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add L_DOLLAR and R_DOLLAR | Edwin Cheng | 2019-04-11 | 1 | -0/+4 |
| | | |||||
* | | migrate to untyped rowan | Aleksey Kladov | 2019-04-09 | 2 | -0/+36 |
|/ | |||||
* | Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kinds | Ville Penttinen | 2019-03-30 | 1 | -0/+4 |
| | | | | | | These are now used when parsing type bounds. In addition parsing paths inside a bound now does not recursively parse paths, rather they are treated as separate bounds, separated by +. | ||||
* | Add async keyword | Caio | 2019-03-09 | 1 | -0/+4 |
| | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -2/+2 |
| | |||||
* | fix the test | Aleksey Kladov | 2019-02-21 | 1 | -2/+2 |
| | |||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 2 | -0/+738 |