pub struct PcodeAst {
pub statements: Vec<Ast>,
}Expand description
Backend-neutral, source-shaped p-code AST for one decoded instruction.
Fields§
§statements: Vec<Ast>Statements in execution order.
Implementations§
Source§impl PcodeAst
impl PcodeAst
Sourcepub fn pretty_print(&self, resolver: &impl PcodeResolver) -> String
pub fn pretty_print(&self, resolver: &impl PcodeResolver) -> String
Pretty-prints the statements using a producer-specific name resolver.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PcodeAst
impl<'de> Deserialize<'de> for PcodeAst
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PcodeAst
impl StructuralPartialEq for PcodeAst
Auto Trait Implementations§
impl Freeze for PcodeAst
impl RefUnwindSafe for PcodeAst
impl Send for PcodeAst
impl Sync for PcodeAst
impl Unpin for PcodeAst
impl UnsafeUnpin for PcodeAst
impl UnwindSafe for PcodeAst
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