Home
last modified time | relevance | path

Searched refs:ANTLR (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/antlr/runtime/ObjC/Framework/
DANTLR.h27 #import <ANTLR/ACNumber.h>
28 #import <ANTLR/ACBTree.h>
29 #import <ANTLR/AMutableArray.h>
30 #import <ANTLR/AMutableDictionary.h>
31 #import <ANTLR/ANTLRBitSet.h>
32 #import <ANTLR/ANTLRError.h>
33 #import <ANTLR/ANTLRFileStream.h>
34 #import <ANTLR/ANTLRInputStream.h>
35 #import <ANTLR/ANTLRReaderStream.h>
36 #import <ANTLR/ANTLRStringStream.h>
[all …]
Dantlr3.h27 #import <ANTLR/ACNumber.h>
28 #import <ANTLR/ACBTree.h>
29 #import <ANTLR/AMutableArray.h>
30 #import <ANTLR/AMutableDictionary.h>
31 #import <ANTLR/ANTLRBitSet.h>
32 #import <ANTLR/ANTLRError.h>
33 #import <ANTLR/ANTLRFileStream.h>
34 #import <ANTLR/ANTLRInputStream.h>
35 #import <ANTLR/ANTLRReaderStream.h>
36 #import <ANTLR/ANTLRStringStream.h>
[all …]
/external/antlr/runtime/Perl5/
DMANIFEST21 lib/ANTLR/Runtime.pm
22 lib/ANTLR/Runtime/ANTLRFileStream.pm
23 lib/ANTLR/Runtime/ANTLRStringStream.pm
24 lib/ANTLR/Runtime/BaseRecognizer.pm
25 lib/ANTLR/Runtime/BitSet.pm
26 lib/ANTLR/Runtime/CharStream.pm
27 lib/ANTLR/Runtime/CharStreamState.pm
28 lib/ANTLR/Runtime/CommonToken.pm
29 lib/ANTLR/Runtime/CommonTokenStream.pm
30 lib/ANTLR/Runtime/DFA.pm
[all …]
/external/antlr/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
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::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN);
33 ok !ANTLR::Runtime::Token->EOF_TOKEN;
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 });
/external/antlr/runtime/Cpp/tests/
DMakefile11 ANTLR = ../../../antlr-complete/target/antlr-complete-3.5.2-SNAPSHOT.jar macro
23 all: $(ANTLR) $(TOKENS) t001 t002 t003 t004 t005 t006 t006 t007 t008 t009 t010 t011 t012
27 $(ANTLR): $(STGS)
28 jar uvf $(ANTLR) -C ../../../tool/src/main/resources \
31 t001: t001.cpp t001lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
34 t002: t002.cpp t002lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
37 t003: t003.cpp t003lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
40 t004: t004.cpp t004lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
43 t005: t005.cpp t005lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
46 t006: t006.cpp t006lexer.tokens UserTestTraits.hpp Makefile $(ANTLR) $(RUNTIME_HEADERS)
[all …]
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleC__.gl14 // $ANTLR src "SimpleC.g" 91
16 // $ANTLR src "SimpleC.g" 92
18 // $ANTLR src "SimpleC.g" 93
20 // $ANTLR src "SimpleC.g" 94
23 // $ANTLR src "SimpleC.g" 96
27 // $ANTLR src "SimpleC.g" 99
31 // $ANTLR src "SimpleC.g" 102
33 // $ANTLR src "SimpleC.g" 103
35 // $ANTLR src "SimpleC.g" 104
37 // $ANTLR src "SimpleC.g" 105
[all …]
DSimpleCLexer.m2 * This OBJC source file was generated by $ANTLR version 3.4
14 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/simplecTreePa…
66 // $ANTLR start "K_FOR"
100 /* $ANTLR end "K_FOR" */
101 // $ANTLR start "K_CHAR"
135 /* $ANTLR end "K_CHAR" */
136 // $ANTLR start "K_INT_TYPE"
170 /* $ANTLR end "K_INT_TYPE" */
171 // $ANTLR start "K_VOID"
205 /* $ANTLR end "K_VOID" */
[all …]
/external/antlr/runtime/CSharp2/
DREADME.TXT1 ANTLR v3.1 .NET Runtime Library (for us with the ANTLR C# Code Generator)
10 The ANTLR v3.1 .NET Runtime Library extend the ANTLR language processing
13 and was designed specifically for use with the ANTLR C# Code Generation
15 IronPython code generator were such a thing to be developed for ANTLR v3.1.
17 We hope you find the ANTLR v3.1 .NET Runtime Library delightful and useful
32 1. Antlr3.Runtime - the ANTLR v3.1 .NET Runtime Library
34 2. Antlr3.Utility - the ANTLR v3.1 .NET Runtime Utility Library
36 3. Antlr3.Runtime.Tests - the ANTLR v3.1 .NET Runtime Library Tests
55 3. USING The ANTLR v3.1 .NET Runtime Library
57 Tou use the ANTLR v3.1 .NET Runtime Library in your projects, add a
[all …]
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DBaseRecognizer.pm1 package ANTLR::Runtime::BaseRecognizer;
6 use ANTLR::Runtime::RecognizerSharedState;
7 use ANTLR::Runtime::Token;
8 use ANTLR::Runtime::UnwantedTokenException;
9 use ANTLR::Runtime::MissingTokenException;
10 use ANTLR::Runtime::MismatchedTokenException;
24 Readonly my $DEFAULT_TOKEN_CHANNEL => ANTLR::Runtime::Token->DEFAULT_CHANNEL;
27 Readonly my $HIDDEN => ANTLR::Runtime::Token->HIDDEN_CHANNEL;
41 default => sub { ANTLR::Runtime::RecognizerSharedState->new() },
107 if ($follow->member(ANTLR::Runtime::Token->EOR_TOKEN_TYPE)) {
[all …]
DToken.pm1 package ANTLR::Runtime::Token;
7 use ANTLR::Runtime::CharStream;
37 sub EOF { ANTLR::Runtime::CharStream->EOF }
41 require ANTLR::Runtime::CommonToken;
42 state $EOF_TOKEN = ANTLR::Runtime::CommonToken->new({ type => EOF });
51 require ANTLR::Runtime::CommonToken;
52 state $INVALID_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
60 require ANTLR::Runtime::CommonToken;
61 state $SKIP_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
DLexer.pm1 package ANTLR::Runtime::Lexer;
8 use ANTLR::Runtime::Token;
9 use ANTLR::Runtime::CommonToken;
10 use ANTLR::Runtime::CharStream;
11 use ANTLR::Runtime::MismatchedTokenException;
37 $self->state->type(ANTLR::Runtime::Token->INVALID_TOKEN_TYPE);
38 $self->state->channel(ANTLR::Runtime::Token->DEFAULT_CHANNEL);
53 $self->state->channel(ANTLR::Runtime::Token->DEFAULT_CHANNEL);
59 if ($self->input->LA(1) eq ANTLR::Runtime::CharStream->EOF) {
60 return ANTLR::Runtime::Token->EOF_TOKEN;
[all …]
DCommonTokenStream.pm1 package ANTLR::Runtime::CommonTokenStream;
7 use ANTLR::Runtime::CharStream;
8 use ANTLR::Runtime::Token;
9 use ANTLR::Runtime::TokenSource;
44 default => ANTLR::Runtime::Token->DEFAULT_CHANNEL,
71 $self->channel(ANTLR::Runtime::Token->DEFAULT_CHANNEL);
79 while (defined $t && $t->get_type() != ANTLR::Runtime::CharStream->EOF) {
175 $types = ANTLR::Runtime::BitSet->new($args->{types});
181 $types = ANTLR::Runtime::BitSet->of($ttype);
224 return ANTLR::Runtime::Token->EOF_TOKEN;
[all …]
/external/antlr/
DREADME.txt1 ANTLR v3.5
5 ANTLR project lead and supreme dictator for life
10 Welcome to ANTLR v3! ANTLR (ANother Tool for Language Recognition) is
14 languages. ANTLR provides excellent support for tree construction,
17 version of ANTLR for 9 years.
44 http://www.antlr.org/wiki/display/ANTLR3/ANTLR+v3+FAQ
48 http://www.antlr.org/wiki/display/ANTLR3/ANTLR+3+Wiki+Home
75 ANTLR v3 sample grammars:
85 What is ANTLR?
87 ANTLR stands for (AN)other (T)ool for (L)anguage (R)ecognition
[all …]
Dcontributors.txt1 ANTLR Project Contributors Certification of Origin and Rights
3 All contributors to ANTLR v3 must formally agree to abide by this
11 ANTLR project contributors, henceforth referred to as The ANTLR
12 Project, a license to incorporate it into The ANTLR Project tools
14 license. You understand that The ANTLR Project may or may not
21 it to The ANTLR Project for release under the 3-clause BSD
22 license. I hereby grant The ANTLR Project a nonexclusive,
25 contribution as part of the ANTLR project, associated
26 documentation, books, and tools at no cost to The ANTLR Project.
33 defend, indemnify, and hold The ANTLR Project and ANTLR users
/external/antlr/runtime/Perl5/examples/simplecalc/
Dsimplecalc.pl6 use ANTLR::Runtime::ANTLRFileStream;
7 use ANTLR::Runtime::CommonTokenStream;
8 use ANTLR::Runtime::RecognitionException;
12 my $input = ANTLR::Runtime::ANTLRFileStream->new({ file_name => $ARGV[0] });
14 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });
22 if (my $ex = ANTLR::Runtime::RecognitionException->caught()) {
/external/smali/smali/
Drunantlr.sh19 if [[ -z "$ANTLR" ]]
22 ANTLR="$(find $HOME/.gradle/caches/artifacts-* -name 'org.antlr' | head -n 1)"
28 if ! [[ -d "$ANTLR" ]]; then
36 for jar_file_name in $(find "$ANTLR" -name '*.jar'); do
45 echo >&2 "Is '"$ANTLR"' the correct path to the JARs?"
57 echo >&2 "ERROR: Failed to execute antlr at \"$ANTLR\""
/external/antlr/runtime/Perl5/t/examples/
Dsimplecalc.t7 use ANTLR::Runtime::Test;
46 use ANTLR::Runtime::ANTLRStringStream;
47 use ANTLR::Runtime::CommonTokenStream;
48 use ANTLR::Runtime::RecognitionException;
60 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => $example });
62 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });
73 if (my $ex = ANTLR::Runtime::RecognitionException->caught()) {
/external/antlr/runtime/ObjC/Framework/examples/LL-star/
DSimpleCLexer.m2 * This OBJC source file was generated by $ANTLR version 3.4
14 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/LL-star/Simpl…
66 // $ANTLR start "T__7"
99 /* $ANTLR end "T__7" */
100 // $ANTLR start "T__8"
133 /* $ANTLR end "T__8" */
134 // $ANTLR start "T__9"
167 /* $ANTLR end "T__9" */
168 // $ANTLR start "T__10"
201 /* $ANTLR end "T__10" */
[all …]
/external/antlr/antlr3-maven-plugin/src/site/apt/
Dindex.apt2 ANTLR v3 Maven Plugin
9 ANTLR v3 Maven plugin
11 The ANTLR v3 Maven plugin is completely re-written as of version 3.1.3; if you are familiar
15 The job of the plugin is essentially to tell the standard ANTLR parser generator where the
20 This version of the plugin allows full control over ANTLR and allows configuration of all
22 check the build order, and otherwise work with your grammar files is built into the ANTLR
23 tool as of version 3.1.3 of ANTLR and this plugin.
27 The plugin version tracks the version of the ANTLR tool that it controls. Hence if you
29 ANTLR tool, version 3.2 of the plugin will use version 3.2 of the ANTLR tool and so on.
61 Such files are never built on their own, but the plugin will automatically tell the ANTLR
/external/antlr/runtime/Ruby/
DREADME.txt1 ANTLR 3 for Ruby
8 Fully-featured ANTLR 3 parser generation for Ruby.
10 ANTLR (ANother Tool for Language Recognition) is a tool that is used to generate
14 taking in a grammar specification written in the special ANTLR metalanguage and
19 ANTLR language target, a developer may supply a set of templates written in the
22 ANTLR is currently distributed with a fairly limited Ruby target implementation.
26 the other ANTLR features that give the program an edge over traditional code
30 ANTLR provides for other language targets, such as Java and Python. It contains:
32 * A customized version of the latest ANTLR program, bundling all necessary
37 ANTLR generates
[all …]
/external/antlr/runtime/ObjC/Framework/examples/scopes/
DSymbolTableLexer.m2 * This OBJC source file was generated by $ANTLR version 3.4
14 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/Symbol…
66 // $ANTLR start "T__7"
99 /* $ANTLR end "T__7" */
100 // $ANTLR start "T__8"
133 /* $ANTLR end "T__8" */
134 // $ANTLR start "T__9"
167 /* $ANTLR end "T__9" */
168 // $ANTLR start "T__10"
201 /* $ANTLR end "T__10" */
[all …]
/external/antlr/runtime/Perl5/docs/
Ddesign.pod3 design.pod - ANTLR::Runtime Design Document
7 This document describes the design of the C<ANTLR::Runtime> Perl 5 port.
11 C<ANTLR::Runtime> is the port of the runtime part for ANTLR to Perl 5. ANTLR's
23 C<ANTLR::Runtime> uses C<Object::InsideOut> for OO modelling.
28 C<ANTLR::Runtime>.
/external/antlr/runtime/Perl5/t/
Dlexer.t10 use ANTLR::Runtime::Test;
21 /* This is a comment. Note that we're in the ANTLR grammar here, so it's not
34 use ANTLR::Runtime::ANTLRStringStream;
37 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => '123' });
59 use ANTLR::Runtime::ANTLRStringStream;
62 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => "Hello World!\n42\n" });
107 use ANTLR::Runtime::ANTLRStringStream;
113 my $input = ANTLR::Runtime::ANTLRStringStream->new(<< 'XML');
/external/antlr/runtime/Perl5/examples/mexpr/
Dmexpr.pl8 use ANTLR::Runtime::ANTLRStringStream;
9 use ANTLR::Runtime::CommonTokenStream;
14 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => $_ });
17 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });

12345678910>>...13