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)

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 .