hir_expand::files

Type Alias ErasedAstId

source
pub type ErasedAstId = InFile<ErasedFileAstId>;

Aliased Type§

struct ErasedAstId {
    pub file_id: HirFileId,
    pub value: ErasedFileAstId,
}

Fields§

§file_id: HirFileId§value: ErasedFileAstId

Implementations§

source§

impl ErasedAstId

source

pub fn to_range(&self, db: &dyn ExpandDatabase) -> TextRange

source

pub fn to_ptr(&self, db: &dyn ExpandDatabase) -> SyntaxNodePtr