public static function SassLiteral::isa in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/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 value
mixed match at the start of the string or false if no match
4 methods override SassLiteral::isa()
- SassBoolean::isa in phpsass/
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 phpsass/
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 phpsass/
script/ literals/ SassNumber.php - Returns a value indicating if a token of this type can be matched at the start of the subject string.
- SassString::isa in phpsass/
script/ literals/ SassString.php - Returns a value indicating if a token of this type can be matched at the start of the subject string.
File
- phpsass/
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');
}