struct Pass2Output<'a> {
directive: Option<Directive>,
explicit_symbols: ExplicitSymbolTable,
implicit_symbols: ImplicitSymbolTable,
memory_map: MemoryMap,
index_register_assigner: IndexRegisterAssigner,
errors: Vec<Rich<'a, Token>>,
}
Expand description
Output of pass 2 of the assembler.
Fields§
§directive: Option<Directive>
An abstract representation of the source code.
explicit_symbols: ExplicitSymbolTable
Explicit symbol definitions (“equalities”)
implicit_symbols: ImplicitSymbolTable
Information about symbols which are known but lack a definition.
memory_map: MemoryMap
Location of the blocks of the program.
index_register_assigner: IndexRegisterAssigner
Provides for default-assignment of symbols used only in an index context.
errors: Vec<Rich<'a, Token>>
Syntac or semantic errors diagnosed so far. We use this
instead of Result<T,E>
so that we can diagnose more than one
error.
Trait Implementations§
Source§impl<'a> Debug for Pass2Output<'a>
impl<'a> Debug for Pass2Output<'a>
Source§impl<'a> PartialEq for Pass2Output<'a>
impl<'a> PartialEq for Pass2Output<'a>
impl<'a> Eq for Pass2Output<'a>
impl<'a> StructuralPartialEq for Pass2Output<'a>
Auto Trait Implementations§
impl<'a> Freeze for Pass2Output<'a>
impl<'a> RefUnwindSafe for Pass2Output<'a>
impl<'a> Send for Pass2Output<'a>
impl<'a> Sync for Pass2Output<'a>
impl<'a> Unpin for Pass2Output<'a>
impl<'a> UnwindSafe for Pass2Output<'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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.