Sign In

@cspell/cspell-types

Package Overview
Dependencies
Maintainers
1
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/cspell-types - npm Package Compare versions

Comparing version
9.5.0
to
9.6.0
+48
-20
dist/index.d.mts

@@ -1,2 +0,2 @@

import { a as ParserName, i as Parser, n as ParseResult, o as ParserOptions, r as ParsedText } from "./index-TAd2zi6U.mjs";
import { ParseResult, ParsedText, Parser, ParserName, ParserOptions } from "./Parser/index.mjs";

@@ -753,5 +753,14 @@ //#region src/SuggestionsConfiguration.d.ts

interface DictionaryDefinitionPreferred extends DictionaryDefinitionBase {
/** Path to the file. */
/**
* Path or url to the dictionary file.
*/
path: DictionaryPath;
/**
* An alternative path to a bTrie dictionary file.
* It will be used in place of `path` if the version of CSpell being used
* supports btrie files.
* @since 9.6.0
*/
btrie?: DictionaryPathToBTrie | undefined;
/**
* Only for legacy dictionary definitions.

@@ -764,6 +773,21 @@ * @deprecated true

}
interface HiddenPaths {
/**
* @hide
*/
path?: string | undefined;
/**
* @hide
*/
btrie?: string | undefined;
/**
* @hide
*/
file?: undefined;
}
interface DictionaryDefinitionBaseWithPathsHidden extends DictionaryDefinitionBase, HiddenPaths {}
/**
* An Empty Dictionary Definition
*/
interface DictionaryDefinitionSimple extends DictionaryDefinitionBase {
interface DictionaryDefinitionSimple extends DictionaryDefinitionBaseWithPathsHidden {
/**

@@ -789,10 +813,2 @@ * @hide

type?: DictionaryFileTypes | undefined;
/**
* @hide
*/
path?: string | undefined;
/**
* @hide
*/
file?: undefined;
}

@@ -815,2 +831,7 @@ /**

*/
btrie?: string | undefined;
/**
* Not used
* @hide
*/
file?: undefined;

@@ -869,9 +890,6 @@ /**

* @deprecationMessage Use {@link DictionaryDefinitionPreferred} instead.
* This will be removed in a future release.
*/
interface DictionaryDefinitionAlternate extends DictionaryDefinitionBase {
interface DictionaryDefinitionAlternate extends DictionaryDefinitionBase, Omit<HiddenPaths, "file"> {
/**
* @hidden
*/
path?: undefined;
/**
* Path to the file, only for legacy dictionary definitions.

@@ -889,5 +907,7 @@ * @deprecated true

* @deprecated true
* @deprecationMessage Use {@link DictionaryDefinitionPreferred} instead.
* This will be removed in a future release.
* @hidden
*/
interface DictionaryDefinitionLegacy extends DictionaryDefinitionBase {
interface DictionaryDefinitionLegacy extends DictionaryDefinitionBase, Omit<HiddenPaths, "file" | "path"> {
/** Path to the file, if undefined the path to the extension dictionaries is assumed. */

@@ -931,3 +951,5 @@ path?: FsDictionaryPath;

interface DictionaryDefinitionCustom extends DictionaryDefinitionPreferred {
/** Path to custom dictionary text file. */
/**
* A file path or url to a custom dictionary file.
*/
path: CustomDictionaryPath;

@@ -966,3 +988,3 @@ /**

* A File System Path to a dictionary file.
* Pattern: `^.*\.(?:txt|trie|dic)(?:\.gz)?$`
* Pattern: `^.*\.(?:txt|trie|btrie|dic)(?:\.gz)?$`
*/

@@ -972,5 +994,11 @@ type DictionaryPath = string;

* A File System Path to a dictionary file.
* Pattern: `^.*\.(?:btrie)(?:\.gz)?$`
* @since 9.6.0
*/
type CustomDictionaryPath = FsDictionaryPath;
type DictionaryPathToBTrie = string;
/**
* A path or url to a custom dictionary file.
*/
type CustomDictionaryPath = string;
/**
* Reference to a dictionary by name.

@@ -977,0 +1005,0 @@ * One of:

@@ -1,2 +0,2 @@

import { a as ParserName, i as Parser, n as ParseResult, o as ParserOptions, r as ParsedText } from "./index-BtvDF-9G.js";
import { ParseResult, ParsedText, Parser, ParserName, ParserOptions } from "./Parser/index.js";

@@ -753,5 +753,14 @@ //#region src/SuggestionsConfiguration.d.ts

interface DictionaryDefinitionPreferred extends DictionaryDefinitionBase {
/** Path to the file. */
/**
* Path or url to the dictionary file.
*/
path: DictionaryPath;
/**
* An alternative path to a bTrie dictionary file.
* It will be used in place of `path` if the version of CSpell being used
* supports btrie files.
* @since 9.6.0
*/
btrie?: DictionaryPathToBTrie | undefined;
/**
* Only for legacy dictionary definitions.

@@ -764,6 +773,21 @@ * @deprecated true

}
interface HiddenPaths {
/**
* @hide
*/
path?: string | undefined;
/**
* @hide
*/
btrie?: string | undefined;
/**
* @hide
*/
file?: undefined;
}
interface DictionaryDefinitionBaseWithPathsHidden extends DictionaryDefinitionBase, HiddenPaths {}
/**
* An Empty Dictionary Definition
*/
interface DictionaryDefinitionSimple extends DictionaryDefinitionBase {
interface DictionaryDefinitionSimple extends DictionaryDefinitionBaseWithPathsHidden {
/**

@@ -789,10 +813,2 @@ * @hide

type?: DictionaryFileTypes | undefined;
/**
* @hide
*/
path?: string | undefined;
/**
* @hide
*/
file?: undefined;
}

@@ -815,2 +831,7 @@ /**

*/
btrie?: string | undefined;
/**
* Not used
* @hide
*/
file?: undefined;

@@ -869,9 +890,6 @@ /**

* @deprecationMessage Use {@link DictionaryDefinitionPreferred} instead.
* This will be removed in a future release.
*/
interface DictionaryDefinitionAlternate extends DictionaryDefinitionBase {
interface DictionaryDefinitionAlternate extends DictionaryDefinitionBase, Omit<HiddenPaths, "file"> {
/**
* @hidden
*/
path?: undefined;
/**
* Path to the file, only for legacy dictionary definitions.

@@ -889,5 +907,7 @@ * @deprecated true

* @deprecated true
* @deprecationMessage Use {@link DictionaryDefinitionPreferred} instead.
* This will be removed in a future release.
* @hidden
*/
interface DictionaryDefinitionLegacy extends DictionaryDefinitionBase {
interface DictionaryDefinitionLegacy extends DictionaryDefinitionBase, Omit<HiddenPaths, "file" | "path"> {
/** Path to the file, if undefined the path to the extension dictionaries is assumed. */

@@ -931,3 +951,5 @@ path?: FsDictionaryPath;

interface DictionaryDefinitionCustom extends DictionaryDefinitionPreferred {
/** Path to custom dictionary text file. */
/**
* A file path or url to a custom dictionary file.
*/
path: CustomDictionaryPath;

@@ -966,3 +988,3 @@ /**

* A File System Path to a dictionary file.
* Pattern: `^.*\.(?:txt|trie|dic)(?:\.gz)?$`
* Pattern: `^.*\.(?:txt|trie|btrie|dic)(?:\.gz)?$`
*/

@@ -972,5 +994,11 @@ type DictionaryPath = string;

* A File System Path to a dictionary file.
* Pattern: `^.*\.(?:btrie)(?:\.gz)?$`
* @since 9.6.0
*/
type CustomDictionaryPath = FsDictionaryPath;
type DictionaryPathToBTrie = string;
/**
* A path or url to a custom dictionary file.
*/
type CustomDictionaryPath = string;
/**
* Reference to a dictionary by name.

@@ -977,0 +1005,0 @@ * One of:

@@ -1,2 +0,129 @@

import { a as ParserName, c as Scope, d as SourceMap, i as Parser, l as ScopeChain, n as ParseResult, o as ParserOptions, r as ParsedText, s as Range, t as DelegateInfo, u as ScopeString } from "../index-TAd2zi6U.mjs";
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
//#region src/Parser/index.d.ts
type ParserOptions = Record<string, unknown>;
type ParserName = string;
interface Parser {
/** Name of parser */
readonly name: ParserName;
/**
* Parse Method
* @param content - full content of the file
* @param filename - filename
*/
parse(content: string, filename: string): ParseResult;
}
interface ParseResult {
readonly content: string;
readonly filename: string;
readonly parsedTexts: Iterable<ParsedText>;
}
interface ParsedText {
/**
* The text extracted and possibly transformed
*/
readonly text: string;
/**
* The raw text before it has been transformed
*/
readonly rawText?: string | undefined;
/**
* start and end offsets of the text
*/
readonly range: Range;
/**
* The Scope annotation for a segment of text.
* Used by the spell checker to apply spell checking options
* based upon the value of the scope.
*/
readonly scope?: Scope | undefined;
/**
* The source map is used to support text transformations.
*
* See: {@link SourceMap}
*/
readonly map?: SourceMap | undefined;
/**
* Used to delegate parsing the contents of `text` to another parser.
*
*/
readonly delegate?: DelegateInfo | undefined;
}
/**
* A SourceMap is used to map transform a piece of text back to its original text.
* This is necessary in order to report the correct location of a spelling issue.
* An empty source map indicates that it was a 1:1 transformation.
*
* The values in a source map are number pairs (even, odd) relative to the beginning of each
* string segment.
* - even - offset in the source text
* - odd - offset in the transformed text
*
* Offsets start a 0
*
* Example:
*
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
* - Transformed text: `Grand Café Bjørvika`
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
*
* | offset | original | offset | transformed |
* | ------ | ----------- | ------ | ----------- |
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
* | 9-15 | `\u00e9` | 9-10 | `é` |
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
* | 18-24 | `\u00f8` | 13-14 | `ø` |
* | 24-29 | `rvika` | 14-19 | `rvika` |
*
* <!--- cspell:ignore Bjørvika rvika --->
*/
type SourceMap = number[];
type Range = readonly [start: number, end: number];
/**
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
* another parser. The following information is used by the spell checker to match
* the parser.
*/
interface DelegateInfo {
/**
* Proposed virtual file name including the extension.
* Format: `./${source_filename}/${block_number}.${ext}
* Example: `./README.md/1.js`
*/
readonly filename: string;
/**
* The filename of the origin of the virtual file block.
* Example: `./README.md`
*/
readonly originFilename: string;
/**
* Proposed file extension
* Example: `.js`
*/
readonly extension: string;
/**
* Filetype to use
* Example: `javascript`
*/
readonly fileType?: string;
}
/**
* Scope - chain of scope going from local to global
*
* Example:
* ```
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
* ```
*/
interface ScopeChain {
readonly value: string;
readonly parent?: ScopeChain | undefined;
}
/**
* A string representing a scope chain separated by spaces
*
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
*/
type ScopeString = string;
type Scope = ScopeChain | ScopeString;
//#endregion
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
//# sourceMappingURL=index.d.mts.map

@@ -1,2 +0,129 @@

import { a as ParserName, c as Scope, d as SourceMap, i as Parser, l as ScopeChain, n as ParseResult, o as ParserOptions, r as ParsedText, s as Range, t as DelegateInfo, u as ScopeString } from "../index-BtvDF-9G.js";
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
//#region src/Parser/index.d.ts
type ParserOptions = Record<string, unknown>;
type ParserName = string;
interface Parser {
/** Name of parser */
readonly name: ParserName;
/**
* Parse Method
* @param content - full content of the file
* @param filename - filename
*/
parse(content: string, filename: string): ParseResult;
}
interface ParseResult {
readonly content: string;
readonly filename: string;
readonly parsedTexts: Iterable<ParsedText>;
}
interface ParsedText {
/**
* The text extracted and possibly transformed
*/
readonly text: string;
/**
* The raw text before it has been transformed
*/
readonly rawText?: string | undefined;
/**
* start and end offsets of the text
*/
readonly range: Range;
/**
* The Scope annotation for a segment of text.
* Used by the spell checker to apply spell checking options
* based upon the value of the scope.
*/
readonly scope?: Scope | undefined;
/**
* The source map is used to support text transformations.
*
* See: {@link SourceMap}
*/
readonly map?: SourceMap | undefined;
/**
* Used to delegate parsing the contents of `text` to another parser.
*
*/
readonly delegate?: DelegateInfo | undefined;
}
/**
* A SourceMap is used to map transform a piece of text back to its original text.
* This is necessary in order to report the correct location of a spelling issue.
* An empty source map indicates that it was a 1:1 transformation.
*
* The values in a source map are number pairs (even, odd) relative to the beginning of each
* string segment.
* - even - offset in the source text
* - odd - offset in the transformed text
*
* Offsets start a 0
*
* Example:
*
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
* - Transformed text: `Grand Café Bjørvika`
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
*
* | offset | original | offset | transformed |
* | ------ | ----------- | ------ | ----------- |
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
* | 9-15 | `\u00e9` | 9-10 | `é` |
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
* | 18-24 | `\u00f8` | 13-14 | `ø` |
* | 24-29 | `rvika` | 14-19 | `rvika` |
*
* <!--- cspell:ignore Bjørvika rvika --->
*/
type SourceMap = number[];
type Range = readonly [start: number, end: number];
/**
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
* another parser. The following information is used by the spell checker to match
* the parser.
*/
interface DelegateInfo {
/**
* Proposed virtual file name including the extension.
* Format: `./${source_filename}/${block_number}.${ext}
* Example: `./README.md/1.js`
*/
readonly filename: string;
/**
* The filename of the origin of the virtual file block.
* Example: `./README.md`
*/
readonly originFilename: string;
/**
* Proposed file extension
* Example: `.js`
*/
readonly extension: string;
/**
* Filetype to use
* Example: `javascript`
*/
readonly fileType?: string;
}
/**
* Scope - chain of scope going from local to global
*
* Example:
* ```
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
* ```
*/
interface ScopeChain {
readonly value: string;
readonly parent?: ScopeChain | undefined;
}
/**
* A string representing a scope chain separated by spaces
*
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
*/
type ScopeString = string;
type Scope = ScopeChain | ScopeString;
//#endregion
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
//# sourceMappingURL=index.d.ts.map

@@ -7,3 +7,3 @@ {

},
"version": "9.5.0",
"version": "9.6.0",
"description": "Types for cspell and cspell-lib",

@@ -90,3 +90,3 @@ "type": "commonjs",

"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme",
"gitHead": "4407eed11650481d9037e5a1d53488a93ff4b66d"
"gitHead": "163793ddf2a0ad90bc7c90351698a106003297af"
}

@@ -11,10 +11,10 @@ # Cspell Types

- [![GitHub Sponsors](https://img.shields.io/badge/-black?style=social&logo=githubsponsors&label=GitHub%20Sponsor%3A%20Street%20Side%20Software)](https://github.com/sponsors/streetsidesoftware)
- [![PayPal](https://img.shields.io/badge/-black?style=social&logo=paypal&label=PayPal%20Donate%3A%20Street%20Side%20Software)](https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY)
- [![Open Collective](https://img.shields.io/badge/-black?style=social&logo=opencollective&label=Open%20Collective%3A%20CSpell)](https://opencollective.com/cspell)
[![GitHub Sponsors](https://img.shields.io/badge/-Street_Side_Software-black?style=for-the-badge&logo=githubsponsors&label=GitHub%20Sponsor%3A)](https://github.com/sponsors/streetsidesoftware)
<!---
- [![Patreon](https://img.shields.io/badge/-black?style=social&logo=patreon&label=Patreon%3A%20Street%20Side%20Software)](https://patreon.com/streetsidesoftware)
--->
[![Open Collective](https://img.shields.io/badge/-CSpell-black?style=for-the-badge&logo=opencollective&label=Open%20Collective%3A)](https://opencollective.com/cspell)
[![Street Side Software](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fstreetsidesoftware%2Fcspell%2Frefs%2Fheads%2Fmain%2Fstatic%2Fcspell-badge.json)](https://streetsidesoftware.com/sponsor/)
[![PayPal](https://img.shields.io/badge/-Street_Side_Software-black?style=for-the-badge&logo=paypal&label=PayPal%20Donate%3A)](https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY)
<!--- @@inject-end: ../../static/sponsor.md --->

@@ -21,0 +21,0 @@

//#region src/Parser/index.d.ts
type ParserOptions = Record<string, unknown>;
type ParserName = string;
interface Parser {
/** Name of parser */
readonly name: ParserName;
/**
* Parse Method
* @param content - full content of the file
* @param filename - filename
*/
parse(content: string, filename: string): ParseResult;
}
interface ParseResult {
readonly content: string;
readonly filename: string;
readonly parsedTexts: Iterable<ParsedText>;
}
interface ParsedText {
/**
* The text extracted and possibly transformed
*/
readonly text: string;
/**
* The raw text before it has been transformed
*/
readonly rawText?: string | undefined;
/**
* start and end offsets of the text
*/
readonly range: Range;
/**
* The Scope annotation for a segment of text.
* Used by the spell checker to apply spell checking options
* based upon the value of the scope.
*/
readonly scope?: Scope | undefined;
/**
* The source map is used to support text transformations.
*
* See: {@link SourceMap}
*/
readonly map?: SourceMap | undefined;
/**
* Used to delegate parsing the contents of `text` to another parser.
*
*/
readonly delegate?: DelegateInfo | undefined;
}
/**
* A SourceMap is used to map transform a piece of text back to its original text.
* This is necessary in order to report the correct location of a spelling issue.
* An empty source map indicates that it was a 1:1 transformation.
*
* The values in a source map are number pairs (even, odd) relative to the beginning of each
* string segment.
* - even - offset in the source text
* - odd - offset in the transformed text
*
* Offsets start a 0
*
* Example:
*
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
* - Transformed text: `Grand Café Bjørvika`
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
*
* | offset | original | offset | transformed |
* | ------ | ----------- | ------ | ----------- |
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
* | 9-15 | `\u00e9` | 9-10 | `é` |
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
* | 18-24 | `\u00f8` | 13-14 | `ø` |
* | 24-29 | `rvika` | 14-19 | `rvika` |
*
* <!--- cspell:ignore Bjørvika rvika --->
*/
type SourceMap = number[];
type Range = readonly [start: number, end: number];
/**
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
* another parser. The following information is used by the spell checker to match
* the parser.
*/
interface DelegateInfo {
/**
* Proposed virtual file name including the extension.
* Format: `./${source_filename}/${block_number}.${ext}
* Example: `./README.md/1.js`
*/
readonly filename: string;
/**
* The filename of the origin of the virtual file block.
* Example: `./README.md`
*/
readonly originFilename: string;
/**
* Proposed file extension
* Example: `.js`
*/
readonly extension: string;
/**
* Filetype to use
* Example: `javascript`
*/
readonly fileType?: string;
}
/**
* Scope - chain of scope going from local to global
*
* Example:
* ```
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
* ```
*/
interface ScopeChain {
readonly value: string;
readonly parent?: ScopeChain | undefined;
}
/**
* A string representing a scope chain separated by spaces
*
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
*/
type ScopeString = string;
type Scope = ScopeChain | ScopeString;
//#endregion
export { ParserName as a, Scope as c, SourceMap as d, Parser as i, ScopeChain as l, ParseResult as n, ParserOptions as o, ParsedText as r, Range as s, DelegateInfo as t, ScopeString as u };
//# sourceMappingURL=index-BtvDF-9G.d.ts.map
//#region src/Parser/index.d.ts
type ParserOptions = Record<string, unknown>;
type ParserName = string;
interface Parser {
/** Name of parser */
readonly name: ParserName;
/**
* Parse Method
* @param content - full content of the file
* @param filename - filename
*/
parse(content: string, filename: string): ParseResult;
}
interface ParseResult {
readonly content: string;
readonly filename: string;
readonly parsedTexts: Iterable<ParsedText>;
}
interface ParsedText {
/**
* The text extracted and possibly transformed
*/
readonly text: string;
/**
* The raw text before it has been transformed
*/
readonly rawText?: string | undefined;
/**
* start and end offsets of the text
*/
readonly range: Range;
/**
* The Scope annotation for a segment of text.
* Used by the spell checker to apply spell checking options
* based upon the value of the scope.
*/
readonly scope?: Scope | undefined;
/**
* The source map is used to support text transformations.
*
* See: {@link SourceMap}
*/
readonly map?: SourceMap | undefined;
/**
* Used to delegate parsing the contents of `text` to another parser.
*
*/
readonly delegate?: DelegateInfo | undefined;
}
/**
* A SourceMap is used to map transform a piece of text back to its original text.
* This is necessary in order to report the correct location of a spelling issue.
* An empty source map indicates that it was a 1:1 transformation.
*
* The values in a source map are number pairs (even, odd) relative to the beginning of each
* string segment.
* - even - offset in the source text
* - odd - offset in the transformed text
*
* Offsets start a 0
*
* Example:
*
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
* - Transformed text: `Grand Café Bjørvika`
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
*
* | offset | original | offset | transformed |
* | ------ | ----------- | ------ | ----------- |
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
* | 9-15 | `\u00e9` | 9-10 | `é` |
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
* | 18-24 | `\u00f8` | 13-14 | `ø` |
* | 24-29 | `rvika` | 14-19 | `rvika` |
*
* <!--- cspell:ignore Bjørvika rvika --->
*/
type SourceMap = number[];
type Range = readonly [start: number, end: number];
/**
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
* another parser. The following information is used by the spell checker to match
* the parser.
*/
interface DelegateInfo {
/**
* Proposed virtual file name including the extension.
* Format: `./${source_filename}/${block_number}.${ext}
* Example: `./README.md/1.js`
*/
readonly filename: string;
/**
* The filename of the origin of the virtual file block.
* Example: `./README.md`
*/
readonly originFilename: string;
/**
* Proposed file extension
* Example: `.js`
*/
readonly extension: string;
/**
* Filetype to use
* Example: `javascript`
*/
readonly fileType?: string;
}
/**
* Scope - chain of scope going from local to global
*
* Example:
* ```
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
* ```
*/
interface ScopeChain {
readonly value: string;
readonly parent?: ScopeChain | undefined;
}
/**
* A string representing a scope chain separated by spaces
*
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
*/
type ScopeString = string;
type Scope = ScopeChain | ScopeString;
//#endregion
export { ParserName as a, Scope as c, SourceMap as d, Parser as i, ScopeChain as l, ParseResult as n, ParserOptions as o, ParsedText as r, Range as s, DelegateInfo as t, ScopeString as u };
//# sourceMappingURL=index-TAd2zi6U.d.mts.map

Sorry, the diff of this file is too big to display