original_docstring: Writes the service implementation for a command.
docstring: Writes the service implementation for a command.
docstring_tokens: Writes the service implementation for a command .
code: def WriteServiceImplementation(self, func, file):
      """Writes the service implementation for a command."""
      self.WriteServiceHandlerFunctionHeader(func, file)
      self.WriteHandlerExtensionCheck(func, file)
      self.WriteHandlerDeferReadWrite(func, file);
      if len(func.GetOriginalArgs()) > 0:
        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")
code_tokens: def WriteServiceImplementation ( self , func , file ) : self . WriteServiceHandlerFunctionHeader ( func , file ) self . WriteHandlerExtensionCheck ( func , file ) self . WriteHandlerDeferReadWrite ( func , file ) ; if len ( func . GetOriginalArgs ( ) ) > 0 : 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" )
short_docstring: Writes the service implementation for a command.
short_docstring_tokens: Writes the service implementation for a command .
comment: """Writes the service implementation for a command."""