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

11 lines
776 B
TypeScript

import type { TOMLToken } from "../types";
export declare const LINEBREAK_MATCHER: RegExp;
export declare function isCommentToken(token: TOMLToken | null): boolean;
export declare function isCommaToken(token: TOMLToken | null): token is TOMLToken;
export declare function isEqualSign(token: TOMLToken | null): token is TOMLToken;
export declare function isClosingParenToken(token: TOMLToken | null): token is TOMLToken;
export declare const isNotClosingParenToken: typeof isClosingParenToken;
export declare function isClosingBracketToken(token: TOMLToken | null): token is TOMLToken;
export declare function isClosingBraceToken(token: TOMLToken | null): token is TOMLToken;
export declare function isTokenOnSameLine(left: TOMLToken | null, right: TOMLToken | null): boolean;