source: imaps-frontend/node_modules/css-what/lib/commonjs/parse.d.ts

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 751 bytes
RevLine 
[79a0317]1import { Selector, Traversal } from "./types";
2/**
3 * Checks whether a specific selector is a traversal.
4 * This is useful eg. in swapping the order of elements that
5 * are not traversals.
6 *
7 * @param selector Selector to check.
8 */
9export declare function isTraversal(selector: Selector): selector is Traversal;
10/**
11 * Parses `selector`, optionally with the passed `options`.
12 *
13 * @param selector Selector to parse.
14 * @param options Options for parsing.
15 * @returns Returns a two-dimensional array.
16 * The first dimension represents selectors separated by commas (eg. `sub1, sub2`),
17 * the second contains the relevant tokens for that selector.
18 */
19export declare function parse(selector: string): Selector[][];
20//# sourceMappingURL=parse.d.ts.map
Note: See TracBrowser for help on using the repository browser.