PHP Класс SassFunctionDefinitionNode

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

Открытые свойства

Свойство Тип Описание
$parent

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

Метод Описание
__construct ( object $token ) : SassFunctionDefinitionNode SassFunctionDefinitionNode constructor.
execute ( $pcontext, $provided ) : was Evalutes the function in the given context, with the provided arguments
getArgs ( ) : array Returns the arguments with default values for this function
isa ( object $token ) : boolean Returns a value indicating if the token represents this type of node.
parse ( SassContext $context ) : array Parse this node.

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

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

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

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

Evalutes the function in the given context, with the provided arguments
public execute ( $pcontext, $provided ) : was
Результат was

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

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

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 function 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

Описание свойств

$parent публичное свойство

public $parent