pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1147:    *!    *! @note    *! @[predef::types()] was added in Pike 7.9.    *!    *! @seealso    *! @[predef::types()], @[lfun::_indices()], @[lfun::_values()],    *! @[::_types()]    */      /*! @decl void lfun::_serialize(object o, @ -  *! function(string, type, mixed:void) serializer) +  *! function(mixed, string, type:void) serializer)    *!    *! Dispatch function for @[Serializer.serialize()].    *!    *! @param o    *! Object to serialize. Always a context of the current object.    *!    *! @param serializer    *! Function to be called once for every variable    *! to serialize.    *!    *! The @[serializer] function expects to be called with three arguments:    *! @dl    *! @item -  +  *! @tt{value@} - The value of the symbol. +  *! @item    *! @tt{symbol@} - The symbol name.    *! @item    *! @tt{symbol_type@} - The type of the symbol. -  *! @item -  *! @tt{value@} - The value of the symbol. +     *! @enddl    *!    *! @note    *! A default implementation of @[lfun::_serialize()] and    *! @[lfun::_deserialize()] is available in @[Serializer.Serializable].    *!    *! @seealso    *! @[lfun::_deserialize()], @[Serializer.serialize()],    *! @[Serializer.Serializable()->_serialize()]    */      /*! @decl void lfun::_deserialize(object o, @ -  *! function(string, type, @ -  *! function(mixed:void): mixed) deserializer) +  *! function(function(mixed:void), @ +  *! string, type: mixed) deserializer)    *!    *! Dispatch function for @[Serialization.deserialize()].    *!    *! @param o    *! Object to serialize. Always a context of the current object.    *!    *! @param deserializer    *! Function to be called once for every variable    *! to serialize.    *!    *! The @[deserializer] function expects to be called with three arguments:    *! @dl    *! @item -  +  *! @tt{setter@} - Function that sets the symbol value. +  *! @item    *! @tt{symbol@} - The symbol name.    *! @item    *! @tt{symbol_type@} - The type of the symbol. -  *! @item -  *! @tt{setter@} - Function that sets the symbol value. +     *! @enddl    *!    *! @note    *! A default implementation of @[lfun::_serialize()] and    *! @[lfun::_deserialize()] is available in @[Serializer.Serializable].    *!    *! @seealso    *! @[lfun::_serialize()], @[Serializer.deserialize()],    *! @[Serializer.Serializable()->_deserialize()]    */