code: def getuntil(self, terminator, name):
      result = ""
      while True:
          c = self.next
          self.__next()
          if c is None:
              if not result:
                  raise self.error("missing " + name)
              raise self.error(
                  "missing %s, unterminated name" % terminator,
                  len(result),
              )
          if c == terminator:
              if not result:
                  raise self.error("missing " + name, 1)
              break
          result += c
      return result
  
imports: from ._constants import *
label_desc: Use image node_id 6 for calling the Tokenizer obj's underlying member method code with example usage: obj.getuntil(terminator, name) and returns: result