aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ParserRuleReturnScope.pm
blob: 07adcf183be62e0d08cdaa9b95b9e889b9687151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package ANTLR::Runtime::ParserRuleReturnScope;

use Moose;

extends 'ANTLR::Runtime::RuleReturnScope';

has 'start' => (
    is   => 'rw',
    does => 'ANTLR::Runtime::Token',
);

has 'stop' => (
    is   => 'rw',
    does => 'ANTLR::Runtime::Token',
);

sub get_start {
    my ($self) = @_;
    return $self->start;
}

sub get_stop {
    my ($self) = @_;
    return $self->stop;
}

no Moose;
__PACKAGE__->meta->make_immutable();
1;
__END__