Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup repr check, fix packed repr check and test | Paul Daniel Faria | 2020-08-10 | 1 | -3/+8 |
| | |||||
* | Add tracking of packed repr, use it to highlight unsafe refs | Paul Daniel Faria | 2020-08-10 | 1 | -4/+52 |
| | | | | | | Taking a reference to a misaligned field on a packed struct is an unsafe operation. Highlight that behavior. Currently, the misaligned part isn't tracked, so this highlight is a bit too aggressive. | ||||
* | Update grammar | Aleksey Kladov | 2020-08-01 | 1 | -3/+3 |
| | |||||
* | Finish rename | Aleksey Kladov | 2020-07-31 | 1 | -3/+3 |
| | |||||
* | Unify naming of tuple fields | Aleksey Kladov | 2020-07-31 | 1 | -3/+3 |
| | |||||
* | Rename DotDotPat -> RestPat | Aleksey Kladov | 2020-07-31 | 1 | -3/+3 |
| | |||||
* | Rename | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename PalceholderPat -> WildcardPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Reorder | Aleksey Kladov | 2020-07-31 | 1 | -1/+0 |
| | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 1 | -21/+18 |
| | |||||
* | Fix GenericArgs grammar | Aleksey Kladov | 2020-07-31 | 1 | -19/+23 |
| | |||||
* | Rename TypeArgList -> GenericArgList | Aleksey Kladov | 2020-07-31 | 3 | -4/+4 |
| | |||||
* | Minor | Aleksey Kladov | 2020-07-31 | 1 | -3/+0 |
| | |||||
* | Rename LambdaExpr -> ClosureExpr | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Work on expressions grammar | Aleksey Kladov | 2020-07-31 | 1 | -5/+17 |
| | |||||
* | Item is a Stmt | Aleksey Kladov | 2020-07-31 | 1 | -10/+20 |
| | |||||
* | Finalize TypeBound grammar | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | "Finalize" Types grammar | Aleksey Kladov | 2020-07-31 | 1 | -1/+0 |
| | | | | | | | Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar... | ||||
* | Reame PlaceholderType -> InferType | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename TypeRef -> Type | Aleksey Kladov | 2020-07-31 | 4 | -20/+20 |
| | | | | | | | | | | 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. | ||||
* | Use ty to access most TypeRefs | Aleksey Kladov | 2020-07-30 | 5 | -17/+15 |
| | |||||
* | Remove TypeAscriptionOwner | Aleksey Kladov | 2020-07-30 | 6 | -20/+15 |
| | |||||
* | Finalize attribute grammar | Aleksey Kladov | 2020-07-30 | 1 | -11/+8 |
| | |||||
* | Finaize item grammar | Aleksey Kladov | 2020-07-30 | 1 | -0/+1 |
| | |||||
* | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 5 | -10/+10 |
| | |||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 6 | -12/+12 |
| | |||||
* | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 5 | -17/+17 |
| | |||||
* | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 4 | -6/+6 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 6 | -9/+9 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 5 | -10/+10 |
| | |||||
* | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 5 | -8/+8 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 3 | -19/+20 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 2 | -4/+4 |
| | |||||
* | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 2 | -7/+7 |
| | |||||
* | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 5 | -9/+9 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 5 | -21/+21 |
| | |||||
* | Update tests | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename UseItem -> Use | Aleksey Kladov | 2020-07-30 | 4 | -7/+7 |
| | |||||
* | Update tests | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finish extern crates grammar | Aleksey Kladov | 2020-07-30 | 3 | -6/+6 |
| | |||||
* | Rename Rename | Aleksey Kladov | 2020-07-30 | 2 | -2/+2 |
| | |||||
* | Split ItemList & AssocItemList | Aleksey Kladov | 2020-07-30 | 1 | -10/+9 |
| | |||||
* | Rename ModuleItem -> Item | Aleksey Kladov | 2020-07-29 | 6 | -62/+58 |
| | |||||
* | Switch to ungrammar from ast_src | Aleksey Kladov | 2020-07-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux | ||||
* | Cleanup CFG API | Aleksey Kladov | 2020-07-23 | 1 | -3/+6 |
| | |||||
* | Check that visibility upgrade path is hit | Jonas Schievink | 2020-07-22 | 2 | -4/+8 |
| | |||||
* | Support `Trait as _` imports | Jonas Schievink | 2020-07-21 | 5 | -26/+244 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-07-20 | 2 | -11/+11 |
| | |||||
* | Remove insta for ra_hir_def | Aleksey Kladov | 2020-07-17 | 3 | -164/+169 |
| |