| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/parsmega.nuxt/node_modules/@csstools/cascade-layer-name-parser/dist/ |
Upload File : |
import { CSSToken } from '@csstools/css-tokenizer';
import { ParseError } from '@csstools/css-tokenizer';
export declare function addLayerToModel(layers: Array<LayerName>, currentLayerNames: Array<LayerName>): void;
export declare class LayerName {
parts: Array<CSSToken>;
constructor(parts: Array<CSSToken>);
tokens(): Array<CSSToken>;
slice(start: number, end: number): LayerName;
concat(other: LayerName): LayerName;
segments(): Array<string>;
name(): string;
equal(other: LayerName): boolean;
toString(): string;
/**
* @internal
*
* A debug helper to convert the current object to a JSON representation.
*/
toJSON(): Record<string, unknown>;
}
export declare function parse(source: string, options?: {
onParseError?: (error: ParseError) => void;
}): Array<LayerName>;
/**
* Parses an array of {@link https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/docs/css-tokenizer.csstoken.md | CSSTokens} into a list of cascade layer names.
*/
export declare function parseFromTokens(tokens: Array<CSSToken>, options?: {
onParseError?: (error: ParseError) => void;
}): Array<LayerName>;
export { }