public function SassScriptLexer::isWhitespace in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/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 mixed match at the start of the string or false if no match
1 call to SassScriptLexer::isWhitespace()
- SassScriptLexer::lex in phamlp/
sass/ script/ SassScriptLexer.php - * Lex an expression into SassScript tokens. *
File
- phamlp/
sass/ script/ SassScriptLexer.php, line 111
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;
}