parameters: (self, c, js_type)
docstring: Appends the documentation for a type as a Code.
docstring_summary: Appends the documentation for a type as a Code.
docstring_tokens: Appends the documentation for a type as a Code .
function: def _AppendTypeJsDoc(self, c, js_type):
      """Appends the documentation for a type as a Code.
      """
      c.Sblock(line='/**', line_prefix=' * ')
  
      if js_type.description:
        for line in js_type.description.splitlines():
          c.Append(line)
  
      is_constructor = self._IsTypeConstructor(js_type)
      if is_constructor:
        c.Comment('@constructor', comment_prefix = ' * ', wrap_indent=4)
      else:
        self._AppendTypedef(c, js_type.properties)
  
      c.Append(self._js_util.GetSeeLink(self._namespace.name, 'type',
                                        js_type.simple_name))
      c.Eblock(' */')
  
      var = 'chrome.%s.%s' % (js_type.namespace.name, js_type.simple_name)
      if is_constructor: var += ' = function() {}'
      var += ';'
      c.Append(var)
function_tokens: def _AppendTypeJsDoc ( self , c , js_type ) : c . Sblock ( line = '/**' , line_prefix = ' * ' ) if js_type . description : for line in js_type . description . splitlines ( ) : c . Append ( line ) is_constructor = self . _IsTypeConstructor ( js_type ) if is_constructor : c . Comment ( '@constructor' , comment_prefix = ' * ' , wrap_indent = 4 ) else : self . _AppendTypedef ( c , js_type . properties ) c . Append ( self . _js_util . GetSeeLink ( self . _namespace . name , 'type' , js_type . simple_name ) ) c . Eblock ( ' */' ) var = 'chrome.%s.%s' % ( js_type . namespace . name , js_type . simple_name ) if is_constructor : var += ' = function() {}' var += ';' c . Append ( var )