package Perl::Analysis::Static::Element::Declaration::Variable;
{
  $Perl::Analysis::Static::Element::Declaration::Variable::VERSION = '0.004'; # TRIAL
}
# ABSTRACT: declaration of a variable

use Moose;

extends 'Perl::Analysis::Static::Element::Declaration';

has 'name' => ( is => 'rw', isa => 'Str' );


sub stringify {
    my ($self)=@_;
    
    return $self->from.': '.$self->name;
}


1;

__END__
=pod

=head1 NAME

Perl::Analysis::Static::Element::Declaration::Variable - declaration of a variable

=head1 VERSION

version 0.004

=head1 DESCRIPTION

This is a rather abstract class. You might want to use
L<Perl::Analysis::Static::Element::Declaration::Variable::Lexical>
or L<Perl::Analysis::Static::Element::Declaration::Variable::Package>.

=head2 stringify ()

=head1 AUTHOR

Gregor Goldbach <glauschwuffel@nomaden.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Gregor Goldbach.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut

