Options
All
  • Public
  • Public/Protected
  • All
Menu

Lookup table for resolving dynamic functions and their definitions

Hierarchy

  • DynamicFunctionRegistry

Index

Properties

Private definitions

definitions: SimpleMap<string, IFunctionDefinition> = new SimpleMap<string, IFunctionDefinition>()

Private ids

ids: SimpleMap<string, IFunctionId> = new SimpleMap<string, IFunctionId>()

Private lastId

lastId: number = 0

Methods

getDefinition

  • Returns the definition of the function with the given id or undefined, if the id is not assigned to any function definition

    throws

    if the function is a static function and therefore no definition exists.

    Parameters

    Returns IFunctionDefinition | undefined

    the resolved function definition or undefined

getOrSetId

Private initDefinition

  • initDefinition(func: Function, id: IFunctionId): void

Generated using TypeDoc