code: def parameterized(*params):
      """Decorator to create parameterized rules.
  
      Parameterized rule methods must be named starting with 'p_' and contain
      'xxx', and their docstrings may contain 'xxx' and 'yyy'. These will be
      replaced by the given parameter tuples. For example, ``p_xxx_rule()`` with
      docstring 'xxx_rule  : yyy' when decorated with
      ``@parameterized(('id', 'ID'))`` produces ``p_id_rule()`` with the docstring
      'id_rule  : ID'. Using multiple tuples produces multiple rules.
      """
  
      def decorate(rule_func):
          rule_func._params = params
          return rule_func
  
      return decorate
  
file_path: catboost/contrib/python/pycparser/py2/pycparser/plyparser.py
imports: import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: parameterized() and returns: decorate, rule_func