Searched refs:token_name (Results 1 - 12 of 12) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A 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/bison/src/
H A Dreader.h41 char const *token_name (int type);
H A Dparse-gram.y777 token_name (int type)
H A Dparse-gram.c3242 token_name (int type) function
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A 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/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtoken.rb155 token_name( type )
208 def token_name( type ) method in class:ANTLR3.Token
252 def self.token_name( type ) singleton method in class:ANTLR3.CommonToken
468 TokenData.token_name(4) # => 'INT'
469 TokenData.token_name(5) # => "'='"
481 method <tt>token_name(type)</tt>, instances of the token class are now able to
483 <tt>token_name</tt> method to provide the type name as if it were a simple
515 define_method( :token_name ) do |type|
519 ::ANTLR3::CommonToken.token_name( type )
522 module_function :token_name,
[all...]
H A 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
[all...]
H A Dtree.rb124 name = token_name( expected_token_type ).to_s
/external/libchrome/base/threading/
H A Dsequenced_worker_pool.h286 bool PostNamedSequencedWorkerTask(const std::string& token_name,
H A Dsequenced_worker_pool.cc1353 const std::string& token_name,
1356 DCHECK(!token_name.empty());
1357 return inner_->PostTask(&token_name, SequenceToken(), BLOCK_SHUTDOWN,
1352 PostNamedSequencedWorkerTask( const std::string& token_name, const tracked_objects::Location& from_here, const Closure& task) argument
/external/libchrome/base/
H A Dsequence_checker_unittest.cc81 const std::string& token_name) {
83 token_name,
80 PostDoStuffToWorkerPool(SequenceCheckedObject* sequence_checked_object, const std::string& token_name) argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A 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

Completed in 889 milliseconds