You are here

public function CssScanner::getNameString in QueryPath 7.2

Same name and namespace in other branches
  1. 6 QueryPath/CssParser.php \CssScanner::getNameString()
  2. 7.3 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;
}