CodeQL library for JavaScript

Predicate AngularJS::builtinServiceRef

Holds if ref is a reference to the builtin service with the name serviceName.

Note that BuiltinServiceReference.getAnAccess should be used instead of this predicate when possible (they are semantically equivalent for builtin services). This predicate can avoid the non-monotonic recursion that getAnAccess can cause.

Import path

import javascript
ParameterNode builtinServiceRef(string serviceName)