parameters: (self, feature)
return_statement: return self.feature_map_.get(feature, [])
docstring: Returns all values of 'feature'.
docstring_summary: Returns all values of 'feature'.
docstring_tokens: Returns all values of feature .
function: def get (self, feature):
          """ Returns all values of 'feature'.
          """
          if type(feature) == type([]):
              feature = feature[0]
          if not isinstance(feature, b2.build.feature.Feature):
              feature = b2.build.feature.get(feature)
          assert isinstance(feature, b2.build.feature.Feature)
  
          if not self.feature_map_:
              self.feature_map_ = {}
  
              for v in self.all_:
                  if not self.feature_map_.has_key(v.feature()):
                      self.feature_map_[v.feature()] = []
                  self.feature_map_[v.feature()].append(v.value())
  
          return self.feature_map_.get(feature, [])
function_tokens: def get ( self , feature ) : if type ( feature ) == type ( [ ] ) : feature = feature [ 0 ] if not isinstance ( feature , b2 . build . feature . Feature ) : feature = b2 . build . feature . get ( feature ) assert isinstance ( feature , b2 . build . feature . Feature ) if not self . feature_map_ : self . feature_map_ = { } for v in self . all_ : if not self . feature_map_ . has_key ( v . feature ( ) ) : self . feature_map_ [ v . feature ( ) ] = [ ] self . feature_map_ [ v . feature ( ) ] . append ( v . value ( ) ) return self . feature_map_ . get ( feature , [ ] )