summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/css-parser-algorithms/dist/util
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@csstools/css-parser-algorithms/dist/util')
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts7
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts7
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts2
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts9
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts2
-rw-r--r--node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts6
6 files changed, 0 insertions, 33 deletions
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts
deleted file mode 100644
index eda7ee93..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare enum ComponentValueType {
- Function = "function",
- SimpleBlock = "simple-block",
- Whitespace = "whitespace",
- Comment = "comment",
- Token = "token"
-}
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts
deleted file mode 100644
index 219ea619..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export interface walkable {
- walk(cb: (entry: {
- node: Array<unknown> | unknown;
- parent: unknown;
- }, index: number | string) => boolean | void): false | undefined;
-}
-export declare function gatherNodeAncestry(node: walkable): Map<unknown, unknown>;
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts
deleted file mode 100644
index 774051c6..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { ComponentValue } from '../consume/consume-component-block-function';
-export declare function replaceComponentValues(componentValuesList: Array<Array<ComponentValue>>, replaceWith: (componentValue: ComponentValue) => ComponentValue | void): ComponentValue[][];
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts
deleted file mode 100644
index 92d124be..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { CSSToken } from '@csstools/css-tokenizer';
-interface TokenConvertible {
- tokens(): Array<CSSToken>;
-}
-/**
- * Returns the start and end index of a node in the CSS source string.
- */
-export declare function sourceIndices(x: TokenConvertible | Array<TokenConvertible>): [number, number];
-export {};
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts
deleted file mode 100644
index 6ab4140c..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { ComponentValue } from '../consume/consume-component-block-function';
-export declare function stringify(componentValueLists: Array<Array<ComponentValue>>): string;
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts
deleted file mode 100644
index 896d3036..00000000
--- a/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { CommentNode, FunctionNode, SimpleBlockNode, TokenNode, WhitespaceNode } from '../consume/consume-component-block-function';
-export declare function isSimpleBlockNode(x: unknown): x is SimpleBlockNode;
-export declare function isFunctionNode(x: unknown): x is FunctionNode;
-export declare function isWhitespaceNode(x: unknown): x is WhitespaceNode;
-export declare function isCommentNode(x: unknown): x is CommentNode;
-export declare function isTokenNode(x: unknown): x is TokenNode;