CodeQL library for JavaScript
Search

Member predicate AmdModuleDefinition::getDependencyParameter

Gets the parameter corresponding to dependency name.

For instance, in the module definition

define(['dep1', 'dep2'], function(pdep1, pdep2) { ... })

parameters pdep1 and pdep2 correspond to dependencies dep1 and dep2.

Parameter getDependencyParameter(string name)