rust/src/libsyntax
bors 590ae0ec4d Auto merge of #64813 - varkor:node-to-kind, r=Centril
Rename `*.node` to `*.kind`, and `hair::Pattern*` to `hair::Pat*`

In both `ast::Expr` and `hir::Expr`:

- Rename `Expr.node` to `Expr.kind`.
- Rename `Pat.node` to `Pat.kind`.
- Rename `ImplItem.node` to `ImplItem.kind`.
- Rename `Lit.node` to `Lit.kind`.
- Rename `TraitItem.node` to `TraitItem.kind`.
- Rename `Ty.node` to `Ty.kind`.
- Rename `Stmt.node` to `Stmt.kind`.
- Rename `Item.node` to `Item.kind`.
- Rename `ForeignItem.node` to `ForeignItem.kind`.
- Rename `MetaItem.node` to `MetaItem.kind`.

Also:
- Rename `hair::FieldPattern` to `hair::FieldPat`.
- Rename `hair::PatternKind` to `hair::PatKind`.
- Rename `hair::PatternRange` to `hair::PatRange`.
- Rename `PatternContext` to `PatCtxt`.
- Rename `PatternTypeProjection` to `PatTyProj`.
- Rename `hair::Pattern` to `hair::Pat`.

These two sets of changes are grouped together to aid with merging. The only changes are renamings.

r? @petrochenkov
2019-09-27 10:05:38 +00:00
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
diagnostics Replace diagnostic plugins with macro_rules 2019-09-05 12:35:15 -04:00
ext Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
feature_gate Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
mut_visit Aggregation of cosmetic changes made during work on REPL PRs: libsyntax 2019-09-07 16:29:04 +01:00
parse Auto merge of #64813 - varkor:node-to-kind, r=Centril 2019-09-27 10:05:38 +00:00
print Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
source_map Apply suggestions from code review 2019-09-07 16:29:04 +01:00
tokenstream syntax_pos: NO_EXPANSION/SyntaxContext::empty() -> SyntaxContext::root() 2019-08-15 20:38:12 +03:00
util Rename Expr.node to Expr.kind 2019-09-26 18:21:09 +01:00
ast.rs Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Remove unused dependencies 2019-09-23 15:25:00 +09:00
config.rs Rename Pat.node to Pat.kind 2019-09-26 18:21:09 +01:00
early_buffered_lints.rs Implement checks for meta-variables in macros 2019-07-19 19:59:12 +02:00
entry.rs Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
error_codes.rs Replace diagnostic plugins with macro_rules 2019-09-05 12:35:15 -04:00
json.rs Don't emit explain with json short messages. 2019-09-24 16:53:33 -07:00
lib.rs Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
mut_visit.rs Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
ptr.rs cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Rename rustc_errors dependency in rust 2018 crates 2019-02-13 00:28:52 +09:00
source_map.rs Fix backticks in documentation 2019-09-18 23:17:36 -06:00
tests.rs Replace DiagnosticBuilder with Diagnostic when emitting error 2019-09-17 09:29:46 -04:00
tokenstream.rs push TokenTree::parse down 2019-09-22 20:38:02 +03:00
visit.rs Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: