rustc_ast::node_id

Constant DUMMY_NODE_ID

source
pub const DUMMY_NODE_ID: NodeId;
Expand description

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.