Skip to main content
createCallingFunctionLookupMaps(callingFunctions): object
Defined in: src/modules/validation.ts:13 Creates lookup maps for efficient calling function resolution. This utility function creates the necessary Map structures for O(1) lookups.

Parameters

ParameterTypeDescription
callingFunctionsCallingFunctionJSON[]Array of calling function definitions

Returns

object Object containing the three lookup maps

callingFunctionByName

callingFunctionByName: Record<string, CallingFunctionJSON>

callingFunctionByNameLower

callingFunctionByNameLower: Record<string, CallingFunctionJSON>

callingFunctionBySignature

callingFunctionBySignature: Record<string, CallingFunctionJSON>
I