code: def __init__(self) -> None:
      import re
  
      # [kernel_name, c signature]
      self.linker_directives = re.compile(
          "//[\\s]*tt-linker:[\\s]*([\\w]+):(.+):(.+)"
      )
      # [name, hash, suffix]
      self.kernel_name = re.compile("^([\\w]+)_([\\w]+)_([\\w]+)$")
      # [(type, name)]
      self.c_sig = re.compile("[\\s]*(\\w+)\\s(\\w+)[,]?")
      # [d|c]
      self.arg_suffix = re.compile("[c,d]")
  
      self.kernels = defaultdict(list)
  
imports: from collections import defaultdict
  from pathlib import Path
  from typing import Sequence, Union
  from dataclasses import dataclass
label_desc: Use image node_id 1 to create a new HeaderParser object  with example: obj = HeaderParser()