pub fn parse_select(
    input: KconfigInput<'_>
) -> IResult<KconfigInput<'_>, Select>
Expand description

Parses a select attribute.

Example

use nom_kconfig::{
assert_parsing_eq,
attribute::{parse_select, Select}
};

assert_parsing_eq!(
    parse_select,
    "select MTK_INFRACFG",
    Ok(("", Select {
            r#if: None,
            symbol: "MTK_INFRACFG".to_string()
        }
    ))
)