You are here

public static function SassNode::isa in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassNode.php \SassNode::isa()

Returns a value indicating if the token represents this type of node.

Parameters

object token:

Return value

boolean true if the token represents this type of node, false if not

9 methods override SassNode::isa()
SassCommentNode::isa in phpsass/tree/SassCommentNode.php
Returns a value indicating if the token represents this type of node.
SassDirectiveNode::isa in phpsass/tree/SassDirectiveNode.php
Returns a value indicating if the token represents this type of node.
SassFunctionDefinitionNode::isa in phpsass/tree/SassFunctionDefinitionNode.php
Returns a value indicating if the token represents this type of node.
SassMixinDefinitionNode::isa in phpsass/tree/SassMixinDefinitionNode.php
Returns a value indicating if the token represents this type of node.
SassMixinNode::isa in phpsass/tree/SassMixinNode.php
Returns a value indicating if the token represents this type of node.

... See full list

File

phpsass/tree/SassNode.php, line 349

Class

SassNode
SassNode class. Base class for all Sass nodes. @package PHamlP @subpackage Sass.tree

Code

public static function isa($token) {
  throw new SassNodeException('Child classes must override this method');
}