Home | History | Annotate | Download | only in Runtime
      1 package ANTLR::Runtime::ParserRuleReturnScope;
      2 
      3 use Moose;
      4 
      5 extends 'ANTLR::Runtime::RuleReturnScope';
      6 
      7 has 'start' => (
      8     is   => 'rw',
      9     does => 'ANTLR::Runtime::Token',
     10 );
     11 
     12 has 'stop' => (
     13     is   => 'rw',
     14     does => 'ANTLR::Runtime::Token',
     15 );
     16 
     17 sub get_start {
     18     my ($self) = @_;
     19     return $self->start;
     20 }
     21 
     22 sub get_stop {
     23     my ($self) = @_;
     24     return $self->stop;
     25 }
     26 
     27 no Moose;
     28 __PACKAGE__->meta->make_immutable();
     29 1;
     30 __END__
     31