Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Specify literal tokens | Aleksey Kladov | 2020-07-31 | 2 | -1/+8 | |
| | | | ||||||
| * | | Minor | Aleksey Kladov | 2020-07-31 | 1 | -7/+6 | |
| |/ | ||||||
| * | Rename LambdaExpr -> ClosureExpr | Aleksey Kladov | 2020-07-31 | 3 | -10/+22 | |
| | | ||||||
| * | Work on expressions grammar | Aleksey Kladov | 2020-07-31 | 2 | -157/+176 | |
| | | ||||||
| * | Item is a Stmt | Aleksey Kladov | 2020-07-31 | 2 | -1/+4 | |
| | | ||||||
| * | Handwrite Stmt | Aleksey Kladov | 2020-07-31 | 1 | -25/+26 | |
| | | ||||||
| * | Move Stmt Grammar | Aleksey Kladov | 2020-07-31 | 1 | -11/+11 | |
| | | ||||||
| * | Finalize WhereClause gramamr | Aleksey Kladov | 2020-07-31 | 1 | -7/+7 | |
| | | ||||||
| * | Finalize TypeBound grammar | Aleksey Kladov | 2020-07-31 | 1 | -6/+7 | |
| | | ||||||
| * | "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 | 2 | -9/+9 | |
| | | ||||||
| * | Rename TypeRef -> Type | Aleksey Kladov | 2020-07-31 | 2 | -28/+34 | |
| | | | | | | | | | | | | | | | | | | | | 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 | 2 | -9/+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 | 2 | -18/+20 | |
| | | ||||||
| * | Finaize item grammar | Aleksey Kladov | 2020-07-30 | 1 | -16/+16 | |
| | | ||||||
| * | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 2 | -5/+8 | |
| | | ||||||
| * | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 | |
| | | ||||||
| * | Fix param gramamr | Aleksey Kladov | 2020-07-30 | 1 | -2/+5 | |
| | | ||||||
| * | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 2 | -14/+14 | |
| | | ||||||
| * | Finalize Enum grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 | |
| | | ||||||
| * | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 2 | -6/+6 | |
| | | ||||||
| * | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 2 | -8/+8 | |
| | | ||||||
| * | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 3 | -5/+5 | |
| | | ||||||
| * | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 2 | -4/+4 | |
| | | ||||||
| * | Finalize structs grammar | Aleksey Kladov | 2020-07-30 | 1 | -4/+3 | |
| | | ||||||
| * | Simplify | Aleksey Kladov | 2020-07-30 | 2 | -36/+26 | |
| | | ||||||
| * | Simplify codegen | Aleksey Kladov | 2020-07-30 | 2 | -26/+25 | |
| | | ||||||
| * | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 2 | -17/+17 | |
| | | ||||||
| * | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 2 | -9/+9 | |
| | | ||||||
| * | Minor, reorder | Aleksey Kladov | 2020-07-30 | 1 | -4/+5 | |
| | | ||||||
| * | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 3 | -12/+12 | |
| | | ||||||
| * | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 2 | -7/+7 | |
| | | ||||||
| * | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 3 | -25/+30 | |
| | | ||||||
| * | Rename UseItem -> Use | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 | |
| | | ||||||
| * | Add comma list to use tree | Aleksey Kladov | 2020-07-30 | 2 | -12/+48 | |
| | | ||||||
| * | Finish extern crates grammar | Aleksey Kladov | 2020-07-30 | 2 | -5/+5 | |
| | | ||||||
| * | Rename Rename | Aleksey Kladov | 2020-07-30 | 2 | -4/+4 | |
| | | ||||||
| * | Finish Module grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 | |
| | | ||||||
| * | Split ItemList & AssocItemList | Aleksey Kladov | 2020-07-30 | 2 | -11/+13 | |
| | | ||||||
| * | Finish SourceFile grammar | Aleksey Kladov | 2020-07-29 | 2 | -1/+2 | |
| | | ||||||
| * | 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 | 3 | -1983/+754 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |