Struct calyx_frontend::parser::CalyxParser
source · pub struct CalyxParser;
Implementations§
source§impl CalyxParser
impl CalyxParser
sourcepub fn parse_file(path: &Path) -> CalyxResult<NamespaceDef>
pub fn parse_file(path: &Path) -> CalyxResult<NamespaceDef>
Parse a Calyx program into an AST representation.
pub fn parse<R: Read>(r: R) -> CalyxResult<NamespaceDef>
Trait Implementations§
source§impl Parser<Rule> for CalyxParser
impl Parser<Rule> for CalyxParser
Auto Trait Implementations§
impl RefUnwindSafe for CalyxParser
impl Send for CalyxParser
impl Sync for CalyxParser
impl Unpin for CalyxParser
impl UnwindSafe for CalyxParser
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