Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Parser.php

Parser::$validPseudo

Valid pseudo selectors. The value indicates the argument type:

  • 0: no arguments
  • 1: index formula (An+B syntax)
  • 2: selector

Type: array

File

vendor/mck89/peast/lib/Peast/Selector/Parser.php, line 75

Class

Parser
Selector parser class

Namespace

Peast\Selector

Code

protected $validPseudo = array(
    "pattern" => 0,
    "statement" => 0,
    "expression" => 0,
    "declaration" => 0,
    "first-child" => 0,
    "last-child" => 0,
    "nth-child" => 1,
    "nth-last-child" => 1,
    "has" => 2,
    "is" => 2,
    "not" => 2,
);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal