public static function SassMixinDefinitionNode::isa in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/tree/SassMixinDefinitionNode.php \SassMixinDefinitionNode::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
Overrides SassNode::isa
1 call to SassMixinDefinitionNode::isa()
- SassParser::getNode in phpsass/
SassParser.php - Creates and returns the next SassNode. The tpye of SassNode depends on the content of the SassToken.
File
- phpsass/
tree/ SassMixinDefinitionNode.php, line 82
Class
- SassMixinDefinitionNode
- SassMixinDefinitionNode class. Represents a Mixin definition. @package PHamlP @subpackage Sass.tree
Code
public static function isa($token) {
return $token->source[0] === self::NODE_IDENTIFIER;
}