PHP Class SassImportNode

Represents a CSS Import.
Inheritance: extends SassNode
Afficher le fichier Open project: richthegeek/phpsass Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( object $token, $parent ) : SassImportNode SassImportNode.
parse ( SassContext $context ) : array Parse this node.

Method Details

__construct() public méthode

SassImportNode.
public __construct ( object $token, $parent ) : SassImportNode
$token object source token
Résultat SassImportNode

parse() public méthode

If the node is a CSS import return the CSS import rule. Else returns the rendered tree for the file.
public parse ( SassContext $context ) : array
$context SassContext the context in which this node is parsed
Résultat array the parsed node