PHP Класс SassMixinDefinitionNode

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

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

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

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

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

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

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

Returns the arguments with default values for this mixin
public getArgs ( ) : array
Результат array the arguments with default values for this mixin

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() публичный Метод

Add this mixin to 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