PHP Class SassVariableNode

Represents a variable.
Inheritance: extends SassNode
Afficher le fichier Open project: richthegeek/phpsass Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( object $token ) : SassVariableNode SassVariableNode constructor.
isa ( object $token ) : boolean Returns a value indicating if the token represents this type of node.
parse ( SassContext $context ) : array Parse this node.

Method Details

__construct() public méthode

SassVariableNode constructor.
public __construct ( object $token ) : SassVariableNode
$token object source token
Résultat SassVariableNode

isa() public static méthode

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

parse() public méthode

Sets the variable in the current context.
public parse ( SassContext $context ) : array
$context SassContext the context in which this node is parsed
Résultat array the parsed node - an empty array