Searched defs:ANTLR (Results 1 - 25 of 37) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/
H A DRuntime.pm1 package ANTLR::Runtime;
14 ANTLR::Runtime - ANTLR Runtime for Perl 5
19 This documentation refers to ANTLR::Runtime version 0.0.1
108 Based on ANTLR Java Runtime by Terence Parr.
112 or ANTLR (see L<http://www.antlr.org/license.html>) itself.
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DCharStream.pm1 package ANTLR::Runtime::CharStream;
7 #extends 'ANTLR::Runtime::IntStream';
H A DCharStreamState.pm1 package ANTLR::Runtime::CharStreamState;
H A DEarlyExitException.pm1 package ANTLR::Runtime::EarlyExitException;
6 use base qw( ANTLR::Runtime::Exception );
H A DException.pm1 package ANTLR::Runtime::Exception;
H A DIntStream.pm1 package ANTLR::Runtime::IntStream;
H A DMismatchedSetException.pm1 package ANTLR::Runtime::MismatchedSetException;
5 extends 'ANTLR::Runtime::Exception';
H A DNoViableAltException.pm1 package ANTLR::Runtime::NoViableAltException;
5 extends 'ANTLR::Runtime::RecognitionException';
H A DRecognizerSharedState.pm1 package ANTLR::Runtime::RecognizerSharedState;
3 use ANTLR::Runtime::Token;
12 isa => 'ArrayRef[ANTLR::Runtime::BitSet]',
84 isa => 'Maybe[ANTLR::Runtime::Token]',
H A DStream.pm1 package ANTLR::Runtime::Stream;
H A DTokenSource.pm1 package ANTLR::Runtime::TokenSource;
20 ANTLR::Runtime::TokenSource
H A DTokenStream.pm1 package ANTLR::Runtime::TokenStream;
4 #extends 'ANTLR::Runtime::IntStream';
H A DMismatchedTokenException.pm1 package ANTLR::Runtime::MismatchedTokenException;
3 use ANTLR::Runtime::Token;
13 extends 'ANTLR::Runtime::RecognitionException';
18 default => ANTLR::Runtime::Token->INVALID_TOKEN_TYPE,
H A DMissingTokenException.pm1 package ANTLR::Runtime::MissingTokenException;
8 extends 'ANTLR::Runtime::MismatchedTokenException';
H A DParserRuleReturnScope.pm1 package ANTLR::Runtime::ParserRuleReturnScope;
5 extends 'ANTLR::Runtime::RuleReturnScope';
9 does => 'ANTLR::Runtime::Token',
14 does => 'ANTLR::Runtime::Token',
H A DUnwantedTokenException.pm1 package ANTLR::Runtime::UnwantedTokenException;
8 extends 'ANTLR::Runtime::MismatchedTokenException';
19 if ($self->expecting == ANTLR::Runtime::Token->INVALID_TOKEN_TYPE) {
H A DANTLRFileStream.pm1 package ANTLR::Runtime::ANTLRFileStream;
8 extends 'ANTLR::Runtime::ANTLRStringStream';
H A DRuleReturnScope.pm1 package ANTLR::Runtime::RuleReturnScope;
H A DDFA.pm1 package ANTLR::Runtime::DFA;
52 isa => 'ANTLR::Runtime::BaseRecognizer',
124 if ($c == ANTLR::Runtime::Token->EOF && $self->eof->[$s] >= 0) { # EOF Transition to accept state?
145 my $nvae = ANTLR::Runtime::NoViableAltException({
H A DRecognitionException.pm1 package ANTLR::Runtime::RecognitionException;
9 extends 'ANTLR::Runtime::Exception';
13 does => 'ANTLR::Runtime::IntStream',
25 does => 'ANTLR::Runtime::Token',
68 if ($input->does('ANTLR::Runtime::TokenStream')) {
75 if ($input->does('ANTLR::Runtime::TreeNodeStream')) {
78 elsif ($input->does('ANTLR::Runtime::CharStream')) {
93 if ($self->input->isa('ANTLR::Runtime::TokenStream')) {
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DLexer.pm1 package Test::ANTLR::Runtime::Lexer;
5 use ANTLR::Runtime::ANTLRStringStream;
6 use ANTLR::Runtime::Lexer;
13 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => 'ABC' });
14 my $lexer = ANTLR::Runtime::Lexer->new({ input => $input });
H A DANTLRStringStream.pm1 package Test::ANTLR::Runtime::ANTLRStringStream;
3 use ANTLR::Runtime::ANTLRStringStream;
27 is $s->LA(4), ANTLR::Runtime::ANTLRStringStream->EOF;
H A DException.pm1 package Test::ANTLR::Runtime::Exception;
H A DCommonToken.pm1 package Test::ANTLR::Runtime::CommonToken;
5 use ANTLR::Runtime::Token;
12 my $token = ANTLR::Runtime::CommonToken->new({
23 ok(ANTLR::Runtime::Token->EOF_TOKEN == ANTLR::Runtime::Token->EOF_TOKEN);
24 ok(ANTLR::Runtime::Token->SKIP_TOKEN == ANTLR::Runtime::Token->SKIP_TOKEN);
28 ok !(ANTLR::Runtime::Token->EOF_TOKEN != ANTLR::Runtime::Token->EOF_TOKEN);
29 ok !(ANTLR
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
H A DTest.pm1 package ANTLR::Runtime::Test;

Completed in 319 milliseconds

12