import { Joinpoint } from "@specs-feup/clava/api/Joinpoints.js"; import IdentifierRenameRule from "./IdentifierRenameRule.js"; import { AnalysisType } from "../../MISRA.js"; /** * MISRA-C Rule 5.8: Identifiers that define objects or functions with external linkage shall be unique */ export default class Rule_5_8_UniqueExternalLinkIdentifiers extends IdentifierRenameRule { /** * Scope of analysis */ readonly analysisType = AnalysisType.SYSTEM; /** * @returns Rule identifier according to MISRA-C:2012 */ get name(): string; /** * * @param $jp - Joinpoint to analyze * @param logErrors - [logErrors=false] - Whether to log errors if a violation is detected * @returns Returns true if the joinpoint violates the rule, false otherwise */ match($jp: Joinpoint, logErrors?: boolean): boolean; } //# sourceMappingURL=Rule_5_8_UniqueExternalLinkIdentifiers.d.ts.map