PHP Класс SassScriptVariable

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( string $value ) SassVariable constructor
evaluate ( SassContext $context ) : SassLiteral Returns the SassScript object for this variable.
isa ( string $subject ) : mixed Returns a value indicating if a token of this type can be matched at the start of the subject string.

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

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

SassVariable constructor
public __construct ( string $value )
$value string value of the Variable type

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

Returns the SassScript object for this variable.
public evaluate ( SassContext $context ) : SassLiteral
$context SassContext context of the variable
Результат SassLiteral the SassScript object for this variable

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

Returns a value indicating if a token of this type can be matched at the start of the subject string.
public static isa ( string $subject ) : mixed
$subject string the subject string
Результат mixed match at the start of the string or false if no match