Trait AstIdLoc

Source
pub trait AstIdLoc {
    type Container;
    type Ast: AstNode;

    // Required methods
    fn ast_id(&self) -> AstId<Self::Ast>;
    fn container(&self) -> Self::Container;
}

Required Associated Types§

Source

type Container

Source

type Ast: AstNode

Required Methods§

Source

fn ast_id(&self) -> AstId<Self::Ast>

Source

fn container(&self) -> Self::Container

Implementors§