PHP Класс SassCommentNode

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

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

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

Защищенные методы

Метод Описание
getValue ( )

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

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

SassCommentNode constructor.
public __construct ( object $token )
$token object source token

getValue() защищенный Метод

protected getValue ( )

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

Parse this node.
public parse ( mixed $context ) : array
$context mixed
Результат array the parsed node - an empty array

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

Render this node.
public render ( ) : string
Результат string the rendered node