Searched refs:ANTLR (Results 1 – 25 of 321) sorted by relevance
12345678910>>...13
1 #import <ANTLR/ANTLRBaseMapElement.h>2 #import <ANTLR/ANTLRBaseRecognizer.h>3 #import <ANTLR/ANTLRBaseStack.h>4 #import <ANTLR/ANTLRBaseTree.h>5 #import <ANTLR/ANTLRBaseTreeAdaptor.h>6 #import <ANTLR/ANTLRBitSet.h>7 #import <ANTLR/ANTLRBufferedTokenStream.h>8 #import <ANTLR/ANTLRBufferedTreeNodeStream.h>9 #import <ANTLR/ANTLRCharStream.h>10 #import <ANTLR/ANTLRCharStreamState.h>[all …]
2 * This OBJC source file was generated by $ANTLR version ${project.version} ${buildNumber}14 // $ANTLR ${project.version} ${buildNumber} SimpleC.g 2011-05-06 13:53:1266 // $ANTLR start "T__7"97 /* $ANTLR end "T__7" */99 // $ANTLR start "T__8"130 /* $ANTLR end "T__8" */132 // $ANTLR start "T__9"163 /* $ANTLR end "T__9" */165 // $ANTLR start "T__10"196 /* $ANTLR end "T__10" */[all …]
14 // $ANTLR src "SimpleC.g" 9116 // $ANTLR src "SimpleC.g" 9218 // $ANTLR src "SimpleC.g" 9320 // $ANTLR src "SimpleC.g" 9423 // $ANTLR src "SimpleC.g" 9627 // $ANTLR src "SimpleC.g" 9931 // $ANTLR src "SimpleC.g" 10233 // $ANTLR src "SimpleC.g" 10335 // $ANTLR src "SimpleC.g" 10437 // $ANTLR src "SimpleC.g" 105[all …]
2 * This OBJC source file was generated by $ANTLR version ${project.version} ${buildNumber}14 // $ANTLR ${project.version} ${buildNumber} SimpleC.g 2011-05-06 15:09:1766 // $ANTLR start "K_FOR"97 /* $ANTLR end "K_FOR" */99 // $ANTLR start "K_CHAR"130 /* $ANTLR end "K_CHAR" */132 // $ANTLR start "K_INT_TYPE"163 /* $ANTLR end "K_INT_TYPE" */165 // $ANTLR start "K_VOID"196 /* $ANTLR end "K_VOID" */[all …]
27 #import <ANTLR/ACBTree.h>28 #import <ANTLR/AMutableArray.h>29 #import <ANTLR/AMutableDictionary.h>30 #import <ANTLR/ANTLRBaseMapElement.h>31 #import <ANTLR/ANTLRBaseRecognizer.h>32 #import <ANTLR/ANTLRBaseStack.h>33 #import <ANTLR/ANTLRBaseTree.h>34 #import <ANTLR/ANTLRBaseTreeAdaptor.h>35 #import <ANTLR/ANTLRBitSet.h>36 #import <ANTLR/ANTLRBufferedTokenStream.h>[all …]
28 #import <ANTLR/ANTLRBitSet.h>29 #import <ANTLR/ANTLRBaseRecognizer.h>30 #import <ANTLR/ANTLRLexer.h>31 #import <ANTLR/ANTLRParser.h>32 #import <ANTLR/ANTLRTreeParser.h>33 #import <ANTLR/ANTLRDFA.h>34 #import <ANTLR/ANTLRStringStream.h>35 #import <ANTLR/ANTLRTokenSource.h>36 #import <ANTLR/ANTLRCommonTokenStream.h>38 #import <ANTLR/ANTLRRecognitionException.h>[all …]
21 lib/ANTLR/Runtime.pm22 lib/ANTLR/Runtime/ANTLRFileStream.pm23 lib/ANTLR/Runtime/ANTLRStringStream.pm24 lib/ANTLR/Runtime/BaseRecognizer.pm25 lib/ANTLR/Runtime/BitSet.pm26 lib/ANTLR/Runtime/CharStream.pm27 lib/ANTLR/Runtime/CharStreamState.pm28 lib/ANTLR/Runtime/CommonToken.pm29 lib/ANTLR/Runtime/CommonTokenStream.pm30 lib/ANTLR/Runtime/DFA.pm[all …]
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);33 ok !ANTLR::Runtime::Token->EOF_TOKEN;
1 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 Generation15 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 Library34 2. Antlr3.Utility - the ANTLR v3.1 .NET Runtime Utility Library36 3. Antlr3.Runtime.Tests - the ANTLR v3.1 .NET Runtime Library Tests55 3. USING The ANTLR v3.1 .NET Runtime Library57 Tou use the ANTLR v3.1 .NET Runtime Library in your projects, add a [all …]
1 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 });
1 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 …]
1 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 …]
1 ANTLR v3.45 ANTLR project lead and supreme dictator for life10 Welcome to ANTLR v3! ANTLR (ANother Tool for Language Recognition) is14 languages. ANTLR provides excellent support for tree construction,17 version of ANTLR for 7 years.44 http://www.antlr.org/wiki/display/ANTLR3/ANTLR+v3+FAQ48 http://www.antlr.org/wiki/display/ANTLR3/ANTLR+3+Wiki+Home75 ANTLR v3 sample grammars:90 What is ANTLR?92 ANTLR stands for (AN)other (T)ool for (L)anguage (R)ecognition[all …]
6 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()) {
19 if [[ -z "$ANTLR" ]]22 ANTLR="$(find $HOME/.gradle/caches/artifacts-* -name 'org.antlr' | head -n 1)"28 if ! [[ -d "$ANTLR" ]]; then36 for jar_file_name in $(find "$ANTLR" -name '*.jar'); do45 echo >&2 "Is '"$ANTLR"' the correct path to the JARs?"57 echo >&2 "ERROR: Failed to execute antlr at \"$ANTLR\""