tools/json_schema_compiler/h_generator.py
def _GenerateAsyncResponseArguments(self, params):
    """Generates a function to create the arguments to pass as results to a
    function callback, promise or event details.
    """
    c = Code()
    c.Cblock(self._GenerateTypes((p.type_ for p in params), is_toplevel=True))

    declaration_list = []
    for param in params:
      if param.description:
        c.Comment(param.description)
      declaration_list.append(cpp_util.GetParameterDeclaration(
          param, self._type_helper.GetCppType(param.type_)))
    c.Append('std::vector<base::Value> Create(%s);' %
             ', '.join(declaration_list))
    return c
Generates a function to create the arguments to pass as results to a
    function callback, promise or event details.
    
Generates a function to create the arguments to pass as results to a
function callback, promise or event details.
Generates a function to create the arguments to pass as results to a function callback promise or event details .
def _GenerateAsyncResponseArguments(self, params):
    c = Code()
    c.Cblock(self._GenerateTypes((p.type_ for p in params), is_toplevel=True))
    declaration_list = []
    for param in params:
      if param.description:
        c.Comment(param.description)
      declaration_list.append(cpp_util.GetParameterDeclaration(
          param, self._type_helper.GetCppType(param.type_)))
    c.Append('std::vector<base::Value> Create(%s);' %
             ', '.join(declaration_list))
    return c
def _GenerateAsyncResponseArguments ( self , params ) : c = Code ( ) c . Cblock ( self . _GenerateTypes ( ( p . type_ for p in params ) , is_toplevel = True ) ) declaration_list = [ ] for param in params : if param . description : c . Comment ( param . description ) declaration_list . append ( cpp_util . GetParameterDeclaration ( param , self . _type_helper . GetCppType ( param . type_ ) ) ) c . Append ( 'std::vector<base::Value> Create(%s);' % ', ' . join ( declaration_list ) ) return c
Generates a function to create the arguments to pass as results to a
function callback, promise or event details.
Generates a function to create the arguments to pass as results to a function callback promise or event details .
"""Generates a function to create the arguments to pass as results to a
    function callback, promise or event details.
    """
self
params