Method |
Description |
|
__clone ( ) |
Resets children when cloned |
|
__construct ( object $token ) : SassNode |
Constructor. |
|
__get ( string $name ) : mixed |
Getter. |
|
__set ( string $name, mixed $value ) : SassNode |
Setter. |
|
addChild ( $child ) |
Adds a child to this node. |
|
addWarning ( string $message ) |
Adds a warning to the node. |
|
evaluate ( string $expression, SassContext $context, mixed $x = null ) : SassLiteral |
Evaluates a SassScript expression. |
|
getChildren ( ) : array |
Returns the node's children |
|
getDebug_info ( ) : boolean |
Returns the debug_info option setting for this node |
|
getFilename ( ) : string |
Returns the filename for this node |
|
getLastChild ( ) : SassNode |
Returns the last child node of this node. |
|
getLevel ( ) : integer |
Returns the level of this node. |
|
getLine ( ) : string |
Returns the line number for this node |
|
getLine_numbers ( ) : boolean |
Returns the line_numbers option setting for this node |
|
getParent ( ) : array |
Returns the node's parent |
|
getParser ( ) : SassParser |
Returns the Sass parser. |
|
getPropertySyntax ( ) : string |
Returns the property syntax being used. |
|
getRenderer ( ) : SassRenderer |
Returns the renderer. |
|
getScript ( ) : SassScriptParser |
Returns the SassScript parser. |
|
getSource ( ) : string |
Returns the source for this node |
|
getStyle ( ) : string |
Returns the render style of the document tree. |
|
hasChildren ( ) : boolean |
Returns a value indicating if this node has children |
|
hasParent ( ) : array |
Return a value indicating if this node has a parent |
|
inDirective ( ) : boolean |
Returns a value indicating whether this node is in a directive |
|
inSassScriptDirective ( ) : boolean |
Returns a value indicating whether this node is in a SassScript directive |
|
interpolate ( string $expression, SassContext $context ) : string |
Replace interpolated SassScript contained in '#{}' with the parsed value. |
|
isChildOf ( SassNode $node ) : boolean |
Returns a value indicating if this node is a child of the passed node. |
|
isa ( object $token ) : boolean |
Returns a value indicating if the token represents this type of node. |
|
parseChildren ( SassContext $context ) : array |
Parse the children of the node. |
|
printDebugTree ( $i ) |
|
|
setRoot ( SassNode $root ) |
Sets a root recursively. |
|