You are here

public function CssScanner::getNameString in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/CssParser.php \CssScanner::getNameString()
  2. 7.2 QueryPath/CssParser.php \CssScanner::getNameString()

File

QueryPath/CssParser.php, line 669

Class

CssScanner

Code

public function getNameString() {
  $buf = '';
  while ($this->token === CssToken::char) {
    $buf .= $this->value;
    $this
      ->nextToken();
  }
  return $buf;
}