def _add_inline_definition(item, statement):
    global _current_statement
    backup = _current_statement

    type_, options = _expand_one_key_dictionary(item)
    _current_statement = UnnamedStatement(type=type_)
    _parse_statement(options)
    statement.add_child(_current_statement)

    _current_statement = backup
Adds an inline definition to statement.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_add_inline_definition