1#[macro_use]
2extern crate lazy_static;
3
4pub mod ast;
5pub mod parser;
6pub mod token;
7
8#[cfg(test)]
9pub static PASS_SELECTORS: &[&str] = &[
10 ".intro",
11 ".name1.name2",
12 ".name1 .name2",
13 "#firstname",
14 "*",
15 "p",
16 "p.intro",
17 "div, p",
18 "div p",
19 "div > p",
20 "div + p",
21 "p ~ ul",
22 "[target]",
23 "[target=_blank]",
24 "[title~=flower]",
25 "[lang|=en]",
26 "a[href^=\"https\"]",
27 "a[href$=\".pdf\"]",
28 "a[href*=\"w3schools\"]",
29 "a:active",
30 "p::after",
31 "p::before",
32 "input:checked",
33 "input:default",
34 "input:disabled",
35 "p:empty",
36 "input:enabled",
37 "p:first-child",
38 "p::first-letter",
39 "p::first-line",
40 "p:first-of-type",
41 "input:focus",
42 "a:hover",
43 "input:in-range",
44 "input:indeterminate",
45 "input:invalid",
46 "p:lang(it)",
47 "p:last-child",
48 "p:last-of-type",
49 "a:link",
50 ":not(p)",
51 "p:nth-child(2)",
52 "p:nth-last-child(2)",
53 "p:nth-last-of-type(2)",
54 "p:nth-of-type(2)",
55 "p:only-of-type",
56 "p:only-child",
57 "input:optional",
58 "input:out-of-range",
59 "input::placeholder",
60 "input:read-only",
61 "input:read-write",
62 "input:required",
63 ":root",
64 "::selection",
65 "#news:target",
66 "input:valid",
67 "a:visited",
68];