code: def _add_constants(self, key, val):
      if key in self._int_constants:
          if self._int_constants[key] == val:
              return  # ignore identical double declarations
          raise FFIError(
              "multiple declarations of constant: %s" % (key,)
          )
      self._int_constants[key] = val
  
imports: from .None import model
  from .commontypes import COMMON_TYPES, resolve_common_type
  from .error import FFIError, CDefError
  import weakref, re, sys
label_desc: Use image node_id 7 for calling the Parser obj's underlying member method code with example usage: obj._add_constants(key, val) without return types