private function CssParser::consumeWhitespace in QueryPath 7.3
Same name and namespace in other branches
- 6 QueryPath/CssParser.php \CssParser::consumeWhitespace()
- 7.2 QueryPath/CssParser.php \CssParser::consumeWhitespace()
6 calls to CssParser::consumeWhitespace()
- CssParser::attribute in QueryPath/
CssParser.php - CssParser::combinator in QueryPath/
CssParser.php - CssParser::elementClass in QueryPath/
CssParser.php - CssParser::elementName in QueryPath/
CssParser.php - CssParser::pseudoClass in QueryPath/
CssParser.php
File
- QueryPath/
CssParser.php, line 162
Class
Code
private function consumeWhitespace() {
if ($this->DEBUG) {
print "CONSUME WHITESPACE\n";
}
$white = 0;
while ($this->scanner->token == CssToken::white) {
$this->scanner
->nextToken();
++$white;
}
return $white;
}