def convert(gr, raw_node):
    type, value, context, children = raw_node
    if not children:
        t = tokens.get(type, None)
        if t is not None:
            return t(value, context)
    t = symbols.get(type, None)
    if t is not None:
        return t(children, context)
    try:
        raise NotImplementedError(grammar.number2symbol[type])
    except KeyError:
        raise NotImplementedError(token.tok_name[type])
Given vm_state and task_state, return a status string.
dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py/convert--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/status_from_state