def METHOD_NAME(node, line):
    lsp = line.strip().split()
    if not len(lsp) in {3, 5}:
        node.error(
            f'directive: (socket line) "{line}" -> is malformed '
            f'(too little information, probably forgot to specify the socket-kind'
            f': {sock_dict.keys()}'
        )
        return UNPARSABLE
    else:
        socket_type = sock_dict.get(lsp[2])
        socket_name = lsp[1]
        if not socket_type:
            return UNPARSABLE
        elif len(lsp) == 3:
            return socket_type, socket_name, None, None
        else:
            default = processed(lsp[3])
            nested = processed(lsp[4])
            return socket_type, socket_name, default, nested