public function SassScriptLexer::isWhitespace in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/SassScriptLexer.php \SassScriptLexer::isWhitespace()
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
1 call to SassScriptLexer::isWhitespace()
- SassScriptLexer::lex in phpsass/
script/ SassScriptLexer.php - Lex an expression into SassScript tokens.
File
- phpsass/
script/ SassScriptLexer.php, line 120
Class
- SassScriptLexer
- SassScriptLexer class. Lexes SassSCript into tokens for the parser.
Code
public function isWhitespace($subject) {
return preg_match(self::MATCH_WHITESPACE, $subject, $matches) ? $matches[0] : false;
}