v1/src/angular_compiler/analyzer library
Classes
- DependencyElement
 - Statically analyzed information necessary to satisfy a dependency.
 - 
  DependencyInvocation<
E extends Element?>  - Statically analyzed arguments needed to invoke a constructor or function.
 - DependencyReader
 - Support for reading and parsing a class or function's "dependencies".
 - DirectiveVisitor
 - 
  Utility class for visiting important methods and fields in an 
@Directive. - InjectorReader
 - 
  Determines details for generating code as a result of 
@Injector.generate. - InjectorVisitor
 - 
  To be implemented by an emitter class to create a 
GeneratedInjector. - ModuleElement
 - ModuleReader
 - 
  Support for reading and parsing constant 
Modules into data structures. - OpaqueTokenElement
 - 
  A statically parsed 
OpaqueTokenused as an identifier for injection. - ProviderElement
 - 
  A statically parsed 
Provider. - ProviderReader
 - 
  Support for reading and parsing constant 
Providers into data structures. - ReflectableClass
 - ReflectableOutput
 - ReflectableReader
 - 
  Determines how to generate and link to 
initReflectorin other files. - TokenElement
 - A statically parsed token used as an identifier for injection.
 - TokenReader
 - Support for reading and parsing a "token" for dependency injection.
 - TypedElement
 - 
  A statically parsed 
Typedused to specify type arguments on a directive. - TypedReader
 - 
  Parses types from compile-time constant 
Typedexpressions. - TypeLink
 - An abstraction over pointing to a type in a given Dart source file.
 - TypeTokenElement
 - 
  A statically parsed 
Typeused as an identifier for injection. - UseClassProviderElement
 - 
  A statically parsed 
Providerthat describes a new class instance. - UseExistingProviderElement
 - 
  A statically parsed 
Providerthat redirects one token to another. - UseFactoryProviderElement
 - 
  A statically parsed 
Providerthat describes a function invocation. - UseValueProviderElement
 - 
  A statically parsed 
Providerthat describes a constant expression. 
Constants
- $AfterChanges → const TypeChecker
 - $AfterContentChecked → const TypeChecker
 - $AfterContentInit → const TypeChecker
 - $AfterViewChecked → const TypeChecker
 - $AfterViewInit → const TypeChecker
 - $Attribute → const TypeChecker
 - $ChangeDetectionLink → const TypeChecker
 - $Component → const TypeChecker
 - $ContentChild → const TypeChecker
 - $ContentChildren → const TypeChecker
 - $Directive → const TypeChecker
 - $DoCheck → const TypeChecker
 - $GenerateInjector → const TypeChecker
 - $Host → const TypeChecker
 - $HostBinding → const TypeChecker
 - $HostListener → const TypeChecker
 - $Inject → const TypeChecker
 - $Injectable → const TypeChecker
 - $Input → const TypeChecker
 - $Module → const TypeChecker
 - $MultiToken → const TypeChecker
 - $OnDestroy → const TypeChecker
 - $OnInit → const TypeChecker
 - $OpaqueToken → const TypeChecker
 - $Optional → const TypeChecker
 - $Output → const TypeChecker
 - $Pipe → const TypeChecker
 - $Provider → const TypeChecker
 - $Self → const TypeChecker
 - $SkipSelf → const TypeChecker
 - $Typed → const TypeChecker
 - $ViewChild → const TypeChecker
 - $ViewChildren → const TypeChecker
 
Functions
- 
  getTypeImport(
DartType type) → String  - 
  Returns the import URL for 
type. - 
  getTypeName(
DartType type) → String?  - 
  Forwards and backwards-compatible method of getting the "name" of 
type. - 
  isGlobalSingletonService(
TypeLink service) → bool  - 
  linkToReference(
TypeLink link, LibraryReader library) → TypeReference  - 
  Returns as a 
code_builderTypeReferencefor code generation. - 
  linkTypeOf(
DartType type) → TypeLink  - 
  Returns a TypeLink to the given statically analyzed 
DartType. - 
  typeArgumentOf(
DartObject object, [int index = 0]) → DartType  - 
  Returns the bound 
DartTypefrom the instanceobject. - 
  typeToCode(
DartType? type) → String?  - 
  urlOf(
Element? element, [String? name]) → Uri  - 
  Returns a canonical URL pointing to 
element. 
Exceptions / Errors
- InvalidFactoryException
 - 
  Thrown when a non-factory value is attached to a 
FactoryProvider. - NullFactoryException
 - 
  Thrown when a value of 
nullis read forFactoryProvider. - NullTokenException
 - 
  Thrown when a value of 
nullis read for a provider token. - ReviveError
 - UnsupportedProviderException