You are here

private function CssParser::isCombinator in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/CssParser.php \CssParser::isCombinator()
  2. 7.2 QueryPath/CssParser.php \CssParser::isCombinator()
1 call to CssParser::isCombinator()
CssParser::combinator in QueryPath/CssParser.php

File

QueryPath/CssParser.php, line 227

Class

CssParser

Code

private function isCombinator($tok) {
  $combinators = array(
    CssToken::plus,
    CssToken::rangle,
    CssToken::comma,
    CssToken::tilde,
  );
  return in_array($tok, $combinators);
}