Type Definition AstId
ra_ap_hir_expand
type AstId<N> = InFile<FileAstId<N>>;
AstId points to an AST node in any file.
AstId
It is stable across reparses, and can be used as salsa key/value.
impl<N: AstNode> AstId<N>
pub fn to_node(&self, db: &dyn AstDatabase) -> N