⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selector.e

📁 HTML-XML-utils由一套小型C程序(过滤器)组成
💻 E
字号:
 typedef enum {				   Root, NthChild, NthOfType, FirstChild, FirstOfType, Lang} PseudoType; typedef struct _PseudoCond {  PseudoType type;  int a, b;					   string s;					   struct _PseudoCond *next;} PseudoCond; typedef enum {				   Exists, Equals, Includes, StartsWith, EndsWidth, Contains, LangMatch,  HasClass, HasID				 } Operator; typedef struct _AttribCond {  Operator op;  string name;					   string value;					   struct _AttribCond *next;} AttribCond; typedef enum {  Descendant, Child, Adjacent, Sibling} Combinator; typedef struct _SimpleSelector {  string name;					   AttribCond *attribs;  PseudoCond *pseudos;  Combinator combinator;			   struct _SimpleSelector *context;} SimpleSelector, *Selector; string selector_to_string(const Selector selector); Selector parse_selector(const string selector);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -