fn parse_symbol_flags(input: &str) -> IResult<&str, SymbolTableFlags> {
    let result = tuple((
        parse_flag_bit_scope,
        parse_flag_bit_weakness,
        parse_flag_bit_constructor,
        parse_flag_bit_warning,
        parse_flag_bit_reference,
        parse_flag_bit_debugging,
        parse_flag_bit_type,
    ))(input)?;
    let symbol_flags = result.1;
    Ok((
        result.0,
        SymbolTableFlags {
            scope: symbol_flags.0,
            weakness: symbol_flags.1,
            constructor: symbol_flags.2,
            warning: symbol_flags.3,
            reference: symbol_flags.4,
            debugging: symbol_flags.5,
            symbol_type: symbol_flags.6,
        },
    ))
}
/// Parses a string into symbol table flags
Parses a string into symbol table flags
Parses a string into symbol table flags
fn parse_symbol_flags(input: &str) -> IResult<&str, SymbolTableFlags> {
    let result = tuple((
        parse_flag_bit_scope,
        parse_flag_bit_weakness,
        parse_flag_bit_constructor,
        parse_flag_bit_warning,
        parse_flag_bit_reference,
        parse_flag_bit_debugging,
        parse_flag_bit_type,
    ))(input)?;
    let symbol_flags = result.1;
    Ok((
        result.0,
        SymbolTableFlags {
            scope: symbol_flags.0,
            weakness: symbol_flags.1,
            constructor: symbol_flags.2,
            warning: symbol_flags.3,
            reference: symbol_flags.4,
            debugging: symbol_flags.5,
            symbol_type: symbol_flags.6,
        },
    ))
}
fn parse_symbol_flags ( input : & str ) -> IResult < & str , SymbolTableFlags > { let result = tuple ( ( parse_flag_bit_scope , parse_flag_bit_weakness , parse_flag_bit_constructor , parse_flag_bit_warning , parse_flag_bit_reference , parse_flag_bit_debugging , parse_flag_bit_type , ) ) ( input ) ? ; let symbol_flags = result . 1 ; Ok ( ( result . 0 , SymbolTableFlags { scope : symbol_flags . 0 , weakness : symbol_flags . 1 , constructor : symbol_flags . 2 , warning : symbol_flags . 3 , reference : symbol_flags . 4 , debugging : symbol_flags . 5 , symbol_type : symbol_flags . 6 , } , ) ) }
Parses a string into symbol table flags
Parses a string into symbol table flags
input
&str