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.671 2008/04/19 17:04:30 grubba Exp $ + || $Id: program.c,v 1.672 2008/04/19 18:01:14 grubba Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:7103:    verify_supporters();    ret++; /* dependency registred */    }    }    }    }    verify_supporters();    return ret;   }    + /*! @module DefaultCompilationEnvironment +  *! +  *! The @[CompilerEnvironment] object that is used +  *! for loading C-modules and by @[predef::compile()]. +  *! +  *! @note +  *! @[predef::compile()] is essentially an alias for the +  *! @[CompilerEnvironment::compile()] in this object. +  *! +  *! @seealso +  *! @[CompilerEnvironment], @[predef::compile()] +  */    -  + /*! @endmodule +  */ +    /*! @class CompilerEnviroment    *!    *! The compiler environment.    */      /*! @decl enum SeverityLevel    *! Message severity level.    *! { NOTICE, WARNING, ERROR, FATAL }    *!    *! @constant NOTICE
pike.git/src/program.c:7193:    *! compiles it into a clonable program.    *!    *! The optional argument @[handler] is used to specify an alternative    *! error handler. If it is not specified the current master object will    *! be used.    *!    *! The optional arguments @[major] and @[minor] are used to tell the    *! compiler to attempt to be compatible with Pike @[major].@[minor].    *!    *! @note +  *! This function essentially performs +  *! @code +  *! program compile(mixed ... args) +  *! { +  *! return PikeCompiler(@@args)->compile(); +  *! } +  *! @endcode +  *! +  *! @note    *! Note that @[source] must contain the complete source for a program.    *! It is not possible to compile a single expression or statement.    *!    *! Also note that @[compile()] does not preprocess the program.    *! To preprocess the program you can use @[compile_string()] or    *! call the preprocessor manually by calling @[cpp()].    *!    *! @seealso    *! @[compile_string()], @[compile_file()], @[cpp()], @[master()],    *! @[CompilationHandler]