@vrcd-community/zhlint
Version:
A linting tool for Chinese language.
26 lines • 650 B
TypeScript
import type { IgnoredCase } from '../ignore.js';
import type { Mark, MutableParseResult } from '../parser/index.js';
export type ParserIgnoredCase = {
name: string;
meta: string;
index: number;
length: number;
originValue: string;
};
export type Block = {
value: string;
marks: Mark[];
start: number;
end: number;
};
export type ParsedStatus = {
value: string;
modifiedValue: string;
ignoredByRules: IgnoredCase[];
ignoredByParsers: ParserIgnoredCase[];
blocks: Block[];
};
export type ParsedBlock = Block & MutableParseResult & {
originValue: string;
};
//# sourceMappingURL=types.d.ts.map