fn symbol(self, is_association: bool) -> Option<Symbol> {
        let symbol_txt = if is_association { &self[0..self.len() - 1] } else { self };
        if symbol_txt.is_empty() {
            return None;
        }
        Some(Symbol::new(symbol_txt).unwrap())
    }
/// Get the symbol. If this is for an association, strip a character (should be "=") from the end of the text.
Get the symbol. If this is for an association, strip a character (should be "=") from the end of the text.
Get the symbol . If this is for an association strip a character ( should be " = " ) from the end of the text .
fn symbol(self, is_association: bool) -> Option<Symbol> {
        let symbol_txt = if is_association { &self[0..self.len() - 1] } else { self };
        if symbol_txt.is_empty() {
            return None;
        }
        Some(Symbol::new(symbol_txt).unwrap())
    }
fn symbol ( self , is_association : bool ) -> Option < Symbol > { let symbol_txt = if is_association { & self [ 0 .. self . len ( ) - 1 ] } else { self } ; if symbol_txt . is_empty ( ) { return None ; } Some ( Symbol :: new ( symbol_txt ) . unwrap ( ) ) }
Get the symbol.
Get the symbol .
self
is_association
bool
self
is_association
bool