Searched refs:ANTLR3 (Results 1 - 25 of 77) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-exceptions.rb8 include ANTLR3::Error
10 describe( ANTLR3::Error ) do
14 ANTLR3.bug!( 'whateva' )
15 }.should raise_error( ANTLR3::Bug )
H A Dtest-dfa.rb8 class DFASubclass < ANTLR3::DFA
49 ANTLR3::DFA.unpack(*packed).should == unpacked
H A Dtest-scope.rb10 @A = ANTLR3::Scope.new( :a, :b )
11 @B = ANTLR3::Scope.new( 'count = 3' )
12 @C = ANTLR3::Scope.new( 'a', 'b = 0', 'c = {}' )
H A Dtest-recognizers.rb8 include ANTLR3
39 @antlr_version = ANTLR3::ANTLR_VERSION.dup
/external/antlr/antlr-3.4/runtime/Ruby/
H A Drakefile8 self.version = ANTLR3::VERSION_STRING
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
H A Dxml.rb6 class XMLLexerTest < ANTLR3::Test::Functional
12 include ANTLR3::Test::CaptureOutput
13 include ANTLR3::Test::RaiseErrors
H A Dsyn-pred.rb6 class TestSyntacticPredicate < ANTLR3::Test::Functional
H A Dproperties.rb6 class TestLexerRuleReference < ANTLR3::Test::Functional
41 channel.should == ANTLR3::DEFAULT_CHANNEL
51 channel.should == ANTLR3::DEFAULT_CHANNEL
62 channel.should == ANTLR3::DEFAULT_CHANNEL
70 class TestLexerRuleLabel < ANTLR3::Test::Functional
H A Dbasic.rb5 class LexerTest001 < ANTLR3::Test::Functional
12 @members { include ANTLR3::Test::RaiseErrors }
39 }.should raise_error( ANTLR3::Error::MismatchedToken ) do |e|
46 class LexerTest002 < ANTLR3::Test::Functional
53 @members { include ANTLR3::Test::RaiseErrors }
76 b.should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
83 class LexerTest003 < ANTLR3::Test::Functional
90 @members { include ANTLR3::Test::RaiseErrors }
117 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
124 class LexerTest004 < ANTLR3
[all...]
H A Dnuances.rb6 class TestBug80 < ANTLR3::Test::Functional
29 class TestEOF < ANTLR3::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
H A Dfilter.rb6 module ANTLR3 module
7 =begin rdoc ANTLR3::FilterMode
14 See http://www.antlr.org/wiki/display/ANTLR3/Lexical+filters for more info on
21 @input.peek == ANTLR3::EOF and return ANTLR3::EOF_TOKEN
24 @state.channel = ANTLR3::DEFAULT_CHANNEL
36 rescue ANTLR3::BacktrackingFailed
42 rescue ANTLR3::Error::RecognitionError => re
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Drecord-event-listener.rb4 module ANTLR3 module
7 =begin rdoc ANTLR3::Debug::RecordEventListener
25 end # module ANTLR3
H A Drule-tracer.rb4 module ANTLR3 module
6 =begin rdoc ANTLR3::Debug::RuleTracer
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dversion.rb4 module ANTLR3 module
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dgroup-file.rb13 module ANTLR3 module
H A Dgroup-file-parser.rb19 Failed to load the ANTLR3 runtime library (version 1.7.5):
33 defined?( ANTLR3 ) or begin
63 module ANTLR3 module
73 const_defined?( :TokenData ) or TokenData = ANTLR3::TokenScheme.new
96 class Parser < ANTLR3::Parser
120 unless group.is_a?( ANTLR3::Template::Group )
124 group = ANTLR3::Template::Group.new
204 group = ANTLR3::Template::Group.new
229 rescue ANTLR3::Error::RecognitionError => re
304 rescue ANTLR3
[all...]
H A Dgroup-file-lexer.rb19 Failed to load the ANTLR3 runtime library (version 1.7.5):
33 defined?( ANTLR3 ) or begin
63 module ANTLR3 module
73 const_defined?( :TokenData ) or TokenData = ANTLR3::TokenScheme.new
86 class Lexer < ANTLR3::Lexer
119 channel = ANTLR3::DEFAULT_CHANNEL
143 channel = ANTLR3::DEFAULT_CHANNEL
167 channel = ANTLR3::DEFAULT_CHANNEL
191 channel = ANTLR3::DEFAULT_CHANNEL
215 channel = ANTLR3
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dhetero-nodes.rb7 class TestHeterogeneousNodeTypes < ANTLR3::Test::Functional
16 class V < ANTLR3::CommonTree
35 class V < ANTLR3::CommonTree
54 class V < ANTLR3::CommonTree
73 class V < ANTLR3::CommonTree
92 class V < ANTLR3::CommonTree
112 class V < ANTLR3::CommonTree
132 class V < ANTLR3::CommonTree
152 class V < ANTLR3::CommonTree
172 class V < ANTLR3
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/
H A Dbasic.rb6 class TestTreeParser1 < ANTLR3::Test::Functional
26 @members { include ANTLR3::Test::CaptureOutput }
33 tokens = ANTLR3::CommonTokenStream.new( lexer )
37 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree )
62 @members { include ANTLR3::Test::CaptureOutput }
69 tokens = ANTLR3::CommonTokenStream.new( lexer )
73 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree )
100 @members { include ANTLR3::Test::CaptureOutput }
108 tokens = ANTLR3::CommonTokenStream.new( lexer )
112 nodes = ANTLR3
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dactions.rb6 class TestActions1 < ANTLR3::Test::Functional
49 class TestActions2 < ANTLR3::Test::Functional
56 include ANTLR3::Test::CaptureOutput
60 include ANTLR3::Test::CaptureOutput
115 class TestFinally < ANTLR3::Test::Functional
149 class TestActionScopes < ANTLR3::Test::Functional
H A Dnuances.rb6 class TestEmptyAlternative < ANTLR3::Test::Functional
35 class TestSubrulePrediction < ANTLR3::Test::Functional
66 class TestSpecialStates < ANTLR3::Test::Functional
122 class TestDFABug < ANTLR3::Test::Functional
H A Dpredicates.rb6 class TestPredicateHoist < ANTLR3::Test::Functional
69 class TestSyntacticPredicate < ANTLR3::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
H A Dbasic.rb6 class TestRewritingLexerOutputDirectly < ANTLR3::Test::Functional
20 tokens = ANTLR3::TokenRewriteStream.new( lexer )
228 stream = ANTLR3::TokenRewriteStream.new( lexer )
240 stream = ANTLR3::TokenRewriteStream.new( lexer )
251 stream = ANTLR3::TokenRewriteStream.new( lexer )
262 stream = ANTLR3::TokenRewriteStream.new( lexer )
273 class TestRewritingWithTokenStream2 < ANTLR3::Test::Functional
291 ANTLR3::TokenRewriteStream.new( lexer )
H A Dvia-parser.rb6 class TestRewritingWhileParsing < ANTLR3::Test::Functional
92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/
H A Dimport.rb6 class TestImportedGrammars < ANTLR3::Test::Functional
32 @members { include ANTLR3::Test::CaptureOutput }
40 tokens = ANTLR3::CommonTokenStream.new( lexer )
64 @members { include ANTLR3::Test::CaptureOutput }
71 tokens = ANTLR3::CommonTokenStream.new( lexer )
100 @members { include ANTLR3::Test::CaptureOutput }
143 @members { include ANTLR3::Test::CaptureOutput }
187 @members { include ANTLR3::Test::CaptureOutput }
196 tokens = ANTLR3::CommonTokenStream.new( lexer )
220 @members { include ANTLR3
[all...]

Completed in 372 milliseconds

1234