[−][src]Struct lc3tools_sys::root::lc3::core::asmbl::InstructionEncoder
Fields
_base: InstructionHandler
logger: *mut AssemblerLogger
enable_liberal_asm: bool
instructions_by_name: map
Implementations
impl InstructionEncoder
[src]
pub unsafe fn isStringPseudo(&self, search: *const string) -> bool
[src]
pub unsafe fn isStringValidReg(&self, search: *const string) -> bool
[src]
pub unsafe fn isPseudo(&self, statement: *const Statement) -> bool
[src]
pub unsafe fn isInst(&self, statement: *const Statement) -> bool
[src]
pub unsafe fn isValidPseudoOrig(
&self,
statement: *const Statement,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
log_enable: bool
) -> bool
pub unsafe fn isValidPseudoFill(
&self,
statement: *const Statement,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
log_enable: bool
) -> bool
pub unsafe fn isValidPseudoFill1(
&self,
statement: *const Statement,
symbols: *const SymbolTable,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
symbols: *const SymbolTable,
log_enable: bool
) -> bool
pub unsafe fn isValidPseudoBlock(
&self,
statement: *const Statement,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
log_enable: bool
) -> bool
pub unsafe fn isValidPseudoString(
&self,
statement: *const Statement,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
log_enable: bool
) -> bool
pub unsafe fn isValidPseudoEnd(
&self,
statement: *const Statement,
log_enable: bool
) -> bool
[src]
&self,
statement: *const Statement,
log_enable: bool
) -> bool
pub unsafe fn getDistanceToNearestInstructionName(
&self,
search: *const string
) -> u32
[src]
&self,
search: *const string
) -> u32
pub unsafe fn validatePseudo(
&self,
statement: *const Statement,
symbols: *const SymbolTable
) -> bool
[src]
&self,
statement: *const Statement,
symbols: *const SymbolTable
) -> bool
pub unsafe fn validateInstruction(
&self,
statement: *const Statement
) -> optional<PIInstruction>
[src]
&self,
statement: *const Statement
) -> optional<PIInstruction>
pub unsafe fn getPseudoOrig(&self, statement: *const Statement) -> u32
[src]
pub unsafe fn getPseudoFill(
&self,
statement: *const Statement,
symbols: *const SymbolTable
) -> u32
[src]
&self,
statement: *const Statement,
symbols: *const SymbolTable
) -> u32
pub unsafe fn getPseudoBlockSize(&self, statement: *const Statement) -> u32
[src]
pub unsafe fn getPseudoStringSize(&self, statement: *const Statement) -> u32
[src]
pub unsafe fn getPseudoString(&self, statement: *const Statement) -> string
[src]
pub unsafe fn encodeInstruction(
&self,
statement: *const Statement,
symbols: *const SymbolTable,
pattern: PIInstruction
) -> optional<u32>
[src]
&self,
statement: *const Statement,
symbols: *const SymbolTable,
pattern: PIInstruction
) -> optional<u32>
pub unsafe fn new(
logger: *mut AssemblerLogger,
enable_liberal_assembly: bool
) -> Self
[src]
logger: *mut AssemblerLogger,
enable_liberal_assembly: bool
) -> Self
Trait Implementations
impl Default for InstructionEncoder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for InstructionEncoder
impl !Send for InstructionEncoder
impl !Sync for InstructionEncoder
impl Unpin for InstructionEncoder
impl !UnwindSafe for InstructionEncoder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,