pub fn from_lines(lines: &Vec<String>) -> Self {
        lines.iter()
            .map(|x| parse_symbol_table_entry(x))
            .filter(|x| x.is_ok())
            .map(|x| x.unwrap())
            .map(|(_, result)| result)
            .collect::<SymbolTable>()
    }
/// Creates a symbol table from a vector of lines read
/// 
/// # Arguments
/// * 'lines' - Vector of lines containing the data
/// 
/// # Examples
/// ```ignore
/// let lines: Vec<String> = vec!["some symbol table stuff here", "more here"];
/// let symbol_table = symbol_table::SymbolTable::from_lines(&lines);
/// ```
Creates a symbol table from a vector of lines read
Creates a symbol table from a vector of lines read
pub fn from_lines(lines: &Vec<String>) -> Self {
        lines.iter()
            .map(|x| parse_symbol_table_entry(x))
            .filter(|x| x.is_ok())
            .map(|x| x.unwrap())
            .map(|(_, result)| result)
            .collect::<SymbolTable>()
    }
pub fn from_lines ( lines : & Vec < String > ) -> Self { lines . iter ( ) . map ( | x | parse_symbol_table_entry ( x ) ) . filter ( | x | x . is_ok ( ) ) . map ( | x | x . unwrap ( ) ) . map ( | ( _ , result ) | result ) . collect :: < SymbolTable > ( ) }
Creates a symbol table from a vector of lines read
Creates a symbol table from a vector of lines read
lines
&Vec<String>
examples
```ignore
let lines: Vec = vec!["some symbol table stuff here", "more here"];
let symbol_table = symbol_table::SymbolTable::from_lines(&lines);
```
` ` ` ignore let lines : Vec = vec! [ " some symbol table stuff here " " more here " ] ; let symbol_table = symbol_table :: SymbolTable :: from_lines ( &lines ) ; ` ` `