CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (changelog, source)
Search

Class AngularJS::ServiceReference

A reference to a service.

Import path

import javascript

Direct supertypes

Known direct subtypes

Predicates

getACall

Gets a call that invokes the referenced service.

getAMethodCall

Gets a method call that invokes method methodName on the referenced service.

getAPropertyAccess

Gets an access to property propertyName on the referenced service.

getAReference

Gets a data flow node that may refer to this service.

getAnAccess

Gets an access to the referenced service.

getName

Gets the name of this reference.

isInjectable

Holds if the service is available for dependency injection.

toString

Gets a textual representation of this element.