Struct vhdl_parser::VHDLParser
source · pub struct VHDLParser {
pub symtab: Arc<SymbolTable>,
}
Fields
symtab: Arc<SymbolTable>
Implementations
sourceimpl VHDLParser
impl VHDLParser
pub fn new() -> VHDLParser
pub fn symbol(&self, name: &Latin1String) -> Symbol
pub fn parse_design_source(
&self,
source: &Source,
messages: &mut dyn MessageHandler
) -> ParserResult
pub fn parse_design_file(
&self,
file_name: &str,
messages: &mut dyn MessageHandler
) -> ParserResult
pub fn parse_design_files<T>(
&self,
files_to_parse: Vec<T>,
num_threads: usize
) -> impl Iterator<Item = (T, Vec<Message>, ParserResult)>where
T: FileToParse + Send + 'static,
Trait Implementations
sourceimpl Clone for VHDLParser
impl Clone for VHDLParser
sourcefn clone(&self) -> VHDLParser
fn clone(&self) -> VHDLParser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for VHDLParser
impl Send for VHDLParser
impl Sync for VHDLParser
impl Unpin for VHDLParser
impl UnwindSafe for VHDLParser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more