[][src]Struct vhdl_parser::Project

pub struct Project { /* fields omitted */ }

Methods

impl Project[src]

pub fn new() -> Project[src]

pub fn from_config(
    config: &Config,
    messages: &mut dyn MessageHandler
) -> Project
[src]

pub fn get_source(&self, file_name: &Path) -> Option<Source>[src]

pub fn update_source(&mut self, source: &Source)[src]

pub fn analyse(&mut self) -> Vec<Diagnostic>[src]

pub fn search_reference(
    &self,
    source: &Source,
    cursor: Position
) -> Option<SrcPos>
[src]

Search for reference at position Character offset on a line in a document (zero-based). Assuming that the line is represented as a string, the character value represents the gap between the character and character + 1.

If the character value is greater than the line length it defaults back to the line length.

pub fn find_all_references(&self, decl_pos: &SrcPos) -> Vec<SrcPos>[src]

Trait Implementations

impl Default for Project[src]

Auto Trait Implementations

impl !RefUnwindSafe for Project

impl Send for Project

impl Sync for Project

impl Unpin for Project

impl !UnwindSafe for Project

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.