组合器(Combinators):组合两个或更多的选择器,逐层递进地选择。 多重选择器(Multiple selectors):将以逗号分隔开的多个选择器放在一个CSS规则下...
基于6个网页-相关网页
W3C CSS2.1 规范解释了选择器(selectors)和选择(combinators):“一个选择器是用选择符连接起来的一个或更多的选择器。选择符包括:空格,'>’和'+’。
基于4个网页-相关网页
Child Combinators 子选择器
Sibling Combinators 兄弟选择器
Descendant Combinators 后代选择器
Parser combinators 解析器连接符
Functional Combinators 函数组合子
fixed point combinators 不动点算子
the fixed-point combinators 不动点组合算子
Two of the most useful items will be the Child and Adjacent Sibling combinators.
两个最有用的项目将是Child子和adjacent Sibling相邻兄弟选择符。
Before we get into the combinators themselves, it's a good idea to clarify just what they do differently and why that is a good thing.
在我们研究选择符之前,弄清楚他们的不同和为什么它们是好东西的原因是个不错的主意。
In the meantime, let's explore Scala's third option for building parsers: parser combinators, built entirely from the functional side of Scala.
同时,我们来探索Scala构建解析器的第3个选项:解析器组合子(parser combinators),它完全是从Scala的函数性方面构建的。
应用推荐