🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
23
node_modules/@emmetio/css-abbreviation/dist/parser/index.d.ts
generated
vendored
Normal file
23
node_modules/@emmetio/css-abbreviation/dist/parser/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import type { StringValue, NumberValue, ColorValue, Literal, AllTokens, Field, CustomProperty } from '../tokenizer/tokens.js';
|
||||
export type Value = StringValue | NumberValue | ColorValue | Literal | FunctionCall | Field | CustomProperty;
|
||||
export interface FunctionCall {
|
||||
type: 'FunctionCall';
|
||||
name: string;
|
||||
arguments: CSSValue[];
|
||||
}
|
||||
export interface CSSValue {
|
||||
type: 'CSSValue';
|
||||
value: Value[];
|
||||
}
|
||||
export interface CSSProperty {
|
||||
name?: string;
|
||||
value: CSSValue[];
|
||||
important: boolean;
|
||||
/** Snippet matched with current property */
|
||||
snippet?: any;
|
||||
}
|
||||
export interface ParseOptions {
|
||||
/** Consumes given abbreviation tokens as value */
|
||||
value?: boolean;
|
||||
}
|
||||
export default function parser(tokens: AllTokens[], options?: ParseOptions): CSSProperty[];
|
||||
Loading…
Add table
Add a link
Reference in a new issue