[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/lessphp/Tree/ -> Import.php (summary)

(no description)

File Size: 311 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Less_Tree_Import:: (11 methods):
  __construct()
  accept()
  genCSS()
  toCSS()
  getPath()
  compileForImport()
  compilePath()
  compile()
  PathAndUri()
  ParseImport()
  Skip()


Class: Less_Tree_Import  - X-Ref

CSS @import node

The general strategy here is that we don't want to wait
for the parsing to be completed, before we start importing
the file. That's because in the context of a browser,
most of the time will be spent waiting for the server to respond.

On creation, we push the import path to our import queue, though
`import,push`, we also pass it a callback, which it'll call once
the file has been fetched, and parsed.

__construct($path, $features, $options, $index, $currentFileInfo = null )   X-Ref
No description

accept($visitor)   X-Ref
No description

genCSS( $output )   X-Ref


toCSS()   X-Ref
No description

getPath()   X-Ref

return: string

compileForImport( $env )   X-Ref
No description

compilePath($env)   X-Ref
No description

compile( $env )   X-Ref
No description

PathAndUri()   X-Ref
Using the import directories, get the full absolute path and uri of the import

param: Less_Tree_Import $evald

ParseImport( $full_path, $uri, $env )   X-Ref
Parse the import url and return the rules

return: Less_Tree_Media|array

Skip($path, $env)   X-Ref
Should the import be skipped?

return: boolean|null



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1