rust/compiler/rustc_ast/src
Vadim Petrochenkov 2834f57c45 ast: Fix naming conventions in AST structures
TraitKind -> Trait
TyAliasKind -> TyAlias
ImplKind -> Impl
FnKind -> Fn

All `*Kind`s in AST are supposed to be enums.

Tuple structs are converted to braced structs for the types above, and fields are reordered in syntactic order.

Also, mutable AST visitor now correctly visit spans in defaultness, unsafety, impl polarity and constness.
2021-11-07 21:38:17 +08:00
..
ast mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
attr rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
expand Make allocator_kind a query. 2021-06-20 11:52:51 +02:00
util Rollup merge of #90642 - matthiaskrgr:clippy_matches, r=cjgillot 2021-11-06 23:12:05 +01:00
ast.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
ast_like.rs parser: Ensure that all nonterminals have tokens after parsing 2021-06-06 14:21:12 +03:00
entry.rs Fix ICE when main is declared in an extern block 2021-06-09 23:14:02 -04:00
lib.rs Auto merge of #90559 - rusticstuff:optimize-bidi-detection, r=davidtwco 2021-11-06 16:25:00 +00:00
mut_visit.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
node_id.rs Use LocalExpnId where possible. 2021-07-17 19:41:02 +02:00
ptr.rs Remove box syntax from rustc_ast 2021-08-18 09:25:26 +02:00
token.rs Use TokenKind::similar_tokens() 2021-10-04 22:13:00 +02:00
tokenstream.rs fix: inner attribute followed by outer attribute causing ICE 2021-10-25 17:31:27 +02:00
visit.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00