Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ra_syntax -> syntax | Aleksey Kladov | 2020-08-12 | 1 | -1/+1 |
| | |||||
* | Rename ra_prof -> profile | Aleksey Kladov | 2020-08-12 | 1 | -2/+1 |
| | |||||
* | Rename ra_arena | Aleksey Kladov | 2020-08-12 | 1 | -1/+1 |
| | |||||
* | Finalize TypeBound grammar | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename TypeRef -> Type | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | | | | | | | | | | The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing. | ||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Don't allocate empty generics | Jonas Schievink | 2020-06-24 | 1 | -7/+7 |
| | |||||
* | Make generics and attr queries use ItemTree | Jonas Schievink | 2020-06-24 | 1 | -2/+47 |
| | | | | Now it's fast | ||||
* | Lower generics | Jonas Schievink | 2020-06-24 | 1 | -4/+9 |
| | |||||
* | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -21/+47 |
| | |||||
* | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -4/+4 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Add profiling calls | Aleksey Kladov | 2020-03-05 | 1 | -0/+2 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Formatting | Florian Diebold | 2020-02-07 | 1 | -6/+11 |
| | |||||
* | First stab at desugaring bounds for APIT | Florian Diebold | 2020-02-07 | 1 | -4/+23 |
| | |||||
* | wip lower impl trait to type args | Florian Diebold | 2020-02-07 | 1 | -5/+40 |
| | |||||
* | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -3/+3 |
| | |||||
* | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -3/+3 |
| | |||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 1 | -3/+3 |
| | |||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 1 | -1/+1 |
| | |||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 1 | -1/+1 |
| | |||||
* | Switch to the new location for impls | Aleksey Kladov | 2019-12-12 | 1 | -1/+1 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -14/+14 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Classify name works for TypeParams | Aleksey Kladov | 2019-12-07 | 1 | -1/+19 |
| | |||||
* | Track source of type parameters | Aleksey Kladov | 2019-12-07 | 1 | -21/+72 |
| | |||||
* | Minor | Aleksey Kladov | 2019-12-07 | 1 | -3/+4 |
| | |||||
* | Remove idx and parent generics from generics | Aleksey Kladov | 2019-12-07 | 1 | -71/+19 |
| | | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead. | ||||
* | Store GenericParams in arena | Aleksey Kladov | 2019-12-07 | 1 | -12/+13 |
| | |||||
* | Move source-related traits to a separate module | Aleksey Kladov | 2019-11-28 | 1 | -1/+2 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -4/+2 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -4/+4 |
| | |||||
* | Simplify generic params | Aleksey Kladov | 2019-11-20 | 1 | -2/+1 |
| | |||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 1 | -3/+26 |
| | |||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def | ||||
* | Move Generics to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -0/+163 |