Home
last modified time | relevance | path

Searched refs:token_class (Results 1 – 8 of 8) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtoken.rb353 def token_class method
355 self.class.token_class rescue
363 token_class.new( *args ) do |*targs|
367 token_class.new( *args )
505 self.token_class = tk_class
647 def token_class method in ANTLR3.TokenScheme
651 def token_class=( klass )
Derror.rb198 token_class = @input.token_class rescue CommonToken
199 @token = token_class.new
Drecognizers.rb318 def token_class
321 superclass.token_class rescue
1290 when @input.token_class then @input.token_class.new
Dstreams.rb838 def token_class method in ANTLR3.StringStream.CommonTokenStream
839 @token_source.token_class
Dtree.rb831 def initialize( token_class = ANTLR3::CommonToken ) argument
832 @token_class = token_class
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
Dast-builder.rb19 AST::CommonTreeAdaptor.new( token_class )
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-tree-wizard.rb88 @adaptor = CommonTreeAdaptor.new( Tokens.token_class )
89 @pattern_adaptor = Wizard::PatternAdaptor.new( Tokens.token_class )
163 @adaptor = CommonTreeAdaptor.new( Tokens.token_class )
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb285 pattern_str, scheme, PatternAdaptor.new( scheme.token_class )
333 CommonTreeAdaptor.new( @token_scheme.token_class )