function Part::check
Returns true if the selector part matches the given node, false otherwise
@abstract
Parameters
Node $parent Parent node:
Return value
bool
5 methods override Part::check()
- Attribute::check in vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ Attribute.php - Returns true if the selector part matches the given node, false otherwise
- PseudoIndex::check in vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ PseudoIndex.php - Returns true if the selector part matches the given node, false otherwise
- PseudoSelector::check in vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ PseudoSelector.php - Returns true if the selector part matches the given node, false otherwise
- PseudoSimple::check in vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ PseudoSimple.php - Returns true if the selector part matches the given node, false otherwise
- Type::check in vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ Type.php - Returns true if the selector part matches the given node, false otherwise
File
-
vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Part/ Part.php, line 46
Class
- Part
- Selector part base class
Namespace
Peast\Selector\Node\PartCode
public abstract function check(Node $node, $parent = null);