aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/items.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Finish extern crates grammarAleksey Kladov2020-07-301-1/+1
|
* Fix nameref parsingAleksey Kladov2020-07-281-1/+7
|
* Update crates/ra_parser/src/grammar/items.rsAleksey Kladov2020-06-091-2/+1
|
* Parse default unsafe fnAvi Dessauer2020-06-081-1/+7
|
* Move default const test out of lineAvi Dessauer2020-06-041-10/+0
|
* Address reviewAvi Dessauer2020-06-041-5/+4
|
* Parse default unsafe & default constAvi Dessauer2020-06-041-1/+25
|
* Fix parsing of blocks without `{`Aleksey Kladov2020-05-021-1/+1
|
* Special-case try macro_rulesEdwin Cheng2020-04-301-0/+11
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-2/+2
|
* More manual clippy fixesKirill Bulatov2020-02-181-1/+1
|
* Merge #3047bors[bot]2020-02-071-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | 3047: Update async unsafe fn ordering in parser r=matklad a=kiljacken As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 Co-authored-by: Emil Lauridsen <[email protected]>
| * Update async unsafe fn ordering.Emil Lauridsen2020-02-071-9/+9
| | | | | | | | | | | | | | | | | | | | As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025
* | PR tweaksToby Dimmick2020-02-071-1/+1
| |
* | Rework value parameter parsingToby Dimmick2020-02-061-6/+3
|/ | | | | | | - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident
* Use name instead of ident for macro 2.0 sytnaxEdwin Cheng2019-12-221-1/+1
|
* Add macro keyword to ITEM_RECOVERY_SETEdwin Cheng2019-12-211-1/+1
|
* Add macro 2.0 support in parserEdwin Cheng2019-12-211-0/+28
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-251-1/+1
|
* Introduce dedicated AST node for unionAleksey Kladov2019-11-251-5/+5
| | | | | | | | | | 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-301-0/+2
| | | | #1856
* Replace usages of bump_any with bumpkjeremy2019-09-191-9/+9
|
* Allow an underscore as the identifier in `const` itemsDylan MacKenzie2019-09-151-1/+1
|
* WIP: switch to fully decomposed tokens internallyAleksey Kladov2019-09-101-1/+1
|
* rename bump -> bump_anyAleksey Kladov2019-09-091-10/+10
|
* better error recovery for use treesAleksey Kladov2019-09-051-1/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-2/+2
|
* Fix is_path_start to accept T![<], fix is_path_start usagesEvgenii P2019-08-131-2/+2
|
* Move numeric names inside of `NameRef`Aleksey Kladov2019-08-091-1/+1
|
* Make name_ref to accept numeric names optionallyEvgenii P2019-08-091-1/+1
|
* fixed #1384zjy2019-06-281-7/+9
|
* fix: specialization(with blindly parsing)csmoe2019-06-191-1/+28
| | | | Change-Id: Ic5d2767e8781568d76d4d0013cd6081e95ae8a95
* fix: support existential typecsmoe2019-06-121-3/+13
|
* reformatAleksey Kladov2019-05-231-2/+2
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-57/+57
|
* Refactor parser handle mult-char punct internallyEdwin Cheng2019-04-281-1/+1
|
* Parse unsafe async / const unsafe fns properlyrobojumper2019-04-031-6/+17
|
* Async closure syntaxrobojumper2019-03-311-1/+1
|
* recognize async movememoryruins2019-03-281-1/+1
|
* Use Marker argument for item parserspcpthm2019-03-181-53/+40
| | | | | - Fix pub_expr - Fix incorrect parsing of crate::path
* Apply stylistic changes suggestedpcpthm2019-03-181-13/+10
|
* Refactor maybe_item to use Marker argumentpcpthm2019-03-171-47/+42
|
* Add test for async blockCaio2019-03-101-1/+2
|
* Add async keywordCaio2019-03-091-1/+9
|
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-251-1/+1
|
* move parser to a separate crateAleksey Kladov2019-02-211-0/+392