class_docstr: Wrapper for parse actions, to ensure they are only called once.
code: def __call__(self, s, l, t):
      if not self.called:
          results = self.callable(s, l, t)
          self.called = True
          return results
      raise ParseException(
          s, l, "OnlyOnce obj called multiple times w/out reset"
      )
  
file_path: catboost/contrib/python/pyparsing/py3/pyparsing/actions.py
imports: from .exceptions import ParseException
  from .util import col, replaced_by_pep8
label_desc: Use image node_id 2 for calling the OnlyOnce obj's underlying member method code with example usage: obj.__call__(s, l, t) and returns: results