Module rustc_ast::node_id

source ·



  • The NodeId used to represent the root of the crate.
  • When parsing and at the beginning of doing expansions, we initially give all AST nodes this dummy AST NodeId. Then, during a later phase of expansion, we renumber them to have small, positive IDs.

Type Aliases§