cssnano
Version:
A modular CSS minifier, built on top of the PostCSS ecosystem.
18 lines • 737 B
TypeScript
import { TokenType } from '@csstools/css-tokenizer';
export type AttributeStage = 'none' | 'name' | 'wildcard' | 'prefix' | 'separator' | 'localName' | 'matcher' | 'equals' | 'value' | 'modifier' | 'done';
export type AttributeScanState = {
attributeStage: AttributeStage;
delimiters: TokenType[];
};
/**
* Advance the attribute selector stage by one token.
*
* @param {AttributeScanState} state
* @param {TokenType} type
* @param {string} value
* @param {string[] | undefined} browsers
* @return {boolean}
*/
declare function advanceAttribute(state: AttributeScanState, type: TokenType, value: string, browsers: string[] | undefined): boolean;
export { advanceAttribute };
//# sourceMappingURL=attributeSelector.d.ts.map