Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/script_nop/src/ConditionTanspiler.ts>default

A framework for notification-oriented programming paradigm (NOP) implemented in TypeScript.
Go to Latest
class default
import { default } from "https://deno.land/x/script_nop@v1.9.7/src/ConditionTanspiler.ts";

Constructors

new
default(ruleName: string)

Methods

transpile(
c: Condition,
toString?: boolean,
conditionsIndexes?: MapEntry[],
): (() => Promise<boolean>) | string

Static Methods

receiveAttrToPremiseNotification(premiseIndex: MapEntry, attrNotifications: NOPNotifications)
receiveFBEtoAttrNotification(
fbe: string,
attr: string,
value: any,
): void
receiveToConditionNotification(
conditionIndex: MapEntry,
attrNotifications: NOPNotifications,
premisesNotifications: NOPNotifications,
conditionsNotifications: NOPNotifications,
)