SourceTermAnalysisSystem_vue/node_modules/toml-eslint-parser/lib/index.d.ts
2026-05-15 10:22:44 +08:00

17 lines
626 B
TypeScript

import { parseForESLint } from "./parser";
import type * as AST from "./ast";
import { traverseNodes } from "./traverse";
import { getStaticTOMLValue } from "./utils";
import { ParseError } from "./errors";
import type { ParserOptions } from "./parser-options";
export * as meta from "./meta";
export { name } from "./meta";
export { AST, ParseError };
export { parseForESLint };
export declare const VisitorKeys: import("eslint").SourceCode.VisitorKeys;
export { traverseNodes, getStaticTOMLValue };
/**
* Parse TOML source code
*/
export declare function parseTOML(code: string, options?: ParserOptions): AST.TOMLProgram;