PHP Class SassReturnNode

Represents a Return.
Inheritance: extends SassNode
Afficher le fichier Open project: richthegeek/phpsass

Méthodes publiques

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

Method Details

__construct() public méthode

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

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

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
Résultat array the parsed node