rustc_ast

Module node_id

Source

Structs§

Constants§

  • 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§