OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ANTLR
(Results
1 - 25
of
38
) sorted by null
1
2
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/
Runtime.pm
1
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/
CharStream.pm
1
package
ANTLR
::Runtime::CharStream;
7
#extends '
ANTLR
::Runtime::IntStream';
CharStreamState.pm
1
package
ANTLR
::Runtime::CharStreamState;
EarlyExitException.pm
1
package
ANTLR
::Runtime::EarlyExitException;
6
use base qw(
ANTLR
::Runtime::Exception );
Exception.pm
1
package
ANTLR
::Runtime::Exception;
IntStream.pm
1
package
ANTLR
::Runtime::IntStream;
MismatchedSetException.pm
1
package
ANTLR
::Runtime::MismatchedSetException;
5
extends '
ANTLR
::Runtime::Exception';
NoViableAltException.pm
1
package
ANTLR
::Runtime::NoViableAltException;
5
extends '
ANTLR
::Runtime::RecognitionException';
RecognizerSharedState.pm
1
package
ANTLR
::Runtime::RecognizerSharedState;
3
use
ANTLR
::Runtime::Token;
12
isa => 'ArrayRef[
ANTLR
::Runtime::BitSet]',
84
isa => 'Maybe[
ANTLR
::Runtime::Token]',
Stream.pm
1
package
ANTLR
::Runtime::Stream;
TokenSource.pm
1
package
ANTLR
::Runtime::TokenSource;
20
ANTLR
::Runtime::TokenSource
TokenStream.pm
1
package
ANTLR
::Runtime::TokenStream;
4
#extends '
ANTLR
::Runtime::IntStream';
MismatchedTokenException.pm
1
package
ANTLR
::Runtime::MismatchedTokenException;
3
use
ANTLR
::Runtime::Token;
13
extends '
ANTLR
::Runtime::RecognitionException';
18
default =>
ANTLR
::Runtime::Token->INVALID_TOKEN_TYPE,
MissingTokenException.pm
1
package
ANTLR
::Runtime::MissingTokenException;
8
extends '
ANTLR
::Runtime::MismatchedTokenException';
ParserRuleReturnScope.pm
1
package
ANTLR
::Runtime::ParserRuleReturnScope;
5
extends '
ANTLR
::Runtime::RuleReturnScope';
9
does => '
ANTLR
::Runtime::Token',
14
does => '
ANTLR
::Runtime::Token',
UnwantedTokenException.pm
1
package
ANTLR
::Runtime::UnwantedTokenException;
8
extends '
ANTLR
::Runtime::MismatchedTokenException';
19
if ($self->expecting ==
ANTLR
::Runtime::Token->INVALID_TOKEN_TYPE) {
ANTLRFileStream.pm
1
package
ANTLR
::Runtime::ANTLRFileStream;
8
extends '
ANTLR
::Runtime::ANTLRStringStream';
RuleReturnScope.pm
1
package
ANTLR
::Runtime::RuleReturnScope;
DFA.pm
1
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({
RecognitionException.pm
1
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/
Lexer.pm
1
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 });
ANTLRStringStream.pm
1
package Test::
ANTLR
::Runtime::ANTLRStringStream;
3
use
ANTLR
::Runtime::ANTLRStringStream;
27
is $s->LA(4),
ANTLR
::Runtime::ANTLRStringStream->EOF;
Exception.pm
1
package Test::
ANTLR
::Runtime::Exception;
CommonToken.pm
1
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
::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN)
[
all
...]
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
Test.pm
1
package
ANTLR
::Runtime::Test;
79
my $
antlr
;
81
$
antlr
= '
antlr
.sh';
84
$
antlr
= '
antlr
.bat';
87
$
antlr
= '
antlr
';
89
my $g_result = run_program([ File::Spec->catfile($cwd, 'tools', $
antlr
), '-o', $tmpdir, $grammar_file ]);
Completed in 166 milliseconds
1
2