# psLib

exception fontTools.misc.psLib.PSError
  add_note()

    Exception.add_note(note) – add a note to the exception

  args
  with_traceback()

    Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class fontTools.misc.psLib.PSInterpreter(encoding='ascii')
  call_procedure(proc)
  close()

    Remove circular references.

  do_comment(token)
  do_hexstring(token)
  do_literal(token)
  do_makearray()
  do_special(token)
  do_string(token)
  do_token(token, int=<class 'int'>, float=<class 'float'>, ps_name=<class 'fontTools.misc.psOperators.ps_name'>, ps_integer=<class 'fontTools.misc.psOperators.ps_integer'>, ps_real=<class 'fontTools.misc.psOperators.ps_real'>)
  fillsystemdict()
  handle_object(object)
  interpret(data, getattr=<built-in function getattr>)
  pop(*types)
  proc_bind(proc)
  ps_anchorsearch()
  ps_array()
  ps_astore()
  ps_begin()
  ps_bind()
  ps_cleartomark()
  ps_closefile()
  ps_count()
  ps_currentdict()
  ps_currentfile()
  ps_cvn()
  ps_cvx()
  ps_def()
  ps_definefont()
  ps_dict()
  ps_dup()
  ps_eexec()
  ps_end()
  ps_eq()
  ps_exch()
  ps_exec()
  ps_executeonly()
  ps_findfont()
  ps_for()
  ps_forall()
  ps_get()
  ps_getinterval()
  ps_if()
  ps_ifelse()
  ps_index()
  ps_known()
  ps_load()
  ps_matrix()
  ps_ne()
  ps_noaccess()
  ps_not()
  ps_pop()
  ps_print()
  ps_put()
  ps_putinterval()
  ps_readonly()
  ps_readstring(ps_boolean=<class 'fontTools.misc.psOperators.ps_boolean'>, len=<built-in function len>)
  ps_store()
  ps_string()
  ps_systemdict()
  ps_type()
  ps_userdict()
  ps_where()
  push(object)
  resolve_name(name)
  suckoperators(systemdict, klass)

exception fontTools.misc.psLib.PSTokenError
  add_note()

    Exception.add_note(note) – add a note to the exception

  args
  with_traceback()

    Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class fontTools.misc.psLib.PSTokenizer(buf=b'', encoding='ascii')
  close()
  getnexttoken(len=<built-in function len>, ps_special=b'()<>[]{}%', stringmatch=<built-in method match of re.Pattern object>, hexstringmatch=<built-in method match of re.Pattern object>, commentmatch=<built-in method match of re.Pattern object>, endmatch=<built-in method match of re.Pattern object>)
  read(n=-1)

    Read at most ‘n’ bytes from the buffer, or less if the read hits EOF before obtaining ‘n’ bytes. If ‘n’ is negative or omitted, read all data until EOF is reached.

  skipwhite(whitematch=<built-in method match of re.Pattern object>)
  starteexec()
  stopeexec()

fontTools.misc.psLib.suckfont(data, encoding='ascii')

fontTools.misc.psLib.unpack_item(item)