You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
577 B
21 lines
577 B
import { CSSToken } from './interfaces/token';
|
|
import { ParseError } from './interfaces/error';
|
|
interface Stringer {
|
|
valueOf(): string;
|
|
}
|
|
export declare function tokenize(input: {
|
|
css: Stringer;
|
|
unicodeRangesAllowed?: boolean;
|
|
}, options?: {
|
|
onParseError?: (error: ParseError) => void;
|
|
}): Array<CSSToken>;
|
|
export declare function tokenizer(input: {
|
|
css: Stringer;
|
|
unicodeRangesAllowed?: boolean;
|
|
}, options?: {
|
|
onParseError?: (error: ParseError) => void;
|
|
}): {
|
|
nextToken: () => CSSToken | undefined;
|
|
endOfFile: () => boolean;
|
|
};
|
|
export {};
|
|
|