pike.git / module.pmod.in

version» Context lines:

pike.git/module.pmod.in:152:    error("Input file %q does not exist or isn't accessible!\n",    input_file);    }       mapping(string:string) val = ::compile_file(input_file);    return val;    }       //! Compile the file @[input_file] and write the result to @[output_file].    //! If a source mapping file is set to be generated either via -  //! @[set_options()] or @[set_source_map_file()] it will be written as per +  //! @[set_options()] or @[source_map_file] it will be written as per    //! the value set in the option.    //!    //! @param input_file    //! The SCSS file to compile    //! @param output_file    //! The name of the CSS file to save the result in.    variant void compile_file(string input_file, string output_file)    {    if (check_file_access && !Stdio.exist(input_file)) {    error("Input file %q does not exist or isn't accessible!\n",
pike.git/module.pmod.in:179:    if (val->map && source_map_file) {    Stdio.write_file(source_map_file, val->map);    }    }          //! Compile the string @[source]    //!    //! @note    //! If the @[source] contain @tt{@@import@} directives you have to -  //! explicitly set the include path via @[set_include_path()]. +  //! explicitly set the include path via @[include_path].    //!    //! @param source    //! The string to compile    string(8bit) compile_string(string(8bit) source)    {    string(8bit) out = ::compile_string(source);    return out;    }       -  //! Set options to the SASS compiler. @[opts] +  //! Set options to the SASS compiler.    //!    //! @param opts    //! @mapping    //! @member int "output_style"    //! Any of the @[STYLE_NESTED], @[STYLE_EXPANDED], @[STYLE_COMPACT]    //! or @[STYLE_COMPRESSED] constants. See also @[output_style].    //!    //! @member string "include_path"    //! Path to root of incude files. See also @[include_path].    //!