pub struct ECSExecutionImageDisassembler<'a> {
pub stream: MemReaderRef<'a>,
conststr: Option<&'a TaggedRefAddressList>,
pub assembly: ECSExecutionImageAssembly,
writer: Option<Box<dyn Write + 'a>>,
addr: u32,
code: CSInstructionCode,
}Available on crate feature
entis-gls only.Fields§
§stream: MemReaderRef<'a>§conststr: Option<&'a TaggedRefAddressList>§assembly: ECSExecutionImageAssembly§writer: Option<Box<dyn Write + 'a>>§addr: u32§code: CSInstructionCodeImplementations§
Source§impl<'a> ECSExecutionImageDisassembler<'a>
impl<'a> ECSExecutionImageDisassembler<'a>
pub fn new( stream: MemReaderRef<'a>, conststr: Option<&'a TaggedRefAddressList>, writer: Option<Box<dyn Write + 'a>>, ) -> Self
pub fn execute(&mut self) -> Result<()>
fn line<S: AsRef<str> + ?Sized>(&mut self, line: &S) -> Result<()>
fn get_string_literal2(&mut self) -> Result<(Option<usize>, String)>
pub fn get_string_literal(&mut self) -> Result<String>
fn read_csct(&mut self) -> Result<CSCompareType>
pub fn read_csom(&mut self) -> Result<CSObjectMode>
fn read_csot(&mut self) -> Result<CSOperatorType>
fn read_csuot(&mut self) -> Result<CSUnaryOperatorType>
pub fn read_csvt(&mut self) -> Result<CSVariableType>
fn command_new(&mut self) -> Result<()>
fn command_free(&mut self) -> Result<()>
fn command_load(&mut self) -> Result<()>
fn command_store(&mut self) -> Result<()>
fn command_enter(&mut self) -> Result<()>
fn command_leave(&mut self) -> Result<()>
fn command_jump(&mut self) -> Result<()>
fn command_cjump(&mut self) -> Result<()>
fn command_call(&mut self) -> Result<()>
fn command_return(&mut self) -> Result<()>
fn command_element(&mut self) -> Result<()>
fn command_element_indirect(&mut self) -> Result<()>
fn command_operate(&mut self) -> Result<()>
fn command_uni_operate(&mut self) -> Result<()>
fn command_compare(&mut self) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for ECSExecutionImageDisassembler<'a>
impl<'a> !RefUnwindSafe for ECSExecutionImageDisassembler<'a>
impl<'a> !Send for ECSExecutionImageDisassembler<'a>
impl<'a> !Sync for ECSExecutionImageDisassembler<'a>
impl<'a> Unpin for ECSExecutionImageDisassembler<'a>
impl<'a> !UnwindSafe for ECSExecutionImageDisassembler<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more