File: Bindable.pm

package info (click to toggle)
libparse-method-signatures-perl 1.003019-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 276 kB
  • sloc: perl: 3,081; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package Parse::Method::Signatures::Param::Bindable;

use Moose::Role;
use Parse::Method::Signatures::Types qw/VariableName/;

use namespace::clean -except => 'meta';

has variable_name => (
    is => 'ro',
    isa => VariableName,
    required => 1,
);

sub _stringify_variable_name {
    my ($self) = @_;
    return $self->variable_name;
}

1;