Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/script_nop/src/DataMap.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.1/src/DataMap.ts";

Static Properties

readonly
actionToRuleNofitications
readonly
allAttrs
readonly
allConditions
readonly
allConditionsCompiled
readonly
allConditionsStr
readonly
allPremises
readonly
allPremisesCompiled
readonly
allPremisesStr
readonly
attrActionNotifications
readonly
attrFbeIndexConditionsIndexMap
readonly
attrFbeIndexMap
readonly
attrFbeIndexPremisesIndexMap
readonly
attributesToConditionsNotifications
readonly
attributesToPremisesNotifications
readonly
conditionIndexConditionsIndexMap
readonly
conditionIndexRuleMap
readonly
conditionsIndexToRulesNofitications
readonly
conditionsToConditionsNofitications
readonly
extensions
readonly
fbes
readonly
premiseIndexConditionsIndexMap
readonly
premisesToConditionsNofitications
readonly
ruleDependencies
readonly
rules
readonly
transpiledValues

Static Methods

addCondition(c: Condition, str: string): MapEntry
addNotification(
notificationsMap: NOPNotifications,
from: any,
to: any,
value: any,
)
addPremise(p: Premise, str: string): MapEntry
addRule(rule: Rule)
addToMap(map: MultiLevelMap, entries: MapEntry[]): void
addValue(value: any): MapEntry
clearNotifications(notificationsMap: NOPNotifications[], key: any): void
getAttrActionPromise(fbe: string, attr: string): Promise<any>
hasArrValue(arr: any[], value: any): MapEntry
hasValue(value: any): MapEntry
registerExtensions(namedFunctions: Function[]): void

Registers extension functions to be used within Conditions.

resolveAttrActionPromise(
fbe: string,
attr: string,
value: any,
): void
ruleIsSatisfiedRuleDependencies(rule: string): boolean