Trait vhdl_lang::ast::search::Searcher[][src]

pub trait Searcher {
    fn search_pos_with_ref(
        &mut self,
        _pos: &SrcPos,
        _ref: &Reference
    ) -> SearchState { ... }
fn search_designator_ref(
        &mut self,
        pos: &SrcPos,
        designator: &WithRef<Designator>
    ) -> SearchState { ... }
fn search_ident_ref(&mut self, ident: &WithRef<Ident>) -> SearchState { ... }
fn search_decl_pos(&mut self, _pos: &SrcPos) -> SearchState { ... }
fn search_decl(
        &mut self,
        pos: &SrcPos,
        _decl: FoundDeclaration<'_>
    ) -> SearchState { ... }
fn search_with_pos(&mut self, _pos: &SrcPos) -> SearchState { ... }
fn search_source(&mut self, _source: &Source) -> SearchState { ... } }

Provided methods

fn search_pos_with_ref(
    &mut self,
    _pos: &SrcPos,
    _ref: &Reference
) -> SearchState
[src]

Search an position that has a reference to a declaration

fn search_designator_ref(
    &mut self,
    pos: &SrcPos,
    designator: &WithRef<Designator>
) -> SearchState
[src]

Search a designator that has a reference to a declaration

fn search_ident_ref(&mut self, ident: &WithRef<Ident>) -> SearchState[src]

Search an identifier that has a reference to a declaration

fn search_decl_pos(&mut self, _pos: &SrcPos) -> SearchState[src]

Search the position of a declaration of a named entity

fn search_decl(
    &mut self,
    pos: &SrcPos,
    _decl: FoundDeclaration<'_>
) -> SearchState
[src]

Search a declaration of a named entity

fn search_with_pos(&mut self, _pos: &SrcPos) -> SearchState[src]

fn search_source(&mut self, _source: &Source) -> SearchState[src]

Loading content...

Implementors

impl Searcher for FindAllReferences[src]

impl Searcher for FormatDeclaration[src]

impl Searcher for ItemAtCursor[src]

Loading content...