[][src]Struct lc3tools_sys::root::lc3::core::asmbl::InstructionEncoder

#[repr(C)]pub struct InstructionEncoder {
    pub _base: InstructionHandler,
    pub logger: *mut AssemblerLogger,
    pub enable_liberal_asm: bool,
    pub instructions_by_name: map,
}

Fields

_base: InstructionHandlerlogger: *mut AssemblerLoggerenable_liberal_asm: boolinstructions_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]

pub unsafe fn isValidPseudoFill(
    &self,
    statement: *const Statement,
    log_enable: bool
) -> bool
[src]

pub unsafe fn isValidPseudoFill1(
    &self,
    statement: *const Statement,
    symbols: *const SymbolTable,
    log_enable: bool
) -> bool
[src]

pub unsafe fn isValidPseudoBlock(
    &self,
    statement: *const Statement,
    log_enable: bool
) -> bool
[src]

pub unsafe fn isValidPseudoString(
    &self,
    statement: *const Statement,
    log_enable: bool
) -> bool
[src]

pub unsafe fn isValidPseudoEnd(
    &self,
    statement: *const Statement,
    log_enable: bool
) -> bool
[src]

pub unsafe fn getDistanceToNearestInstructionName(
    &self,
    search: *const string
) -> u32
[src]

pub unsafe fn validatePseudo(
    &self,
    statement: *const Statement,
    symbols: *const SymbolTable
) -> bool
[src]

pub unsafe fn validateInstruction(
    &self,
    statement: *const Statement
) -> optional<PIInstruction>
[src]

pub unsafe fn getPseudoOrig(&self, statement: *const Statement) -> u32[src]

pub unsafe fn getPseudoFill(
    &self,
    statement: *const Statement,
    symbols: *const SymbolTable
) -> u32
[src]

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]

pub unsafe fn new(
    logger: *mut AssemblerLogger,
    enable_liberal_assembly: bool
) -> Self
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.