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

x/script_nop/src/DataMapChild.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@v2.2.5/src/DataMapChild.ts";

Static Properties

allAttrs: [string, string][]
allConditions: Condition[]
allConditionsCompiled: Function[]
allConditionsStr: string[]
attrActionNotifications: { [key: string]: { [key: string]: Deferred; }; }
attrFbeIndexConditionsIndexMap: MultiLevelMap
attrFbeIndexMap: MultiLevelMap
conditionIndexConditionsIndexMap: MultiLevelMap
conditionIndexConditionsIndexMapInverse: MultiLevelMap
conditionIndexRuleMap: MultiLevelMap
conditionsIndexAttrFbeIndexMap: MultiLevelMap
extensions: { [key: string]: Function; }
rules: { [key: string]: Rule; }
transpiledValues: any[]

Static Methods

addCondition(c: Condition, str: string): MapEntry
addRule(rule: Rule)
addToMap(map: MultiLevelMap, entries: MapEntry[]): void
addValue(value: any): MapEntry
concatError(e: any, msg: string): Error
getAttrActionPromise(fbe: string, attr: string): Promise<any>
hasAllEntries(map: any, templateMap: any): boolean
hasArrValue(arr: any[], value: any): MapEntry
hasValue(value: any): MapEntry
registerExtensions(namedFunctions: Function[]): void

Registers extension procedures to be used within Conditions.

resolveAttrActionPromise(
fbe: string,
attr: string,
value: any,
): void