Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
635 B
Plaintext
20 lines
635 B
Plaintext
import * as ast from './ast';
|
|
/**
|
|
* Parse a CSS selector string.
|
|
*
|
|
* This function supports comma-separated selector lists
|
|
* and always returns an AST starting from a node of type `list`.
|
|
*
|
|
* @param str - CSS selector string (can contain commas).
|
|
*/
|
|
export declare function parse(str: string): ast.ListSelector;
|
|
/**
|
|
* Parse a CSS selector string.
|
|
*
|
|
* This function does not support comma-separated selector lists
|
|
* and always returns an AST starting from a node of type `compound`.
|
|
*
|
|
* @param str - CSS selector string (no commas).
|
|
*/
|
|
export declare function parse1(str: string): ast.CompoundSelector;
|