/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
debug-mode.rb | 4 require 'antlr3' 6 require 'antlr3/test/functional' 7 #require 'antlr3/test/diff' 61 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" ] [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
event-hub.rb | 4 module ANTLR3 6 =begin rdoc ANTLR3::Debug::EventHub 15 include ANTLR3::Debug::EventListener
|
socket.rb | 6 module ANTLR3 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/ |
streams.rb | 35 module ANTLR3 38 =begin rdoc ANTLR3::Stream 40 = ANTLR3 Streams 43 recognizers, and then discusses the specific <tt>ANTLR3::Stream</tt> module. 56 Stream hierarchy is implemented in antlr3/stream.rb, which is loaded by default 57 when 'antlr3' is required. 84 defined in antlr3/stream.rb, but antlr3/tree.rb 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 [all...] |
profile.rb | 35 module ANTLR3 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
|
recognizers.rb | 35 module ANTLR3 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::Parse [all...] |
task.rb | 4 require 'antlr3' 10 module ANTLR3 12 =begin rdoc ANTLR3::CompileTask 19 require 'antlr3/task' 21 ANTLR3::CompileTask.define( 136 @antlr_jar = options.fetch( :antlr_jar, ANTLR3.antlr_jar ) 488 end # module ANTLR3
|
util.rb | 4 module ANTLR3
|
dfa.rb | 35 module ANTLR3 37 =begin rdoc ANTLR3::DFA 224 ANTLR3.bug!( Util.tidy( <<-END ) ) 288 ANTLR3.bug!( Util.tidy( <<-END ) )
|
dot.rb | 35 require 'antlr3' 38 module ANTLR3 40 =begin rdoc ANTLR3::DOT
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
auto-ast.rb | 4 require 'antlr3/test/functional' 6 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 [all...] |
construction.rb | 4 require 'antlr3/test/functional' 6 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/ |
scopes.rb | 4 require 'antlr3/test/functional' 6 class TestScopes1 < ANTLR3::Test::Functional 36 class TestScopes2 < ANTLR3::Test::Functional 186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )
|
backtracking.rb | 4 require 'antlr3/test/functional' 6 class TestBacktracking < ANTLR3::Test::Functional
|
calc.rb | 4 require 'antlr3/test/functional' 6 class TestCalcParser < ANTLR3::Test::Functional
|
ll-star.rb | 4 require 'antlr3/test/functional' 6 class TestLLStarParser < ANTLR3::Test::Functional
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
wizard.rb | 35 require 'antlr3' 37 module ANTLR3 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::Patter [all...] |
visitor.rb | 35 module ANTLR3 38 =begin rdoc ANTLR3::AST::Visitor
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
rewrite.rb | 35 module ANTLR3 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/ |
test-streams.rb | 4 require 'antlr3' 9 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)
|
test-tree-wizard.rb | 4 require 'antlr3' 5 require 'antlr3/tree/wizard' 9 include ANTLR3 10 include ANTLR3::AST 176 assert_kind_of( ANTLR3::TokenScheme, @wizard.token_scheme )
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/ |
antlr3.rb | 35 =begin rdoc ANTLR3 44 Not all components of the ANTLR3 library are necessary within ANTLR generated 47 when requiring 'antlr3', only the essential core components are loaded 51 The following list gives a brief introduction to each component of the ANTLR3 54 antlr3/recognizers.rb:: 57 antlr3/dfa.rb:: 60 antlr3/streams.rb:: 63 antlr3/token.rb:: 67 antlr3/error.rb:: 71 antlr3/constants.rb: [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
main-scripts.rb | 4 require 'antlr3' 5 require 'antlr3/test/functional' 8 ENV[ 'RUBYLIB' ] = ANTLR3.library_path 10 class TestMainUtility < ANTLR3::Test::Functional
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
grammar.rb | 4 require 'antlr3' 5 require 'antlr3/test/core-extensions' 6 require 'antlr3/test/call-stack' 15 module ANTLR3 216 ENV[ 'ANTLR_JAR' ] || ANTLR3.antlr_jar
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
ANTLR3.java | 16 * 2006-12-29: Modified to work for antlr3 by J?rgen Pfundt 62 * Invokes the ANTLR3 Translator generator on a grammar file. 65 public class ANTLR3 extends Task { 123 public ANTLR3() { 273 * The depend option is always used implicitely inside the antlr3 task 356 * the directory where the current version of antlr3 is installed */ 365 addClasspathEntry("/org/antlr/tool/ANTLRParser.class", "AntLR3"); 405 * to the installation directory of antlr3 then look for all antlr-*.jar and
|