package DX::Op::Materialize;

use Moo;

with 'DX::Role::Op';

has var_name => (is => 'ro', required => 1);

sub run {
  my ($self, $state) = @_;
  $state->resolve_value($state->scope_var($self->var_name));
  $state->then($self->next);
}

1;
