aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/extensions.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix pub(self) visibility?Diana2020-05-011-1/+1
| | | | Clippy complained about it and it seems wrong
* Align grammar for record patterns and literalsAleksey Kladov2020-04-111-0/+30
| | | | | | The grammar now looks like this [name_ref :] pat
* Remove dead codeAleksey Kladov2020-04-111-2/+0
|
* Make records grammar more orthogonalAleksey Kladov2020-04-111-0/+32
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* SimplifyAleksey Kladov2020-04-101-19/+1
|
* Rename some tokensAleksey Kladov2020-04-101-1/+1
|
* Remove dead codeAleksey Kladov2020-04-101-1/+1
|
* Generate only minimal set of ineresting tokensAleksey Kladov2020-04-101-8/+8
|
* Scale token generation backAleksey Kladov2020-04-101-8/+4
|
* Curley tokensAleksey Kladov2020-04-101-6/+12
|
* Simpler acessors for keywordsAleksey Kladov2020-04-091-9/+9
|
* Remove code duplicationAleksey Kladov2020-04-091-9/+7
|
* Be consistent about token accesorsAleksey Kladov2020-04-091-96/+8
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-13/+9
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* SimplifyAleksey Kladov2020-04-091-26/+13
|
* Scale back to only two traitsAleksey Kladov2020-04-091-7/+6
|
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-72/+76
|
* Remove the second code-path for completing names in patternsAleksey Kladov2020-04-031-0/+3
|
* Add support for macro in symbo_indexEdwin Cheng2020-03-221-1/+12
|
* Merge imports assistAleksey Kladov2020-03-181-0/+14
| | | | Work towards #2220
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-1/+1
|
* Introduce AttrKindKirill Bulatov2020-02-121-3/+12
|
* Do not add imports before inner attributesKirill Bulatov2020-02-121-0/+9
|
* Implement slice pattern AST > HIR loweringJonas Platte2020-02-111-0/+36
|
* changed 'descendants()' to 'children()'TomasKralCZ2020-01-201-4/+1
|
* added eq_token() method to LetStmtTomasKralCZ2020-01-191-0/+7
|
* Add infrastructure for visibility on syntax and hir_def levelFlorian Diebold2019-12-261-0/+29
|
* Remove AsyncOwnerEdwin Cheng2019-12-241-0/+4
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-251-11/+0
|
* Uniformalize namingAleksey Kladov2019-11-221-2/+2
|
* :arrow_up: rowanAleksey Kladov2019-11-191-1/+1
|
* Remove the custom impl of AttrsOwner for ImplItemDJMcNab2019-11-181-11/+1
| | | | | | The default impl should have the same behaviour, and it can be generated by codegen. See also `ModuleItem` and `NominalDef`
* FixesuHOOCCOOHu2019-09-301-9/+0
|
* Fix API of AttruHOOCCOOHu2019-09-301-42/+24
|
* simplify strip attrsAleksey Kladov2019-09-281-1/+11
|
* Refactor `Name` ready for hygienic macrouHOOCCOOHu2019-09-261-0/+10
|
* add new editing API, suitable for modifying several nodes at onceAleksey Kladov2019-09-251-0/+9
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-4/+4
|
* Improve/fix type bound loweringFlorian Diebold2019-08-221-26/+29
|
* Add `impl Trait` and `dyn Trait` typesFlorian Diebold2019-08-221-0/+26
| | | | | | | - 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
* Don't add `?` bounds as real boundsAleksey Kladov2019-08-221-0/+12
| | | | closes #1709
* Lower fully qualified associated type pathsFlorian Diebold2019-08-121-0/+10
| | | | I.e. `<T as Trait>::Foo`.
* switch to upstream rowan's APIAleksey Kladov2019-07-201-4/+1
|
* convenience apiAleksey Kladov2019-07-191-4/+4
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-29/+35
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-3/+3
| | | | | | 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
* Fix clippy::single_char_patternAlan Du2019-06-041-1/+1
|
* add is_union to structs ASTAleksey Kladov2019-05-201-1/+17
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-22/+22
|
* Handle auto traits & negative implsFlorian Diebold2019-05-111-0/+10
| | | | | We don't pass field types to Chalk yet though, so the auto trait inference won't be correct.