Module ServiceDefinitions
Provides classes for working with the definitions of AngularJS services.
Supports registration and lookup of AngularJS services:
- dependency injection services, such as
factory
andprovider
- special AngularJS services, such as
filter
andcontroller
INTERNAL: Do not import this module directly, import AngularJS
instead.
NOTE: The API of this library is not stable yet and may change in the future.
Import path
import semmle.javascript.frameworks.AngularJS.ServiceDefinitions
Imports
javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
builtinServiceRef | Holds if |
getBuiltinServiceOfKind | Gets a builtin service with a specific kind. |
Classes
AnimationDefinition | An animation defined with |
BuiltinServiceReference | A reference to a builtin service. |
ComponentDefinition | A component defined with |
ConfigMethodDefinition | An AngularJS config method definition, that is, a method call of the form |
ConstantRecipeDefinition | An AngularJS constant recipe definition, that is, a method call of the form |
ControllerDefinition | A controller defined with |
CustomServiceDefinition | A custom AngularJS service, defined through |
CustomServiceReference | A reference to a custom service. |
DecoratorRecipeDefinition | An AngularJS decorator recipe definition, that is, a method call of the form |
DirectiveDefinition | A directive defined with |
FactoryRecipeDefinition | An AngularJS factory recipe definition, that is, a method call of the form |
FilterDefinition | A filter defined with |
InjectableFunctionServiceRequest | A request for a service, in the form of a dependency-injected function. |
ProviderRecipeDefinition | An AngularJS provider recipe definition, that is, a method call of the form |
RecipeDefinition | A definition of a custom AngularJS dependency injection service using a “recipe”. |
RunMethodDefinition | An AngularJS run method definition, that is, a method call of the form |
ScopeServiceReference | The |
ServiceRecipeDefinition | An AngularJS service recipe definition, that is, a method call of the form |
ServiceReference | A reference to a service. |
ServiceRequestNode | A request for one or more AngularJS services. |
ValueRecipeDefinition | An AngularJS value recipe definition, that is, a method call of the form |