Lines Matching refs:token_names
517 token_names[ type ] or super
530 def self.build( *token_names ) argument
531 token_names = [ token_names ].flatten!
532 token_names.compact!
533 token_names.uniq!
534 tk_class = Class === token_names.first ? token_names.shift : nil
535 value_maps, names = token_names.partition { |i| Hash === i }
607 if token_names.has_key?( type_value )
608 current_name = token_names[ type_value ]
613 token_names[ type_value ] = name
625 token_names[ type_value ] = name.to_s.freeze
635 when Integer then token_names.has_key?( name_or_value )
642 when Integer then token_names.fetch( name_or_value, nil )
643 else const_get( name_or_value.to_s ) rescue token_names.index( name_or_value )