parameters: (self, func, file)
docstring: Writes the service implementation for an immediate version of command.
docstring_summary: Writes the service implementation for an immediate version of command.
docstring_tokens: Writes the service implementation for an immediate version of command .
function: def WriteImmediateServiceImplementation(self, func, file):
      """Writes the service implementation for an immediate version of command."""
      file.Write(
          "error::Error GLES2DecoderImpl::Handle%s(\n" % func.name)
      file.Write(
          "    uint32 immediate_data_size, const gles2::cmds::%s& c) {\n" %
          func.name)
      self.WriteHandlerDeferReadWrite(func, file);
      last_arg = func.GetLastOriginalArg()
      all_but_last_arg = func.GetOriginalArgs()[:-1]
      for arg in all_but_last_arg:
        arg.WriteGetCode(file)
      self.WriteGetDataSizeCode(func, file)
      last_arg.WriteGetCode(file)
      func.WriteHandlerValidation(file)
      func.WriteHandlerImplementation(file)
      file.Write("  return error::kNoError;\n")
      file.Write("}\n")
      file.Write("\n")
function_tokens: def WriteImmediateServiceImplementation ( self , func , file ) : file . Write ( "error::Error GLES2DecoderImpl::Handle%s(\n" % func . name ) file . Write ( "    uint32 immediate_data_size, const gles2::cmds::%s& c) {\n" % func . name ) self . WriteHandlerDeferReadWrite ( func , file ) last_arg = func . GetLastOriginalArg ( ) all_but_last_arg = func . GetOriginalArgs ( ) [ : - 1 ] for arg in all_but_last_arg : arg . WriteGetCode ( file ) self . WriteGetDataSizeCode ( func , file ) last_arg . WriteGetCode ( file ) func . WriteHandlerValidation ( file ) func . WriteHandlerImplementation ( file ) file . Write ( "  return error::kNoError;\n" ) file . Write ( "}\n" ) file . Write ( "\n" )