class_docstr: Look for result type
class_docstr_tok: ["Look","for","result","type"]
code: def parse(self, elem, ctxt):
      if (
          ctxt.curr_class
          and ctxt.access
          and any(
              x in ctxt.curr_class
              for x in ["Batch", "Online", "Distributed"]
          )
      ):
          regex = r"\s*(?:(?:virtual|const)\s+)?((\w|::|< *| *>)+)\s+(getResult\w*).+"
          m = re.match(regex, elem)
          if (
              m
              and not m.group(3).endswith("Impl")
              and "return" not in m.group(1)
          ):
              ctxt.gdict["classes"][ctxt.curr_class].result = (
                  m.group(1),
                  m.group(3),
              )
      return False
  
imports: import re
  from collections import OrderedDict, defaultdict
label_desc: Use image node_id 1 for calling the result_parser obj's underlying member method code with example usage: obj.parse(elem, ctxt) and returns: False