parameters: (self, feature)
return_statement: return result
docstring: Returns all contained properties associated with 'feature
docstring_summary: Returns all contained properties associated with 'feature
docstring_tokens: Returns all contained properties associated with feature
function: def get_properties(self, feature):
          """Returns all contained properties associated with 'feature'"""
          if not isinstance(feature, b2.build.feature.Feature):
              feature = b2.build.feature.get(feature)
          assert isinstance(feature, b2.build.feature.Feature)
  
          result = []
          for p in self.all_:
              if p.feature() == feature:
                  result.append(p)
          return result
function_tokens: def get_properties ( self , feature ) : if not isinstance ( feature , b2 . build . feature . Feature ) : feature = b2 . build . feature . get ( feature ) assert isinstance ( feature , b2 . build . feature . Feature ) result = [ ] for p in self . all_ : if p . feature ( ) == feature : result . append ( p ) return result