Searched refs:ANTLR3 (Results 26 - 50 of 77) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Drule-methods.rb6 class TestParameters < ANTLR3::Test::Functional
55 class TestMultipleReturnValues < ANTLR3::Test::Functional
111 class TestRuleVisibility < ANTLR3::Test::Functional
H A Dbasic.rb6 class TestParser001 < ANTLR3::Test::Functional
37 input = ANTLR3::StringStream.new( 'blah_de_blah', :file => 'blah.txt' )
39 tokens = ANTLR3::CommonTokenStream.new( lexer )
73 class TestParser002 < ANTLR3::Test::Functional
155 class TestParser003 < ANTLR3::Test::Functional
H A Dproperties.rb6 class TestRulePropertyReference < ANTLR3::Test::Functional
53 class TestLabels < ANTLR3::Test::Functional
106 class TestTokenLabelReference < ANTLR3::Test::Functional
174 class TestRuleLabelReference < ANTLR3::Test::Functional
225 class TestReferenceDoesntSetChannel < ANTLR3::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
H A Dast-builder.rb6 module ANTLR3 module
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dmain.rb37 module ANTLR3 module
39 =begin rdoc ANTLR3::Main
48 =begin rdoc ANTLR3::Main::Options
111 =begin rdoc ANTLR3::Main::Main
145 ANTLR3::FileStream.new( args[ 0 ] )
146 else ANTLR3::FileStream.new( @input )
312 =begin rdoc ANTLR3::Main::LexerMain
330 if token.nil? || token.type == ANTLR3::EOF then break
333 rescue ANTLR3::RecognitionError => error
342 when ANTLR3
[all...]
H A Derror.rb35 # ANTLR3 exception hierarchy
36 # - ported from the ANTLR3 Python Runtime library by
38 module ANTLR3 module
47 =begin rdoc ANTLR3::Error::BacktrackingFailed
96 =begin rdoc ANTLR3::Error::RecognitionError
106 include ANTLR3::Constants
207 =begin rdoc ANTLR3::Error::MismatchedToken
230 =begin rdoc ANTLR3::Error::UnwantedToken
248 =begin rdoc ANTLR3::Error::MissingToken
282 tokens = ANTLR3
[all...]
H A Dtoken.rb35 module ANTLR3 module
37 =begin rdoc ANTLR3::Token
63 checking, it's a good idea to include this ANTLR3::Token into your customized
69 include ANTLR3::Constants
216 =begin rdoc ANTLR3::CommonToken
295 =begin rdoc ANTLR3::TokenSource
337 =begin rdoc ANTLR3::TokenFactory
345 ANTLR3::CommonToken). Token classes are presumed to have an #initialize method
347 have the standard token attributes (see ANTLR3::Token).
357 ANTLR3
[all...]
H A Dtemplate.rb7 module ANTLR3 module
16 @template_library ||= ANTLR3::Template::Group.new
25 ANTLR3::Template::Group.load( group_file )
40 self.class.template_library or ANTLR3::Template::Group.new
76 | to a ANTLR3::TokenStream object as #{ self.class }
109 input = ANTLR3::FileStream.new( group_file, options )
H A Ddebug.rb37 module ANTLR3 module
39 =begin rdoc ANTLR3::Debug
97 =begin rdoc ANTLR3::Debug::RecognizerSharedState
99 ANTLR3::Debug::RecognizerSharedState is identical to
100 ANTLR3::RecognizerSharedState, but adds additional fields used for recognizers
136 =begin rdoc ANTLR3::Debug::ParserEvents
144 include ANTLR3::Error
234 ANTLR3::RecognitionError === exc and
286 =begin rdoc ANTLR3::Debug::TokenStream
369 =begin rdoc ANTLR3
[all...]
H A Dtree.rb37 module ANTLR3 module
39 =begin rdoc ANTLR3::AST
55 =begin rdoc ANTLR3::AST::TreeParser
107 main = ANTLR3::Main::WalkerMain.new( self, options )
190 =begin rdoc ANTLR3::AST::Tree
303 =begin rdoc ANTLR3::AST::BaseTree
448 =begin rdoc ANTLR3::AST::CommonTree
600 =begin rdoc ANTLR3::AST::CommonErrorNode
607 include ANTLR3::Error
608 include ANTLR3
[all...]
H A Dconstants.rb35 module ANTLR3 module
38 =begin rdoc ANTLR3::Constants
61 # built-in token types used internally by ANTLR3
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-scheme.rb7 include ANTLR3
H A Dtest-template.rb8 include ANTLR3
74 include ANTLR3::Util
129 include ANTLR3::Util
133 extend ANTLR3::Util
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Dtrace-event-listener.rb4 module ANTLR3 module
6 =begin rdoc ANTLR3::Debug::EventListener
20 @adaptor = adaptor ||= ANTLR3::AST::CommonTreeAdaptor.new
92 end # module ANTLR3
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Ddebug.rb4 module ANTLR3 module
6 =begin rdoc ANTLR3::Debug::TreeAdaptor
104 =begin rdoc ANTLR3::Debug::TreeNodeStream
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
H A Dtemplate-output.rb6 class TestTemplateOutput < ANTLR3::Test::Functional
29 ANTLR3::Template::Group.parse( source.fixed_indent( 0 ) )
55 templates = ANTLR3::Template::Group.new do
179 templates = ANTLR3::Template::Group.new do
395 tokens = ANTLR3::TokenRewriteStream.new( lexer )
398 nodes = ANTLR3::AST::CommonTreeNodeStream.new( tree )
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Dinteractive.rb4 module ANTLR3 module
6 =begin rdoc ANTLR3::Main::InteractiveStringStream
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/
H A Dantlr3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dparameter.rb3 module ANTLR3 module
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
H A Drule-tracing.rb6 class TestRuleTracing < ANTLR3::Test::Functional
H A Dprofile-mode.rb6 class TestProfileMode < ANTLR3::Test::Functional
127 tokens = ANTLR3::CommonTokenStream.new( lexer )
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
H A Dfilter-mode.rb6 class TestFilterMode < ANTLR3::Test::Functional
98 class TestFuzzy < ANTLR3::Test::Functional
108 include ANTLR3::Test::CaptureOutput
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Drewrites.rb6 class TestASTViaRewriteRules < 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...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
H A DRuby.stg41 Failed to load the ANTLR3 runtime library (version <runtimeLibraryVersion()>):
55 defined?( ANTLR3 ) or begin
104 const_defined?( :TokenData ) or TokenData = ANTLR3::TokenScheme.new
168 ASTLabelType="Object", superClass="ANTLR3::Parser", labelType="ANTLR3::Token",
174 <parserBody(inputStreamType="ANTLR3::TokenStream", rewriteElementType="Token", actionScope="parser", ...)>
185 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object", superClass="ANTLR3::TreeParser", members={<actions.treeparser.members>}) ::= <<
424 @state.backtracking > 0 and raise( ANTLR3::Error::BacktrackingFailed )<\n>
446 rescue ANTLR3::Error::RecognitionError => re
888 class DFA<dfa.decisionNumber> \< ANTLR3
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dfunctional.rb12 module ANTLR3 module
67 if ANTLR_JAR = ENV[ 'ANTLR_JAR' ] || ANTLR3.antlr_jar
231 end # module ANTLR3

Completed in 1654 milliseconds

1234