def css.score.pseudo
import gralha-css-style@0.1.0.1/css.bend as Cssimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
234def css.score.pseudo(scan: U.Scan, next: String -> U32, nested: String -> U32) -> U32:
235 U.Scan{h, t} = scan
236 +tail = t
237 css.score.arg(U.choose(U.Scan, U.prefix(tail, "("), css.scan(U.drop(tail, "("), 41), U.Scan{"", ")" ++ tail}), U.string.equal(h, "not"), next, nested)
238
239@unsafe