pike.git / module.pmod.in

version» Context lines:

pike.git/module.pmod.in:58:    //! @ignore    protected void create()    {    ::__set_importer_callback(__resolve_import);    }    //! @endignore          //! @ignore    //! Resolve external imports in sass/scss files. -  protected string __resolve_import(string path) +  protected string(8bit) __resolve_import(string(8bit) path)    {    Standards.URI uri;       // If it's not an URI we assume it's a local import and we let Sass handle    // it. This could of course be a, by mistake, malformed URI, but then Sass    // will eventually throw.    if (catch (uri = Standards.URI(path))) {    return UNDEFINED;    }   
pike.git/module.pmod.in:139:    //! @returns    //! A mapping with the generated CSS and source mapping file if such is    //! set to be generated    //!    //! @mapping    //! @member string "css"    //! The generated CSS    //! @member string "map"    //! The generated source mapping data    //! @endmapping -  mapping(string:string) compile_file(string input_file) +  mapping(string(8bit):string(8bit)) compile_file(string(8bit) input_file)    {    if (check_file_access && !Stdio.exist(input_file)) {    error("Input file %q does not exist or isn't accessible!\n",    input_file);    }    -  mapping(string:string) val = ::compile_file(input_file); -  return val; +  return ::compile_file(input_file);    }       //! 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 @[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) +  variant void compile_file(string(8bit) input_file, string(8bit) output_file)    {    if (check_file_access && !Stdio.exist(input_file)) {    error("Input file %q does not exist or isn't accessible!\n",    input_file);    }    -  mapping(string:string) val = ::compile_file(input_file); +  mapping(string(8bit):string(8bit)) val = ::compile_file(input_file);    Stdio.write_file(output_file, val->css);       if (val->map && source_map_file) {    Stdio.write_file(source_map_file, val->map);    }    }          //! Compile the string @[source]    //!