• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package ANTLR::Runtime::CharStreamState;
2
3use Moose;
4
5# Index into the char stream of next lookahead char
6has 'p' => (
7    is  => 'rw',
8    isa => 'Int',
9    default => 0,
10);
11
12# What line number is the scanner at before processing buffer[p]?
13has 'line' => (
14    is  => 'rw',
15    isa => 'Int',
16    default => 0,
17);
18
19# What char position 0..n-1 in line is scanner before processing buffer[p]?
20has 'char_position_in_line' => (
21    is  => 'rw',
22    isa => 'Int',
23    default => 0,
24);
25
26no Moose;
27__PACKAGE__->meta->make_immutable();
281;
29