Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -163/+169 |
| | |||||
* | Rewrite def map tests from insta to expect | Aleksey Kladov | 2020-07-17 | 5 | -1938/+1821 |
| | | | | Those indentation markers are annoying... | ||||
* | Semantical call info | Aleksey Kladov | 2020-07-16 | 1 | -1/+9 |
| | |||||
* | Remove TypeCtor interning | Florian Diebold | 2020-07-15 | 1 | -4/+4 |
| | | | | Our TypeCtor and Chalk's TypeName match now! | ||||
* | Cleanup limits | Aleksey Kladov | 2020-07-15 | 1 | -7/+7 |
| | |||||
* | Check cancellation when updating imports recursively | Aleksey Kladov | 2020-07-15 | 1 | -0/+1 |
| | | | | | For winapi, this takes a lot of CPU time without doing queries and causes the main event loop to stall on cancellation. | ||||
* | Micro-optimize update | Aleksey Kladov | 2020-07-15 | 1 | -5/+6 |
| | |||||
* | Update ItemTree snapshots | Jonas Schievink | 2020-07-14 | 1 | -12/+12 |
| | |||||
* | Thread varargs through r-a | Jonas Schievink | 2020-07-14 | 4 | -3/+22 |
| | |||||
* | ItemTree: Lower tuple types despite invalid type | Jonas Schievink | 2020-07-14 | 1 | -7/+6 |
| | |||||
* | Guard against infinite macro expansions | Aleksey Kladov | 2020-07-14 | 2 | -0/+29 |
| | | | | closes #4463 | ||||
* | Don't copy-paste `impl_froms` into every crate | Aleksey Kladov | 2020-07-13 | 1 | -30/+15 |
| | |||||
* | Rewrite item_tree tests to expect | Aleksey Kladov | 2020-07-11 | 1 | -105/+109 |
| | | | | insta review wouldn't update the test, so ... | ||||
* | Extern fns are implicitly unsafe | Aleksey Kladov | 2020-07-11 | 1 | -0/+1 |
| | | | | closes #4865 | ||||
* | Bump macro recursion limit in release | Aleksey Kladov | 2020-07-11 | 1 | -2/+8 |
| | |||||
* | More tight recursion limit when expanding macros in function bodies | Aleksey Kladov | 2020-07-11 | 1 | -6/+48 |
| | | | | | | | | | | | cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)! | ||||
* | Goto type definition works for self | Aleksey Kladov | 2020-07-10 | 1 | -0/+5 |
| | |||||
* | Re-enable IDE features for incomplete impl blocs | Aleksey Kladov | 2020-07-09 | 1 | -2/+3 |
| |