aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/node_ext.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename TypeRef -> TypeAleksey Kladov2020-07-311-6/+6
| | | | | | | | | | 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 attribute grammarAleksey Kladov2020-07-301-17/+11
|
* Introduce GenericParamAleksey Kladov2020-07-301-0/+21
|
* Finalize impl GrammarAleksey Kladov2020-07-301-2/+2
|
* Finalize Trait grammarAleksey Kladov2020-07-301-1/+1
|
* Finalize const&static grammarAleksey Kladov2020-07-301-2/+2
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-2/+2
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-3/+3
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-2/+2
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-6/+6
|
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-301-4/+4
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Switch to ungrammar from ast_srcAleksey Kladov2020-07-291-0/+16
| | | | | | | | | | | | | | | | | | 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
* Rename modulesAleksey Kladov2020-07-231-0/+474