original_docstring: Writes the client side destintion initialization validation if needed.
docstring: Writes the client side destintion initialization validation if needed.
docstring_tokens: Writes the client side destintion initialization validation if needed .
code: def WriteDestinationInitalizationValidatationIfNeeded(self, file, func):
      """Writes the client side destintion initialization validation if needed."""
      parts = self.type.split(" ")
      if len(parts) > 1:
        return
      if parts[0] in self.need_validation_:
        file.Write(
            "  GPU_CLIENT_VALIDATE_DESTINATION_%sINITALIZATION(%s, %s);\n" %
            ("OPTIONAL_" if self.optional else "", self.type[:-1], self.name))
code_tokens: def WriteDestinationInitalizationValidatationIfNeeded ( self , file , func ) : parts = self . type . split ( " " ) if len ( parts ) > 1 : return if parts [ 0 ] in self . need_validation_ : file . Write ( "  GPU_CLIENT_VALIDATE_DESTINATION_%sINITALIZATION(%s, %s);\n" % ( "OPTIONAL_" if self . optional else "" , self . type [ : - 1 ] , self . name ) )
short_docstring: Writes the client side destintion initialization validation if needed.
short_docstring_tokens: Writes the client side destintion initialization validation if needed .
comment: """Writes the client side destintion initialization validation if needed."""