Struct calyx_frontend::parser::CalyxParser
source · [−]pub struct CalyxParser;
Implementations
sourceimpl 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
sourceimpl 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
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