PHP Class SassContentNode

Represents a Content.
Inheritance: extends SassNode
Show file Open project: richthegeek/phpsass

Public Methods

Method Description
__construct ( object $token ) : SassContentNode SassContentNode constructor.
isa ( object $token ) : boolean Contents a value indicating if the token represents this type of node.
parse ( SassContext $pcontext ) : array Parse this node.

Method Details

__construct() public method

SassContentNode constructor.
public __construct ( object $token ) : SassContentNode
$token object source token
return SassContentNode

isa() public static method

Contents a value indicating if the token represents this type of node.
public static isa ( object $token ) : boolean
$token object token
return boolean true if the token represents this type of node, false if not

parse() public method

Set passed arguments and any optional arguments not passed to their defaults, then render the children of the return definition.
public parse ( SassContext $pcontext ) : array
$pcontext SassContext the context in which this node is parsed
return array the parsed node