You are here

public static function SassLiteral::isa in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::isa()

* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *

Parameters

string the subject string: * @return mixed match at the start of the string or false if no match

6 methods override SassLiteral::isa()
CompassColourStop::isa in phamlp/sass/extensions/compass/functions/colourStops.php
* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *
CompassList::isa in phamlp/sass/extensions/compass/functions/colourStops.php
* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *
SassBoolean::isa in phamlp/sass/script/literals/SassBoolean.php
* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *
SassColour::isa in phamlp/sass/script/literals/SassColour.php
* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *
SassNumber::isa in phamlp/sass/script/literals/SassNumber.php
* Returns a value indicating if a token of this type can be matched at * the start of the subject string. *

... See full list

File

phamlp/sass/script/literals/SassLiteral.php, line 362

Class

SassLiteral
SassLiteral class. Base class for all Sass literals. Sass data types are extended from this class and these override the operation methods to provide the appropriate semantics. @package PHamlP @subpackage Sass.script.literals

Code

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