class_docstr: Replace all known pattern by pythran function call.
  
  Based on BaseMatcher to search correct pattern.
code: def apply_patterns(self, node, patterns):
      for pattern in patterns:
          matcher = pattern()
          if matcher.match(node):
              self.extra_imports.extend(matcher.imports())
              node = matcher.replace()
              self.update = True
      return self.generic_visit(node)
  
imports: from pythran.conversion import mangle
  from pythran.analyses import Check, Placeholder, AST_or
  from pythran.passmanager import Transformation
  from copy import deepcopy
  import gast
  from inspect import isclass
label_desc: Use image node_id 3 for calling the PatternTransform obj's underlying member method code with example usage: obj.apply_patterns(node, patterns) and returns: self