@eagleoutice/flowr - v2.17.16
    Preparing search index...
    CallContracts: {
        breaches: (
            this: void,
            call: NodeId,
            contract: FunctionContract,
            scope: ContractScope,
        ) => ContractBreach[];
        check: (
            this: void,
            call: NodeId,
            scope: ContractScope,
        ) => { breaches: readonly (...)[]; contract: FunctionContract } | undefined;
        describe: (this: void, breach: ContractBreach) => string;
        FormalsRewriters: ReadonlySet<BrandedIdentifier>;
        name: "CallContracts";
        of: (
            this: void,
            graph: DataflowGraph,
            ctx: ReadOnlyFlowrAnalyzerContext,
            idMap?: AstIdMap,
        ) => ContractScope;
        ofCall: (
            this: void,
            call: NodeId,
            scope: ContractScope,
        ) => FunctionContract | undefined;
        ofDefinition: (
            this: void,
            definition: NodeId,
            scope: ContractScope,
        ) => FunctionContract | undefined;
        ofFunction: (
            this: void,
            name: Identifier,
            scope: ContractScope,
        ) => FunctionContract | undefined;
        stated: (
            this: void,
            contract: FunctionContract,
            idMap: AstIdMap,
        ) => StatedGuards | undefined;
        statedOf: (
            this: void,
            name: Identifier,
            ctx?: ReadOnlyFlowrAnalyzerContext,
        ) => StatedGuards | undefined;
    } = ...

    The one layer to ask what a function asks of its calls, its contract, and whether a call keeps it: stated by the signature database or flowR's tables for a function by name, or inferred from a definition of the program by the guards analysis, see FunctionGuards. The conditions of the guards of the callee are taken to the call as the guard analysis takes them to a caller, and a call only breaks a condition if it fails for every value the arguments may hold.

    Type Declaration

    api