PHP Class SassDebugNode

Represents a Sass @debug or @warn directive.
Inheritance: extends SassNode
显示文件 Open project: richthegeek/phpsass

Public Methods

Method Description
__construct ( object $token, array $message = false ) : SassDebugNode SassDebugNode.
errorHandler ( integer $errno, string $message ) Error handler for degug and warning statements.
parse ( $context ) : array Parse this node.

Method Details

__construct() public method

SassDebugNode.
public __construct ( object $token, array $message = false ) : SassDebugNode
$token object source token
$message array parameters for the message
return SassDebugNode

errorHandler() public method

Error handler for degug and warning statements.
public errorHandler ( integer $errno, string $message )
$errno integer Error number
$message string Message

parse() public method

This raises an error.
public parse ( $context ) : array
return array An empty array