aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/items
Commit message (Collapse)AuthorAgeFilesLines
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-4/+4
|
* Rename UseItem -> UseAleksey Kladov2020-07-301-1/+1
|
* Split ItemList & AssocItemListAleksey Kladov2020-07-301-2/+2
|
* Report invalid, nested, multi-segment crate-pathsJohn Renner2020-04-301-1/+1
| | | | | | | | | | Specifically, things like: use foo::{crate::bar}; Are now being caught, when before we only caught: use foo::{crate};
* Support arbitrary discriminantsAleksey Kladov2020-03-201-4/+6
| | | | Closes #3661
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-3/+3
|
* Parse trait aliasesEmil Lauridsen2020-01-091-0/+10
|
* Improve const generics parsingMichael Chesser2020-01-061-1/+4
| | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl
* Introduce dedicated AST node for unionAleksey Kladov2019-11-251-7/+16
| | | | | | | | | | 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 Andreev2019-09-304-0/+8
| | | | #1856
* fix infinite loop in the parserAleksey Kladov2019-09-201-7/+11
| | | | closes #1866
* Replace usages of bump_any with bumpkjeremy2019-09-194-14/+14
|
* Allow an underscore as the identifier in `const` itemsDylan MacKenzie2019-09-151-1/+10
|
* WIP: switch to fully decomposed tokens internallyAleksey Kladov2019-09-101-12/+12
|
* rename bump -> bump_anyAleksey Kladov2019-09-094-19/+19
|
* better error recovery for use treesAleksey Kladov2019-09-051-1/+4
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-15/+15
|
* Fix is_path_start to accept T![<], fix is_path_start usagesEvgenii P2019-08-131-1/+1
|
* reformatAleksey Kladov2019-05-231-2/+2
|
* apply T! macro where it is possibleSergey Parilin2019-05-154-72/+72
|
* Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kindsVille Penttinen2019-03-301-0/+1
| | | | | | 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 +.
* replace todo with fixmeAleksey Kladov2019-03-234-5/+5
|
* Use Marker argument for item parserspcpthm2019-03-183-13/+12
| | | | | - Fix pub_expr - Fix incorrect parsing of crate::path
* allow aliases in underscoresAleksey Kladov2019-03-041-0/+1
| | | | | | | | this helps with use foo::Trait as _; syntax
* move parser to a separate crateAleksey Kladov2019-02-214-0/+447