code: def add_ops(op_classes):
      """
      Decorator to add default implementation of ops.
      """
  
      def f(cls):
          for op_attr_name, op_class in op_classes.items():
              ops = getattr(cls, f"{op_attr_name}_ops")
              ops_map = getattr(cls, f"{op_attr_name}_op_nodes_map")
              for op in ops:
                  op_node = ops_map[op]
                  if op_node is not None:
                      made_op = _op_maker(op_class, op)
                      setattr(cls, f"visit_{op_node}", made_op)
          return cls
  
      return f
  
imports: from __future__ import annotations
  import ast
  from functools import partial, reduce
  from keyword import iskeyword
  import tokenize
  from typing import Callable, ClassVar, TypeVar
  import numpy
  from pandas.errors import UndefinedVariableError
  import pandas.core.common
  from pandas.core.computation.ops import ARITH_OPS_SYMS, BOOL_OPS_SYMS, CMP_OPS_SYMS, LOCAL_TAG, MATHOPS, REDUCTIONS, UNARY_OPS_SYMS, BinOp, Constant, Div, FuncNode, Op, Term, UnaryOp, is_term
  from pandas.core.computation.parsing import clean_backtick_quoted_toks, tokenize_string
  from pandas.core.computation.scope import Scope
  from pandas.io.formats import printing
label_desc: Use image node_id 12 for calling a global function with example usage: add_ops(op_classes) and returns: f, cls