Trait csx64::asm::expr::SymbolTableCore[][src]

pub trait SymbolTableCore {
    fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn is_defined(&self, symbol: &str) -> bool;
fn get_expr(&self, symbol: &str) -> Option<&Expr>; }

Required methods

fn is_empty(&self) -> bool[src]

Checks if the symbol table is empty.

fn len(&self) -> usize[src]

Gets the number of defined symbols.

fn is_defined(&self, symbol: &str) -> bool[src]

Checks if a symbol with the given name has already been defined.

fn get_expr(&self, symbol: &str) -> Option<&Expr>[src]

Gets the associated expression if defined

Loading content...

Implementors

impl<T> SymbolTableCore for SymbolTable<T>[src]

Loading content...