OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ANTLR3
(Results
1 - 25
of
77
) sorted by null
1
2
3
4
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-exceptions.rb
4
require '
antlr3
'
8
include
ANTLR3
::Error
10
describe(
ANTLR3
::Error ) do
14
ANTLR3
.bug!( 'whateva' )
15
}.should raise_error(
ANTLR3
::Bug )
test-dfa.rb
4
require '
antlr3
'
8
class DFASubclass <
ANTLR3
::DFA
49
ANTLR3
::DFA.unpack(*packed).should == unpacked
test-scope.rb
4
require '
antlr3
'
10
@A =
ANTLR3
::Scope.new( :a, :b )
11
@B =
ANTLR3
::Scope.new( 'count = 3' )
12
@C =
ANTLR3
::Scope.new( 'a', 'b = 0', 'c = {}' )
test-recognizers.rb
4
require '
antlr3
'
8
include
ANTLR3
39
@antlr_version =
ANTLR3
::ANTLR_VERSION.dup
/external/antlr/antlr-3.4/runtime/Ruby/
rakefile
4
require '
antlr3
'
7
Hoe.spec "
antlr3
" do
8
self.version =
ANTLR3
::VERSION_STRING
9
self.rubyforge_name = "
antlr3
"
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
xml.rb
4
require '
antlr3
/test/functional'
6
class XMLLexerTest <
ANTLR3
::Test::Functional
12
include
ANTLR3
::Test::CaptureOutput
13
include
ANTLR3
::Test::RaiseErrors
syn-pred.rb
4
require '
antlr3
/test/functional'
6
class TestSyntacticPredicate <
ANTLR3
::Test::Functional
properties.rb
4
require '
antlr3
/test/functional'
6
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
basic.rb
3
require '
antlr3
/test/functional'
5
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
[
all
...]
nuances.rb
4
require '
antlr3
/test/functional'
6
class TestBug80 <
ANTLR3
::Test::Functional
29
class TestEOF <
ANTLR3
::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
filter.rb
4
require '
antlr3
'
6
module
ANTLR3
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/
record-event-listener.rb
4
module
ANTLR3
7
=begin rdoc
ANTLR3
::Debug::RecordEventListener
25
end # module
ANTLR3
rule-tracer.rb
4
module
ANTLR3
6
=begin rdoc
ANTLR3
::Debug::RuleTracer
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
version.rb
4
module
ANTLR3
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file.rb
10
require '
antlr3
/template/group-file-lexer'
11
require '
antlr3
/template/group-file-parser'
13
module
ANTLR3
group-file-parser.rb
19
Failed to load the
ANTLR3
runtime library (version 1.7.5):
25
gem install
antlr3
33
defined?(
ANTLR3
) or begin
35
# 1: try to load the ruby
antlr3
runtime library from the system path
36
require '
antlr3
'
47
# 3: try to activate the
antlr3
gem
49
Gem.activate( '
antlr3
', '~> 1.7.5' )
54
require '
antlr3
'
63
module
ANTLR3
73
const_defined?( :TokenData ) or TokenData =
ANTLR3
::TokenScheme.ne
[
all
...]
group-file-lexer.rb
19
Failed to load the
ANTLR3
runtime library (version 1.7.5):
25
gem install
antlr3
33
defined?(
ANTLR3
) or begin
35
# 1: try to load the ruby
antlr3
runtime library from the system path
36
require '
antlr3
'
47
# 3: try to activate the
antlr3
gem
49
Gem.activate( '
antlr3
', '~> 1.7.5' )
54
require '
antlr3
'
63
module
ANTLR3
73
const_defined?( :TokenData ) or TokenData =
ANTLR3
::TokenScheme.ne
[
all
...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
hetero-nodes.rb
4
require '
antlr3
/test/functional'
7
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
::CommonTre
[
all
...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/
basic.rb
4
require '
antlr3
/test/functional'
6
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
[
all
...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
actions.rb
4
require '
antlr3
/test/functional'
6
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
nuances.rb
4
require '
antlr3
/test/functional'
6
class TestEmptyAlternative <
ANTLR3
::Test::Functional
35
class TestSubrulePrediction <
ANTLR3
::Test::Functional
66
class TestSpecialStates <
ANTLR3
::Test::Functional
122
class TestDFABug <
ANTLR3
::Test::Functional
predicates.rb
4
require '
antlr3
/test/functional'
6
class TestPredicateHoist <
ANTLR3
::Test::Functional
69
class TestSyntacticPredicate <
ANTLR3
::Test::Functional
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
basic.rb
4
require '
antlr3
/test/functional'
6
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 )
via-parser.rb
4
require '
antlr3
/test/functional'
6
class TestRewritingWhileParsing <
ANTLR3
::Test::Functional
92
tokens =
ANTLR3
::TokenRewriteStream.new( lexer )
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/
import.rb
4
require '
antlr3
/test/functional'
6
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
[
all
...]
Completed in 482 milliseconds
1
2
3
4