5 has _state => (is => 'ro', required => 1, init_arg => 'state');
8 sort keys %{$_[0]->_state->scope};
13 my $by_id = $self->_state->by_id;
14 return map $_->action, grep $_->has_action, values %$by_id;
17 sub independent_actions {
19 return grep !@{$_->dependencies}, $self->actions;
22 sub expand_action_dependencies {
23 my ($self, $action) = @_;
24 my $by_id = $self->_state->by_id;
25 return map $by_id->{$_}->action, @{$action->dependencies};
29 my ($self, $name) = @_;
30 $self->_state->scope_var($name)->bound_value;