summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts')
-rw-r--r--node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts b/node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts
new file mode 100644
index 00000000..dc47e1d6
--- /dev/null
+++ b/node_modules/@csstools/css-tokenizer/dist/interfaces/error.d.ts
@@ -0,0 +1,9 @@
+export declare class ParseError extends Error {
+ /** The index of the start character of the current token. */
+ sourceStart: number;
+ /** The index of the end character of the current token. */
+ sourceEnd: number;
+ /** The parser steps that preceded the error. */
+ parserState: Array<string>;
+ constructor(message: string, sourceStart: number, sourceEnd: number, parserState: Array<string>);
+}