tools/json_schema_compiler/js_interface_generator.py
def _AppendEvent(self, c, event):
    """Appends the interface for an event.
    """
    c.Sblock(line='/**', line_prefix=' * ')
    if (event.description):
      c.Comment(event.description, comment_prefix='')
    c.Append('@type {!ChromeEvent}')
    self._js_util.AppendSeeLink(c, self._namespace.name, 'event', event.name)
    c.Eblock(' */')

    c.Append('%s.prototype.%s;' % (self._interface, event.name))

    c.Append()
Appends the interface for an event.
    
Appends the interface for an event.
Appends the interface for an event .
def _AppendEvent(self, c, event):
    c.Sblock(line='/**', line_prefix=' * ')
    if (event.description):
      c.Comment(event.description, comment_prefix='')
    c.Append('@type {!ChromeEvent}')
    self._js_util.AppendSeeLink(c, self._namespace.name, 'event', event.name)
    c.Eblock(' */')
    c.Append('%s.prototype.%s;' % (self._interface, event.name))
    c.Append()
def _AppendEvent ( self , c , event ) : c . Sblock ( line = '/**' , line_prefix = ' * ' ) if ( event . description ) : c . Comment ( event . description , comment_prefix = '' ) c . Append ( '@type {!ChromeEvent}' ) self . _js_util . AppendSeeLink ( c , self . _namespace . name , 'event' , event . name ) c . Eblock ( ' */' ) c . Append ( '%s.prototype.%s;' % ( self . _interface , event . name ) ) c . Append ( )
Appends the interface for an event.
Appends the interface for an event .
"""Appends the interface for an event.
    """
self
c
event