ppapi/generators/idl_node.py
def Error(self, msg):
    """Log an error for this object."""
    self.errors += 1
    ErrOut.LogLine(self._filename, self.lineno, 0, ' %s %s' %
                   (str(self), msg))
    filenode = self.GetProperty('FILE')
    if filenode:
      errcnt = filenode.GetProperty('ERRORS')
      if not errcnt:
        errcnt = 0
      filenode.SetProperty('ERRORS', errcnt + 1)
Log an error for this object.
Log an error for this object.
Log an error for this object .
def Error(self, msg):
    self.errors += 1
    ErrOut.LogLine(self._filename, self.lineno, 0, ' %s %s' %
                   (str(self), msg))
    filenode = self.GetProperty('FILE')
    if filenode:
      errcnt = filenode.GetProperty('ERRORS')
      if not errcnt:
        errcnt = 0
      filenode.SetProperty('ERRORS', errcnt + 1)
def Error ( self , msg ) : self . errors += 1 ErrOut . LogLine ( self . _filename , self . lineno , 0 , ' %s %s' % ( str ( self ) , msg ) ) filenode = self . GetProperty ( 'FILE' ) if filenode : errcnt = filenode . GetProperty ( 'ERRORS' ) if not errcnt : errcnt = 0 filenode . SetProperty ( 'ERRORS' , errcnt + 1 )
Log an error for this object.
Log an error for this object .
"""Log an error for this object."""
self
msg