Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
962 bytes
|
Line | |
---|
1 | import { InternalSelector } from "./types";
|
---|
2 | import { Selector } from "css-what";
|
---|
3 | import type { CompiledQuery, InternalOptions } from "./types";
|
---|
4 | /**
|
---|
5 | * Compiles a selector to an executable function.
|
---|
6 | *
|
---|
7 | * @param selector Selector to compile.
|
---|
8 | * @param options Compilation options.
|
---|
9 | * @param context Optional context for the selector.
|
---|
10 | */
|
---|
11 | export declare function compile<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<Node>;
|
---|
12 | export declare function compileUnsafe<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>;
|
---|
13 | export declare function compileToken<Node, ElementNode extends Node>(token: InternalSelector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>;
|
---|
14 | //# sourceMappingURL=compile.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.