1 package ANTLR::Runtime::CharStream; 2 3 use Carp; 4 use Readonly; 5 6 use Moose::Role; 7 #extends 'ANTLR::Runtime::IntStream'; 8 9 Readonly my $EOF => -1; 10 sub EOF { return $EOF } 11 12 requires 'substring'; 13 14 requires 'LT'; 15 16 requires 'get_line', 'set_line'; 17 18 requires 'get_char_position_in_line', 'set_char_position_in_line'; 19 20 no Moose::Role; 21 1; 22