class_docstr: Parse a typedef
class_docstr_tok: ["Parse","a","typedef"]
code: def parse(self, elem, ctxt):
      m = re.match(
          r"\s*typedef(\s+(struct|typename))?\s+(.+)\s+(\w+).*", elem
      )
      if m:
          if ctxt.curr_class:
              ctxt.gdict["classes"][ctxt.curr_class].typedefs[
                  m.group(4).strip()
              ] = m.group(3).strip()
          else:
              ctxt.gdict["typedefs"][m.group(4).strip()] = m.group(
                  3
              ).strip()
          return True
      return False
  
imports: import re
  from collections import OrderedDict, defaultdict
label_desc: Use image node_id 1 for calling the typedef_parser obj's underlying member method code with example usage: obj.parse(elem, ctxt) and returns: False, True