Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | "Finalize" Types grammar | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | | | | | | | 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 | -8/+8 |
| | |||||
* | Rename TypeRef -> Type | Aleksey Kladov | 2020-07-31 | 1 | -27/+27 |
| | | | | | | | | | | 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. | ||||
* | Reorder | Aleksey Kladov | 2020-07-31 | 1 | -20/+20 |
| | |||||
* | Use ty to access most TypeRefs | Aleksey Kladov | 2020-07-30 | 1 | -10/+10 |
| | |||||
* | Remove TypeAscriptionOwner | Aleksey Kladov | 2020-07-30 | 1 | -8/+8 |
| | |||||
* | simplify | Aleksey Kladov | 2020-07-30 | 1 | -3/+2 |
| | |||||
* | Finalize attribute grammar | Aleksey Kladov | 2020-07-30 | 1 | -4/+1 |
| | |||||
* | Dead code | Aleksey Kladov | 2020-07-30 | 1 | -3/+0 |
| | |||||
* | Minor | Aleksey Kladov | 2020-07-30 | 1 | -7/+6 |
| | |||||
* | Finalize visibility grammar | Aleksey Kladov | 2020-07-30 | 1 | -3/+8 |
| | |||||
* | Introduce GenericParam | Aleksey Kladov | 2020-07-30 | 1 | -18/+19 |
| | |||||
* | Finaize item grammar | Aleksey Kladov | 2020-07-30 | 1 | -16/+16 |
| | |||||
* | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 1 | -4/+7 |
| | |||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Fix param gramamr | Aleksey Kladov | 2020-07-30 | 1 | -2/+5 |
| | |||||
* | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 1 | -12/+12 |
| | |||||
* | Finalize Enum grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 1 | -7/+7 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 1 | -3/+3 |
| | |||||
* | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 1 | -3/+3 |
| | |||||
* | Finalize structs grammar | Aleksey Kladov | 2020-07-30 | 1 | -4/+3 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -13/+13 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 1 | -6/+6 |
| | |||||
* | Minor, reorder | Aleksey Kladov | 2020-07-30 | 1 | -4/+5 |
| | |||||
* | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 1 | -10/+10 |
| | |||||
* | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 1 | -6/+6 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -19/+27 |
| | |||||
* | Rename UseItem -> Use | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Add comma list to use tree | Aleksey Kladov | 2020-07-30 | 1 | -12/+13 |
| | |||||
* | Finish extern crates grammar | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Rename Rename | Aleksey Kladov | 2020-07-30 | 1 | -3/+3 |
| | |||||
* | Finish Module grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Split ItemList & AssocItemList | Aleksey Kladov | 2020-07-30 | 1 | -11/+12 |
| | |||||
* | Finish SourceFile grammar | Aleksey Kladov | 2020-07-29 | 1 | -0/+1 |
| | |||||
* | Rename ModuleItem -> Item | Aleksey Kladov | 2020-07-29 | 1 | -20/+20 |
| | |||||
* | Rename NomialDef -> AdtDef | Aleksey Kladov | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | Switch to ungrammar from ast_src | Aleksey Kladov | 2020-07-29 | 1 | -0/+529 |
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 |