Skip to main content
Module

x/script_nop/mod.ts>DataMap

A framework for notification-oriented programming paradigm (NOP) implemented in TypeScript.
Go to Latest
class DataMap
Re-export
import { DataMap } from "https://deno.land/x/script_nop@v1.7.8/mod.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
fbesNames
readonly
premiseIndexConditionsIndexMap
readonly
premisesToConditionsNofitications
readonly
ruleDependencies
readonly
rules
readonly
transpiledValues

Static Methods

addAttribute(fbeVal: Attribute): MapEntry
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>
getMapEntries(map: MultiLevelMap, entries: MapEntry[]): MapEntry[]
hasArrValue(arr: any[], value: any): MapEntry
hasAttribute(fbeVal: Attribute): 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