| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 365 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Less_SourceMap_Generator:: (10 methods):
__construct()
generateCSS()
saveMap()
normalizeFilename()
addMapping()
generateJson()
getSourcesContent()
generateMappings()
findFileIndex()
fixWindowsPath()
Class: Less_SourceMap_Generator - X-Ref
Source map generator| __construct(Less_Tree_Ruleset $root, $contentsMap, $options = array() X-Ref |
| Constructor param: Less_Tree_Ruleset $root The root node param: array $options Array of options |
| generateCSS() X-Ref |
| Generates the CSS return: string |
| saveMap($file, $content) X-Ref |
| Saves the source map to a file param: string $file The absolute path to a file param: string $content The content to write |
| normalizeFilename($filename) X-Ref |
| Normalizes the filename param: string $filename return: string |
| addMapping($generatedLine, $generatedColumn, $originalLine, $originalColumn, $fileInfo ) X-Ref |
| Adds a mapping param: integer $generatedLine The line number in generated file param: integer $generatedColumn The column number in generated file param: integer $originalLine The line number in original file param: integer $originalColumn The column number in original file param: string $sourceFile The original source file |
| generateJson() X-Ref |
| Generates the JSON source map return: string |
| getSourcesContent() X-Ref |
| Returns the sources contents return: array|null |
| generateMappings() X-Ref |
| Generates the mappings string return: string |
| findFileIndex($filename) X-Ref |
| Finds the index for the filename param: string $filename return: integer|false |
| fixWindowsPath($path, $addEndSlash = false) X-Ref |
| fix windows paths param: string $path return: string |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |