Home
last modified time | relevance | path

Searched refs:token_name (Results 1 – 7 of 7) sorted by relevance

/external/antlr/runtime/Ruby/test/unit/
Dtest-scheme.rb38 @ts.token_name(5).should == 'B'
39 @ts.token_name(6).should == "'+'"
40 @ts.token_name(-1).should == '<EOF>'
41 @ts.token_name(7).should == '<UNKNOWN: 7>'
/external/antlr/runtime/Ruby/lib/antlr3/
Drecognizers.rb436 token_name = token_name( e.expecting )
437 "extraneous input #{ token_error_display( e.unexpected_token ) } expecting #{ token_name }"
439 token_name = token_name( e.expecting )
440 "missing #{ token_name } at #{ token_error_display( e.symbol ) }"
442 token_name = token_name( e.expecting )
443 "mismatched input #{ token_error_display( e.symbol ) } expecting #{ token_name }"
445 token_name = token_name( e.expecting )
446 "mismatched tree node: #{ e.symbol } expecting #{ token_name }"
479 when name = token_name( token.type ) rescue nil then "<#{ name }>"
Dtoken.rb155 token_name( type )
208 def token_name( type ) method
252 def self.token_name( type ) singletonMethod in ANTLR3.CommonToken
519 ::ANTLR3::CommonToken.token_name( type )
557 for token_name, token_value in token_map
558 define_token( token_name, token_value )
Dtree.rb124 name = token_name( expected_token_type ).to_s
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DBaseRecognizer.pm177 my $token_name;
179 $token_name = 'EOF';
181 $token_name = $token_names->[$e->get_expecting];
185 . ' expecting ' . $token_name;
187 my $token_name;
189 $token_name = 'EOF';
191 $token_name = $token_names->[$e->get_expecting];
195 . ' expecting ' . $token_name;
/external/antlr/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb252 token_name = @tokenizer.text
254 token_name == 'nil' and return @adaptor.create_flat_list
256 text = token_name
264 node_type = @token_scheme[ token_name ] || INVALID_TOKEN_TYPE
/external/mesa3d/src/intel/genxml/
Dgen_bits_header.py172 self.token_name = safe_name(name)
215 self.token_name = safe_name('_'.join([container.name, self.name]))