code: def _add(self, path_snippet):
      path = self.paths[-1]
      if path:
          path += " " + path_snippet
      else:
          path = path_snippet
      self.paths[-1] = path
  
imports: import re
label_desc: Use image node_id 4 for calling the PathBuilder obj's underlying member method code with example usage: obj._add(path_snippet) without return types