match_selector

0th

Percentile

Match a selector to a container stack

Match a selector to a container stack

Keywords
internal
Usage
match_selector(sels, cnts)
Arguments
sels

A list of selector nodes.

cnts

A list of container nodes.

The last selector in the list must match the last container, so we do the matching from the back. This is because we use this function to calculate the style of newly encountered containers.

Aliases
  • match_selector
Documentation reproduced from package cli, version 2.0.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.