PHP Класс SassImportNode

Represents a CSS Import.
Наследование: extends SassNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( object $token, $parent ) : SassImportNode SassImportNode.
parse ( SassContext $context ) : array Parse this node.

Описание методов

__construct() публичный Метод

SassImportNode.
public __construct ( object $token, $parent ) : SassImportNode
$token object source token
Результат SassImportNode

parse() публичный Метод

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
Результат array the parsed node