Struct miden_assembly::ProgramAst
source · pub struct ProgramAst {
pub local_procs: Vec<ProcedureAst>,
pub body: Vec<Node>,
}Expand description
An abstract syntax tree (AST) of a Miden program.
A program AST consists of a list of internal procedure ASTs and a list of body nodes.
Fields
local_procs: Vec<ProcedureAst>body: Vec<Node>Implementations
sourceimpl ProgramAst
impl ProgramAst
Trait Implementations
sourceimpl Debug for ProgramAst
impl Debug for ProgramAst
sourceimpl PartialEq<ProgramAst> for ProgramAst
impl PartialEq<ProgramAst> for ProgramAst
sourcefn eq(&self, other: &ProgramAst) -> bool
fn eq(&self, other: &ProgramAst) -> bool
impl Eq for ProgramAst
impl StructuralEq for ProgramAst
impl StructuralPartialEq for ProgramAst
Auto Trait Implementations
impl RefUnwindSafe for ProgramAst
impl Send for ProgramAst
impl Sync for ProgramAst
impl Unpin for ProgramAst
impl UnwindSafe for ProgramAst
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