pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.497 2003/04/02 19:22:44 mast Exp $ + || $Id: program.c,v 1.498 2003/04/07 17:28:55 nilsson Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.497 2003/04/02 19:22:44 mast Exp $"); + RCSID("$Id: program.c,v 1.498 2003/04/07 17:28:55 nilsson Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "language.h"   #include "lex.h"   #include "pike_macros.h"   #include "fsort.h"
pike.git/src/program.c:257:    *! @item    *! Overloading of other builtin functions.    *!    *! @[_is_type()], @[_sprintf()], @[_m_delete()],    *! @[_get_iterator()]    *! @endul    *!    *! @note    *! Although these functions are called from outside the object    *! they exist in, they will still be used even if they are -  *! declared @tt{static@}. It is infact recommended to declare -  *! them @tt{static@}, since that will hinder them being used +  *! declared @expr{static@}. It is infact recommended to declare +  *! them @expr{static@}, since that will hinder them being used    *! for other purposes.    *!    *! @seealso    *! @[::]    */      /*! @decl void lfun::__INIT()    *!    *! Global variable initialization.    *!
pike.git/src/program.c:478:    *! If the returned value is not deemed to be of the requested type    *! a runtime error may be thrown.    */      /*! @decl int lfun::`!()    *!    *! Not operator callback.    *!    *! @returns    *! Returns non-zero if the object should be evaluated as false, -  *! and @tt{0@} (zero) otherwise. +  *! and @expr{0@} (zero) otherwise.    *!    *! @seealso    *! @[predef::`!()]    */      /*! @decl mixed lfun::`[](zero arg1, zero|void arg2)    *!    *! Index/range operator callback.    *!    *! @seealso
pike.git/src/program.c:684:    *! The following five shouldn't occurr, but are here for completeness:    *! @string    *! @value "lvalue"    *! @value "mapping_data"    *! @value "object storage"    *! @value "pike_frame"    *! @value "unknown"    *! @endstring    *!    *! @returns -  *! Expected to return @tt{1@} if the object is to be regarded as a +  *! Expected to return @expr{1@} if the object is to be regarded as a    *! simulation of the type specified by @[basic_type].    *!    *! @note    *! The argument is currently a string with the name    *! of the type, but might in the future be a value of the type type.    */      /*! @decl string lfun::_sprintf(int conversion_type, @    *! mapping(string:int)|void params)    *!    *! Sprintf callback.    *!    *! This method is called by @[predef::sprintf()] to print objects. If it is    *! not present, printing of the object will not be supported for any    *! conversion-type except for the @tt{%O@}-conversion-type, which -  *! will output @tt{"object"@}. +  *! will output @expr{"object"@}.    *!    *! @param conversion_type    *! One of:    *! @int    *! @value 'b'    *! Signed binary integer.    *! @value 'd'    *! Signed decimal integer.    *! @value 'u'    *! Unsigned decimal integer.
pike.git/src/program.c:792:    */      /*! @decl object lfun::_get_iterator()    *!    *! Iterator creation callback.    *!    *! @returns    *! Should return an object that implements the iterator API:    *! @dl    *! @item -  *! @[lfun::`!()] should return @tt{0@} (zero) when not at end of stream, -  *! and @tt{1@} at end of stream. +  *! @[lfun::`!()] should return @expr{0@} (zero) when not at end of stream, +  *! and @expr{1@} at end of stream.    *! @item    *! @[lfun::`+=()] should advance the specified number of steps.    *! @item    *! @[index()] should return the current index.    *! @item    *! @[value()] should return the current value.    *! @enddl    *!    *! @seealso    *! @[predef::Iterator], @[predef::foreach()]
pike.git/src/program.c:838:      /*! @class CompilationHandler    */      /*! @decl mapping(string:mixed)|object get_default_module()    *!    *! Returns the default module from which global symbols will    *! be fetched.    *!    *! @returns -  *! Returns the default module, or @tt{0@} (zero). +  *! Returns the default module, or @expr{0@} (zero).    *! -  *! If @tt{0@} (zero) is returned the compiler use the mapping +  *! If @expr{0@} (zero) is returned the compiler use the mapping    *! returned by @[all_constants()] as fallback.    *!    *! @seealso    *! @[get_predefines()]    */      /*! @decl void compile_warning(string filename, int line, string msg)    *!    *! Called by @[compile()] to report warnings.    *!