Searched refs:ANTLR3 (Results 51 - 75 of 77) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
H A Ddebug-mode.rb61 class TestDebugGrammars < ANTLR3::Test::Functional
64 #include ANTLR3::Test::Diff
78 tokens = ANTLR3::CommonTokenStream.new( lexer )
98 listener = ANTLR3::Debug::RecordEventListener.new
171 [ "recognition_exception", "ANTLR3::Error::UnwantedToken", "2", "1", "2" ],
378 [ "recognition_exception", "ANTLR3::Error::MismatchedSet", "1", "0", "-1" ],
379 [ "recognition_exception", "ANTLR3::Error::MismatchedSet", "1", "0", "-1" ],
473 [ "recognition_exception", "ANTLR3::Error::NoViableAlternative", "2", "1", "2" ],
476 [ "recognition_exception", "ANTLR3::Error::NoViableAlternative", "2", "1", "2" ],
684 listener = ANTLR3
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Devent-hub.rb4 module ANTLR3 module
6 =begin rdoc ANTLR3::Debug::EventHub
15 include ANTLR3::Debug::EventListener
H A Dsocket.rb6 module ANTLR3 module
10 =begin rdoc ANTLR3::Debug::EventSocketProxy
189 @adaptor ||= ANTLR3::CommonTreeAdaptor.new
239 adaptor ||= ANTLR3::AST::CommonTreeAdaptor.new
257 =begin rdoc ANTLR3::Debug::RemoteEventSocketListener
360 end # module ANTLR3
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dstreams.rb35 module ANTLR3 module
38 =begin rdoc ANTLR3::Stream
40 = ANTLR3 Streams
43 recognizers, and then discusses the specific <tt>ANTLR3::Stream</tt> module.
143 <tt>ANTLR3::Stream</tt> is an abstract-ish base mixin for all IO-like stream
161 it is not strictly necessary that custom stream objects include ANTLR3::Stream,
167 include ANTLR3::Constants
224 =begin rdoc ANTLR3::CharacterStream
270 =begin rdoc ANTLR3::TokenStream
340 =begin rdoc ANTLR3
[all...]
H A Dprofile.rb35 module ANTLR3 module
37 =begin rdoc ANTLR3::Profile::ParserEvents
39 ANTLR3::Profile::ParserEvents expands basic debugging events for use by
45 include ANTLR3::Debug::ParserEvents
186 =begin rdoc ANTLR3::Profile::Profiler
H A Drecognizers.rb35 module ANTLR3 module
54 =begin rdoc ANTLR3::RecognizerSharedState
127 =begin rdoc ANTLR3::Recognizer
174 =begin rdoc ANTLR3::Recognizer
322 ANTLR3::CommonToken
329 @antlr_version = ANTLR3::ANTLR_VERSION
330 @antlr_version_string = ANTLR3::ANTLR_VERSION_STRING
911 =begin rdoc ANTLR3::Lexer
954 class Lexer < ANTLR3::Lexer
963 class Parser < ANTLR3
[all...]
H A Dtask.rb10 module ANTLR3 module
12 =begin rdoc ANTLR3::CompileTask
21 ANTLR3::CompileTask.define(
136 @antlr_jar = options.fetch( :antlr_jar, ANTLR3.antlr_jar )
488 end # module ANTLR3
H A Dutil.rb4 module ANTLR3 module
H A Ddfa.rb35 module ANTLR3 module
37 =begin rdoc ANTLR3::DFA
224 ANTLR3.bug!( Util.tidy( <<-END ) )
288 ANTLR3.bug!( Util.tidy( <<-END ) )
H A Ddot.rb38 module ANTLR3 module
40 =begin rdoc ANTLR3::DOT
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dauto-ast.rb6 class TestAutoAST < ANTLR3::Test::Functional
13 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
14 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
15 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
16 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
41 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
42 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
43 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
44 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
45 tree_grammar_module::TreeParser.send( :include, ANTLR3
[all...]
H A Dconstruction.rb6 class TestASTConstructingParser < ANTLR3::Test::Functional
78 : INT -> { ANTLR3::AST::CommonTree.new(ANTLR3::CommonToken.create(:type => FLOAT, :text => ($INT.text + ".0")))}
266 -> ^({ANTLR3::AST::CommonTree.new(ANTLR3::CommonToken.create(:type => FLOAT, :text => "1.0"))} ID)
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dscopes.rb6 class TestScopes1 < ANTLR3::Test::Functional
36 class TestScopes2 < ANTLR3::Test::Functional
186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )
H A Dbacktracking.rb6 class TestBacktracking < ANTLR3::Test::Functional
H A Dcalc.rb6 class TestCalcParser < ANTLR3::Test::Functional
H A Dll-star.rb6 class TestLLStarParser < ANTLR3::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Dwizard.rb37 module ANTLR3 module
40 =begin rdoc ANTLR3::AST::Wizard
58 adaptor = ANTLR3::AST::CommonTreeAdaptor.new
59 wizard = ANTLR3::AST::Wizard.new(adaptor, token_names)
122 =begin rdoc ANTLR3::AST::Wizard::PatternLexer
129 include ANTLR3::Constants
178 =begin rdoc ANTLR3::AST::Wizard::Pattern
191 include ANTLR3::Constants
275 =begin rdoc ANTLR3::AST::Wizard::Pattern
304 =begin rdoc ANTLR3
[all...]
H A Dvisitor.rb35 module ANTLR3 module
38 =begin rdoc ANTLR3::AST::Visitor
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Drewrite.rb35 module ANTLR3 module
37 =begin rdoc ANTLR3::TokenRewriteStream
49 =begin rdoc ANTLR3::TokenRewriteStream::RewriteOperation
95 =begin rdoc ANTLR3::TokenRewriteStream::InsertBefore
118 =begin rdoc ANTLR3::TokenRewriteStream::Replace
156 =begin rdoc ANTLR3::TokenRewriteStream::Delete
264 ANTLR3.bug!( Util.tidy( <<-END ) % [ self.class, operation, other_operaiton ] )
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-streams.rb9 include ANTLR3
244 include ANTLR3::TokenSource
264 @source2.tokens << new_token( 10, :channel => ANTLR3::HIDDEN ) << new_token( 11 )
279 @stream.look.should == ANTLR3::EOF_TOKEN
292 @source.tokens << new_token(12, :channel => ANTLR3::HIDDEN_CHANNEL) <<
301 new_token(13, :channel => ANTLR3::HIDDEN_CHANNEL)
H A Dtest-tree-wizard.rb9 include ANTLR3
10 include ANTLR3::AST
176 assert_kind_of( ANTLR3::TokenScheme, @wizard.token_scheme )
/external/antlr/antlr-3.4/runtime/Ruby/lib/
H A Dantlr3.rb35 =begin rdoc ANTLR3
44 Not all components of the ANTLR3 library are necessary within ANTLR generated
51 The following list gives a brief introduction to each component of the ANTLR3
100 module ANTLR3 module
130 # under normal usage conditions and thus an ANTLR3::Bug error will be
198 end # module ANTLR3
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
H A Dmain-scripts.rb8 ENV[ 'RUBYLIB' ] = ANTLR3.library_path
10 class TestMainUtility < ANTLR3::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dgrammar.rb15 module ANTLR3 module
216 ENV[ 'ANTLR_JAR' ] || ANTLR3.antlr_jar
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
H A DANTLR3.java62 * Invokes the ANTLR3 Translator generator on a grammar file.
65 public class ANTLR3 extends Task { class in inherits:Task
123 public ANTLR3() { method in class:ANTLR3

Completed in 248 milliseconds

1234