CodeQL library for JavaScript
codeql/javascript-all 0.5.1 ( changelog , source )

Member predicate RouteHandlerPerformingExpensiveAction :: explain

Holds if explanation is a string explaining why this route handler should be rate-limited.

The explanation may contain a $@ placeholder, which is replaced by reference labeled with referenceLabel. If explanation does not contain a placeholder, reference and referenceLabel are ignored and should be bound to dummy values.

predicate explain ( string explanation , Node reference , string referenceLabel )