Struct vhdl_lang::VHDLParser
source · pub struct VHDLParser {
pub symbols: Arc<Symbols>,
pub standard: VHDLStandard,
}
Fields§
§symbols: Arc<Symbols>
§standard: VHDLStandard
Implementations§
source§impl VHDLParser
impl VHDLParser
pub fn new(vhdl_standard: VHDLStandard) -> VHDLParser
pub fn symbol(&self, name: &Latin1String) -> Symbol
pub fn parse_design_source( &self, source: &Source, diagnostics: &mut dyn DiagnosticHandler ) -> DesignFile
pub fn parse_design_file( &self, file_name: &Path, diagnostics: &mut dyn DiagnosticHandler ) -> ParserResult
Auto Trait Implementations§
impl Freeze for VHDLParser
impl !RefUnwindSafe for VHDLParser
impl Send for VHDLParser
impl Sync for VHDLParser
impl Unpin for VHDLParser
impl !UnwindSafe for VHDLParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more