fn machine_action( machine: &str, buf: &mut Buffer, m: &MVal, opt: &Option<String>, type_: &str, ) -> Option<Out>