def _create_and_add_option(option):
    global _current_option

    _current_option = Option()
    type_, params = _expand_one_key_dictionary(option)
    _current_option.type = type_
    _create_and_add_parameters(params)
    _current_statement.add_child(_current_option)
Parses the configuration and creates an Option instance.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_create_and_add_option