code: def construct_yaml_int(self, node):
      value = self.construct_scalar(node)
      value = value.replace("_", "")
      sign = +1
      if value[0] == "-":
          sign = -1
      if value[0] in "+-":
          value = value[1:]
      if value == "0":
          return 0
      elif value.startswith("0b"):
          return sign * int(value[2:], 2)
      elif value.startswith("0x"):
          return sign * int(value[2:], 16)
      elif value[0] == "0":
          return sign * int(value, 8)
      elif ":" in value:
          digits = [int(part) for part in value.split(":")]
          digits.reverse()
          base = 1
          value = 0
          for digit in digits:
              value += digit * base
              base *= 60
          return sign * value
      else:
          return sign * int(value)
  
imports: from .error import *
  from .nodes import *
  import collections.abc, datetime, base64, binascii, re, sys, types
label_desc: Use image node_id 6 for calling the SafeConstructor obj's underlying member method code with example usage: obj.construct_yaml_int(node) and returns: int, unknown, unknown, unknown, unknown, unknown