pike.git / module.pmod.in

version» Context lines:

pike.git/module.pmod.in:36:   //! @endcode   class Compiler   {    // NOTE: The only reason for this wrapper class is to be able to explicily    // destruct the real compiler. There's a cyclic reference between    // the compiler and the import callback in the real compiler so it    // won't be destructed when it runs out of scope. If it can be solved    // internally in the Low_Compiler this class no longer has a purpose       //! @ignore +  //! +  //! Ignore the rest of this class. The methods and members are documented in +  //! @[Low_Compiler] +     protected Low_Compiler compiler;       protected void create()    {    compiler = Low_Compiler();    }    -  + // SETTER(bool, prop) -> + // public void `prop=(bool value) { compiler->prop = value; }   #define SETTER(T,P) \    public void ` ## P ## =(T value) { compiler-> ## P = value; }    -  + // GETTER(bool, prop) -> + // public bool `prop() { return compiler->prop; }   #define GETTER(T,P) \    public T ` ## P ## () { return compiler-> ## P; }      #define GETTER_SETTER(T,P) \    GETTER(T,P) \    SETTER(T,P)       GETTER_SETTER(int(0..2), http_import)    GETTER_SETTER(multiset(string(8bit)), http_import_allow_ct)    GETTER_SETTER(bool, check_file_access)