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

Member predicate Module :: searchRoot

Gets the root folder relative to which the given import path (which must appear in this module) is resolved.

Each root has an associated priority, and roots with numerically smaller priority are preferred during import resolution.

This predicate is not part of the public API, it is only exposed to allow overriding by subclasses.

predicate searchRoot ( PathExpr path , Folder searchRoot , int priority )