PHP Класс SassVariableNode

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

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

Метод Описание
__construct ( object $token ) : SassVariableNode SassVariableNode constructor.
isa ( object $token ) : boolean Returns a value indicating if the token represents this type of node.
parse ( SassContext $context ) : array Parse this node.

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

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

SassVariableNode constructor.
public __construct ( object $token ) : SassVariableNode
$token object source token
Результат SassVariableNode

isa() публичный статический Метод

Returns a value indicating if the token represents this type of node.
public static isa ( object $token ) : boolean
$token object token
Результат boolean true if the token represents this type of node, false if not

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

Sets the variable in the current context.
public parse ( SassContext $context ) : array
$context SassContext the context in which this node is parsed
Результат array the parsed node - an empty array